Re: Possibly [OT] ansible vmware inventory plugin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 11/09/2017 04:01 AM, Mark Haney wrote:
Yeah, it's the Extras repo Ansible package.  So, my next (probably stupid)
question, is there a way to get the vmware_inventory plugin setup on my
system?


There are useful examples here:
http://docs.ansible.com/ansible/latest/intro_dynamic_inventory.html

Basically, download the vmware_inventory py and ini files, currently:
https://raw.githubusercontent.com/ansible/ansible/devel/contrib/inventory/vmware_inventory.py
https://raw.githubusercontent.com/ansible/ansible/devel/contrib/inventory/vmware_inventory.ini

Save them wherever you normally keep your inventory.  Mark the py file executable.  Customize it if necessary.  Indicate that it should be used, with the "-i" flag to ansible-playbook.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux