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
|
- 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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue