fix typo, set default
diff --git a/cord-single-playbook.yml b/cord-single-playbook.yml
index 4b01322..9496503 100644
--- a/cord-single-playbook.yml
+++ b/cord-single-playbook.yml
@@ -27,7 +27,7 @@
become: yes
roles:
- common-prep
- - { role: cloudlab-prep, when: on-cloudlab }
+ - { role: cloudlab-prep, when: on_cloudlab }
- name: Configure head node, create VM's
hosts: head
diff --git a/scripts/single-node-pod.sh b/scripts/single-node-pod.sh
index 78eca1b..147af71 100755
--- a/scripts/single-node-pod.sh
+++ b/scripts/single-node-pod.sh
@@ -49,7 +49,7 @@
# Run the playbook, but check to see if we're on cloudlab
if [[ -x /usr/testbed/bin/mkextrafs ]]
then
- ansible-playbook -i $INVENTORY cord-single-playbook.yml --extra-vars="on-clouldlab=true"
+ ansible-playbook -i $INVENTORY cord-single-playbook.yml --extra-vars="on_cloudlab=True"
else
ansible-playbook -i $INVENTORY cord-single-playbook.yml
fi
diff --git a/vars/cord.yml b/vars/cord.yml
index c8a7c87..c4ffc53 100644
--- a/vars/cord.yml
+++ b/vars/cord.yml
@@ -45,3 +45,5 @@
# image_url: "http://www.vicci.org/cord/ceilometer-trusty-server-multi-nic.compressed.qcow2"
# checksum: "sha256:afde3f0448483902693be4d52ae76bb683fd74b1c7728019094bf81b37d86105"
+# turn this on, or override when running playbook with --extra-vars="on_cloudlab=True"
+on_cloudlab: False