浏览代码

Merge pull request #7742 from smarterclayton/cherry

Skip oc_adm_csr when no bootstrapping is required on GCP
OpenShift Merge Robot 7 年之前
父节点
当前提交
2eadea3c93
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      roles/openshift_gcp/tasks/configure_master_bootstrap.yml

+ 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