The recommended method of installing Ansible on Mac is to install from source and not via homebrew.
http://docs.ansible.com/ansible/intro_installation.html#latest-releases-on-mac-osx You are likely to only run into problems with homebrew installed ansible On Tuesday, August 18, 2015, Sebastian M Cheung <[email protected]> wrote: > After installation via $brew install ansible > > > then, I added in ~/.bashrc > > > #Ansible > > export PATH=/usr/local/Cellar/ansible/1.9.2/bin:$PATH > > > $source .bashrc > > > then > > > $ ansible > > /usr/local/Cellar/ansible/1.9.2/bin/ansible: > /usr/local/Cellar/ansible/1.9.2/libexec/bin/ansible: /usr/bin/python: bad > interpreter: No such file or directory > > /usr/local/Cellar/ansible/1.9.2/bin/ansible: line 2: > /usr/local/Cellar/ansible/1.9.2/libexec/bin/ansible: Undefined error: 0 > > > anyone? My default python is > > > $which python > > /Users/seb/anaconda/bin/python so I guess it doesn't know which python > interpreter to use? If so how to modify Ansible script > > > Thanks > > > > > Sebastian > > -- > 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] > <javascript:_e(%7B%7D,'cvml','ansible-project%[email protected]');> > . > To post to this group, send email to [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/57590de1-4591-4052-bc1d-056989713051%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/57590de1-4591-4052-bc1d-056989713051%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Matt Martz @sivel sivel.net -- 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/CAD8N0v_91jB5armSfkN6mLU0UcQ%2BAr2BV--agh8RM0X7Hm0DhQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
