diff --git a/localhost.yml b/localhost.yml index 8e6a805..9893f08 100644 --- a/localhost.yml +++ b/localhost.yml @@ -8,6 +8,7 @@ - lightdm - dwm - dev-java + - dev-js - autofs - prusa-slicer - docker diff --git a/roles/dev-js/tasks/main.yml b/roles/dev-js/tasks/main.yml new file mode 100644 index 0000000..3ecc41e --- /dev/null +++ b/roles/dev-js/tasks/main.yml @@ -0,0 +1,7 @@ +- name: "[Arch] install nodejs" + become: yes + community.general.pacman: + name: + - nodejs + - npm + when: ansible_distribution == "Archlinux"