hopfully make a releng box
This commit is contained in:
parent
26cde15679
commit
16420e0710
2 changed files with 20 additions and 6 deletions
3
inventory/host_vars/releng02.phx2.fedoraproject.org
Normal file
3
inventory/host_vars/releng02.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,3 @@
|
|||
vmhost: bvirthost05.phx2.fedoraproject.org
|
||||
eth0_ip: 10.5.125.69
|
||||
|
|
@ -15,15 +15,26 @@
|
|||
|
||||
tasks:
|
||||
- include: $tasks/virt_instance_create.yml
|
||||
|
||||
handlers:
|
||||
- include: $handlers/restart_services.yml
|
||||
|
||||
# Once the instance exists, configure it.
|
||||
|
||||
- name: make releng server system
|
||||
hosts: releng
|
||||
user: root
|
||||
gather_facts: True
|
||||
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- ${private}/vars.yml
|
||||
- ${vars}/${ansible_distribution}.yml
|
||||
|
||||
tasks:
|
||||
- include: $tasks/koji/releng_config.yml
|
||||
- include: $tasks/motd.yml
|
||||
|
||||
handlers:
|
||||
- include: $handlers/restart_services.yml
|
||||
|
||||
- name: restart kojid
|
||||
action: service name=kojid state=restarted
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue