repair rsyslog ergänzt (#185)
Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#185 Co-authored-by: mg <mg@noreply.git.mgrote.net> Co-committed-by: mg <mg@noreply.git.mgrote.net>
This commit is contained in:
parent
a32059edc4
commit
e632af78f7
1 changed files with 6 additions and 1 deletions
|
@ -4,8 +4,13 @@
|
||||||
serial: 5
|
serial: 5
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: wirte logrotate config rsyslog
|
- name: write logrotate config rsyslog
|
||||||
become: yes
|
become: yes
|
||||||
template:
|
template:
|
||||||
src: rsyslog_template
|
src: rsyslog_template
|
||||||
dest: /etc/logrotate.d/rsyslog
|
dest: /etc/logrotate.d/rsyslog
|
||||||
|
- name: remove line
|
||||||
|
ansible.builtin.lineinfile:
|
||||||
|
path: /etc/rsyslog.conf
|
||||||
|
state: absent
|
||||||
|
regexp: '. @@rsyslog.grote.lan:514'
|
||||||
|
|
Loading…
Reference in a new issue