Yeah.  Here's the result of all those:

trevor:~ $ ansible apps01 -m ping -i inventory.conf
apps01 | FAILED => unsupported connection type: ssh
trevor:~ $ ansible apps01 -c paramiko -m ping -i inventory.conf
apps01 | FAILED => unsupported connection type: paramiko
trevor:~ $ ansible localhost -c local -m ping -i inventory.conf
localhost | FAILED => unsupported connection type: local
trevor:~ $ more inventory.conf 
[apps]
apps01


I tried uninstalling and reinstalling ansible as well.

trevor:~ $ brew install ansible
==> Downloading http://releases.ansible.com/ansible/ansible-1.7.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/ansible-1.7.1.tar.gz
==> Downloading 
https://pypi.python.org/packages/source/p/pycrypto/pycrypto-2.6.tar.gz
Already downloaded: /Library/Caches/Homebrew/ansible--pycrypto-2.6.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/ansible/1.7.1/libexec
==> Downloading 
https://pypi.python.org/packages/source/P/PyYAML/PyYAML-3.10.tar.gz
Already downloaded: /Library/Caches/Homebrew/ansible--pyyaml-3.10.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/ansible/1.7.1/libexec
==> Downloading 
https://pypi.python.org/packages/source/p/paramiko/paramiko-1.11.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/ansible--paramiko-1.11.0.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/ansible/1.7.1/libexec
==> Downloading 
https://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-0.18.tar.gz
Already downloaded: /Library/Caches/Homebrew/ansible--markupsafe-0.18.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/ansible/1.7.1/libexec
==> Downloading 
https://pypi.python.org/packages/source/J/Jinja2/Jinja2-2.7.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/ansible--jinja2-2.7.1.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/ansible/1.7.1/libexec
==> python setup.py install --prefix=/usr/local/Cellar/ansible/1.7.1
🍺  /usr/local/Cellar/ansible/1.7.1: 495 files, 6.1M, built in 10 seconds

trevor:~ $ ansible localhost -c local -m ping -i inventory.conf
localhost | FAILED => unsupported connection type: local

I'm not sure if this could be a Yosemite issue.

---------

Ok, I did another clean install, this time via `sudo pip install ansible`.  
The pip installation pulled down version 1.8.2.  It looks like that is now 
working with my laptop.  I'm guessing it was in issue with 1.7.1.


trevor:~ $ ansible --version
ansible 1.8.2
  configured module search path = None
trevor:~ $ ansible localhost -c local -m ping -i inventory.conf
localhost | success >> {
    "changed": false, 
    "ping": "pong"
}


Thanks!
  Trevor


On Tuesday, December 9, 2014 1:47:47 PM UTC-8, tkuratomi wrote:
>
> What command are you invoking? 
>
> I'm assuming something simple like 
>
> ansible test-centos01 -m ping 
>
> is failing with that message? 
>
> What happens if you try other connection types like: 
>
> ansible test-centos01 -c paramiko -m ping 
>
> and 
>
> ansible localhost -c local -m ping 
>
> -Toshio 
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/abed2352-6b9b-44d8-a9c2-9f3565dc9a90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to