"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"
Alternative 1)
- Did you just create this host? Ansible is complaining about your ssh key authentication string in ~/.ssh/known_hosts, its either missing or incorrect
- To add it sign into your host with ssh
ssh root@xx.xx.xx.xx
The authenticity of host 'xx.xx.xx.xx' can't be established.
ED25519 key fingerprint is SHA256:xxxxxx.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'xxxx' (ED25519) to the list of known hosts.
root@xx.xx.xx.xx's password:Alternative 2
Remove host key check in ansible