Making epoptes start idempotent.
This commit is contained in:
parent
48b7d88c8e
commit
220d983f05
@ -21,5 +21,10 @@
|
|||||||
group: root
|
group: root
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
|
||||||
|
- name: Verify epoptes status
|
||||||
|
shell: /sbin/status epoptes
|
||||||
|
register: epoptes_status
|
||||||
|
|
||||||
- name: Starting epoptes from upstart
|
- name: Starting epoptes from upstart
|
||||||
shell: /sbin/start epoptes
|
shell: /sbin/start epoptes
|
||||||
|
when: epoptes_status.stdout.find("start/running") == -1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user