Use no_block for restarting nftables

This commit is contained in:
Tunui Franken 2025-01-21 12:20:41 +01:00
parent 43237ca7dd
commit d581df498d
2 changed files with 2 additions and 3 deletions

View file

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

View file

@ -5,7 +5,6 @@
ansible.builtin.apt:
name: nftables
state: present
notify: Start nftables service
- name: Start and enable nftables
become: true