summaryrefslogtreecommitdiffstats
path: root/roles/cockpit/tasks/main.yml
blob: 6810293326b8850e8fa83a2098dbd18f9051b978 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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