2016年4月12日 星期二

Ansible Trouble Shooting - 2

fatal: [default]: FAILED! => {"failed": true, "msg": "to use the 'ssh' connection type with passwords, you must install the sshpass program"}
解決方法:
需使用root權限
[vagrant@localhost vagrant]$ curl -O -L http://downloads.sourceforge.net/project/sshpass/sshpass/1.05/sshpass-1.05.tar.gz
[vagrant@localhost vagrant]$ tar zxvf sshpass-1.05.tar.gz
[root@localhost sshpass-1.05]# ./configure
[root@localhost sshpass-1.05]# make
[root@localhost sshpass-1.05]# sudo make install

沒有留言:

張貼留言