ansible-role-firewalld/handlers/main.yml
2024-04-27 01:33:26 +00:00

13 lines
273 B
YAML

---
- name: Start/Enable firewalld
listen: start-firewalld
ansible.builtin.systemd:
name: "{{ firewalld_service_name }}"
state: restarted
enabled: true
- name: Reload firewalld
listen: reload-firewalld
ansible.builtin.command: "firewall-cmd --reload"