Might be able to use https://salt.readthedocs.org/en/latest/ref/states/all/salt.states.ssh_known_hosts.html