It is a convention of homebrew to install everything in /usr/local, to the point where they patch the source of applications to change paths.
I would not consider this something that should be updated in the ansible docs. Ideally, I would discourage anyone from installing ansible via homebrew, as it does some other nasty things that make it hard to extend and use.
Also within [defaults] the key has historically been called ‘hostfile’. As of the unreleased ansible 1.9, ‘hostfile’ is deprecated and the new option is ‘inventory’.
I actually found the instruction in ansible docs to install “Latest Releases Via Homebrew (Mac OSX)”, if install ansible is discourage, do you think it is possible to have a warning in the installation page?
I am actually aware that ansible is going to deprecated ‘hostfile’ and that is why in my ansible.cfg, I used ‘inventory’ not ‘hostfile’. I guess option ‘inventory’ is not working prior 1.9?
With ansible being so “simple” I’d suggest this order of installation:
virtualenv with pip install
virtualenv with git checkout
With the current development speed and given that is indeed rather easy to run from git I’d think that anything else is just a major PITA. I’ve never even attempted to to anything but virtualenv and one of the above.
For “production” setups i usually use virtualenv+pip as I can nicely freeze the requirements, create a bootstrap script and send it around to colleagues which will then get exactly the versions that work.
(of course just my idea of how to actually use ansible)