aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/space_server/tasks')
-rw-r--r--roles/space_server/tasks/nftables.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/roles/space_server/tasks/nftables.yml b/roles/space_server/tasks/nftables.yml
index a7fb588..2dc8fce 100644
--- a/roles/space_server/tasks/nftables.yml
+++ b/roles/space_server/tasks/nftables.yml
@@ -11,10 +11,18 @@
tags:
- packages
+- name: Symlink to /etc/nftables.conf
+ file:
+ path: '/etc/sysconfig/nftables.conf'
+ state: link
+ src: '../nftables.conf'
+ force: yes
+ notify:
+ - reload nftables
- name: Configure nftables
copy:
src: nftables/nftables.conf
- dest: '/etc/sysconfig/nftables.conf'
+ dest: '/etc/nftables.conf'
notify:
- reload nftables