diff options
author | Scott Dodson <sdodson@redhat.com> | 2018-02-12 16:24:15 -0500 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2018-02-12 16:24:15 -0500 |
commit | f69549ff0d28f7800b57f1a168b9dc3451cdd8f2 (patch) | |
tree | 4a7b5bd22e00a7c00650322f2952ae929df6b65e /playbooks | |
parent | 73a0b0eaa3844d4717eb8827c619594bb47acab9 (diff) | |
download | openshift-f69549ff0d28f7800b57f1a168b9dc3451cdd8f2.tar.gz openshift-f69549ff0d28f7800b57f1a168b9dc3451cdd8f2.tar.bz2 openshift-f69549ff0d28f7800b57f1a168b9dc3451cdd8f2.tar.xz openshift-f69549ff0d28f7800b57f1a168b9dc3451cdd8f2.zip |
Invert logic to decide when to re-deploy certs
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/common/openshift-cluster/upgrades/post_control_plane.yml | 2 |
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 86cde2844..a5e2fe1c1 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 |