From b7cdaac241843b03c1947c2981286e12fa050153 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Tue, 6 Dec 2022 22:33:49 +0100 Subject: fix ansible-lint lints --- roles/webserver/tasks/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'roles/webserver/tasks') diff --git a/roles/webserver/tasks/main.yml b/roles/webserver/tasks/main.yml index a849f2c..b17536e 100644 --- a/roles/webserver/tasks/main.yml +++ b/roles/webserver/tasks/main.yml @@ -5,6 +5,7 @@ dest: "{{ DATA_ROOT }}/nginx" owner: "{{ USER }}" group: "{{ USER }}" + mode: '0644' loop: - www - user_conf.d @@ -43,7 +44,7 @@ jump: REDIRECT to_ports: "{{ item.to }}" comment: "Redirect web traffic {{ item.from }} -> {{ item.to }}" - become: yes + become: true loop: - { from: 80 , to: 8080 } - - { from: 443, to: 8443 } \ No newline at end of file + - { from: 443, to: 8443 } -- cgit v1.2.3