Add explicit permissions for directories
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
jeltz 2021-03-01 02:26:22 +01:00
parent ba8b4e8c29
commit f7183095c1
2 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -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