2014-08-16 23:35:57 +02:00
|
|
|
---
|
2014-08-25 12:19:14 +02:00
|
|
|
# file: web.yml
|
2014-08-16 23:35:57 +02:00
|
|
|
|
2014-08-25 12:19:14 +02:00
|
|
|
- name: Configure web servers
|
2014-08-16 23:35:57 +02:00
|
|
|
hosts: web
|
2014-10-11 11:12:32 +02:00
|
|
|
user: provisioning
|
2016-01-12 21:55:58 +01:00
|
|
|
become: yes
|
2014-08-16 23:35:57 +02:00
|
|
|
roles:
|
2015-08-22 21:51:19 +02:00
|
|
|
- { role: common, when: ansible_os_family == 'Debian' }
|
|
|
|
- { role: mariadb, when: ansible_os_family == 'Debian' }
|
|
|
|
- { role: nginx, when: ansible_os_family == 'Debian' }
|
|
|
|
- { role: php5-fpm, when: ansible_os_family == 'Debian' }
|
|
|
|
- { role: munin, when: ansible_os_family == 'Debian' }
|
2014-08-25 12:20:43 +02:00
|
|
|
vars_files:
|
2014-09-10 23:12:55 +02:00
|
|
|
- vars/ipsets.yml
|
2015-08-22 21:51:19 +02:00
|
|
|
- "vars/{{ ansible_os_family }}.yml"
|
2014-08-16 23:35:57 +02:00
|
|
|
|
|
|
|
# vim: set sw=2 ts=2:
|