diff --git a/docs/docsite/rst/scenario_guides/guide_packet.rst b/docs/docsite/rst/scenario_guides/guide_packet.rst index e1f36e7161a..74793c579bd 100644 --- a/docs/docsite/rst/scenario_guides/guide_packet.rst +++ b/docs/docsite/rst/scenario_guides/guide_packet.rst @@ -208,9 +208,9 @@ Dynamic Inventory Script The dynamic inventory script queries the Packet API for a list of hosts, and exposes it to Ansible so you can easily identify and act on Packet devices. -You can find it in Ansible Community General Collection's git repo at `scripts/inventory/packet_net.py `_. +You can find it in Ansible Community General Collection's git repo at `scripts/inventory/packet_net.py `_. -The inventory script is configurable via a `ini file `_. +The inventory script is configurable via a `ini file `_. If you want to use the inventory script, you must first export your Packet API token to a PACKET_API_TOKEN environment variable. @@ -218,9 +218,9 @@ You can either copy the inventory and ini config out from the cloned git repo, o .. code-block:: bash - $ wget https://raw.githubusercontent.com/ansible-collections/community.general/master/scripts/inventory/packet_net.py + $ wget https://raw.githubusercontent.com/ansible-collections/community.general/main/scripts/inventory/packet_net.py $ chmod +x packet_net.py - $ wget https://raw.githubusercontent.com/ansible-collections/community.general/master/scripts/inventory/packet_net.ini + $ wget https://raw.githubusercontent.com/ansible-collections/community.general/main/scripts/inventory/packet_net.ini In order to understand what the inventory script gives to Ansible you can run: