diff options
Diffstat (limited to 'roles/webserver')
-rw-r--r-- | roles/webserver/handlers/main.yml | 2 | ||||
-rw-r--r-- | roles/webserver/tasks/main.yml | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/roles/webserver/handlers/main.yml b/roles/webserver/handlers/main.yml index 3e327d5..d75a7f3 100644 --- a/roles/webserver/handlers/main.yml +++ b/roles/webserver/handlers/main.yml @@ -3,4 +3,4 @@ containers.podman.podman_container: name: webserver state: started - restart: yes
\ No newline at end of file + restart: true 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 } |