blob: b36008fad4abca2b532227e89d54edfe609d7dd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
---
- name: Check if Conductor is running
service:
name: openstack-cyborg-conductor
state: started
enabled: yes
become: true
register: result
- name: Fail if Conductor is not running
fail: msg="Cyborg Conductor did not start correctly!"
when: result.status.ActiveState == "failed"
|