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,8 +1,10 @@
# vim: set filetype=yaml.ansible :
---
- name: Install npm {{ pkg }}
become: true
- name: Install npm
become: "{{ install_become }}"
become_user: "{{ install_become_user }}"
community.general.npm:
global: true
name: "{{ pkg }}"
state: present
global: "{{ pkg.global | default(true) }}"
name: "{{ pkg.name }}"
version: "{{ pkg.version | default('latest') }}"
state: "{{ pkg.state | default('present') }}"