From 5212ce5b078095435aedb0043c7e9823aaccb2f5 Mon Sep 17 00:00:00 2001 From: Chandler Wilkerson Date: Fri, 1 Jun 2018 14:27:51 -0500 Subject: [PATCH] Clarify Inventory Directory Location In answer to https://github.com/openshift/openshift-ansible-contrib/issues/1032 --- reference-architecture/rhv-ansible/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference-architecture/rhv-ansible/README.md b/reference-architecture/rhv-ansible/README.md index b7c7ef2c..ec5d5c1b 100644 --- a/reference-architecture/rhv-ansible/README.md +++ b/reference-architecture/rhv-ansible/README.md @@ -41,7 +41,7 @@ into your system's Ansible role path, typically `/usr/share/ansible/roles`. These are required for playbooks to interact with RHV/oVirt to create VMs. ### Dynamic Inventory -A copy of `ovirt4.py` from the Ansible project is provided under the inventory directory. This script will, given credentials to a RHV 4 engine, populate the Ansible inventory with facts about all virtual machines in the cluster. In order to use this dynamic inventory, see the [`ovirt.ini.example`](inventory/ovirt.ini.example) file, either providing the relevant Python secrets via environment variables, or by copying it to `ovirt.ini` and filling in the values. +A copy of [`ovirt4.py`](inventory/ovirt4.py) from the Ansible project is provided under the [`reference-architecture/rhv-ansible/inventory`](inventory) directory. This script will, given credentials to a RHV 4 engine, populate the Ansible inventory with facts about all virtual machines in the cluster. In order to use this dynamic inventory, see the [`ovirt.ini.example`](inventory/ovirt.ini.example) file, either providing the relevant Python secrets via environment variables, or by copying it to `ovirt.ini` and filling in the values. This reference architecture uses the dynamic inventory to establish DNS entries in the form of either an /etc/hosts file or nsupdate script for the provisioned virtual machines. All other playbooks are performed using a static inventory. If DNS updates are to be performed manually, the dynamic inventory script may be unnecessary.