From bc2bab9f3948377d41838fa854e1d83359c63088 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Mon, 3 Jun 2013 16:37:10 +0000 Subject: [PATCH] split it into two plays to keep the buildppcs out :) --- playbooks/groups/buildhw.yml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/playbooks/groups/buildhw.yml b/playbooks/groups/buildhw.yml index e42f14e60c..55ccdc48b7 100644 --- a/playbooks/groups/buildhw.yml +++ b/playbooks/groups/buildhw.yml @@ -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 +