diff options
author | Scott Dodson <sdodson@redhat.com> | 2018-02-06 14:31:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-06 14:31:53 -0500 |
commit | b41083c1a3143f22060db89c365f0ef8a5e8acc4 (patch) | |
tree | 354a7648b0b2943ed5f544d8ab550c1fe64b9e85 /playbooks | |
parent | fa6c7cc621ff05b35eadc846d3960ac2dc1009c0 (diff) | |
parent | 8e21305390c8466ac1e4c53e251ad0e4241abdfe (diff) | |
download | openshift-b41083c1a3143f22060db89c365f0ef8a5e8acc4.tar.gz openshift-b41083c1a3143f22060db89c365f0ef8a5e8acc4.tar.bz2 openshift-b41083c1a3143f22060db89c365f0ef8a5e8acc4.tar.xz openshift-b41083c1a3143f22060db89c365f0ef8a5e8acc4.zip |
Merge pull request #7033 from kwoodson/shell_update_fix
Update code to not fail when rc != 0
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/common/openshift-cluster/upgrades/post_control_plane.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml b/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml index f44ab3580..9c927c0a1 100644 --- a/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml +++ b/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml @@ -119,6 +119,9 @@ - shell: > echo -n | openssl s_client -showcerts -servername docker-registry.default.svc -connect docker-registry.default.svc:5000 | openssl x509 -text | grep -A1 'X509v3 Subject Alternative Name:' | grep -Pq 'DNS:docker-registry\.default\.svc(,|$)' register: cert_output + changed_when: false + failed_when: + - cert_output.rc not in [0, 1] # Step 2: Set a fact to be used to determine if we should run the redeploy of registry certs - name: set a fact to include the registry certs playbook if needed |