mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
set copr hypervisor hostname
This commit is contained in:
@@ -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
|
||||
|
||||
27
playbooks/groups/copr-hypervisor.yml
Normal file
27
playbooks/groups/copr-hypervisor.yml
Normal 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"
|
||||
Reference in New Issue
Block a user