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
  • 5,476
rreeves
  • 113

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
  • 434,908
Evgeny
  • 5,476