copr: crond to use syslog instead of spamming sysadmins

This commit is contained in:
Pavel Raiskup 2019-08-04 20:49:00 +02:00 committed by Pierre-Yves Chibon
parent 828d82b3dd
commit 660689b047
3 changed files with 5 additions and 7 deletions

View file

@ -0,0 +1,2 @@
# use syslog, don't spawn sysadmins for now
CRONDARGS=-s

View file

@ -1,4 +0,0 @@
# Settings for the CRON daemon.
# CRONDARGS= : any extra command-line startup arguments for crond
CRONDARGS=
MAILTO=sysadmin-copr-members@fedoraproject.org

View file

@ -66,9 +66,6 @@
tags:
- config
- name: copy crond conf
copy: src="crond" dest="/etc/sysconfig/crond"
- name: copy apache files to conf.d (templates)
template: src="httpd/{{ item }}" dest="/etc/httpd/conf.d/{{ item }}"
with_items:
@ -125,6 +122,9 @@
tags:
- config
- name: configure crond
copy: src=sysconfig.crond dest=/etc/sysconfig/crond
- name: enable services
service: state=started enabled=yes name={{ item }}
with_items: