split it into two plays to keep the buildppcs out :)
This commit is contained in:
parent
ffe95df5b8
commit
bc2bab9f39
1 changed files with 20 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
# NOTE: most of these vars come from group_vars/buildhw or from hostvars
|
||||
|
||||
- name: make koji builder(s) on raw hw
|
||||
hosts: buildhw buildppc
|
||||
hosts: buildhw;buildppc
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
|
@ -14,8 +14,6 @@
|
|||
|
||||
tasks:
|
||||
- include: $tasks/koji/base_builder.yml
|
||||
- include: $tasks/koji/builder_kernel_config.yml
|
||||
|
||||
|
||||
handlers:
|
||||
- include: $handlers/restart_services.yml
|
||||
|
@ -25,4 +23,23 @@
|
|||
|
||||
|
||||
|
||||
- name: make koji builder(s) on raw hw
|
||||
hosts: buildhw
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- ${private}/vars.yml
|
||||
- ${vars}/${ansible_distribution}.yml
|
||||
|
||||
tasks:
|
||||
- include: $tasks/koji/builder_kernel_config.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