skylab
/
skylab-ansible
Archived
2
0
Fork 0

Stop assuming rockylinux has firewalld installed by default

This commit is contained in:
Ethan Paul 2023-05-19 16:39:52 -04:00
parent 15a1411f1a
commit 4a516eee15
Signed by: enpaul
GPG Key ID: 7F99C4BD34F93E16
1 changed files with 12 additions and 0 deletions

View File

@ -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: