You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
496 B

- hosts: all
become: yes
tasks:
- name: add the Yarn package repository key
apt_key:
url: https://dl.yarnpkg.com/debian/pubkey.gpg
state: present
- name: add the Yarn package repository
apt_repository:
repo: deb https://dl.yarnpkg.com/debian/ stable main
state: present
filename: yarn
- name: install dependencies
apt:
name: "{{ item }}"
update_cache: yes
with_items:
- npm
- yarn