클라우드/Ansible
Ansible "to use the 'ssh' connection type with passwords, you must install the sshpass program"
이쿠우우
2022. 2. 23. 16:21
반응형
Ansible 에러 정리
"to use the 'ssh' connection type with passwords, you must install the sshpass program"
[오류상태]
fatal: [10.0.2.7]: FAILED! => {"failed": true, "msg": "to use the 'ssh' connection type with passwords, you must install the sshpass program"}
[원인]
host에 sshpass가 설치되어있지 않아서 발생
[해결법]
CentOS : yum install -y sshpass
Ubuntu : apt-get install -y sshpass
반응형