Use no_block for restarting nftables
This commit is contained in:
parent
43237ca7dd
commit
d581df498d
2 changed files with 2 additions and 3 deletions
|
@ -38,14 +38,14 @@
|
|||
name: nftables
|
||||
state: restarted
|
||||
enabled: true
|
||||
async: 45
|
||||
poll: 5
|
||||
no_block: true
|
||||
|
||||
- name: Reload nftables service
|
||||
become: true
|
||||
ansible.builtin.systemd:
|
||||
name: nftables
|
||||
state: reloaded
|
||||
no_block: true
|
||||
|
||||
- name: Restart rsyslog service
|
||||
become: true
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
ansible.builtin.apt:
|
||||
name: nftables
|
||||
state: present
|
||||
notify: Start nftables service
|
||||
|
||||
- name: Start and enable nftables
|
||||
become: true
|
||||
|
|
Loading…
Reference in a new issue