Try using the cron module again.

This commit is contained in:
Kevin Fenzi 2013-04-12 17:51:07 +00:00
parent 1e7469e8ff
commit 3b5be9f5b6

View file

@ -49,12 +49,12 @@
# setup /etc/cron.d/ file to run sync every 10min
# TODO: use cron module when it's fixed
#
#- name: fas_client cron job
# cron: name="fas client" user=root cron_file=fas-client minute="*/10" job="/usr/bin/fasClient -i"
# tags:
# - config
#
- name: fas_client cron job
action: copy src=$files/fas-client/fas-client.cron dest=/etc/cron.d/fas-client owner=root mode=700
cron: name="fas client" user=root cron_file=fas-client minute="*/10" job="/usr/bin/fasClient -i"
tags:
- config
#- name: fas_client cron job
# action: copy src=$files/fas-client/fas-client.cron dest=/etc/cron.d/fas-client owner=root mode=700
# tags:
# - config