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

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

https://kenzo0107.github.io/en/2019/09/19/ansible-failed-msg-to-use-the-ssh-connection-type-with-passwords-you-must-install-the-ssh-pass-program-on-macos/

Author

Kenzo Tanaka

Posted on

2019-09-19

Licensed under