From 32d08914580a084c47a087704efece93bd790f0c Mon Sep 17 00:00:00 2001 From: Emil Renner Berthing Date: Tue, 25 Sep 2018 20:51:37 +0200 Subject: Keep consistent ordering of rules Do - name: ... module: dest/path: 'destination on target' src: ... state: ... owner: ... group: ... mode: ... with_*: ... notify: ... tags: ... --- roles/space_server/tasks/nftables.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'roles/space_server/tasks/nftables.yml') 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 -- cgit v1.2.1