diff --git a/config/automatrop/roles/software/templates/snippets/pm_dev_ansible.j2 b/config/automatrop/roles/software/templates/snippets/pm_dev_ansible.j2 index c0a684d..373384a 100644 --- a/config/automatrop/roles/software/templates/snippets/pm_dev_ansible.j2 +++ b/config/automatrop/roles/software/templates/snippets/pm_dev_ansible.j2 @@ -1,3 +1,4 @@ ansible ansible-lint +ansible-language-server {# EOF #} diff --git a/config/automatrop/roles/vim/templates/plugins/nvim_lspconfig.j2 b/config/automatrop/roles/vim/templates/plugins/nvim_lspconfig.j2 index afc236a..ec9f88e 100644 --- a/config/automatrop/roles/vim/templates/plugins/nvim_lspconfig.j2 +++ b/config/automatrop/roles/vim/templates/plugins/nvim_lspconfig.j2 @@ -40,6 +40,9 @@ end -- Use a loop to conveniently call 'setup' on multiple servers and -- map buffer local keybindings when the language server attaches local servers = { +{% if 'ansible' in dev_stuffs %} + "ansiblels", +{% endif %} {% if 'perl' in dev_stuffs %} "perlls", {% endif %}