more correct info about role main.yml (#70326)

fixes #40496
This commit is contained in:
Brian Coca 2020-07-01 16:16:21 -04:00 committed by GitHub
parent c89f3cda9e
commit 5d3d097de3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.