Steven,
I use tee so I can see the output and pass the full path.
eg.
Stevens-MacBook-Pro:ansible stevenwiliams$ ansible IOL_Routers -i ./hosts
-m raw -a "show run" -u cisco -k *| tee /tmp/filetest*
The issue may be with the directory permissions.
Nathan Brady
Red Hat Consult
Ansible Tower and Jenkins are doing two different things. Jenkins can
compile and do unit testing of code. Ansible Tower is more for
orchestration, deployment, and running of code. There is a ton of other
things Tower can also do well, but you need a good Ansible foundation to
use it effectively
You may want to try specifying the ordered at the playbook level. You can
find that option in the docs.
https://docs.ansible.com/ansible/latest/user_guide/playbooks_intro.html
Nathan Brady
Red Hat Consulting
e: nbr...@redhat.com | c: 1.317.344.9305
https://www.redhat.com
On Thu, Nov 21, 2019