forgot to mention!

ansible-1.9.4-1.fc23.noarch

cat Ansiblefile.yml
- src: jtyr.environment
  path: roles

if Ansiblefile.yml contains

- src: https://github.com/picotrading/ansible-sudo.git
  name: jtyr.sudo
  path: roles


script succeeds

On Sunday, 10 January 2016 10:15:37 UTC+3, Александр Костырев wrote:
>
> I've got the same problem.
> I've set up cntlm. It listens
>
>
> $ sudo netstat -nlp --inet | grep 3128
> tcp        0      0 127.0.0.1:3128          0.0.0.0:*               
> LISTEN      13673/cntlm     
>
> I've got a bash script that suppose to install all my roles:
>
> #!/bin/bash
>
> https_proxy="http://127.0.0.1:3128";
> http_proxy="http://127.0.0.1:3128";
>
> cat Ansiblefile_external_roles.yml > Ansiblefile.yml
> ansible-galaxy install -r Ansiblefile.yml
>
>
> but if fails:
>
> bash -x ansible_install_roles.sh
> + https_proxy=http://127.0.0.1:3128
> + http_proxy=http://127.0.0.1:3128
> + cat Ansiblefile_external_roles.yml
> + ansible-galaxy install -r Ansiblefile.yml --force
> - the API server (galaxy.ansible.com) is not responding, please try again 
> later.
>
>
>
>
> On Friday, 28 August 2015 19:34:53 UTC+3, Greg DeKoenigsberg wrote:
>>
>> If it fails for you again, give us some more specific info and we'll dig 
>> in. 
>>
>> --g 
>>
>> On Fri, Aug 28, 2015 at 11:36 AM, Emilio Del Plato <[email protected]> 
>> wrote: 
>> > when we tried that it did not appear to work. Ill give it another try. 
>> > 
>> > Thanks for the reply. 
>> > ~Emilio 
>> > 
>> > On Friday, August 28, 2015 at 10:57:37 AM UTC-4, Greg DeKoenigsberg 
>> wrote: 
>> >> 
>> >> A quote from someone smarter than me: 
>> >> 
>> >> "It's using urllib/httplib so setting the http{s}_proxy environment 
>> >> variable should have it use the proxy." 
>> >> 
>> >> (Hint: the person is jimi-c.) 
>> >> 
>> >> --g 
>> >> 
>> >> On Thu, Aug 27, 2015 at 5:37 PM, Emilio Del Plato <[email protected]> 
>>
>> >> wrote: 
>> >> > Apologies if this has been covered somewhere and I missed it. 
>> >> > 
>> >> > Is it possible to have ansible-galaxy (CLI) connect using a proxy? 
>> we 
>> >> > have 
>> >> > our primary ansible box walled off and it needs to use a proxy to 
>> >> > connect to 
>> >> > the web (galaxy.ansible.com, github.com....) 
>> >> > I have tried using tsocks as well as setting environment variables 
>> but 
>> >> > none 
>> >> > of these options seem to be honored by galaxy cli. 
>> >> > 
>> >> > Is anyone aware of anyother method to use ansible-galaxy with a 
>> proxy? 
>> >> > 
>> >> > -- 
>> >> > 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/53effa7d-bd7b-4cc4-9eb7-8d2ed12ad839%40googlegroups.com.
>>  
>>
>> >> > For more options, visit https://groups.google.com/d/optout. 
>> >> 
>> >> 
>> >> 
>> >> -- 
>> >> Greg DeKoenigsberg 
>> >> Ansible Community Guy 
>> >> 
>> >> Find out why SD Times named Ansible 
>> >> their #1 Company to Watch in 2015: 
>> >> http://sdtimes.com/companies-watch-2015/ 
>> > 
>> > -- 
>> > 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/88c45261-ac74-4283-a65d-26f64389c802%40googlegroups.com.
>>  
>>
>> > 
>> > For more options, visit https://groups.google.com/d/optout. 
>>
>>
>>
>> -- 
>> Greg DeKoenigsberg 
>> Ansible Community Guy 
>>
>> Find out why SD Times named Ansible 
>> their #1 Company to Watch in 2015: 
>> http://sdtimes.com/companies-watch-2015/ 
>>
>

-- 
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/dd7728de-777d-4b36-b6b0-cee65aa016cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to