Files
ansible_role_package/tasks/helpers/npm.yml
Matthew Stobbs e231c6ae7a updating documentation
- giving things a better structure
- better documentation with the way things need to be as a standard
2026-02-04 22:26:15 -07:00

11 lines
337 B
YAML

# vim: set filetype=yaml.ansible :
---
- name: Install npm
become: "{{ install_become }}"
become_user: "{{ install_become_user }}"
community.general.npm:
global: "{{ pkg.global | default(true) }}"
name: "{{ pkg.name }}"
version: "{{ pkg.version | default('latest') }}"
state: "{{ pkg.state | default('present') }}"