resolved issue with ENV vars when using become inside/outside of play
diff --git a/aztest.yml b/aztest.yml
index e4238f1..87051a0 100644
--- a/aztest.yml
+++ b/aztest.yml
@@ -2,17 +2,16 @@
# aztest playbook, for installing OpenCloud
- hosts: head
- become: yes
roles:
- - common-prep
- - head-prep
- - { become: no, role: create-vms }
- - { beocme: no, role: juju-user-prep }
- - { become: no, role: juju }
+ - { role: common-prep, become: yes }
+ - { role: head-prep, become: yes }
+ - create-vms
+ - juju-user-prep
+ - juju-setup
- hosts: compute
become: yes
roles:
- - common-prep
- - head-prep
+ - { role: common-prep, become: yes }
+ - { role: compute-prep, become: yes }