Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

trallnag/ansible-role-asdf

Repository files navigation

role quality downloads

Ansible Role trallnag.asdf

🚨 ANNOUNCEMENT 🚨

This project has been archived. Why? It's just "too easy" to install asdf and the bulk of this role deals with setting up the auto complete for different shells, which is highly dependent on personal setups.


Ansible role that installs asdf with Git on Linux.

Available on Ansible Galaxy.

Role Variables

asdf_version:
  default: v0.8.1
  type: raw
  required: false
  description: >-
    Commit reference. Can be anything ranging from a branch name, git tag,
    or a commit id.

asdf_shell:
  default: bash
  type: str
  required: false
  choices: ["bash", "fish", "zsh"]
  description: >-
    The shell you want asdf to use with.

Example Playbook

- name: Playbook
  hosts: myhost
  remote_user: myuser
  vars:
    rolespec_validate: true
  roles:
    - name: trallnag.asdf
      vars:
        asdf_version: v0.8.1
        asdf_shell: bash

Special Requirements

  • Only Bash mode supported.

Special Dependencies

None.

License

Apache-2.0

Author Information

Trallnag