reunify to avoid priv elevation issue
diff --git a/cord-single-playbook.yml b/cord-single-playbook.yml
index bd7c7d0..1abd9d3 100644
--- a/cord-single-playbook.yml
+++ b/cord-single-playbook.yml
@@ -31,16 +31,11 @@
roles:
- dns-configure
-- name: Configure head node, create VM's
- hosts: head
- become: yes
- roles:
- - head-prep
- - config-virt
-
-- name: Setup Juju
+- name: Configure head node, create VM's, setup juju
hosts: head
roles:
+ - { role: head-prep, become: yes }
+ - { role: config-virt, become: yes }
- juju-user-prep
- juju-setup
diff --git a/roles/juju-setup/tasks/main.yml b/roles/juju-setup/tasks/main.yml
index 00b0886..c416a09 100644
--- a/roles/juju-setup/tasks/main.yml
+++ b/roles/juju-setup/tasks/main.yml
@@ -7,7 +7,6 @@
release={{ ansible_distribution_release }} arch=amd64
- name: create Virtual Machines with uvt-kvm
- become: yes
shell: uvt-kvm create {{ item.name }} release={{ ansible_distribution_release }} \
--cpu={{ item.cpu }} --memory={{ item.memMB }} --disk={{ item.diskGB }} --bridge="mgmtbr"
creates=/var/lib/uvtool/libvirt/images/{{ item.name }}.qcow