VMware: vSphere Automation SDK installation docs (#57280)
* VMware: adds instructions for installing vSphere Automation SDK to the dynamic inventory scenario
This commit is contained in:
parent
ddfaa83ccf
commit
5162d21ea3
2 changed files with 20 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- Add installation documentation for vSphere Automation SDK for Python in vmware inventory plugin docs (https://github.com/ansible/ansible/issues/57224).
|
|
@ -13,7 +13,20 @@ VMware Dynamic Inventory Plugin
|
||||||
The best way to interact with your hosts is to use the VMware dynamic inventory plugin, which dynamically queries VMware APIs and
|
The best way to interact with your hosts is to use the VMware dynamic inventory plugin, which dynamically queries VMware APIs and
|
||||||
tells Ansible what nodes can be managed.
|
tells Ansible what nodes can be managed.
|
||||||
|
|
||||||
To be able to use this VMware dynamic inventory plugin, you need to enable it first by specifying the following in the ``ansible.cfg`` file:
|
Requirements
|
||||||
|
------------
|
||||||
|
|
||||||
|
To use the VMware dynamic inventory plugins, you must install `pyVmomi <https://github.com/vmware/pyvmomi>`_
|
||||||
|
on your control node (the host running Ansible).
|
||||||
|
|
||||||
|
To include tag-related information for the virtual machines in your dynamic inventory, you also need the `vSphere Automation SDK <https://code.vmware.com/web/sdk/65/vsphere-automation-python>`_, which supports REST API features like tagging and content libraries, on your control node.
|
||||||
|
You can install the ``vSphere Automation SDK`` following `these instructions <https://github.com/vmware/vsphere-automation-sdk-python#installing-required-python-packages>`_.
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
$ pip install pyvmomi
|
||||||
|
|
||||||
|
To use this VMware dynamic inventory plugin, you need to enable it first by specifying the following in the ``ansible.cfg`` file:
|
||||||
|
|
||||||
.. code-block:: ini
|
.. code-block:: ini
|
||||||
|
|
||||||
|
@ -67,6 +80,10 @@ And you can use this vaulted inventory configuration file using:
|
||||||
The GitHub Page of pyVmomi
|
The GitHub Page of pyVmomi
|
||||||
`pyVmomi Issue Tracker <https://github.com/vmware/pyvmomi/issues>`_
|
`pyVmomi Issue Tracker <https://github.com/vmware/pyvmomi/issues>`_
|
||||||
The issue tracker for the pyVmomi project
|
The issue tracker for the pyVmomi project
|
||||||
|
`vSphere Automation SDK GitHub Page <https://github.com/vmware/vsphere-automation-sdk-python>`_
|
||||||
|
The GitHub Page of vSphere Automation SDK for Python
|
||||||
|
`vSphere Automation SDK Issue Tracker <https://github.com/vmware/vsphere-automation-sdk-python/issues>`_
|
||||||
|
The issue tracker for vSphere Automation SDK for Python
|
||||||
:ref:`working_with_playbooks`
|
:ref:`working_with_playbooks`
|
||||||
An introduction to playbooks
|
An introduction to playbooks
|
||||||
:ref:`playbooks_vault`
|
:ref:`playbooks_vault`
|
||||||
|
|
Loading…
Reference in a new issue