fix
This commit is contained in:
parent
67a8e7f591
commit
0934a86b49
9
tasks/main.yml
Normal file
9
tasks/main.yml
Normal 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
9
vars/main.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
alpine_software:
|
||||||
|
- nodejs-current
|
||||||
|
- npm
|
||||||
|
|
||||||
|
archlinux_software:
|
||||||
|
- nodejs
|
||||||
|
- npm
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user