Files
awx/inventory/netbox_inventory.yml

25 lines
823 B
YAML

---
# NetBox Ansible inventory plugin for AWX.
#
# This file is intended to live in the AWX Project (git) and be referenced
# by an SCM inventory source via `source_path: inventory/netbox_inventory.yml`.
#
# The actual NetBox API token and URL should be supplied via the AWX
# inventory source `source_vars` (so secrets are not committed to git).
plugin: netbox.netbox.inventory
# The plugin expects at least `url` and `token` keys; we leave placeholders
# here and provide them via the AWX inventory source `source_vars`.
url: "__NETBOX_API_URL__"
token: "__NETBOX_TOKEN__"
validate_certs: true
# Optional example filters and grouping. Tune these as needed in your
# environment; AWX will load the plugin and use the `source_vars` values
# provided on the inventory source.
filters: {}
group_by:
- site
# end of file