Skip to content
This repository was archived by the owner on Oct 5, 2024. It is now read-only.

Provizanta/ansible-role-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible role: Terraform

Build & Deploy

Establish and configure Hashicorp Terraform.

Requirements

None

Role Variables

These variables are defined in defaults/main.yml:

terraform_plugin_urls: []

Additionally, it is possible to define an explicit version to be downloaded and installed:

terraform_version: '0.12.24'

Dependencies

None

Example Playbook

To get a default package:

- name: Converge
  hosts: all
  roles:
    - role: terraform

To get an explicit version:

- name: Converge
  hosts: all
  vars:
    version: '0.12.24'
  roles:
    - role: terraform
      vars:
        terraform_version: "{{ version }}"
        terraform_binary_dir_path: /usr/bin

License

MIT

Author Information

Tibor Csóka

About

Ansible role to install and configure Hashicorp Terraform.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published