mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-27 23:57:02 +08:00
copr/base: use rsyslog-logrotate only on Fedora
It isn't available in EPEL8
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user