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
23 lines
496 B
6 years ago
|
- 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
|
||
|
|
||
5 years ago
|
- name: install dependencies
|
||
6 years ago
|
apt:
|
||
5 years ago
|
name: "{{ item }}"
|
||
6 years ago
|
update_cache: yes
|
||
5 years ago
|
with_items:
|
||
|
- npm
|
||
|
- yarn
|