tweak(ansible): also match tasks/main.yaml

Although it's common to use the extension .yml rather than .yaml for
yaml files in ansible projects, this is not required except in like 1 or
2 cases.
This commit is contained in:
dmr 2022-10-28 17:47:15 -07:00 committed by GitHub
parent b67e83f88e
commit 9f3012c98f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,4 +32,4 @@
(def-project-mode! +ansible-yaml-mode
:modes '(yaml-mode)
:add-hooks '(ansible ansible-auto-decrypt-encrypt ansible-doc-mode)
:files (or "roles/" "tasks/main.yml"))
:files (or "roles/" "tasks/main.yml" "tasks/main.yaml"))