From a3f45c09011cd0b544c0a631f62cfb986d24a3e6 Mon Sep 17 00:00:00 2001 From: citty Date: Fri, 15 Oct 2021 22:10:45 -0400 Subject: [PATCH] ansible please --- roles/immortal/tasks/main.yml | 1 - roles/web/main.yml | 8 -------- 2 files changed, 9 deletions(-) delete mode 100644 roles/web/main.yml 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