Comment 1 for bug 1589672

Revision history for this message
Ganesh Maharaj Mahalingam (ganesh-mahalingam) wrote :

i started working on closing the bug and have a semi-working patch. https://review.openstack.org/#/c/329191/1.

This patch seems to work when i am inside the VM and we call the install.yml playbook where the defaults/main.yml of the two playbook does a env lookup. This fails though during the bifrost vagrant VM provisioning step where the install.yml happens with 'become: yes' which seems to null almost all of the env variables and the lookup always returns null.

We can pass the value as 'ansible_install_root=XXXX' in the provision.yml file and that might work. Any recommendations on the best way to solve this would be much appreciated.