Do not install the cron job in stg rather than installing an empty one

This commit is contained in:
Pierre-Yves Chibon 2016-10-18 11:21:34 +02:00
parent 78b4b95686
commit 848101e4a1
2 changed files with 1 additions and 3 deletions

View file

@ -46,7 +46,7 @@
- restart apache
- name: Install the reminder cron job
when: inventory_hostname.startswith(('fedocal01.stg', 'fedocal02'))
when: inventory_hostname.startswith('fedocal02')
template: src={{ item.file }}
dest={{ item.location }}/{{ item.file }}
with_items:

View file

@ -3,6 +3,4 @@
# The frequency set here should be consistent with the one set in the
# configuration file.
#
{% if env == "production" %}
*/30 * * * * root FEDOCAL_CONFIG=/etc/fedocal/fedocal.cfg /usr/bin/fedocal_cron.py
{% endif %}