diff --git a/roles/immortal/tasks/main.yml b/roles/immortal/tasks/main.yml index 77beb69..c152394 100644 --- a/roles/immortal/tasks/main.yml +++ b/roles/immortal/tasks/main.yml @@ -54,7 +54,6 @@ - name: Disable firewalld if RHEL based shell: "systemctl disable firewalld; systemctl stop firewalld" - when: ansible_os_family == "RedHat" - name: Ensure UFW is installed diff --git a/roles/web/main.yml b/roles/web/main.yml deleted file mode 100644 index 00e1ea0..0000000 --- a/roles/web/main.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -- name: Allow Web traffic - ufw: rule={{ item.rule }} port={{ item.port }} proto={{ item.proto }} - with_items: - - { rule: 'allow', port: '80', proto: 'tcp' } - notify: - - restart ufw - become: yes \ No newline at end of file