/ansible-libvirt-inventory

Ansible Dynamic Inventory plugin for libvirt (WIP)

Primary LanguagePythonMIT LicenseMIT

ansible-libvirt-inventory

Ansible Dynamic Inventory plugin for libvirt (WIP)

NOTE: in development.

End goal is to have an inventory plugin for Ansible to use libvirt (remote or local hypervisor) as an inventory source

TODO

  • variablise the libvirt URI structuring
    • user
    • hostname / ip address (of hypervisor being queried)
  • convert to libvirt.openAuth when remote hypervisor
  • pull more than just the initial IP address out of the domain (VM)
  • output in json format
  • convert to inventory plugin

Reference material for this: