Fix "Forbidden implicit octal value" lint errors

This commit is contained in:
Timo Makinen 2023-10-12 19:14:54 +00:00
parent 1e973b3dde
commit 86d076ebc6
75 changed files with 227 additions and 227 deletions

View file

@ -3,7 +3,7 @@
ansible.builtin.file:
path: "/srv/web/{{ site }}"
state: directory
mode: 0755
mode: "0755"
owner: root
group: "{{ ansible_wheel }}"
when: redirect is not defined and proxy is not defined
@ -12,7 +12,7 @@
ansible.builtin.template:
dest: /etc/nginx/conf.d/{{ site }}.conf
src: site.conf.j2
mode: 0644
mode: "0644"
owner: root
group: "{{ ansible_wheel }}"
notify: Restart nginx
@ -21,7 +21,7 @@
ansible.builtin.copy:
dest: "{{ tls_private }}/{{ site }}.key"
src: "{{ item }}"
mode: 0600
mode: "0600"
owner: root
group: "{{ ansible_wheel }}"
with_first_found:
@ -35,7 +35,7 @@
ansible.builtin.copy:
src: "{{ item }}"
dest: "{{ tls_certs }}/{{ site }}-fullchain.crt"
mode: 0644
mode: "0644"
owner: root
group: "{{ ansible_wheel }}"
validate: /usr/bin/openssl x509 -in %s -noout