summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2015-08-27 17:45:14 -0400
committerScott Dodson <sdodson@redhat.com>2015-08-28 11:50:10 -0400
commit05c5d6e1a0de2e7a5f5cb509b08981ba9b1ec69b (patch)
treee22cbfe1626dfeb3d310c9f4e72de35d62c626d9 /playbooks
parente6c157be1208c46d4fd63f402517aec19971df12 (diff)
downloadopenshift-05c5d6e1a0de2e7a5f5cb509b08981ba9b1ec69b.tar.gz
openshift-05c5d6e1a0de2e7a5f5cb509b08981ba9b1ec69b.tar.bz2
openshift-05c5d6e1a0de2e7a5f5cb509b08981ba9b1ec69b.tar.xz
openshift-05c5d6e1a0de2e7a5f5cb509b08981ba9b1ec69b.zip
Add cockpit-ws with cockpit-kubernetes plugin
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-master/config.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/playbooks/common/openshift-master/config.yml b/playbooks/common/openshift-master/config.yml
index ed40d4b89..e8e3dcfdc 100644
--- a/playbooks/common/openshift-master/config.yml
+++ b/playbooks/common/openshift-master/config.yml
@@ -219,6 +219,15 @@
- role: openshift_cluster_metrics
when: openshift.common.use_cluster_metrics | bool
+- name: Enable cockpit
+ hosts: oo_first_master
+ vars:
+ cockpit_plugins: "{{ osm_cockpit_plugins | default(['cockpit-kubernetes']) }}"
+ roles:
+ - role: cockpit
+ when: ( deployment_type in ['atomic-enterprise','openshift-enterprise'] ) and
+ (osm_use_cockpit | bool or osm_use_cockpit is undefined )
+
# Additional instance config for online deployments
- name: Additional instance config
hosts: oo_masters_deployment_type_online