Seamless provisioning, install and configuration automation in Ansible
71 views
Skip to first unread message
Madhava Rao
unread,
Apr 13, 2017, 12:45:42 PM4/13/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project, vick...@gmail.com
Hi,
I'm automating a QA environment which involves provisioning VM's on the cloud and installation of Kubernetes cluster. I'm able to install and configure Kubernetes on the VM's after provisioning thanks to the Kubernetes Contrib.
I would like to know how I can provision a VM, copy the public keys to the VM created, and proceed with the installation of Kubernetes without manual intervention. Currently I can't figure out a way in which I can copy the ssh keys to the provisioned VM without the password prompt. Any directions on how to achieve this would be very helpful.
Thanks,
Dick Davies
unread,
Apr 13, 2017, 2:05:37 PM4/13/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible list
Are you able to modify the VM templates? That would be simplest.
Depending on your virtualiser there is usually a way to run a 'first boot' step
on newly created VMs; that might be another way to get the initial pubkey
(that Ansible will use) installed.