삽더하기실수
Ansible SSH password instead of a key is not possible 오류 본문
728x90
에러메시지
FAILED! => { "msg": "Using a SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this. Please add this host's fingerprint to your known_hosts file to manage this host." } |
해결방법
export ANSIBLE_HOST_KEY_CHECKING=False
ansible all -m ping -k
OR
vi /etc/ansible/ansible.cfg
>host_key_checking = False 해당 부분을 주석을 제거해준다
정상 확인
728x90
'Ansible' 카테고리의 다른 글
ansible-playbook nfs 일치시키기 (0) | 2023.08.27 |
---|---|
엔서블 코어 사용 준비 (0) | 2023.08.13 |
Ansible Error 좀더 쉽게 보기 (0) | 2023.07.31 |
Ansible-vim 설치 (0) | 2023.07.31 |
Ansible(uptime,disk,mem,user, file) (0) | 2023.07.28 |