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
- ethtool
- golang-github-prometheus-node-exporter
- rsyslog-logrotate
- screen
- tmux
state: present
tags:
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
lineinfile: dest=/etc/anacrontab
backup=yes
@ -69,6 +72,7 @@
copy: src=syslog-logrotate dest=/etc/logrotate.d/rsyslog
tags:
- logrotate
when: ansible_distribution == 'Fedora'
- name: install copr-selinux
package: