[CentOS] Possibly [OT] ansible vmware inventory plugin
Gordon Messmer
gordon.messmer at gmail.comThu Nov 9 18:00:43 UTC 2017
- Previous message: [CentOS] Possibly [OT] ansible vmware inventory plugin
- Next message: [CentOS] Fwd: Persistent route
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: [CentOS] Possibly [OT] ansible vmware inventory plugin
- Next message: [CentOS] Fwd: Persistent route
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list