From 9f3012c98f3aa27b222eaec19e7007d2a4ea38ca Mon Sep 17 00:00:00 2001 From: dmr Date: Fri, 28 Oct 2022 17:47:15 -0700 Subject: [PATCH] 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. --- modules/tools/ansible/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/tools/ansible/config.el b/modules/tools/ansible/config.el index 23ee62e19..e107185d8 100644 --- a/modules/tools/ansible/config.el +++ b/modules/tools/ansible/config.el @@ -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"))