fix: solve linting issues
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2021-02-06 15:53:36 +01:00
parent 391e7d5cd1
commit c7419cb829
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,7 @@
copy:
src: /etc/mongod.conf
dest: /etc/mongod.conf.bak
mode: 0640
remote_src: True
changed_when: False
@ -11,7 +12,7 @@
template:
src: etc/mongod_init.conf.j2
dest: /etc/mongod.conf
mode: 0644
mode: 0640
changed_when: False
- name: Restart service to disable auth
@ -35,6 +36,7 @@
copy:
src: /etc/mongod.conf.bak
dest: /etc/mongod.conf
mode: 0640
remote_src: True
changed_when: False

View File

@ -36,6 +36,7 @@
path: "{{ mongodb_storage_dbpath }}"
owner: "{{ mongodb_system_user }}"
group: "{{ mongodb_system_group }}"
mode: 0750
selevel: s0
serole: object_r
setype: mongod_var_lib_t