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