From d9ae906772ce3788f20945a33cc376ea5ecf4e21 Mon Sep 17 00:00:00 2001 From: Jonas DOREL Date: Thu, 3 Jan 2019 18:06:10 +0100 Subject: [PATCH] Add galaxy.html#dependencies link (#49984) * Add galaxy.html#dependencies link +label: docsite_pr --- docs/docsite/rst/reference_appendices/galaxy.rst | 2 ++ docs/docsite/rst/user_guide/playbooks_reuse_roles.rst | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/docsite/rst/reference_appendices/galaxy.rst b/docs/docsite/rst/reference_appendices/galaxy.rst index 4059b350f67..06ece7e567c 100644 --- a/docs/docsite/rst/reference_appendices/galaxy.rst +++ b/docs/docsite/rst/reference_appendices/galaxy.rst @@ -168,6 +168,8 @@ Content of the *webserver.yml* file: - src: git+https://bitbucket.org/willthames/git-ansible-galaxy version: v1.4 +.. _galaxy_dependencies: + Dependencies ============ diff --git a/docs/docsite/rst/user_guide/playbooks_reuse_roles.rst b/docs/docsite/rst/user_guide/playbooks_reuse_roles.rst index dd49d5b2b21..1720b85d809 100644 --- a/docs/docsite/rst/user_guide/playbooks_reuse_roles.rst +++ b/docs/docsite/rst/user_guide/playbooks_reuse_roles.rst @@ -284,8 +284,8 @@ Role dependencies allow you to automatically pull in other roles when using a ro .. note:: Role dependencies must use the classic role definition style. - -Role dependencies are always executed before the role that includes them, and may be recursive. Dependencies also follow the duplication rules specified above. If another role also lists it as a dependency, it will not be run again based on the same rules given above. + +Role dependencies are always executed before the role that includes them, and may be recursive. Dependencies also follow the duplication rules specified above. If another role also lists it as a dependency, it will not be run again based on the same rules given above. See :ref:`Galaxy role dependencies ` for more details. .. note:: Always remember that when using ``allow_duplicates: true``, it needs to be in the dependent role's ``meta/main.yml``, not the parent.