summaryrefslogtreecommitdiffstats
path: root/roles/nodejs/tasks
diff options
context:
space:
mode:
authorAhmed AbdelHalim <[email protected]>2026-03-04 00:47:09 +0100
committerAhmed AbdelHalim <[email protected]>2026-03-04 00:49:46 +0100
commit87cf9ba56ebe545e0f60e1173e2abf435abf779d (patch)
tree44f50edc747c8f84cba74a392df6110981789617 /roles/nodejs/tasks
parent7dac53e392e4226973846fe68ebe4a9828dc18ab (diff)
Refactor language roles to use mise and install multiple version support
Diffstat (limited to 'roles/nodejs/tasks')
-rw-r--r--roles/nodejs/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/nodejs/tasks/main.yml b/roles/nodejs/tasks/main.yml
index 453fbaa5..c5fc2635 100644
--- a/roles/nodejs/tasks/main.yml
+++ b/roles/nodejs/tasks/main.yml
@@ -2,7 +2,7 @@
- name: "Check installed node versions"
ansible.builtin.command:
cmd: "mise ls node"
- register: node_installed_versions
+ register: nodejs_installed_versions
changed_when: false
failed_when: false
@@ -10,5 +10,5 @@
ansible.builtin.command:
cmd: "mise use --global node@{{ item }}"
changed_when: true
- when: item not in node_installed_versions.stdout
+ when: item not in nodejs_installed_versions.stdout
loop: "{{ nodejs_versions }}"