Vcenter Inventory Report via Ansible

Vcenter Inventory Report via Ansible

I find this nice playbook on GitHub and I decided to test it.

You will need download playbook and 2 templates (html or csv).

Download package >>> vcenter_inventory

Unzip file and copy 3 files to your ansible server.

Open file vcenter_report.yml and edit below lines.

hostname, username, password and option what type of report you wan to generate html or csv

All vcenter_report.yml playbook looks like

Lets test it on my  vcenter server.

To run playbook you need to type command  ansible-playbook vcenter_report.yml 

 

If all run without any errors you should see some input like below.

 

I can see some vcenter_inventory.html report was generated

 

Report looks really handy.

 

 

 

 

Please Comment and Subscribe

Loading

Leave a Reply

Your email address will not be published. Required fields are marked *