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
2.2 KiB
Executable File
2.2 KiB
Executable File