playbooks/groups/sundries.yml: Fixes from yamllint

This commit is contained in:
Timothée Ravier 2023-06-13 15:12:46 +02:00 committed by kevin
parent 3a79d45596
commit a84d314696

View file

@ -1,7 +1,7 @@
# create a new sundries server
#
# These servers run a number of smaller apps that don't merit their own instances.
#
---
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
vars:
@ -10,25 +10,30 @@
- name: make the box be real
hosts: sundries:sundries_stg
user: root
gather_facts: True
gather_facts: true
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
- "/srv/web/infra/ansible/vars/global.yml"
- "/srv/private/ansible/vars.yml"
- "/srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml"
roles:
- base
- rkhunter
- nagios_client
- hosts
- { role: openvpn/client,
when: env != "staging" }
- {
role: openvpn/client,
when: env != "staging"
}
- ipa/client
- collectd/base
- mod_wsgi
- geoip
- { role: geoip-city-wsgi/app, when: ansible_distribution_major_version|int <= 7 and ansible_distribution == 'RedHat' }
- {
role: geoip-city-wsgi/app,
when: ansible_distribution_major_version|int <= 7 and ansible_distribution == 'RedHat'
}
- role: easyfix/gather
when: master_sundries_node|bool
- role: bz_review_report