zuul-jobs/roles/ensure-yarn/tasks/Debian.yaml
vass 0b4ed70366 Rename install-yarn to ensure-yarn for consistency
The old role will be kept and include ensure-yarn for backwards-compatability.

Change-Id: I7631c7e588bc953d6e3b22759abe66a73ffca728
2020-04-04 15:41:29 -04:00

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