set copr hypervisor hostname

This commit is contained in:
Miroslav Suchý 2020-09-08 18:01:45 +02:00
parent 98aa36b59c
commit f02d61d919
2 changed files with 30 additions and 0 deletions

View file

@ -921,6 +921,9 @@ copr_keygen_dev_aws
copr_aws
copr_dev_aws
[copr_hypervisors]
vmhost-copr01.rdu-cc.fedoraproject.org
# [copr_hypervisors_aarch64]
# virthost-aarch64-os01.fedorainfracloud.org
# virthost-aarch64-os02.fedorainfracloud.org

View file

@ -0,0 +1,27 @@
- name: Setup retrace hosts
hosts: copr_hypervisor
user: root
gather_facts: True
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
tasks:
- import_role: name=base
- import_role: name=hosts
- import_role: name=fas_client
- import_role: name=rkhunter
- import_role: name=nagios_client
- import_role: name=openvpn/client
- import_role: name=sudo
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
- import_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- import_tasks: "{{ handlers_path }}/restart_services.yml"