This role is no longer maintained and doesn't support installing the latest versions of Terraform.
You could use tfenv to manage your Terraform versions instead.
See tfenv role in my linux-machine
repository
for an example.
Branch | Status |
---|---|
master | |
develop |
Ansible role to install Terraform on Ubuntu and macOS.
Used in the Ansible playbooks for setting up my workstations:
On macOS, Homebrew terraform formula is used.
On Linux, the terraform
binary is installed into /opt/terraform/<version>
and a symlink is created in /usr/local/bin
.
To update Linux version, run the update-release
script:
./update-release
See Terraform Downloads page for latest version.