10 lines
327 B
YAML
10 lines
327 B
YAML
---
|
|
# handlers file for nftables
|
|
- name: Restart nftables service
|
|
systemd:
|
|
daemon_reload: '{{ nftables__register_systemd_service.changed | default(False) }}'
|
|
state: 'restarted'
|
|
name: '{{ nft_service_name }}'
|
|
enabled: '{{ nft_service_enabled }}'
|
|
when: ansible_service_mgr == 'systemd' and nft_service_manage
|