Alan Orth
e30e4d4b1e
Something seems to have happened as of Ansible 2.4.0.0 where this no longer works. I suspect it is related to the major changes to static and dynamic imports that landed around this same time. We make sure that this tasks always runs by using the special tag of the same name.
18 lines
474 B
YAML
18 lines
474 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
|
|
|
|
# vim: set sw=2 ts=2:
|