From cbf16968fc937b2281435dabadde1f3d8ae317cb Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Tue, 2 Apr 2024 13:51:23 -0700 Subject: [PATCH] add missing firewalld ports --- tasks/syslog.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tasks/syslog.yml b/tasks/syslog.yml index fa577a8..f00607a 100644 --- a/tasks/syslog.yml +++ b/tasks/syslog.yml @@ -34,5 +34,15 @@ owner: root group: root mode: '0644' + + - name: Open applicable firewall rules + ansible.posix.firewalld: + port: "{{ item }}" + permanent: true + state: enabled + immediate: true + loop: + - "514/tcp" + - "514/udp" when: syslog_type == "server" ...