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

@ -16,7 +16,7 @@
ansible.builtin.file:
path: /export/mariadb
state: directory
mode: 0750
mode: "0750"
owner: mysql
group: mysql
setype: _default
@ -41,7 +41,7 @@
ansible.builtin.file:
path: /etc/mysql
state: directory
mode: 0750
mode: "0750"
owner: root
group: mysql
@ -56,7 +56,7 @@
ansible.builtin.template:
dest: /etc/my.cnf.d/tls.cnf
src: tls.cnf.j2
mode: 0644
mode: "0644"
owner: root
group: "{{ ansible_wheel }}"
notify: Restart mariadb
@ -65,7 +65,7 @@
ansible.builtin.copy:
dest: /etc/my.cnf.d/local.cnf
content: "[mariadb]\ninnodb_file_per_table=ON\n"
mode: 0644
mode: "0644"
owner: root
group: "{{ ansible_wheel }}"
notify: Restart mariadb
@ -91,7 +91,7 @@
ansible.builtin.template:
dest: /root/.my.cnf
src: my.cnf.j2
mode: 0600
mode: "0600"
owner: root
group: "{{ ansible_wheel }}"
when: mariadb_root_password is defined
@ -108,7 +108,7 @@
ansible.builtin.file:
path: /export/backup
state: directory
mode: 02750
mode: "02750"
owner: root
group: backup
@ -125,7 +125,7 @@
ansible.builtin.copy:
dest: /usr/local/sbin/mariadb-backup
src: mariadb-backup.sh
mode: 0755
mode: "0755"
owner: root
group: "{{ ansible_wheel }}"
@ -140,7 +140,7 @@
ansible.builtin.copy:
dest: /usr/local/sbin/mysql_tzinfo_check
src: mysql_tzinfo_check.sh
mode: 0755
mode: "0755"
owner: root
group: "{{ ansible_wheel }}"