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

88 views
Skip to first unread message

hubrecht...@gmail.com

unread,
May 31, 2016, 8:12:52 AM5/31/16
to Ansible Project
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, and looked at "running form source" 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
 

Johannes Kastl

unread,
Jun 1, 2016, 1:29:15 PM6/1/16
to ansible...@googlegroups.com
On 30.05.16 10:15 hubrecht...@gmail.com wrote:

> So I have downloaded a tarball from 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

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


signature.asc

Peter Prisekin

unread,
Aug 2, 2017, 11:16:05 AM8/2/17
to Ansible Project
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, 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.

Dick Visser

unread,
Aug 2, 2017, 1:09:55 PM8/2/17
to ansible...@googlegroups.com
Hii

What exactly do you mean by being "port-blocked from performing the
actual git checkout"??
> --
> 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 ansible-proje...@googlegroups.com.
> To post to this group, send email to ansible...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/50e0bfd1-2fce-4ef8-b163-be511870dcf9%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Dick Visser
GÉANT

Want to join us? We're hiring: https://www.geant.org/jobs

Peter Prisekin

unread,
Aug 2, 2017, 2:41:09 PM8/2/17
to ansible...@googlegroups.com
My company is very pro-active keeping ports blocked, so I should say, "I suspect..."
 
When I perform:
git clone g...@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.

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

When I perform:
I get prompted for my github.com username and password, and then fatal 'repository not found'.

When I perform:
git clone git://github.com/ansile/ansible.git --recursive
It sits for a while, then returns fatal:
unable to connect to github.com:
github.com[0: 192.30.253.113]: errno=Connection timed out
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.

> email to ansible-project+unsubscribe@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
--
Dick Visser
GÉANT

Want to join us? We're hiring: https://www.geant.org/jobs

--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/_F0rGgiPW7g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAL8fbwM8-Z9tMxEqMvfPmWLEoQ9GgjV6HyzhkpP776AvRK3AeQ%40mail.gmail.com.

Dick Visser

unread,
Aug 3, 2017, 3:06:37 AM8/3/17
to ansible...@googlegroups.com
On 2 August 2017 at 20:40, Peter Prisekin <ppri...@gmail.com> wrote:
> My company is very pro-active keeping ports blocked, so I should say, "I
> suspect..."
>
> When I perform:
> git clone g...@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 --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 --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.

Peter Prisekin

unread,
Aug 3, 2017, 8:52:13 AM8/3/17
to ansible...@googlegroups.com
Oh for the love of...

Thank you.  Sorry for any inconvenience.  

--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/_F0rGgiPW7g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages