ansible please
This commit is contained in:
parent
f0a6605f82
commit
a3f45c0901
@ -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
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user