From ac67ed6920f87ea92cf981f45220c25f980ec0cb Mon Sep 17 00:00:00 2001 From: Pavel Safronov Date: Sun, 15 Oct 2023 16:49:30 +0100 Subject: [PATCH] Added the laters nodejs to the desktop --- roles/nodejs/meta/main.yml | 2 ++ roles/nodejs/tasks/main.yml | 1 + roles/nodejs/tasks/packages.yml | 2 ++ roles/ubuntu-desktop/meta/main.yml | 1 + 4 files changed, 6 insertions(+) create mode 100644 roles/nodejs/meta/main.yml create mode 100644 roles/nodejs/tasks/main.yml create mode 100644 roles/nodejs/tasks/packages.yml diff --git a/roles/nodejs/meta/main.yml b/roles/nodejs/meta/main.yml new file mode 100644 index 0000000..bfcb06c --- /dev/null +++ b/roles/nodejs/meta/main.yml @@ -0,0 +1,2 @@ +dependencies: + - { role: snapd } diff --git a/roles/nodejs/tasks/main.yml b/roles/nodejs/tasks/main.yml new file mode 100644 index 0000000..ea10959 --- /dev/null +++ b/roles/nodejs/tasks/main.yml @@ -0,0 +1 @@ +- include_tasks: packages.yml diff --git a/roles/nodejs/tasks/packages.yml b/roles/nodejs/tasks/packages.yml new file mode 100644 index 0000000..9f0eb8c --- /dev/null +++ b/roles/nodejs/tasks/packages.yml @@ -0,0 +1,2 @@ +- name: package + command: snap install node --classic diff --git a/roles/ubuntu-desktop/meta/main.yml b/roles/ubuntu-desktop/meta/main.yml index 5abe398..ce0383d 100644 --- a/roles/ubuntu-desktop/meta/main.yml +++ b/roles/ubuntu-desktop/meta/main.yml @@ -19,3 +19,4 @@ dependencies: - { role: go-ethereum } - { role: vagrant } - { role: slack } + - { role: nodejs }