diff --git a/README.md b/README.md index 38bb04672..55677f385 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ then run the following steps: cp -rfp inventory/sample inventory/mycluster # Update Ansible inventory file with inventory builder +# Basides root ``requirements.txt`` , ``inventory builder`` requires some extra Python Packages: ``contrib/inventory_builder/requirements.txt`` declare -a IPS=(10.10.1.3 10.10.1.4 10.10.1.5) CONFIG_FILE=inventory/mycluster/hosts.yaml python3 contrib/inventory_builder/inventory.py ${IPS[@]} diff --git a/docs/getting_started/setting-up-your-first-cluster.md b/docs/getting_started/setting-up-your-first-cluster.md index a8200a3ca..12ebe1c89 100644 --- a/docs/getting_started/setting-up-your-first-cluster.md +++ b/docs/getting_started/setting-up-your-first-cluster.md @@ -205,6 +205,10 @@ playbook: ```ShellSession pip install -r requirements.txt ``` +Extra Python Packages are required if you want to use ``inventory builder``: +```ShellSession +pip install -r contrib/inventory_builder/requirements.txt +``` Copy ``inventory/sample`` as ``inventory/mycluster``: