Make sure kojid is enabled and running on buildhw as well as buildvm

This commit is contained in:
Kevin Fenzi 2015-11-20 01:58:06 +00:00
parent c436f17433
commit 576811dd98
2 changed files with 4 additions and 1 deletions

View file

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

View file

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