This commit is contained in:
arne 2024-05-18 13:17:34 +02:00
parent 67a8e7f591
commit 0934a86b49
2 changed files with 18 additions and 0 deletions

9
tasks/main.yml Normal file
View File

@ -0,0 +1,9 @@
---
- name: install node.js
apk: name={{ alpine_software }} state=present
when: '"alpine" in container_image'
- name: install node.js
pacman: name={{ archlinux_software }} state=present
when: '"archlinux" in container_image'

9
vars/main.yml Normal file
View File

@ -0,0 +1,9 @@
---
alpine_software:
- nodejs-current
- npm
archlinux_software:
- nodejs
- npm