summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-master/config.yml
diff options
context:
space:
mode:
authorWesley Hearn <wesley.s.hearn@gmail.com>2015-10-20 12:24:15 -0400
committerWesley Hearn <wesley.s.hearn@gmail.com>2015-10-20 12:24:15 -0400
commit96d45a6b6115338c467baebaba837847a05508dd (patch)
treeb4cfe387cb8d64ee66c1534182553d9c58d8134e /playbooks/common/openshift-master/config.yml
parenta6d3017291433413649c915cfb3de90b362175fa (diff)
parent05c5d6e1a0de2e7a5f5cb509b08981ba9b1ec69b (diff)
downloadopenshift-96d45a6b6115338c467baebaba837847a05508dd.tar.gz
openshift-96d45a6b6115338c467baebaba837847a05508dd.tar.bz2
openshift-96d45a6b6115338c467baebaba837847a05508dd.tar.xz
openshift-96d45a6b6115338c467baebaba837847a05508dd.zip
Merge pull request #529 from sdodson/cockpit-master
Add cockpit role
Diffstat (limited to 'playbooks/common/openshift-master/config.yml')
-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 64cf7a65b..14ec82e85 100644
--- a/playbooks/common/openshift-master/config.yml
+++ b/playbooks/common/openshift-master/config.yml
@@ -221,6 +221,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