@installdoc/ansible-gas-station
Version:
An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤
19 lines (16 loc) • 398 B
YAML
- name: Add the Yarn repository GPG key
apt_key:
url: "{{ yarn_deb_gpg }}"
state: present
- name: Add the Yarn apt repository
apt_repository:
filename: yarn
repo: "{{ yarn_deb_repo }}"
state: present
update_cache: true
- name: Install Yarn
apt:
name: yarn
state: present
update_cache: "{{ omit if skip_package_cache_update is defined else 'true' }}"