Skip to content
Snippets Groups Projects
Commit c44ca7c2 authored by Simon's avatar Simon
Browse files

Add handler to restart nftables after deploying nftables.conf

parent 9565edc1
No related branches found
No related tags found
No related merge requests found
......@@ -3,3 +3,8 @@
service:
name: systemd-journald
state: restarted
- name: restart-nftables
service:
name: nftables
state: restarted
......@@ -15,6 +15,7 @@
src: nftables.conf
mode: '0755'
become: true
notify: restart-nftables
- name: Enable and start nftables service
tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment