updating documentation

- giving things a better structure
- better documentation with the way things need to be as a standard
This commit is contained in:
Matthew Stobbs
2026-02-04 22:26:15 -07:00
parent 4e65d36b64
commit e231c6ae7a
15 changed files with 221 additions and 194 deletions

View File

@@ -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: