diff options
Diffstat (limited to 'roles/cockpit/tasks')
-rw-r--r-- | roles/cockpit/tasks/main.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/roles/cockpit/tasks/main.yml b/roles/cockpit/tasks/main.yml new file mode 100644 index 000000000..681029332 --- /dev/null +++ b/roles/cockpit/tasks/main.yml @@ -0,0 +1,17 @@ +--- +- name: Install cockpit-ws + action: "{{ ansible_pkg_mgr }} name={{ item }} state=present" + with_items: + - cockpit-ws + - cockpit-shell + - cockpit-bridge + - cockpit-docker + - "{{ cockpit_plugins }}" + when: not openshift.common.is_containerized | bool + +- name: Enable cockpit-ws + service: + name: cockpit.socket + enabled: true + state: started + when: not openshift.common.is_containerized | bool |