Issue was permissions within the ansible folder itself. directed to another 
directory and it worked. 

On Wednesday, August 21, 2019 at 2:21:49 PM UTC-5, Nathan Brady wrote:
>
> 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 Consulting
> e: nbr...@redhat.com <javascript:> | c: 1.317.344.9305 | t: 1.312.477.4327
> https://www.redhat.com
>
>
> On Wed, Aug 21, 2019 at 3:08 PM Steven Williams <stevenjw...@gmail.com 
> <javascript:>> 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 <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-devel/cf1e8413-3282-4341-bc98-57d176be4d74%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ansible-devel/cf1e8413-3282-4341-bc98-57d176be4d74%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/42d7c131-21f0-4d63-9cd3-652aee418ae0%40googlegroups.com.

Reply via email to