HI,

Thanks for your effor

i think my ansible version is previous its 2.0.0.2

Let me try and get back asap

On Friday, November 9, 2018 at 1:09:19 PM UTC+5, Ludovic Petetin wrote:
>
> Hi,
>
> could you please paste your task and your ansible version as I've just 
> tested with this task :
>     - name: Install cron
>       cron:
>         name: test issue 
>         minute: 0
>         hour: 0
>         user: root
>         job: "(((( /usr/bin/php /var/www/file.php )))) > 
> /var/log/cron.stderr 2>&1; if [ $? -gt 0 ]; then echo CronRun @ Error; fi"
>         cron_file: "test_cron"
>
> and Ansible version 2.7.0 and I have this as output
>
> cat test_cron 
> #Ansible: test issue
> 0 0 * * * root (((( /usr/bin/php /var/www/file.php )))) > 
> /var/log/cron.stderr 2>&1; if [ $? -gt 0 ]; then echo CronRun @ Error; fi
>
> Thanks
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to