Add explicit permissions for directories
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
ba8b4e8c29
commit
f7183095c1
2 changed files with 6 additions and 0 deletions
|
@ -11,6 +11,9 @@
|
||||||
file:
|
file:
|
||||||
path: "{{ rsyslog_collector_base_dir }}"
|
path: "{{ rsyslog_collector_base_dir }}"
|
||||||
state: directory
|
state: directory
|
||||||
|
owner: root
|
||||||
|
group: adm
|
||||||
|
mode: u=rwx,g=rwx,o=
|
||||||
|
|
||||||
- name: Deploy rsyslog input configuration file
|
- name: Deploy rsyslog input configuration file
|
||||||
become: true
|
become: true
|
||||||
|
|
|
@ -37,6 +37,9 @@
|
||||||
file:
|
file:
|
||||||
path: /etc/systemd/journald.conf.d
|
path: /etc/systemd/journald.conf.d
|
||||||
state: directory
|
state: directory
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: u=rwx,g=rx,o=rx
|
||||||
|
|
||||||
- name: Deploy journald configuration
|
- name: Deploy journald configuration
|
||||||
become: true
|
become: true
|
||||||
|
|
Loading…
Reference in a new issue