yarn
Ansible Role: Yarn
This role installs Yarn from the Yarn package repositories on systems running Debian/Ubuntu and RHEL/CentOS.
Requirements
Root accesss is required for installing packages, so you must run it in a playbook with global root privileges or define become: yes
when the role is included:
- hosts: yarn_servers
roles:
- role: transitiv.yarn
become: yes
Dependencies
This role depends on the following roles:
Variables
yarn_version: stable
Defines the version of the Yarn repository that will be installed. The available options are currently:
- stable
- rc
- nightly
yarn_packages:
- yarn
Defines the package(s) installed by the role. This variable is "flattened" before it is used so it can contain nested lists if desired.
yarn_packages_state: present
Defines the state of the packages defined in yarn_packages
. See the state
parameter in the apt and yum Ansible modules for valid values.
License
This role is available under the terms of the MIT license.
Author
This role was created by Transitiv Technologes Ltd..
ansible-galaxy install transitiv/ansible-role-yarn