https://github.com/stackbuilders/ansible-role-asdf
Installs asdf on Linux
https://github.com/stackbuilders/ansible-role-asdf
ansible asdf
Last synced: 10 months ago
JSON representation
Installs asdf on Linux
- Host: GitHub
- URL: https://github.com/stackbuilders/ansible-role-asdf
- Owner: stackbuilders
- License: mit
- Created: 2019-11-05T01:48:59.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T06:01:47.000Z (almost 3 years ago)
- Last Synced: 2025-01-23T04:32:50.344Z (about 1 year ago)
- Topics: ansible, asdf
- Language: Jinja
- Homepage:
- Size: 62.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Role: asdf

Installs [asdf](https://github.com/asdf-vm/asdf) on Linux.
## Usage
### Requirements
None.
### Role Variables
Available variables are listed below, along with [default
values](defaults/main.yml):
```yml
asdf_repo: https://github.com/asdf-vm/asdf.git
```
The URL from which asdf will be cloned.
```yml
asdf_dir: ~/.asdf
```
The location where asdf will be cloned.
```yml
asdf_version: v0.8.0
```
The version of asdf that will be installed.
```yml
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`).
```yml
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
```yml
- hosts: servers
roles:
- sestrella.asdf
```
## Development
Create a virtual environment:
```sh
python -m venv .venv
```
Activate the virtual environment:
```sh
# bash, or zsh
source .venv/bin/activate
# fish
source .venv/bin/activate.fish
```
Install the dependencies:
```sh
pip install -r requirements.txt
```
Run all the tests:
```sh
mol test --all
```
## License
MIT
## Author Information
This role was created by Sebastián Estrella.