https://github.com/eoly/ansible-role-terratools
https://github.com/eoly/ansible-role-terratools
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/eoly/ansible-role-terratools
- Owner: eoly
- Created: 2020-02-24T21:01:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-28T17:14:12.000Z (over 6 years ago)
- Last Synced: 2025-01-31T08:41:30.786Z (over 1 year ago)
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Terratools
=========
Ansible role to manage the installation of various Terraform related tools.
Requirements
------------
None
Role Variables
--------------
```
terratools_install_terraform: yes
terratools_install_terragrunt: yes
terraform_archive_versions:
- 0.12.20
- 0.11.14
terraform_active_version: 0.11.14
terraform_system_arch: amd64
terraform_release_base_url: "https://releases.hashicorp.com/terraform"
terragrunt_binary_versions:
- 0.18.7
terragrunt_active_version: 0.18.7
terragrunt_system_arch: amd64
terragrunt_release_base_url: "https://github.com/gruntwork-io/terragrunt/releases/download"
tflint_archive_versions:
- 0.14.0
tflint_active_version: 0.14.0
tflint_system_arch: amd64
tflint_release_base_url: "https://github.com/terraform-linters/tflint/releases/download"
terratools_install_path: /opt/terratools
```
Dependencies
------------
None
Example Playbook
----------------
```
- hosts: localhost
become_method: sudo
connection: local
gather_facts: yes
tasks:
- import_role:
name: terratools
become: true
tags:
- packages
- terratools
vars:
terraform_archive_versions: "{{ my_terraform_versions }}"
terraform_active_version: "{{ my_terraform_active_version }}"
terragrunt_binary_versions: "{{ my_terragrunt_versions }}"
terragrunt_active_version: "{{ my_terragrunt_active_version }}"
```
License
-------
BSD
Author Information
------------------
Eric Olsen