Verified Commit ef0397af authored by Frederik Schwan's avatar Frederik Schwan Committed by Sven-Hendrik Haase
Browse files

fix E202 'Octal file permissions must contain leading zero or be a string'

parent c8177213
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
dest: "{{ service_nginx_conf }}" dest: "{{ service_nginx_conf }}"
owner: root owner: root
group: root group: root
mode: 644 mode: 0644
notify: reload nginx notify: reload nginx
when: maintenance is defined and maintenance|bool when: maintenance is defined and maintenance|bool
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
dest: "{{ maintenance_http_dir }}/{{ service_domain }}/503.html" dest: "{{ maintenance_http_dir }}/{{ service_domain }}/503.html"
owner: root owner: root
group: root group: root
mode: 644 mode: 0644
when: maintenance is defined and maintenance|bool when: maintenance is defined and maintenance|bool
- name: force reload nginx - name: force reload nginx
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
state: "directory" state: "directory"
owner: "root" owner: "root"
group: "root" group: "root"
mode: 755 mode: 0755
- name: install service unit override file - name: install service unit override file
template: template:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment