roles/common: Reload firewalld instead of restart

There is no need to bounce the service, just reload it.
This commit is contained in:
Alan Orth 2017-11-02 18:58:15 +02:00
parent 0a92f3ae8f
commit b6a54ca4d1
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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