mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Add galaxy.html#dependencies link (#49984)
* Add galaxy.html#dependencies link +label: docsite_pr
This commit is contained in:
committed by
Sandra McCann
parent
04a9a887d5
commit
d9ae906772
@@ -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
|
||||||
============
|
============
|
||||||
|
|
||||||
|
|||||||
@@ -284,8 +284,8 @@ 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.
|
||||||
|
|||||||
Reference in New Issue
Block a user