copr/base: use rsyslog-logrotate only on Fedora
It isn't available in EPEL8
This commit is contained in:
parent
60d5faf5d6
commit
dd31fcceea
1 changed files with 5 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue