roles/common: Reload firewalld instead of restart
There is no need to bounce the service, just reload it.
This commit is contained in:
parent
0a92f3ae8f
commit
b6a54ca4d1
@ -13,5 +13,5 @@
|
||||
- name: reload sysctl
|
||||
command: sysctl -p /etc/sysctl.conf
|
||||
|
||||
- name: restart firewalld
|
||||
systemd: name=firewalld state=restarted
|
||||
- name: reload firewalld
|
||||
systemd: name=firewalld state=reloaded
|
||||
|
@ -15,4 +15,4 @@
|
||||
when: ansible_distribution_major_version | version_compare('8', '>=')
|
||||
shell: tidy -xml -iq -m -w 0 /etc/firewalld/zones/public.xml
|
||||
notify:
|
||||
- restart firewalld
|
||||
- reload firewalld
|
||||
|
@ -32,4 +32,4 @@
|
||||
when: ansible_distribution_version | version_compare('15.04', '>=')
|
||||
shell: tidy -xml -iq -m -w 0 /etc/firewalld/zones/public.xml
|
||||
notify:
|
||||
- restart firewalld
|
||||
- reload firewalld
|
||||
|
Loading…
Reference in New Issue
Block a user