Try to avoid hanging of service restart
This commit is contained in:
parent
7eac4cbf15
commit
d12e625a03
1 changed files with 4 additions and 0 deletions
|
@ -92,6 +92,10 @@
|
|||
notify: Reload nftables service
|
||||
when: dhcp_grep.stdout != ""
|
||||
|
||||
# The restart of rsyslog service seems to hang when done just after reloading of nftables service
|
||||
- name: Make sure nftables service is reloaded
|
||||
ansible.builtin.meta: flush_handlers
|
||||
|
||||
- name: Setup netfilter.log
|
||||
become: true
|
||||
ansible.builtin.copy:
|
||||
|
|
Loading…
Reference in a new issue