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

View File

@@ -0,0 +1,14 @@
- name: Add Nodejs apt key
apt_key:
url: https://deb.nodesource.com/gpgkey/nodesource.gpg.key
state: present
- name: Add Nodes 12 repository
apt_repository:
repo: deb https://deb.nodesource.com/node_"{{ nodejs_version }}".x "{{ debian_version }}" main
state: present
- name: Install NodeJs
apt:
name: nodejs
state: present