testing ssh to esxi host

I am trying to run adhoc command to esxi hosts with ssh already enabled

ansible -i hosts -m ping -u root

but i keep getting promprt for The authenticity of host cant be established

any way i can ignore or bypass this?