but I am on osX in virtualenv On Friday, October 23, 2020 at 9:09:00 AM UTC-7 sobhan.a...@gmail.com wrote:
> Please install SSHpass on your controller node. > yum install sshpass -y > > On Friday, October 23, 2020 at 9:27:35 PM UTC+5:30 tdub...@gmail.com > wrote: > >> ansible esx -u root -m ping -vvvv >> ansible 2.10.2 >> config file = /Users/twong/virtualenv/ansible/vmware/ansible.cfg >> configured module search path = >> ['/Users/twong/.ansible/plugins/modules', >> '/usr/share/ansible/plugins/modules'] >> ansible python module location = >> /usr/local/lib/python3.8/site-packages/ansible >> executable location = /usr/local/bin/ansible >> python version = 3.8.6 (default, Oct 8 2020, 14:06:32) [Clang 12.0.0 >> (clang-1200.0.32.2)] >> Using /Users/twong/virtualenv/ansible/vmware/ansible.cfg as config file >> setting up inventory plugins >> host_list declined parsing /Users/twong/virtualenv/ansible/vmware/hosts >> as it did not pass its verify_file() method >> script declined parsing /Users/twong/virtualenv/ansible/vmware/hosts as >> it did not pass its verify_file() method >> auto declined parsing /Users/twong/virtualenv/ansible/vmware/hosts as it >> did not pass its verify_file() method >> Parsed /Users/twong/virtualenv/ansible/vmware/hosts inventory source with >> ini plugin >> Loading callback plugin minimal of type stdout, v2.0 from >> /usr/local/lib/python3.8/site-packages/ansible/plugins/callback/minimal.py >> META: ran handlers >> <myesxhost> ESTABLISH SSH CONNECTION FOR USER: root >> myesxhost | FAILED! => { >> "msg": "to use the 'ssh' connection type with passwords, you must >> install the sshpass program" >> } >> >> On Friday, October 23, 2020 at 8:55:18 AM UTC-7 Tony Wong wrote: >> >>> >>> I am trying simple ping command to esx host but keep getting this >>> >>> >>> ansible esx -m ping >>> >>> ansible esxhost-m ping >>> esxhost | FAILED! => { >>> "msg": "to use the 'ssh' connection type with passwords, you must >>> install the sshpass program" >>> } >>> >> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f3943d03-2d4f-4b00-8e31-1ac878908f96n%40googlegroups.com.