# env-setup & ./hacking missing gtom ansible.tat.gz

**URL:** <https://forum.ansible.com/t/env-setup-hacking-missing-gtom-ansible-tat-gz/21602>\
**Category:** Ansible Project\
**Created:** [May 30, 2016, 8:15am UTC](https://forum.ansible.com/t/env-setup-hacking-missing-gtom-ansible-tat-gz/21602 "2016-05-30T08:15:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hubrecht.v.dalsen](https://avatars.discourse-cdn.com/v4/letter/h/2bfe46/32.png) [@hubrecht.v.dalsen](https://forum.ansible.com/u/hubrecht.v.dalsen)\
**Post date:** [May 30, 2016, 8:15am UTC](https://forum.ansible.com/t/env-setup-hacking-missing-gtom-ansible-tat-gz/21602/1 "2016-05-30T08:15:07Z")

</div>

Hi all,

I am trying to use Ansible on a Linux master server that is completely locked down(no internet access at all)  
So I have downloaded a tarball from [releases.ansible.com](http://releases.ansible.com/), and looked at “[running form source](http://docs.ansible.com/ansible/intro_installation.html)” to get instructions to continue, without success.

the page suggests the following command:  
source ./hacking/env-setup

but neither ./hacking nor env-setup exists

I recently used Ansible successfully to install Java & JBOSS on several servers but this was on a server that was not locked down. I would really appreciate it if you could help me out here…

Hubrecht

---

<div class="post-metadata">

**Author:** ![Johannes\_Kastl](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Post date:** [June 1, 2016, 5:29pm UTC](https://forum.ansible.com/t/env-setup-hacking-missing-gtom-ansible-tat-gz/21602/2 "2016-06-01T17:29:00Z")

</div>

I think this section is intended for the use when you clone the repo  
via git.

Trying to install a rpm/deb file would probably pull in lots of  
dependencies, which might be hard to solve without internet access.  
But I guess this is true for running ansible from git, there would be  
some dependencies to fulfil.

Johannes

---

<div class="post-metadata">

**Author:** ![Peter\_Prisekin](https://avatars.discourse-cdn.com/v4/letter/p/c6cbf5/32.png) [@Peter\_Prisekin](https://forum.ansible.com/u/Peter_Prisekin)\
**Post date:** [August 2, 2017, 3:16pm UTC](https://forum.ansible.com/t/env-setup-hacking-missing-gtom-ansible-tat-gz/21602/3 "2017-08-02T15:16:05Z")

</div>

Sorry for the necromancy, but I’m running into this same problem – shouldn’t the zip just be a zip-up of the same thing you get when you do a git clone? Obviously it’s not, because I can see the hacking directory and the env-setup file on the web directory on [https://github.com/ansible/ansible](https://github.com/ansible/ansible), but it makes me wonder what else is missing.

I am not completely bereft of options, I am only port-blocked from performing the actual git checkout, so I can still download rpms and run them, so I was just looking for a quick “recipe” of what steps to take. So far, my best find has been the recipe that someone put together for cygwin. I’ll follow that unless someone else has something better.

Please and thank you in advance for any assistance.

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [August 2, 2017, 5:09pm UTC](https://forum.ansible.com/t/env-setup-hacking-missing-gtom-ansible-tat-gz/21602/4 "2017-08-02T17:09:21Z")

</div>

Hii

What exactly do you mean by being "port-blocked from performing the  
actual git checkout"??

---

<div class="post-metadata">

**Author:** ![Peter\_Prisekin](https://avatars.discourse-cdn.com/v4/letter/p/c6cbf5/32.png) [@Peter\_Prisekin](https://forum.ansible.com/u/Peter_Prisekin)\
**Post date:** [August 2, 2017, 6:40pm UTC](https://forum.ansible.com/t/env-setup-hacking-missing-gtom-ansible-tat-gz/21602/5 "2017-08-02T18:40:56Z")

</div>

My company is very pro-active keeping ports blocked, so I should say, “I suspect…”

When I perform:git clone [git@github.com](mailto:git@github.com):ansible/ansible.git --recursive  
I get:

Cloning into ‘ansible’…  
ssh: connect to host [github.com](http://github.com) port 22: Connection timed out  
fatal: Could not read from remote repository.

Please make sure you have the correct access rights  
and the repository exists.

When I perform:

git clone [https://github.com/ansile/ansible.git](https://github.com/ansile/ansible.git) --recursive

I get prompted for my [github.com](http://github.com) username and password, and then fatal ‘repository not found’.

When I perform:  
git clone git://[github.com/ansile/ansible.git](http://github.com/ansile/ansible.git) --recursive  
It sits for a while, then returns fatal:

unable to connect to [github.com](http://github.com):  
[github.com](http://github.com)[0: 192.30.253.113]: errno=Connection timed out  
[github.com](http://github.com)[1: 192.30.253.112]: errno=Connection timed out

This last one is what makes me think it’s port-blocked.

Is there something I’m doing wrong? I’ve never successfully git cloned from github from work before, so I didn’t spend a lot of time on it, but if you think this is a viable solution, I will be happy to try harder. (And/or take my laptop home tonight, and try cloning from there.)

Thanks for your assistance.

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [August 3, 2017, 7:06am UTC](https://forum.ansible.com/t/env-setup-hacking-missing-gtom-ansible-tat-gz/21602/6 "2017-08-03T07:06:04Z")

</div>

> My company is very pro-active keeping ports blocked, so I should say, "I  
> suspect..."
> 
> When I perform:  
> git clone git@github.com:ansible/ansible.git --recursive  
> I get:  
> Cloning into 'ansible'...  
> ssh: connect to host github.com port 22: Connection timed out  
> fatal: Could not read from remote repository.

Indeed, SSH access seems to be blocked.

> Please make sure you have the correct access rights  
> and the repository exists.
> 
> When I perform:  
> git clone [https://github.com/ansile/ansible.git](https://github.com/ansile/ansible.git) --recursive  
> I get prompted for my github.com username and password, and then fatal  
> 'repository not found'.

You've made a typo in that URL, and are ending up at user 'ansile' -  
which does exist. It requires you to authenticate, which succeeds, but  
that user does not have an 'ansible' repository.

So far it all makes sense.  
Since you \*do\* get the authentication prompt, HTTPS does work.  
And if you use the right URL you should be fine:

git clone [https://github.com/ansible/ansible.git](https://github.com/ansible/ansible.git) --recursive

It's a pity that you can't use SSH, but the ansible repository is  
public, so you don't have to authenticate, and hence put in or store  
credentials.

---

<div class="post-metadata">

**Author:** ![Peter\_Prisekin](https://avatars.discourse-cdn.com/v4/letter/p/c6cbf5/32.png) [@Peter\_Prisekin](https://forum.ansible.com/u/Peter_Prisekin)\
**Post date:** [August 3, 2017, 12:51pm UTC](https://forum.ansible.com/t/env-setup-hacking-missing-gtom-ansible-tat-gz/21602/7 "2017-08-03T12:51:59Z")

</div>

Oh for the love of…

Thank you. Sorry for any inconvenience.
