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

@ -8,7 +8,7 @@
ansible.builtin.file:
path: /var/log/all.log
state: touch
mode: 0644
mode: "0644"
owner: root
group: "{{ ansible_wheel }}"
when: not result.stat.exists

View file

@ -3,7 +3,7 @@
ansible.builtin.file:
dest: "{{ item }}"
state: directory
mode: 0750
mode: "0750"
owner: root
group: "{{ ansible_wheel }}"
with_items:
@ -22,7 +22,7 @@
ansible.builtin.copy:
dest: "{{ tls_private }}/0.0.0.0:6514.key"
src: /srv/letsencrypt/live/loghost.foo.sh/privkey.pem
mode: 0600
mode: "0600"
owner: root
group: "{{ ansible_wheel }}"
notify: Restart syslogd
@ -32,7 +32,7 @@
ansible.builtin.copy:
dest: "{{ tls_certs }}/0.0.0.0:6514.crt"
src: /srv/letsencrypt/live/loghost.foo.sh/fullchain.pem
mode: 0644
mode: "0644"
owner: root
group: "{{ ansible_wheel }}"
notify: Restart syslogd
@ -59,7 +59,7 @@
ansible.builtin.copy:
dest: /usr/local/sbin/syslog-archive
src: syslog-archive.sh
mode: 0755
mode: "0755"
owner: root
group: "{{ ansible_wheel }}"