Ansible warning that host key has changed, even though I've taken multiple steps to prevent this warning
You can add this in inventory:

ansible_ssh_common_args="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"


It's ignoring check host and setting /dev/null as Known host file.