summaryrefslogtreecommitdiffstats
path: root/roles/cockpit/tasks/main.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 /roles/cockpit/tasks/main.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 'roles/cockpit/tasks/main.yml')
-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