diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-08-05 09:36:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-05 09:36:03 -0400 |
commit | 5b7caa030c82e9e1816bd1956f63b4321dca3ca8 (patch) | |
tree | 94c1b9ae1a01260cc8c88432575b7111d030385f | |
parent | 2972c11092d516cf5075f83b085243e7b00c26c0 (diff) | |
parent | 53f6c94d328b32f4f373ea7e22ed5fa0e45304d8 (diff) | |
download | openshift-5b7caa030c82e9e1816bd1956f63b4321dca3ca8.tar.gz openshift-5b7caa030c82e9e1816bd1956f63b4321dca3ca8.tar.bz2 openshift-5b7caa030c82e9e1816bd1956f63b4321dca3ca8.tar.xz openshift-5b7caa030c82e9e1816bd1956f63b4321dca3ca8.zip |
Merge pull request #2259 from abutcher/fix-ca-check
Correct openshift ca missing check
-rw-r--r-- | roles/openshift_ca/tasks/main.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/roles/openshift_ca/tasks/main.yml b/roles/openshift_ca/tasks/main.yml index 2e147840d..e1bf7dcad 100644 --- a/roles/openshift_ca/tasks/main.yml +++ b/roles/openshift_ca/tasks/main.yml @@ -38,7 +38,6 @@ master_ca_missing: "{{ False in (g_master_ca_stat_result.results | oo_collect(attribute='stat.exists') | list) }}" - delegate_to: "{{ openshift_ca_host }}" run_once: true - name: Create the master certificates if they do not already exist @@ -52,6 +51,6 @@ --public-master={{ openshift.master.public_api_url }} --cert-dir={{ openshift_ca_config_dir }} --overwrite=false - when: hostvars[openshift_ca_host].master_ca_missing | bool + when: master_ca_missing | bool delegate_to: "{{ openshift_ca_host }}" run_once: true |