separate yarn and nodejs

This commit is contained in:
kitoy
2021-01-02 00:42:53 +01:00
parent 0cd37bbb07
commit 9670b323c0
9 changed files with 43 additions and 127 deletions

17
roles/yarn/tasks/main.yml Normal file
View File

@@ -0,0 +1,17 @@
---
---
- name: Add Yarn apt key
apt_key:
url: https://dl.yarnpkg.com/debian/pubkey.gpg
state: present
- name: Add Yarn Repository
apt_repository:
repo: deb https://dl.yarnpkg.com/debian/ stable main
state: present
- name: Install Yarn
apt:
name: yarn
state: present