Stop assuming rockylinux has firewalld installed by default
This commit is contained in:
parent
15a1411f1a
commit
4a516eee15
@ -168,6 +168,18 @@
|
||||
setype: ssh_port_t
|
||||
state: present
|
||||
|
||||
- name: Install Firewalld
|
||||
become: true
|
||||
ansible.builtin.dnf:
|
||||
name: firewalld
|
||||
state: present
|
||||
|
||||
- name: Enable Firewalld
|
||||
become: true
|
||||
ansible.builtin.service:
|
||||
name: firewalld
|
||||
enabled: true
|
||||
|
||||
- name: Grant SSHD firewall access to the mgmt port
|
||||
become: true
|
||||
ansible.posix.firewalld:
|
||||
|
Reference in New Issue
Block a user