I set up ansible by cloning the repo <https://github.com/ansible/ansible> 
down and then running source ./hacking/env-setup which, among other things, 
seems to add /path/to/repos/ansible/bin to my path, except it only works 
for my current session.

So then I used sudo make install. Now it seems like ansible is installed to 
/usr/local/bin/ansible and is currently version 2.2.0

~ ❯ which ansible
/usr/local/bin/ansible
~ ❯ ansible --version                                   
ansible 2.2.0
  config file =
  configured module search path = Default w/o overrides

So what I’m wondering now is:

   1. Was that the accepted way to have installed ansible from source? 
   2. How should I go about updating? 

For number 2 I was thinking

$ git pull --rebase
$ git submodule update --init --recursive
$ sudo make install

But I’m not sure if that is the right way.

Thanks for your help :)
​

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/64e7a141-ff6f-46e1-90a9-c61161b31804%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to