Stevens-MacBook-Pro:ansible stevenwiliams$ ansible IOL_Routers -i ./hosts -m raw -a "show run" -u cisco -k > filetest
-bash: filetest: Permission denied
Stevens-MacBook-Pro:ansible stevenwiliams$
what am I missing here??
--
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-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/cf1e8413-3282-4341-bc98-57d176be4d74%40googlegroups.com.
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/filetestThe issue may be with the directory permissions.Nathan BradyRed Hat Consulting
On Wed, Aug 21, 2019 at 3:08 PM Steven Williams <stevenjw...@gmail.com> wrote:
--Stevens-MacBook-Pro:ansible stevenwiliams$ ansible IOL_Routers -i ./hosts -m raw -a "show run" -u cisco -k > filetest
-bash: filetest: Permission denied
Stevens-MacBook-Pro:ansible stevenwiliams$
what am I missing here??
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 ansibl...@googlegroups.com.