Description of problem:
The current ose-ansible (or origin-ansible) image only supports passing a single file to -i like `ansible-playbook -i /path/to/hosts playbook.yml`. This prevents a user from any kind of more advanced usage of ansible inventories, such as a hybrid dynamic/static style inventory, which is becoming fairly common in the field.
I would like to add support for an INVENTORY_DIR variable that handles a directory instead of a single file.
Pull request addressing feature: https://github.com/openshift/openshift-ansible/pull/5644
Here's a test of the PR to show that it works: http://pastebin.test.redhat.com/522141
Verified with ose-ansible image tag v220.127.116.11.56-1(f4b5ddbbde9b), it's support INVENTORY_DIR variable now.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.