Files
fedora-infra_ansible/playbooks/groups/openqa-workers.yml
Greg Sutcliffe 3f1125087a Zabbix: add agent to openqa
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-08-20 16:53:58 +01:00

31 lines
981 B
YAML

---
- name: configure openQA workers
hosts: openqa_workers:openqa_lab_workers
user: root
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
pre_tasks:
- include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
roles:
- { role: base, tags: ['base'] }
- { role: rkhunter, tags: ['rkhunter'] }
- { role: nagios_client, tags: ['nagios_client'] }
- { role: hosts, tags: ['hosts']}
- zabbix/zabbix_agent
- { role: ipa/client, tags: ['ipa_client']}
- { role: collectd/base, tags: ['collectd_base'] }
- { role: sudo, tags: ['sudo'] }
- { role: openqa/worker, tags: ['openqa_worker'] }
- { role: linux-system-roles.nbde_client, tags: ['nbde_client'], when: openqa_nbde|bool }
- apache
handlers:
- import_tasks: "{{ handlers_path }}/restart_services.yml"