aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/tasks/nftables.yml
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2018-09-25 20:51:37 +0200
committerEmil Renner Berthing <esmil@labitat.dk>2018-09-25 21:05:52 +0200
commit32d08914580a084c47a087704efece93bd790f0c (patch)
tree45879c6c8d8853ae8ebbb004860f08b27d59d1e3 /roles/space_server/tasks/nftables.yml
parent91b2e28e5252413b8cd74c670bcec50503138cfb (diff)
downloadlabitat-ansible-32d08914580a084c47a087704efece93bd790f0c.tar.gz
labitat-ansible-32d08914580a084c47a087704efece93bd790f0c.tar.xz
labitat-ansible-32d08914580a084c47a087704efece93bd790f0c.zip
Keep consistent ordering of rules
Do - name: ... module: dest/path: 'destination on target' src: ... state: ... owner: ... group: ... mode: ... with_*: ... notify: ... tags: ...
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