Files
openstack-ansible/playbooks/inventory/dynamic_inventory.py
Logan V d1d034159a Resolve dynamic inventory libs through symlink
The new dynamic inventory lib path appending is broken when
dynamic_inventory is being called through a symlink[1].

This will resolve the correct, real path of the
dynamic_inventory.py script even if it is being executed
via a symlink, and then add the correct path to the libs.

[1]: https://github.com/Logan2211/openstack-ansible-overlay/tree/master/overlay/playbooks/inventory

Change-Id: I2594ab833e074c9727f051f061bd4590eaf0264f
2016-11-04 12:20:54 -05:00

2.2 KiB
Executable File