Centralisation des journaux (pas encore Elastic) #40
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