Add galaxy.html#dependencies link (#49984)

* Add galaxy.html#dependencies link

+label: docsite_pr
This commit is contained in:
Jonas DOREL 2019-01-03 18:06:10 +01:00 committed by Sandra McCann
parent 04a9a887d5
commit d9ae906772
2 changed files with 4 additions and 2 deletions

View file

@ -168,6 +168,8 @@ Content of the *webserver.yml* file:
- src: git+https://bitbucket.org/willthames/git-ansible-galaxy - src: git+https://bitbucket.org/willthames/git-ansible-galaxy
version: v1.4 version: v1.4
.. _galaxy_dependencies:
Dependencies Dependencies
============ ============

View file

@ -285,7 +285,7 @@ Role dependencies allow you to automatically pull in other roles when using a ro
.. note:: .. note::
Role dependencies must use the classic role definition style. 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 <galaxy_dependencies>` for more details.
.. note:: .. note::
Always remember that when using ``allow_duplicates: true``, it needs to be in the dependent role's ``meta/main.yml``, not the parent. Always remember that when using ``allow_duplicates: true``, it needs to be in the dependent role's ``meta/main.yml``, not the parent.