aboutsummaryrefslogtreecommitdiffstats
path: root/roles/firewalld/tasks/main.yml
blob: 40e39fb113b1d36c68077274a5630a12af0511a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- name: install firewalld
  dnf:
    name: firewalld
    state: present

- name: enable firewalld
  systemd:
    name: firewalld
    state: started
    enabled: yes

- name: disable cockpit rule
  firewalld:
    service: cockpit
    permanent: yes
    immediate: yes
    state: disabled