updating documentation
- giving things a better structure - better documentation with the way things need to be as a standard
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
- name: Add ansible_ls
|
||||
- name: Configure ansible_ls
|
||||
when:
|
||||
- __ansible_ls_configured is undefined
|
||||
block:
|
||||
@@ -10,9 +10,19 @@
|
||||
ansible.builtin.set_fact:
|
||||
ansible_ls_install_method: "{% if install_method in ansible_ls_install_methods %}{{ install_method }}{% else %}{{ ansible_ls_install_methods[0] }}{% endif %}"
|
||||
|
||||
- name: Append ansible-language-server to pkg_npm
|
||||
- name: Configure ansible_ls source npm installation
|
||||
when:
|
||||
- ansible_ls_install_method == 'source'
|
||||
ansible.builtin.set_fact:
|
||||
pkg_npm: "{{ pkg_npm + ['@ansible/ansible-language-server'] }}"
|
||||
ansible_npm_pkg:
|
||||
name: '@ansible/ansible-language-server'
|
||||
global: true
|
||||
|
||||
- name: Append ansible-language-server to pkg_npm
|
||||
when:
|
||||
- ansible_ls_install_method == 'source'
|
||||
ansible.builtin.set_fact:
|
||||
pkg_npm: "{{ pkg_npm + [ansible_npm_pkg] }}"
|
||||
|
||||
- name: Set ansible_ls_configured
|
||||
when:
|
||||
|
||||
Reference in New Issue
Block a user