Run roles on Ubuntu hosts only #20

Merged
oguya merged 1 commits from limit-roles into master 2015-06-28 22:03:04 +02:00
Showing only changes of commit 95e702e388 - Show all commits

10
web.yml
View File

@ -6,11 +6,11 @@
user: provisioning user: provisioning
sudo: yes sudo: yes
roles: roles:
- common - { role: common, when: ansible_distribution == 'Ubuntu' }
- mariadb - { role: mariadb, when: ansible_distribution == 'Ubuntu' }
- nginx - { role: nginx, when: ansible_distribution == 'Ubuntu' }
- php5-fpm - { role: php5-fpm, when: ansible_distribution == 'Ubuntu' }
- munin - { role: munin, when: ansible_distribution == 'Ubuntu' }
vars_files: vars_files:
- vars/ipsets.yml - vars/ipsets.yml
- "vars/{{ ansible_distribution }}.yml" - "vars/{{ ansible_distribution }}.yml"