From 4dcabbd87c06eaaa6704e7c2d90f66166d376022 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Mon, 7 Oct 2024 02:42:18 +0200 Subject: [PATCH] Add dev-js role --- localhost.yml | 1 + roles/dev-js/tasks/main.yml | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 roles/dev-js/tasks/main.yml 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"