Michael / James -- Thanks for the quick reply. I'm using ansible 1.5.3-1.el6
BTW, Michael, I also have connections to NCSU. I'm the only person I know that has worked full-time for at least a year at all three of: UNC, Duke, and State. I did enjoy your jab, though. Best wishes, 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/adeda25f-19f8-4033-93da-e337f5c0a98b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
