moved nginx, graylog to podman
This commit is contained in:
17
ansible/roles/podman/tasks/firewall.yml
Normal file
17
ansible/roles/podman/tasks/firewall.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
- name: set required podman firewall rules
|
||||
become: true
|
||||
ansible.posix.firewalld:
|
||||
port: "{{ item }}"
|
||||
permanent: true
|
||||
state: enabled
|
||||
loop:
|
||||
- 80/tcp
|
||||
- 443/tcp
|
||||
- "{{ syslog_udp_default }}/udp"
|
||||
- "{{ syslog_udp_error }}/udp"
|
||||
- "{{ syslog_udp_unifi }}/udp"
|
||||
notify: restart firewalld
|
||||
tags:
|
||||
- firewall
|
||||
- http
|
||||
Reference in New Issue
Block a user