1 2 3 4 5 6 7 8 9 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