aboutsummaryrefslogtreecommitdiff
path: root/roles/webserver/tasks
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2022-12-06 22:33:49 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2022-12-06 22:33:49 +0100
commitb7cdaac241843b03c1947c2981286e12fa050153 (patch)
treea0b41a3b24ff1a3012b217f466d4635a0c25963f /roles/webserver/tasks
parent3b040fac09eb158caf963d7c956610f99f8e0c17 (diff)
downloadansible-memzero-b7cdaac241843b03c1947c2981286e12fa050153.tar.gz
ansible-memzero-b7cdaac241843b03c1947c2981286e12fa050153.zip
fix ansible-lint lints
Diffstat (limited to 'roles/webserver/tasks')
-rw-r--r--roles/webserver/tasks/main.yml5
1 files changed, 3 insertions, 2 deletions
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 }