I was able to see the job by typing "crontab -e".But it is not working.Is 
the job which i gave there is in the right way.

On Monday, May 1, 2017 at 6:50:35 PM UTC+5:30, Dick Davies wrote:
>
> If you can see the job, then Ansible has done its bit. You need to look 
> at the job itself now. 
>
> On 1 May 2017 at 11:11, acharya tejaswi indurthi 
> <[email protected] <javascript:>> wrote: 
> > Hi, 
> > 
> > I am trying to run cron module for running ansible playbook for every 
> one 
> > minute.But it is not working.I can see the job but the job is not 
> > running.The playbook is wrote is 
> > 
> > --- 
> > - hosts: localhost 
> >   connection: local 
> >   gather_facts: no 
> >   tasks: 
> >   - cron: 
> >       name: "yum autoupdate" 
> >       minute: "*/1" 
> >       job: "`ansible-playbook own_role.yml`" 
> >       state: present 
> > 
> > even i have gone through this link: 
> > 
> http://stackoverflow.com/questions/39398455/ansible-playbook-from-crontab 
> > 
> > what is the problem here i was not able to understand.Can anyone help me 
> > 
> > Thanks, 
> > 
> > -- 
> > 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] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/ansible-project/226cd837-ad3d-49ae-b597-0ede214d6d6b%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
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/247e9350-9cd8-41a5-bb9b-8adb15cf6622%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to