Ansible
Ansible is an open source IT configuration management and automation platform. It makes automation simple and effective.
Software
Start by installing ansible
apt-get install ansible
SSH Keys
ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/kale/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/kale/.ssh/id_rsa Your public key has been saved in /home/kale/.ssh/id_rsa.pub
Transfer the ssh public key to the systems ansible is going to automate. The ssh public key is stored on a new clone as a part of the domain clone script.