Skip to content
Snippets Groups Projects
Commit e7ae10b8 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

fix: restart firewalld after change

parent cb685673
No related branches found
No related tags found
No related merge requests found
......@@ -71,3 +71,9 @@
when:
- "'firewalld.service' in ansible_facts.services"
- ansible_facts.services["firewalld.service"].state == "running"
- name: Enable and start firewalld
ansible.builtin.service:
name: firewalld
enabled: true
state: restarted
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment