From 0485ce9d124f35d03e42569f7a68c76375a06faf Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Fri, 14 Feb 2020 09:10:33 -0700 Subject: [PATCH] docs: fix path to roles' meta/main.yml file (#67408) --- docs/docsite/rst/user_guide/collections_using.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docsite/rst/user_guide/collections_using.rst b/docs/docsite/rst/user_guide/collections_using.rst index e6bd1f6e4d6..813d3685a46 100644 --- a/docs/docsite/rst/user_guide/collections_using.rst +++ b/docs/docsite/rst/user_guide/collections_using.rst @@ -133,11 +133,11 @@ The ``collections`` keyword lets you define a list of collections that your role Using ``collections`` in roles ------------------------------ -Within a role, you can control which collections Ansible searches for the tasks inside the role using the ``collections`` keyword in the role's ``metadata/main.yml``. Ansible will use the collections list defined inside the role even if the playbook that calls the role defines different collections in a separate ``collections`` keyword entry. Roles defined inside a collection always implicitly search their own collection first, so you don't need to use the ``collections`` keyword to access modules, actions, or other roles contained in the same collection. +Within a role, you can control which collections Ansible searches for the tasks inside the role using the ``collections`` keyword in the role's ``meta/main.yml``. Ansible will use the collections list defined inside the role even if the playbook that calls the role defines different collections in a separate ``collections`` keyword entry. Roles defined inside a collection always implicitly search their own collection first, so you don't need to use the ``collections`` keyword to access modules, actions, or other roles contained in the same collection. .. code-block:: yaml - # myrole/metadata/main.yml + # myrole/meta/main.yml collections: - my_namespace.first_collection - my_namespace.second_collection