aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/tasks/nftables.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/space_server/tasks/nftables.yml')
-rw-r--r--roles/space_server/tasks/nftables.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/space_server/tasks/nftables.yml b/roles/space_server/tasks/nftables.yml
index 0bc468f..726143c 100644
--- a/roles/space_server/tasks/nftables.yml
+++ b/roles/space_server/tasks/nftables.yml
@@ -1,8 +1,8 @@
---
- name: Install our nftables service
copy:
- src: nftables/nftables.service
dest: '/etc/systemd/system/nftables.service'
+ src: nftables/nftables.service
owner: root
group: root
mode: 0644
@@ -17,15 +17,15 @@
- name: Symlink to /etc/nftables.conf
file:
path: '/etc/sysconfig/nftables.conf'
- state: link
src: '../nftables.conf'
+ state: link
force: yes
notify:
- reload nftables
- name: Configure nftables
copy:
- src: nftables/nftables.conf
dest: '/etc/nftables.conf'
+ src: nftables/nftables.conf
owner: root
group: root
mode: 0644