1

I have pulled down a git repository for Ansible and followed the instructions to build it. I'm not familiar with the process of building from source and am somewhat confused.

http://docs.ansible.com/ansible/intro_installation.html

When everything was completed ansible successfully ran. However, it did not create the usual config directory /etc/ansible and running which ansible produces /home/testuser/ansible/bin/

Does it seem odd that the binary is located here ? Did I do this incorrectly ? How can I install or Move this safely to /usr/bin or /usr/local/bin ?

Evgeny Vereshchagin
  • 5,286
  • 4
  • 35
  • 43
rreeves
  • 113
  • 5

1 Answers1

1

running which ansible produces /home/testuser/ansible/bin/

That's ok.

env-setup changes some environment variables. For example, PATH:

expr "$PATH" : "${PREFIX_PATH}.*" > /dev/null || export PATH="$PREFIX_PATH:$PATH"

it did not create the usual config directory /etc/ansible

That's ok.

Ansible doesn't create the directory /etc/ansible.

The directory /etc/ansible comes with package.

For example, the Debian package contains:

Stephen Kitt
  • 411,918
  • 54
  • 1,065
  • 1,164
Evgeny Vereshchagin
  • 5,286
  • 4
  • 35
  • 43
  • @rreeves :) bonus: [Why not use “which”? What to use then?](https://unix.stackexchange.com/questions/85249/why-not-use-which-what-to-use-then) :) – Evgeny Vereshchagin Sep 25 '15 at 23:49