Installs and configures Hashicorp's Terraform tool. We use this role to install Terraform for use in Jenkins builds. It won't download/install anything if you already have terraform installed unless your installed version is older than the specified terraform_version.
You can specify a version, default is 0.9.5
by overriding terraform_version
.
- hosts: servers
roles:
- { role: ateoto.terraform }
To override the version to install:
- hosts: servers
roles:
- { role: ateoto.terraform, terraform_version: 0.9.5 }
MIT