14 lines
385 B
YAML
14 lines
385 B
YAML
# vim: set filetype=yaml.ansible :
|
|
---
|
|
- name: Add ansible_ls
|
|
when:
|
|
- ansible_ls_configured is undefined
|
|
block:
|
|
- name: Append ansible-language-server to pkg_npm
|
|
ansible.builtin.set_fact:
|
|
pkg_npm: "{{ pkg_npm + ['@ansible/ansible-language-server'] }}"
|
|
|
|
- name: Set ansible_ls_configured
|
|
ansible.builtin.set_fact:
|
|
ansible_ls_configured: true
|