zuul-jobs/roles/ensure-yarn/tasks/RedHat.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

9 lines
181 B
YAML

- name: Add yarnpkg repo file
get_url:
url: https://dl.yarnpkg.com/rpm/yarn.repo
dest: /etc/yum.repos.d/yarn.repo
become: yes
- name: Install yarn
include: yarn.yaml