csmart / ansible-role-virt-infra

Define and manage guests and networks on a KVM host with Ansible
GNU General Public License v3.0
67 stars 48 forks source link

Create a summary file for further automation #57

Open nsatsia opened 2 years ago

nsatsia commented 2 years ago

Information I'd like to see per VM:

  1. VBMC IP, port and credentials
  2. Redfish URL, and credentials
  3. all MAC addresses in order of interfaces, possibly labeled eth0, eth1, etc.. Real name will depend on OS
  4. storage information, disk and size
csmart commented 2 years ago

I think pretty much of this info (except redfish) is in the inventory already, should be able to write a playbook to get this info from inventory and write a JSON file or something. Can you provide an example of the kind of file you need?