yarn
Ansible Role: YARN Repository
Installs the YARN Package Manager for Ubuntu/RHEL/CentOS.
Requirements
This role only runs on Ubuntu, RHEL and its derivatives. It requires EPEL repo on RHEL so it can install NodeJS.
Role Variables
Available variables are listed below, along with default values (see defaults/main.yml
):
yarn_debian_repo_url: "https://dl.yarnpkg.com/debian/ stable main"
yarn_debian_repo_gpg_key_url: "https://dl.yarnpkg.com/debian/pubkey.gpg"
yarn_rhel_repo_url: "https://dl.yarnpkg.com/rpm/"
yarn_rhel_repo_gpg_key_url: "https://dl.yarnpkg.com/rpm/pubkey.gpg"
Generally, these should not be changed, but if this role is out of date, or if you need a very specific version, these can be overridden.
Dependencies
None.
Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- ocha.yarn
License
MIT / BSD
Author Information
This role was created by Iuri Gagnidze
Install
ansible-galaxy install ocha/ansible-role-yarn
License
Unknown
Downloads
87386
Owner