go away firewalld

This commit is contained in:
citty 2021-10-15 21:50:44 -04:00
parent 51057bb81e
commit f0a6605f82
2 changed files with 7 additions and 1 deletions

View File

@ -1,2 +1,3 @@
- name: restart ufw
service: name=ufw state=restarted
become: yes

View File

@ -52,6 +52,11 @@
state: present
when: ansible_os_family == "RedHat"
- name: Disable firewalld if RHEL based
shell: "systemctl disable firewalld; systemctl stop firewalld"
when: ansible_os_family == "RedHat"
- name: Ensure UFW is installed
package:
name: ufw