Make sure kojid is enabled and running on buildhw as well as buildvm
This commit is contained in:
parent
c436f17433
commit
576811dd98
2 changed files with 4 additions and 1 deletions
|
@ -34,5 +34,8 @@
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
when: not inventory_hostname.startswith('bkernel')
|
when: not inventory_hostname.startswith('bkernel')
|
||||||
|
|
||||||
|
- name: make sure kojid is running
|
||||||
|
service: name=kojid state=running enabled=yes
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- include: "{{ handlers }}/restart_services.yml"
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
when: not inventory_hostname.startswith('bkernel')
|
when: not inventory_hostname.startswith('bkernel')
|
||||||
|
|
||||||
- name: make sure kojid is running
|
- name: make sure kojid is running
|
||||||
action: service name=kojid state=running
|
service: name=kojid state=running enabled=yes
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- include: "{{ handlers }}/restart_services.yml"
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue