split it into two plays to keep the buildppcs out :)

This commit is contained in:
Seth Vidal 2013-06-03 16:37:10 +00:00
parent ffe95df5b8
commit bc2bab9f39

View file

@ -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