From cd94e324d3401e518578d91382a2b7ee67562112 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 21 Apr 2017 02:47:22 +0200 Subject: Fix internal DNS service configuration --- roles/firewall/tasks/main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 roles/firewall/tasks/main.yml (limited to 'roles/firewall/tasks') diff --git a/roles/firewall/tasks/main.yml b/roles/firewall/tasks/main.yml new file mode 100644 index 0000000..49f08a1 --- /dev/null +++ b/roles/firewall/tasks/main.yml @@ -0,0 +1,10 @@ +--- +- name: Ensure firewalld is running + service: name=firewalld state=started enabled=yes + +- name: Configure firewalld + firewalld: service="dns" state="enabled" permanent="true" immediate="true" + +- name: Reload firewalld rules + shell: firewall-cmd --reload + -- cgit v1.2.3