Browse Source

Run registry migrations when openshift_hosted_manage_registry

Vadim Rutkovsky 6 years ago
parent
commit
926bc5f3d1

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

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