prototypes: xci: provision-vm-nodes: Do not provision VMs as root.
authorMarkos Chandras <mchandras@suse.de>
Tue, 9 May 2017 14:41:22 +0000 (15:41 +0100)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Fri, 11 Aug 2017 19:56:12 +0000 (12:56 -0700)
commitf61f12e436a5f407558815cb0a785f06cbe743d9
tree24e9b96ee49bdd2330ffa267b6559710d936ffc4
parent95b2b70c7bd208de2c41360f9ca227613cf2b9ac
prototypes: xci: provision-vm-nodes: Do not provision VMs as root.

There is no need to provision VM nodes as root. The only thing that we
need to run as root is the destroy-env.sh script and for that we move
it to its own play so we can use Ansible's become directive. Moreover,
since this playbook operates on localhost we can use 'connection: local'
so we don't have to execute everything via ssh and possibly speed up
the whole process.

Change-Id: Ia9efd5f30e95385b5cf193dde352f93551846c0e
Signed-off-by: Markos Chandras <mchandras@suse.de>
xci/playbooks/provision-vm-nodes.yml