From e283cd5cbd3d1ad9427d6adb7f7f1504c7b066fe Mon Sep 17 00:00:00 2001
From: Giuseppe Scrivano <gscrivan@redhat.com>
Date: Fri, 17 Feb 2017 17:06:18 +0100
Subject: post_control_plane.yml: don't fail on grep

grep returns rc != 0 if the text is not found, the next rule assumes
that.  Do not fail on the check when the line is not found.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
---
 playbooks/common/openshift-cluster/upgrades/post_control_plane.yml | 1 +
 1 file changed, 1 insertion(+)

(limited to 'playbooks')

diff --git a/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml b/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml
index 70f4abdf9..01c1e0c15 100644
--- a/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml
+++ b/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml
@@ -87,6 +87,7 @@
     register: grep_plugin_order_override
     when: openshift.common.version_gte_3_3_or_1_3 | bool
     changed_when: false
+    failed_when: false
 
   - name: Warn if pluginOrderOverride is in use in master-config.yaml
     debug:
-- 
cgit v1.2.3