summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2018-02-13 09:23:27 -0500
committerGitHub <noreply@github.com>2018-02-13 09:23:27 -0500
commita53d6181a69df2bea769de59e9e54d9c18d8be94 (patch)
tree0d842f7c025d309855294d26f7ecfad1736ed8ce /playbooks
parentb0943498fd3da4e4bfd2885c02e7d0a75fde8696 (diff)
parentf69549ff0d28f7800b57f1a168b9dc3451cdd8f2 (diff)
downloadopenshift-a53d6181a69df2bea769de59e9e54d9c18d8be94.tar.gz
openshift-a53d6181a69df2bea769de59e9e54d9c18d8be94.tar.bz2
openshift-a53d6181a69df2bea769de59e9e54d9c18d8be94.tar.xz
openshift-a53d6181a69df2bea769de59e9e54d9c18d8be94.zip
Merge pull request #7121 from sdodson/fix-registry-cert-redeploy
Invert logic to decide when to re-deploy certs
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/post_control_plane.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml b/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml
index edc5aa9c5..3144e9ef5 100644
--- a/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml
+++ b/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml
@@ -130,7 +130,7 @@
# 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
set_fact:
- openshift_hosted_rollout_certs_and_registry: "{{ cert_output.rc == 0 }}"
+ openshift_hosted_rollout_certs_and_registry: "{{ cert_output.rc != 0 }}"
# Run the redeploy certs based upon the certificates. Defaults to False for insecure registries
- when: (hostvars[groups.oo_first_master.0].openshift_hosted_rollout_certs_and_registry | default(False)) | bool