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:
Michael Grote 2021-08-15 12:01:03 +02:00
parent a32059edc4
commit e632af78f7

View file

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