2021-07-21 10:53:38 +02:00
|
|
|
---
|
|
|
|
- hosts: all:!proxmox
|
|
|
|
become: yes
|
|
|
|
serial: 5
|
|
|
|
|
|
|
|
tasks:
|
2021-08-15 12:01:03 +02:00
|
|
|
- name: write logrotate config rsyslog
|
2021-07-21 10:53:38 +02:00
|
|
|
become: yes
|
|
|
|
template:
|
|
|
|
src: rsyslog_template
|
|
|
|
dest: /etc/logrotate.d/rsyslog
|
2021-08-15 12:01:03 +02:00
|
|
|
- name: remove line
|
|
|
|
ansible.builtin.lineinfile:
|
|
|
|
path: /etc/rsyslog.conf
|
|
|
|
state: absent
|
|
|
|
regexp: '. @@rsyslog.grote.lan:514'
|