mauromedda.ansible_role_terragrunt

ansible_role_terragrunt

======================

This is a simple Ansible role to install Terragrunt on a RedHat-like system (version 7 or above).

Requirements


This role does not have any specific requirements other than Ansible.

Role Variables


terragrunt_version: 0.13.5
  • terragrunt_version: The version of Terragrunt you want to install.
terragrunt_dist_file: "terragrunt_{{terragrunt_version}}_linux_amd64.zip"
  • terragrunt_dist_file: The name of the distribution file for Terragrunt.
terragrunt_repo_url: "https://releases.hashicorp.com/terragrunt/{{terragrunt_version}}/{{ terragrunt_dist_file }}"
  • terragrunt_repo_url: The URL where you can download the Terragrunt binary.
terragrunt_base_install_dir: /opt/hashicorp/terragrunt
  • terragrunt_base_install_dir: The main directory where Terragrunt will be installed.
terragrunt_bin: /usr/bin/terragrunt
  • terragrunt_bin: The location of the Terragrunt executable.
terragrunt_requirements:
  - unzip
  • terragrunt_requirements: The required packages for the Terragrunt playbook.
terragrunt_purge_old: true
  • terragrunt_purge_old: Indicates whether to delete the oldest installed version. Default is true.
terragrunt_cleanup: true
  • terragrunt_cleanup: Indicates whether to remove the Terragrunt distribution file after installation. Default is true.

Example Playbook


---
- hosts: localhost
  become: true
  connection: local

  roles:
    - mauromedda.ansible_role_unzip
    - mauromedda.ansible_role_terraform
    - mauromedda.ansible_role_terragrunt

License


BSD

Author Information


Author: Mauro Medda

Informazioni sul progetto

An Ansible role for installing Terragrunt

Installa
ansible-galaxy install mauromedda.ansible_role_terragrunt
Licenza
Unknown
Download
308
Proprietario
Head of DevOps @Zilliqa