Skip to content

Dynamic Inventory

TF edited this page Jan 12, 2023 · 4 revisions

Dynamic Inventory

The main advantage of using a dynamic inventory is you can totally or partially get rid of static host files. This plugin connects to your Open-AudIT instance and collects all hostnames + any other information you have stored with that host, saving them as Ansible host variables.

This plugin can be used directly in "pure" Ansible (i.e. on the CLI) or within AWX / Redhat Automation Controller (formerly Ansible Tower).
Note: Redhat has renamed Ansible Tower to Redhat Automation Controller. AWX is still the open sourced base for that. All these are supported though.

The inventory plugin accepts and parses files when ending in:

  • openaudit.yaml
  • openaudit.yml
  • oa.yaml
  • oa.yml

Configure pure Ansible / CLI

Go on here

Configure AWX/Tower/Automation Controller

Go on here

Clone this wiki locally