summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-master
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-01-18 10:44:37 -0500
committerAndrew Butcher <abutcher@redhat.com>2016-01-18 10:44:37 -0500
commit5273611da653bca4a15cfe57e4acc57aef089a37 (patch)
tree764060a9da057f3e5fbed4f487906fcf88c4e3bb /playbooks/common/openshift-master
parentcc7b1a3f585a86c21eb88d850d963148b98c9f23 (diff)
downloadopenshift-5273611da653bca4a15cfe57e4acc57aef089a37.tar.gz
openshift-5273611da653bca4a15cfe57e4acc57aef089a37.tar.bz2
openshift-5273611da653bca4a15cfe57e4acc57aef089a37.tar.xz
openshift-5273611da653bca4a15cfe57e4acc57aef089a37.zip
Add 'unknown' to possible output for the is-active check.
Diffstat (limited to 'playbooks/common/openshift-master')
-rw-r--r--playbooks/common/openshift-master/restart.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-master/restart.yml b/playbooks/common/openshift-master/restart.yml
index 5c8e34817..d9d857b1a 100644
--- a/playbooks/common/openshift-master/restart.yml
+++ b/playbooks/common/openshift-master/restart.yml
@@ -74,7 +74,7 @@
systemctl is-active {{ openshift.common.service_type }}-master
register: active_check_output
when: openshift.master.cluster_method | default(None) == 'pacemaker'
- failed_when: active_check_output.stdout not in ['active', 'inactive']
+ failed_when: active_check_output.stdout not in ['active', 'inactive', 'unknown']
changed_when: false
- set_fact:
is_active: "{{ active_check_output.stdout == 'active' }}"