ansible-ffibk/roles/yarn/tasks/main.yml

19 lines
399 B
YAML
Raw Normal View History

2018-09-11 14:12:31 +02:00
---
- 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