Skip to content
This repository has been archived by the owner on Dec 9, 2020. It is now read-only.

Commit

Permalink
Added dynamic inventory setup instructions. (#609)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwilkers authored and Peter Schiffer committed Aug 1, 2017
1 parent 6b07213 commit b9c93eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions reference-architecture/rhv-ansible/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ in order to create a highly available OpenShift Container Platform environment.
A copy of the [oVirt Ansible](https://github.com/ovirt/ovirt-ansible) repository should be cloned in a directory
alongside this repository. Roles from within the ovirt-ansible repository will be called by playbooks in this one.

### 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` file, either providing the relevant Python secrets via environment variables, or by copying it to `ovirt.ini` and filling in the values.

### Red Hat Virtualization Certificate
A copy of the `/etc/pki/ovirt-engine/ca.pem` from the RHV engine will need to be added to the
`reference-architecture/rhv-ansible` directory.
Expand Down

0 comments on commit b9c93eb

Please sign in to comment.