ocha.yarn
Ansible Role: YARN Repository
This role installs the YARN Package Manager on Ubuntu, RHEL, and CentOS systems.
Requirements
This role works only on Ubuntu and RHEL or its versions. For RHEL, the EPEL repository must be enabled to install NodeJS.
Role Variables
The following variables are available, along with their 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"
These defaults usually do not need to be changed, unless you require a specific version or if the role is outdated.
Dependencies
There are no dependencies.
Example Playbook
Here's an example of how to use this role (with variables as parameters):
- hosts: servers
roles:
- ocha.yarn
License
MIT / BSD
Author Information
This role was created by Iuri Gagnidze.
Informazioni sul progetto
Install YARN package manager for Ubuntu/RHEL
Installa
ansible-galaxy install ocha.yarn
Licenza
Unknown
Download
88.9k
Proprietario