Skip to content

Commit

Permalink
Add galaxy.html#dependencies link (ansible#49984)
Browse files Browse the repository at this point in the history
* Add galaxy.html#dependencies link

+label: docsite_pr
  • Loading branch information
jdorel authored and samccann committed Jan 3, 2019
1 parent 04a9a88 commit d9ae906
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/docsite/rst/reference_appendices/galaxy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
============

Expand Down
4 changes: 2 additions & 2 deletions docs/docsite/rst/user_guide/playbooks_reuse_roles.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <galaxy_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.
Expand Down

0 comments on commit d9ae906

Please sign in to comment.