소스 검색

Run registry migrations when openshift_hosted_manage_registry

Vadim Rutkovsky 7 년 전
부모
커밋
926bc5f3d1
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      playbooks/common/openshift-cluster/upgrades/v3_10/upgrade_control_plane.yml

+ 2 - 0
playbooks/common/openshift-cluster/upgrades/v3_10/upgrade_control_plane.yml

@@ -115,6 +115,8 @@
   - import_role:
   - import_role:
       name: openshift_hosted
       name: openshift_hosted
       tasks_from: registry_service_account.yml
       tasks_from: registry_service_account.yml
+    when: openshift_hosted_manage_registry | default(True) | bool
   - import_role:
   - import_role:
       name: openshift_hosted
       name: openshift_hosted
       tasks_from: remove_legacy_env_variables.yml
       tasks_from: remove_legacy_env_variables.yml
+    when: openshift_hosted_manage_registry | default(True) | bool