Alan Orth
f219cf23fe
I was using ansible_os_family to get settings for Debian-family hosts, but this doesn't work so well when you have an apt_mirror which is only Debian or Ubuntu, for example. I don't have any Debian hosts here, but anyways, it's better this way so I can be more flexible in the future. Signed-off-by: Alan Orth <alan.orth@gmail.com>
20 lines
304 B
YAML
20 lines
304 B
YAML
---
|
|
# file: web.yml
|
|
|
|
- name: Configure web servers
|
|
hosts: web
|
|
user: provisioning
|
|
sudo: yes
|
|
roles:
|
|
- common
|
|
- mariadb
|
|
- nginx
|
|
- php5-fpm
|
|
- munin
|
|
vars_files:
|
|
- vars/ipsets.yml
|
|
- vars/provisioning.yml
|
|
- "vars/{{ ansible_distribution }}.yml"
|
|
|
|
# vim: set sw=2 ts=2:
|