Browse Source

go away firewalld

master
citty 3 months ago
parent
commit
f0a6605f82
  1. 3
      handlers.yml
  2. 5
      roles/immortal/tasks/main.yml

3
handlers.yml

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

5
roles/immortal/tasks/main.yml

@ -51,6 +51,11 @@
name: epel-release
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:

Loading…
Cancel
Save