Do not install the cron job in stg rather than installing an empty one
This commit is contained in:
parent
78b4b95686
commit
848101e4a1
2 changed files with 1 additions and 3 deletions
|
@ -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:
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue