diff options
Diffstat (limited to 'roles/webserver/tasks/main.yml')
-rw-r--r-- | roles/webserver/tasks/main.yml | 5 |
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 } |