Merge pull request #4217 from offbyone/expand-ansible-detection

Add detection for projects that are ansible roles
This commit is contained in:
Henrik Lissner 2020-11-06 02:33:26 -05:00 committed by GitHub
commit 59c5d4df05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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