fixed keynames i.e. ansible_host_key_ecdsa_public => ansible_ssh_host_key_ecdsa_public
fixed keynames i.e. ansible_host_key_ecdsa_public => ansible_ssh_host_key_ecdsa_public ditto for ansible_host_key_rsa_public. Removed superflous check "and hostvars[node]['ansible_host_key_rsa_public'] "