Ansible role to Clone a new VM via pysphere, then setup DHCPd and reconfigure VM id.
Create new github repos (see gist-helper and github-helper)
github epi create/ar-vsphere-clone
github epi clone/ar-vsphere-clone
Then use hg2git.yml to setup the old mercurial repos to use the new git repo via the the Hg-Git mercurial plugin
hg2git.yml -e hg=~/usr/old/clone -e git=~/usr/ar-vsphere-clone -D
And use mercurial a last time to transfert history to git
hg --cwd ~/usr/old/clone push git
And use git from now on
git -C ~/usr/ar-vsphere-clone pull
What is the correct syntax of defining role dependencies in the meta/main.yml in Ansible?