ansible-personal/web.yml
Alan Orth 643c89891e
web.yml: Use 'remote_user' instead of 'user'
The use of 'user' was deprecated in Ansible 1.4.
2017-10-03 14:05:15 +03: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: