Skip to content

mongodb-ansible-roles/ansible-role-shfmt

Repository files navigation

Ansible role for shfmt

Installs shfmt

GitHub Actions GitHub Actions

Role Variables

Name Description Type Default Required
shfmt_root_directory Where to install shfmt string /opt/shfmt false
shfmt_version Version of shfmt to install string v3.2.4 false

Install Directory

By default, shfmt will be installed in /opt/shfmt/$version/bin/shfmt

Example Playbook

- hosts: all
  roles:
    - role: ansible-role-shfmt
      vars:
        shfmt_version: v3.2.4

License

Apache License