add kernel-qa groups and inventory item
add a stupped kernel-qa group playbook
This commit is contained in:
parent
d48cebebc4
commit
09efcc5a19
3 changed files with 32 additions and 0 deletions
2
inventory/group_vars/kernel-qa
Normal file
2
inventory/group_vars/kernel-qa
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
---
|
||||||
|
freezes: true
|
|
@ -218,6 +218,9 @@ hosted03.fedoraproject.org
|
||||||
hosted04.fedoraproject.org
|
hosted04.fedoraproject.org
|
||||||
hosted-lists01.fedoraproject.org
|
hosted-lists01.fedoraproject.org
|
||||||
|
|
||||||
|
[kernel-qa]
|
||||||
|
kernel01.qa.fedoraproject.org
|
||||||
|
|
||||||
[koji]
|
[koji]
|
||||||
koji03.phx2.fedoraproject.org
|
koji03.phx2.fedoraproject.org
|
||||||
koji04.phx2.fedoraproject.org
|
koji04.phx2.fedoraproject.org
|
||||||
|
|
27
playbooks/groups/kernel-qa.yml
Normal file
27
playbooks/groups/kernel-qa.yml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# provision a new kernel-qa system
|
||||||
|
# NOTE: this assumes the kernel-qa boxes are already up and are accessible
|
||||||
|
# NOTE: most of these vars come from group_vars/kernel-qa or from hostvars
|
||||||
|
|
||||||
|
- name: make kernel-qa
|
||||||
|
hosts: kernel-qa
|
||||||
|
user: root
|
||||||
|
gather_facts: True
|
||||||
|
|
||||||
|
vars_files:
|
||||||
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
|
- ${private}/vars.yml
|
||||||
|
- ${vars}/${ansible_distribution}.yml
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
# dummy task as filler
|
||||||
|
- name: dummy ping
|
||||||
|
action: ping
|
||||||
|
# this is how you include other task lists
|
||||||
|
# - include: $tasks/sometasks.yml
|
||||||
|
|
||||||
|
handlers:
|
||||||
|
- include: $handlers/restart_services.yml
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue