ansible-personal/web.yml
Alan Orth 7b60e6d24f
Revert "Import OS-specific vars in tasks instead of play"
This reverts commit e30e4d4b1e.

I suspect this was a side effect of using Python 3 rather than an
issue in Ansible 2.4.0.0.
2017-11-04 23:53:38 +02:00

19 lines
515 B
YAML

---
# file: web.yml
- name: Configure web servers
hosts: web
remote_user: provisioning
become: yes
roles:
- { role: common, when: ansible_os_family == 'Debian' }
- { role: mariadb, when: ansible_os_family == 'Debian' }
- { role: nginx, when: ansible_os_family == 'Debian' }
- { role: php-fpm, when: ansible_os_family == 'Debian' }
- { role: munin, when: ansible_os_family == 'Debian' }
vars_files:
- vars/ipsets.yml
- "vars/{{ ansible_os_family }}.yml"
# vim: set sw=2 ts=2: