ansible please

This commit is contained in:
citty 2021-10-15 22:10:45 -04:00
parent f0a6605f82
commit a3f45c0901
2 changed files with 0 additions and 9 deletions

View File

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

View File

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