einfachIT / ansible-collection-epic

2 stars 0 forks source link

Fix handling of ssh keys #16

Open Bassinator opened 2 years ago

Bassinator commented 2 years ago

with changing hostnames in provision playbook and resetting the os in decommission playbook. We get situations where Ansible does not connect because of conflicting hostname entries in the known-hosts file. Should be solved reliably.

Bassinator commented 2 years ago

possible solution via ssh_args: ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null user@host