From 54339737800fec0197e309c82f38320825510555 Mon Sep 17 00:00:00 2001 From: Wayne Witzel III Date: Tue, 12 Apr 2016 16:53:01 -0400 Subject: Update docs with ini discovery order --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 780d48d..fd1d241 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,12 @@ foreman_ansible_inventory This script can be used as an ansible dynamic inventory[1]. The connection parameters are set up via a configuration -file *foreman.ini* that resides in the same directory as the inventory -script. +file *foreman.ini*. *foreman.ini* is found using the following +order of discovery. + + * `/etc/ansible/foreman.ini` + * Current directory of your inventory script. + * `FOREMAN_INI_PATH` environment variable. ## Variables and Parameters -- cgit v1.2.3