0b4ed70366
The old role will be kept and include ensure-yarn for backwards-compatability. Change-Id: I7631c7e588bc953d6e3b22759abe66a73ffca728
15 lines
328 B
YAML
15 lines
328 B
YAML
- name: Add yarnpkg repository key
|
|
apt_key:
|
|
url: https://dl.yarnpkg.com/debian/pubkey.gpg
|
|
become: yes
|
|
|
|
- name: Add yarnpkg apt source repository
|
|
apt_repository:
|
|
repo: "deb https://dl.yarnpkg.com/debian/ stable main"
|
|
state: present
|
|
update_cache: yes
|
|
become: yes
|
|
|
|
- name: Install yarn
|
|
include: yarn.yaml
|