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,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') }}"
|
||||
|
||||
Reference in New Issue
Block a user