I am  newbie at this, i know how to setup ansible playbooks and run them 
but i dont know how to schedule a task like backing up cisco configs like 
you are trying to do here. I dont know  Crontab, how do i set it up and 
also does it use scripts as well? Please provide details. thank you!


On Wednesday, July 12, 2017 at 10:08:25 AM UTC-6, Brian Coca wrote:
>
> bin/ansible is for Adhoc tasks, you want bin/ansible-playbook is for 
> executing playbooks 
>
> this makes no sense: 
> /usr/bin/ansible /home/ansibleuser/ansible/playbooks/ansible-playbook 
> device_bak_2.yml 
>
> I think you want: 
> /usr/bin/ansible-playbook 
>  /home/ansibleuser/ansible/playbooks/device_bak_2.yml 
>
>
> -- 
> ---------- 
> Brian Coca 
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/67cb7f94-4daf-45ea-a61a-01bbaffd01d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to