Parcourir la source

cockpit-ui: Make it optional

* Added openshift_hosted_manage_registry_console defaulting to true,
making the component optional
* Added example on inventory hosts.example
Sergi Jimenez il y a 7 ans
Parent
commit
12fa59f815
2 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 3 1
      inventory/hosts.example
  2. 1 0
      playbooks/openshift-hosted/private/cockpit-ui.yml

+ 3 - 1
inventory/hosts.example

@@ -475,7 +475,9 @@ debug_level=2
 #
 #
 # Manage the OpenShift Registry (optional)
 # Manage the OpenShift Registry (optional)
 #openshift_hosted_manage_registry=true
 #openshift_hosted_manage_registry=true
-
+# Manage the OpenShift Registry Console (optional)
+#openshift_hosted_manage_registry_console=true
+#
 # Registry Storage Options
 # Registry Storage Options
 #
 #
 # NFS Host Group
 # NFS Host Group

+ 1 - 0
playbooks/openshift-hosted/private/cockpit-ui.yml

@@ -5,4 +5,5 @@
   - role: cockpit-ui
   - role: cockpit-ui
     when:
     when:
     - openshift_hosted_manage_registry | default(true) | bool
     - openshift_hosted_manage_registry | default(true) | bool
+    - openshift_hosted_manage_registry_console | default(true) | bool
     - not (openshift_docker_hosted_registry_insecure | default(false)) | bool
     - not (openshift_docker_hosted_registry_insecure | default(false)) | bool