copr/base: use rsyslog-logrotate only on Fedora

It isn't available in EPEL8
This commit is contained in:
Jakub Kadlcik 2023-08-20 19:31:22 +02:00
parent 60d5faf5d6
commit dd31fcceea

View file

@ -50,13 +50,16 @@
- cronie-anacron - cronie-anacron
- ethtool - ethtool
- golang-github-prometheus-node-exporter - golang-github-prometheus-node-exporter
- rsyslog-logrotate
- screen - screen
- tmux - tmux
state: present state: present
tags: tags:
packages packages
- name: install rsyslog-logrotate
package: name=rsyslog-logrotate state=present
when: ansible_distribution == 'Fedora'
- name: configure anacrond to not send mails to root user - name: configure anacrond to not send mails to root user
lineinfile: dest=/etc/anacrontab lineinfile: dest=/etc/anacrontab
backup=yes backup=yes
@ -69,6 +72,7 @@
copy: src=syslog-logrotate dest=/etc/logrotate.d/rsyslog copy: src=syslog-logrotate dest=/etc/logrotate.d/rsyslog
tags: tags:
- logrotate - logrotate
when: ansible_distribution == 'Fedora'
- name: install copr-selinux - name: install copr-selinux
package: package: