Please see the examples here 
<http://docs.ansible.com/ansible/cron_module.html>. There are extra spaces 
in your code.

On Thursday, 22 October 2015 06:19:04 UTC+11, Erik wrote:
>
> Hello, 
>
> I'm using ansible 1.9.3, and I running into a problem getting the cron 
> module to work properly. 
>
> Here's what I have: 
>
> - name: deploy cron job 
>   cron: job = "/path/to/script" minute = "10" hour = "22" backup = "yes" 
>   tags: tagname 
>
> When I run this play, I get the following: 
>
> TASK: [tagname | deploy cron job] ************************************* 
> fatal: [hostname] => a duplicate parameter was found in the argument 
> string () 
>
> As far as I can tell, I'm using the correct syntax. 
>
> Am I missing something stupid? 
>
> Thanks, 
> Erik 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f8e41877-74e6-4b8b-bb36-e4f52a8e76cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to