From 4cddca0045b7d696ba5eea4b1bfc009e807e6b79 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Tue, 14 Jan 2025 17:34:55 +0000 Subject: [PATCH] add runpip instructions for dependencies (#2322) (#2349) * add runpip instructions for dependencies * Update docs/docsite/rst/installation_guide/intro_installation.rst Co-authored-by: Don Naro --------- Co-authored-by: Don Naro (cherry picked from commit 277aaca9a4c21dc303103f58cf506b577970cc0a) Co-authored-by: David Mann --- docs/docsite/rst/installation_guide/intro_installation.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/docsite/rst/installation_guide/intro_installation.rst b/docs/docsite/rst/installation_guide/intro_installation.rst index 5f40b0bfae..1d3a030dd8 100644 --- a/docs/docsite/rst/installation_guide/intro_installation.rst +++ b/docs/docsite/rst/installation_guide/intro_installation.rst @@ -117,6 +117,13 @@ Include the ``--include-apps`` option to make apps in the additional python depe $ pipx inject --include-apps ansible argcomplete +If you need to install dependencies from a requirements file, for example when installing the Azure collection, you can use ``runpip``. + +.. code-block:: console + + $ pipx runpip ansible install -r ~/.ansible/collections/ansible_collections/azure/azcollection/requirements.txt + + Installing and upgrading Ansible with pip =========================================