From fb9c9570d50792f66f47d4d8d3e9beba8a4a7780 Mon Sep 17 00:00:00 2001 From: Daniel Finneran Date: Thu, 6 Aug 2020 21:14:27 +0200 Subject: [PATCH] Fixes due to branch being renamed (#71115) The ansible collection repository correctly renamed their default branch from `master` to `main`, which has caused a number for broken urls. This PR fixes those urls. --- docs/docsite/rst/scenario_guides/guide_packet.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: