2015-11-13 09:49:00 -08:00
|
|
|
- name: configure openQA workers
|
2020-11-05 16:06:45 -08:00
|
|
|
hosts: openqa_workers:openqa_lab_workers
|
2015-11-06 23:11:50 +00:00
|
|
|
user: root
|
|
|
|
gather_facts: True
|
|
|
|
|
2015-11-13 09:49:00 -08:00
|
|
|
vars_files:
|
2015-11-06 23:11:50 +00:00
|
|
|
- /srv/web/infra/ansible/vars/global.yml
|
|
|
|
- "/srv/private/ansible/vars.yml"
|
|
|
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
|
|
|
2018-03-06 12:06:59 +00:00
|
|
|
pre_tasks:
|
2018-11-19 00:35:07 +00:00
|
|
|
- include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README
|
2018-03-06 12:06:59 +00:00
|
|
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
|
|
|
|
2015-11-06 23:11:50 +00:00
|
|
|
roles:
|
2015-11-13 09:49:00 -08:00
|
|
|
- { role: base, tags: ['base'] }
|
|
|
|
- { role: rkhunter, tags: ['rkhunter'] }
|
2017-05-05 22:12:33 +00:00
|
|
|
- { role: nagios_client, tags: ['nagios_client'] }
|
2015-11-13 09:49:00 -08:00
|
|
|
- { role: hosts, tags: ['hosts']}
|
2022-01-21 12:13:08 -08:00
|
|
|
- { role: ipa/client, tags: ['ipa_client']}
|
2015-11-13 09:49:00 -08:00
|
|
|
- { role: collectd/base, tags: ['collectd_base'] }
|
|
|
|
- { role: sudo, tags: ['sudo'] }
|
2015-11-13 20:27:09 +00:00
|
|
|
- { role: openqa/worker, tags: ['openqa_worker'] }
|
2022-11-25 16:10:11 -08:00
|
|
|
- { role: linux-system-roles.nbde_client, tags: ['nbde_client'], when: openqa_nbde|bool }
|
2015-11-13 09:49:00 -08:00
|
|
|
- apache
|
2015-11-06 23:11:50 +00:00
|
|
|
|
|
|
|
tasks:
|
2017-10-17 17:37:03 +00:00
|
|
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
2015-11-06 23:11:50 +00:00
|
|
|
|
|
|
|
handlers:
|
2017-10-15 20:33:11 +00:00
|
|
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|