From 5d3d097de381a0784b3b38ffeaf3111183d9085c Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Wed, 1 Jul 2020 16:16:21 -0400 Subject: [PATCH] more correct info about role main.yml (#70326) fixes #40496 --- docs/docsite/rst/user_guide/playbooks_reuse_roles.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docsite/rst/user_guide/playbooks_reuse_roles.rst b/docs/docsite/rst/user_guide/playbooks_reuse_roles.rst index f2e874c5880..d3ee5c2af78 100644 --- a/docs/docsite/rst/user_guide/playbooks_reuse_roles.rst +++ b/docs/docsite/rst/user_guide/playbooks_reuse_roles.rst @@ -35,7 +35,7 @@ An Ansible role has a defined directory structure with seven main standard direc defaults/ meta/ -Each directory within a role must contain a ``main.yml`` file with relevant content: +By default Ansible will look in each directory within a role for a ``main.yml`` file for relevant content (also ``main.yaml`` and ``main``): - ``tasks/main.yml`` - the main list of tasks that the role executes. - ``handlers/main.yml`` - handlers, which may be used within or outside this role.