--- - hosts: localhost connection: local vars: phpfpm_pools: - name: website1 user: www - name: website2 user: www pm: static pm_max_children: 4 pre_tasks: - user: name: www roles: - ansible-role-phpfpm