brentwg.terraform
Ansible Role - Terraform
This role installs the Terraform application by Hashicorp.
It is based on Jeff Geerling's Ansible Role for Packer, but I made some changes. Now, it keeps older downloaded versions and adds a shortcut so you can easily switch between different versions as needed.
Requirements
None.
Role Variables
Here are the user-adjustable variables and their default values. (For all variables, check defaults/main.yml
):
terraform_version: "0.11.3"
This is the version of Terraform you want to install.
terraform_arch: "amd64"
This is the architecture of your system (for example, 386
or amd64
).
Terraform will be installed at this location:
/usr/local/terraform/{{ terraform_version }}/terraform
A shortcut to this version will be created here:
/usr/local/bin/terraform
Dependencies
None.
Sample Playbook
- hosts: all
vars:
terraform_version: "0.11.3"
terraform_arch: "amd64"
roles:
- brentwg.terraform
Informazioni sul progetto
This role installs Hashicorp's Terraform application.
Installa
ansible-galaxy install brentwg.terraform
Licenza
Unknown
Download
817
Proprietario
With regard to current career activity: I have already vaporized to the cloud...