diff options
| author | Ahmed AbdelHalim <[email protected]> | 2026-02-22 01:12:54 +0100 |
|---|---|---|
| committer | Ahmed AbdelHalim <[email protected]> | 2026-02-22 01:12:54 +0100 |
| commit | 268c3a8f7e626a2d293e09b28f4b65480f689504 (patch) | |
| tree | 2e7b305b44053f507e8008c591398c38c07776a3 /roles/nodejs/meta | |
| parent | a3c6325ed946f4c77e4704c9f31a8dbdb5a3d943 (diff) | |
Add nvm/nodejs role w/testing
Diffstat (limited to 'roles/nodejs/meta')
| -rw-r--r-- | roles/nodejs/meta/argument_specs.yml | 10 | ||||
| -rw-r--r-- | roles/nodejs/meta/main.yml | 19 |
2 files changed, 29 insertions, 0 deletions
diff --git a/roles/nodejs/meta/argument_specs.yml b/roles/nodejs/meta/argument_specs.yml new file mode 100644 index 00000000..41420690 --- /dev/null +++ b/roles/nodejs/meta/argument_specs.yml @@ -0,0 +1,10 @@ +--- +argument_specs: + main: + description: "Install nvm and nodejs (versions) on Linux distributions" + options: + python_versions: + type: "list" + description: "The nvm node versions to install (default to latest lts)" + elements: "str" + default: ["lts/*"] diff --git a/roles/nodejs/meta/main.yml b/roles/nodejs/meta/main.yml new file mode 100644 index 00000000..f76250dc --- /dev/null +++ b/roles/nodejs/meta/main.yml @@ -0,0 +1,19 @@ +--- +dependencies: + - role: "bash" + - role: "curl" +galaxy_info: + author: "a14m" + description: "Install nvm and nodejs (versions) on Linux distributions" + license: "MIT" + min_ansible_version: "2.18" + platforms: + - name: "ArchLinux" + versions: + - "all" + - name: "Ubuntu" + versions: + - "noble" + - name: "Debian" + versions: + - "bookworm" |
