fix: solve linting issues
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
391e7d5cd1
commit
c7419cb829
@ -4,6 +4,7 @@
|
|||||||
copy:
|
copy:
|
||||||
src: /etc/mongod.conf
|
src: /etc/mongod.conf
|
||||||
dest: /etc/mongod.conf.bak
|
dest: /etc/mongod.conf.bak
|
||||||
|
mode: 0640
|
||||||
remote_src: True
|
remote_src: True
|
||||||
changed_when: False
|
changed_when: False
|
||||||
|
|
||||||
@ -11,7 +12,7 @@
|
|||||||
template:
|
template:
|
||||||
src: etc/mongod_init.conf.j2
|
src: etc/mongod_init.conf.j2
|
||||||
dest: /etc/mongod.conf
|
dest: /etc/mongod.conf
|
||||||
mode: 0644
|
mode: 0640
|
||||||
changed_when: False
|
changed_when: False
|
||||||
|
|
||||||
- name: Restart service to disable auth
|
- name: Restart service to disable auth
|
||||||
@ -35,6 +36,7 @@
|
|||||||
copy:
|
copy:
|
||||||
src: /etc/mongod.conf.bak
|
src: /etc/mongod.conf.bak
|
||||||
dest: /etc/mongod.conf
|
dest: /etc/mongod.conf
|
||||||
|
mode: 0640
|
||||||
remote_src: True
|
remote_src: True
|
||||||
changed_when: False
|
changed_when: False
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
path: "{{ mongodb_storage_dbpath }}"
|
path: "{{ mongodb_storage_dbpath }}"
|
||||||
owner: "{{ mongodb_system_user }}"
|
owner: "{{ mongodb_system_user }}"
|
||||||
group: "{{ mongodb_system_group }}"
|
group: "{{ mongodb_system_group }}"
|
||||||
|
mode: 0750
|
||||||
selevel: s0
|
selevel: s0
|
||||||
serole: object_r
|
serole: object_r
|
||||||
setype: mongod_var_lib_t
|
setype: mongod_var_lib_t
|
||||||
|
Loading…
Reference in New Issue
Block a user