summaryrefslogtreecommitdiffstats
path: root/roles/cockpit/tasks
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 /roles/cockpit/tasks
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 'roles/cockpit/tasks')
-rw-r--r--roles/cockpit/tasks/main.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/roles/cockpit/tasks/main.yml b/roles/cockpit/tasks/main.yml
new file mode 100644
index 000000000..875cbad21
--- /dev/null
+++ b/roles/cockpit/tasks/main.yml
@@ -0,0 +1,16 @@
+---
+- name: Install cockpit-ws
+ yum:
+ name: "{{ item }}"
+ state: present
+ with_items:
+ - cockpit-ws
+ - cockpit-shell
+ - cockpit-bridge
+ - "{{ cockpit_plugins }}"
+
+- name: Enable cockpit-ws
+ service:
+ name: cockpit.socket
+ enabled: true
+ state: started