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

@ -40,7 +40,7 @@
ansible.builtin.file:
path: /export/mongodb
state: directory
mode: 0700
mode: "0700"
owner: mongod
group: mongod
setype: _default
@ -67,7 +67,7 @@
ansible.builtin.copy:
dest: "{{ tls_private }}/mongodb.pem"
content: "{{ mongodb_cert_key.stdout }}"
mode: 0640
mode: "0640"
owner: root
group: mongod
notify: Restart mongod
@ -76,7 +76,7 @@
ansible.builtin.copy:
dest: /etc/logrotate.d/mongod
src: mongod.logrotate
mode: 0644
mode: "0644"
owner: root
group: "{{ ansible_wheel }}"
@ -85,7 +85,7 @@
dest: /etc/sysconfig/mongod
content: |
OPTIONS="-f /etc/mongod.conf --logRotate reopen"
mode: 0644
mode: "0644"
owner: root
group: "{{ ansible_wheel }}"
notify: Restart mongod
@ -94,7 +94,7 @@
ansible.builtin.template:
dest: /etc/mongod.conf
src: mongod.conf.j2
mode: 0644
mode: "0644"
owner: root
group: "{{ ansible_wheel }}"
notify: Restart mongod