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