Ver código fonte

Merge pull request #7742 from smarterclayton/cherry

Skip oc_adm_csr when no bootstrapping is required on GCP
OpenShift Merge Robot 7 anos atrás
pai
commit
2eadea3c93

+ 1 - 0
roles/openshift_gcp/tasks/configure_master_bootstrap.yml

@@ -34,3 +34,4 @@
   oc_adm_csr:
     nodes: "{{ groups['all'] | map('extract', hostvars) | selectattr('gce_metadata.bootstrap', 'match', 'true') | map(attribute='gce_name') | list }}"
     timeout: 60
+  when: groups['all'] | map('extract', hostvars) | selectattr('gce_metadata.bootstrap', 'match', 'true') | map(attribute='gce_name') | list | length > 0