sestrella.ansible_role_asdf

Ansible Role: asdf

CI

Installs asdf on Linux.

Usage

Requirements

None.

Role Variables

Available variables are listed below, along with default values:

asdf_repo: https://github.com/asdf-vm/asdf.git

The URL from which asdf will be cloned.

asdf_dir: ~/.asdf

The location where asdf will be cloned.

asdf_version: v0.8.0

The version of asdf that will be installed.

asdf_legacy_version_file: false

If set to true it will cause plugins that support this feature to read the version files used by other version managers (e.g. .ruby-version in the case of Ruby’s rbenv).

asdf_use_release_candidates: false

If set to true it will cause the asdf update command to upgrade to the latest release candidate release instead of the latest semantic version.

Dependencies

None.

Example Playbook

- hosts: servers
  roles:
    - sestrella.asdf

Development

Create a virtual environment:

python -m venv .venv

Activate the virtual environment:

# bash, or zsh
source .venv/bin/activate
# fish
source .venv/bin/activate.fish

Install the dependencies:

pip install -r requirements.txt

Run all the tests:

mol test --all

License

MIT

Author Information

This role was created by Sebastián Estrella.

About

Install asdf (https://github.com/asdf-vm/asdf.git) and plugins

Install
ansible-galaxy install sestrella.ansible_role_asdf
GitHub repository
License
mit
Downloads
111
Owner
Head of DevOps | Senior Tech Lead | Functional Programmer