Installs shfmt
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 |
By default, shfmt
will be installed in /opt/shfmt/$version/bin/shfmt
- hosts: all
roles:
- role: ansible-role-shfmt
vars:
shfmt_version: v3.2.4