stop bodhi-check-policies cron job from sending out No handlers could be found for logger bodhi.server emails all the time

This commit is contained in:
Kevin Fenzi 2018-02-15 20:16:42 +00:00
parent bfb9d492b0
commit e43c8b50d1

View file

@ -320,7 +320,7 @@
- name: bodhi-check-policies cron job.
cron: name="bodhi-check-policies" hour="*/6" minute=0 user="apache"
job="/usr/bin/bodhi-check-policies > /dev/null"
job="/usr/bin/bodhi-check-policies >& /dev/null"
cron_file=bodhi-check-policies-job
when: (inventory_hostname.startswith('bodhi-backend01') and env == "staging") or (inventory_hostname.startswith('bodhi-backend02') and env == "production")
tags: