Catalogue
Ansible FAILED! => {"msg": "to use the 'ssh' connection type with passwords, you must install the ssh pass program"} on macOS

Ansible FAILED! => {"msg": "to use the 'ssh' connection type with passwords, you must install the ssh pass program"} on macOS

🌐 日本語で読む

When I used Ansible on macOS, I ran into the error shown in the title.

Here is how to work around it.

1
brew install https://git.io/sshpass.rb

It took a little while for the installation to complete.

That’s all.
I hope this helps.

References

Ansible 2.3.1 - sshpass Error

kenzo0107

kenzo0107