Just to close the loop...ansible 1.6.2 DOES fix this issue for me. Thanks!
Andy On Thursday, May 1, 2014 4:37:42 PM UTC-4, Andy Ingham wrote: > > This one baffles me. > > I issue this command: > > ansible HOSTABC -a 'cat /etc/motd' -K --sudo -v > sudo password: > > and I see the success message PLUS the stdout of that file > > HOSTABC | success | rc=0 >> > > > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > You are about to access a Duke University computer network that is > intended for > authorized users only. You should have no expectation of privacy in your > use of > this network. Use of this network constitutes consent to monitoring, > retrieval, > and disclosure of any information stored within the network for any purpose > including criminal prosecution. > > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > > However, when I substitue a different filename I *do not see* the stdout > output, even though the command succeeds. > > ansible HOSTABC -a 'cat /var/log/boot.log' -K --sudo -v > sudo password: > > HOSTABC | success | rc=0 >> > > <STDOUT SHOULD BE *HERE*> > > > Can anyone shine a light on this for me? > > Thanks! > Andy > > -- 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/b4add836-dd0f-45f0-9013-91c33d50629d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
