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 [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/CACVha7eeo-eSDHXtjn%3DscimR7jhgTkB2f4Bm5Z4881%2BE79i2GQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to