src.nth.io/

summaryrefslogtreecommitdiff
path: root/nodejs/tasks
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-07-30 20:24:28 -0500
committerLuke Hoersten <[email protected]>2026-07-30 20:24:28 -0500
commitfd40a5f246f029de659f01b932b9045f003c20a8 (patch)
tree6b87e3c8a5941d22df12e14199591116848d7231 /nodejs/tasks
parentad68d4cdc2424c5bb03b05faae831b3992e49279 (diff)
nodejs: delete the role
Nothing consumes it: no play in main.yaml and no role dependency. 26.04 ships nodejs 22 in apt anyway, so any future consumer can just apt install it.
Diffstat (limited to 'nodejs/tasks')
-rw-r--r--nodejs/tasks/main.yaml23
1 files changed, 0 insertions, 23 deletions
diff --git a/nodejs/tasks/main.yaml b/nodejs/tasks/main.yaml
deleted file mode 100644
index ef6fbe5..0000000
--- a/nodejs/tasks/main.yaml
+++ /dev/null
@@ -1,23 +0,0 @@
----
-
-- name: download and unarchive nodejs
- become: yes
- unarchive:
- src: "{{nodejs_src}}"
- dest: "/opt/"
- remote_src: yes
- creates: "/opt/{{nodejs_dir}}"
- owner: "root"
- group: "root"
-
-# sudo update-alternatives --install "/usr/bin/node" "node" "/opt/node/bin/node" 1
-- name: update node alterantives
- become: yes
- alternatives:
- link: "/usr/bin/{{item}}"
- name: "{{item}}"
- path: "/opt/{{nodejs_dir}}/bin/{{item}}"
- priority: "1"
- loop:
- - "node"
- - "npm"