ansible-ffibk/roles/yarn/tasks/main.yml
2018-09-18 12:48:07 +02:00

18 lines
399 B
YAML

---
- name: ensure apt key for yarn is present
apt_key:
state: present
id: 86E50310
url: "https://dl.yarnpkg.com/debian/pubkey.gpg"
- name: ensure yarn apt repo is present
apt_repository:
state: present
repo: "deb https://dl.yarnpkg.com/debian/ stable main"
update_cache: yes
filename: yarn
- name: install yarn package
package:
name: yarn
state: present