copr: crond to use syslog instead of spamming sysadmins
This commit is contained in:
parent
828d82b3dd
commit
660689b047
3 changed files with 5 additions and 7 deletions
2
roles/copr/base/files/sysconfig.crond
Normal file
2
roles/copr/base/files/sysconfig.crond
Normal file
|
@ -0,0 +1,2 @@
|
|||
# use syslog, don't spawn sysadmins for now
|
||||
CRONDARGS=-s
|
|
@ -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
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue