summaryrefslogtreecommitdiffstats
path: root/roles/cockpit/tasks/main.yml
blob: 577cd7daf0a19e9bffb7b7f94fe2dcd82999ee24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
- name: setup firewall
  import_tasks: firewall.yml

- name: Install cockpit-ws
  package: name={{ item }} state=present
  with_items:
    - cockpit-ws
    - cockpit-system
    - cockpit-bridge
    - cockpit-docker
    - "{{ cockpit_plugins }}"
  when: not openshift_is_containerized | bool
  register: result
  until: result is succeeded

- name: Enable cockpit-ws
  systemd:
    name: cockpit.socket
    enabled: true
    state: started
  when: not openshift_is_containerized | bool