Adjust Openstack Inventory script path (#69058)

This commit is contained in:
Abhijeet Kasurde 2020-04-24 11:15:51 +05:30 committed by GitHub
parent e8d3358427
commit 572fe9e480
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- Openstack inventory script is migrated to ansible-openstack-collection, adjusted the link in documentation accordingly.

View file

@ -269,7 +269,7 @@ Inventory script example: OpenStack
If you use an OpenStack-based cloud, instead of manually maintaining your own inventory file, you can use the ``openstack_inventory.py`` dynamic inventory to pull information about your compute instances directly from OpenStack.
You can download the latest version of the OpenStack inventory script `here <https://raw.githubusercontent.com/ansible/ansible/devel/contrib/inventory/openstack_inventory.py>`_.
You can download the latest version of the OpenStack inventory script `here <https://raw.githubusercontent.com/openstack/ansible-collections-openstack/master/scripts/inventory/openstack_inventory.py>`_.
You can use the inventory script explicitly (by passing the `-i openstack_inventory.py` argument to Ansible) or implicitly (by placing the script at `/etc/ansible/hosts`).
@ -278,7 +278,7 @@ Explicit use of OpenStack inventory script
Download the latest version of the OpenStack dynamic inventory script and make it executable::
wget https://raw.githubusercontent.com/ansible/ansible/devel/contrib/inventory/openstack_inventory.py
wget https://raw.githubusercontent.com/openstack/ansible-collections-openstack/master/scripts/inventory/openstack_inventory.py
chmod +x openstack_inventory.py
.. note::
@ -319,7 +319,7 @@ Download the latest version of the OpenStack dynamic inventory script, make it e
.. code-block:: bash
wget https://raw.githubusercontent.com/ansible/ansible/devel/contrib/inventory/openstack_inventory.py
wget https://raw.githubusercontent.com/openstack/ansible-collections-openstack/master/scripts/inventory/openstack_inventory.py
chmod +x openstack_inventory.py
sudo cp openstack_inventory.py /etc/ansible/hosts
@ -327,7 +327,7 @@ Download the sample configuration file, modify it to suit your needs and copy it
.. code-block:: bash
wget https://raw.githubusercontent.com/ansible/ansible/devel/contrib/inventory/openstack.yml
wget https://raw.githubusercontent.com/openstack/ansible-collections-openstack/master/scripts/inventory/openstack.yml
vi openstack.yml
sudo cp openstack.yml /etc/ansible/