summaryrefslogtreecommitdiffstats
path: root/roles/cockpit/tasks/main.yml
diff options
context:
space:
mode:
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