[ansible-project] Source environment file on connection

2017-12-24 Thread Richard Shaw
Hi, I'm working with a environment that requires a $ source /path/environment file every time Ansible connects so it can find Python etc, how would I go about doing that? Thanks, Richard -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To

[ansible-project] Re: invalid output was: [sudo via ansible, key=xfucmmnngaakrzojuosuatbjpbtjsqvc] password:

2014-06-09 Thread Richard Shaw
So, I've double checked things, I can't see any reason why the first play completes successfully and hits node m7b as defined in vagrant_hosts but the second play hits 127.0.0.1 and m7b. It should be a repeat of the first play. On Friday, June 6, 2014 6:27:13 PM UTC+1, Richard Shaw wrote

Re: [ansible-project] invalid output was: [sudo via ansible, key=xfucmmnngaakrzojuosuatbjpbtjsqvc] password:

2014-06-08 Thread Richard Shaw
UTC+1, James Cammarata wrote: From the output, it looks like it tried to ssh to localhost, but failed. This may be an issue with sshpass, or with sudo/ssh credentials on the system, if you can share any other details about your setup. On Fri, Jun 6, 2014 at 12:27 PM, Richard Shaw ric

[ansible-project] invalid output was: [sudo via ansible, key=xfucmmnngaakrzojuosuatbjpbtjsqvc] password:

2014-06-07 Thread Richard Shaw
Hi, hit a wall with a bug and verbose output isn't helping GATHERING FACTS *** 127.0.0.1 REMOTE_MODULE setup m7b ESTABLISH CONNECTION FOR USER: vagrant m7b REMOTE_MODULE setup 127.0.0.1 EXEC ['/bin/sh', '-c', 'mkdir -p