Upgrade router and registry only when these are managed
@@ -9,6 +9,8 @@
- import_role:
name: openshift_hosted
tasks_from: upgrade_routers.yml
+ when: openshift_hosted_manage_router | default(True) | bool
tasks_from: upgrade_registry.yml
+ when: openshift_hosted_manage_registry | default(True) | bool