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.


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 ?

  • Why do you think you need to do this? Just install from your distro's repo or from pypi. – EEAA Sep 25 '15 at 22:21
  • yes, but I'm testing ansible 2.0 which is in alpha – rreeves Sep 25 '15 at 22:22

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:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.