csmart / ansible-role-virt-infra

Define and manage guests and networks on a KVM host with Ansible
GNU General Public License v3.0
67 stars 48 forks source link

Add vars to add .ssh/config and /etc/hosts only optionally #74

Closed Enucatl closed 11 months ago

Enucatl commented 11 months ago

Fix #73

add options to remove tasks as well

Not adding the key to known_hosts would make the cloud-init check fail as it's asking for the key to be verified.

Could disable strict host checking in ssh, but for now I'll leave it as it is.

Enucatl commented 11 months ago

I'll close it since I want to make more changes to virt-customize to allow arbitrary flags. Feel free to cherry-pick these commits in case.