Alan Orth
a7eb04a152
We stopped being able to do dynamic includes from the playbooks around Ansible 2.4.0.0 if I recall correctly. Instead we can create a task to include the variables and make it always run by using the special tag. For now the Debian and Ubuntu vars files are the same, but I will keep them separate so that it is more flexible in the future.
18 lines
239 B
YAML
18 lines
239 B
YAML
---
|
|
# file: web.yml
|
|
|
|
- name: Configure web servers
|
|
hosts: web
|
|
remote_user: provisioning
|
|
become: yes
|
|
roles:
|
|
- common
|
|
- mariadb
|
|
- nginx
|
|
- php-fpm
|
|
- munin
|
|
vars_files:
|
|
- vars/ipsets.yml
|
|
|
|
# vim: set sw=2 ts=2:
|