소스 검색

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