From 576811dd98efb55d2ef205d71580bc6bc0178d8c Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 20 Nov 2015 01:58:06 +0000 Subject: [PATCH] Make sure kojid is enabled and running on buildhw as well as buildvm --- playbooks/groups/buildhw.yml | 3 +++ playbooks/groups/buildvm.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/playbooks/groups/buildhw.yml b/playbooks/groups/buildhw.yml index ea4e6d43e8..21a37c9d3a 100644 --- a/playbooks/groups/buildhw.yml +++ b/playbooks/groups/buildhw.yml @@ -34,5 +34,8 @@ - include: "{{ tasks }}/motd.yml" when: not inventory_hostname.startswith('bkernel') + - name: make sure kojid is running + service: name=kojid state=running enabled=yes + handlers: - include: "{{ handlers }}/restart_services.yml" diff --git a/playbooks/groups/buildvm.yml b/playbooks/groups/buildvm.yml index 2776772014..b536e7ae2d 100644 --- a/playbooks/groups/buildvm.yml +++ b/playbooks/groups/buildvm.yml @@ -44,7 +44,7 @@ when: not inventory_hostname.startswith('bkernel') - name: make sure kojid is running - action: service name=kojid state=running + service: name=kojid state=running enabled=yes handlers: - include: "{{ handlers }}/restart_services.yml"