{"id":14957788,"url":"https://github.com/darkwizard242/ansible-role-terraform","last_synced_at":"2026-05-29T02:00:58.699Z","repository":{"id":37792091,"uuid":"196868676","full_name":"darkwizard242/ansible-role-terraform","owner":"darkwizard242","description":"Ansible role for Hashicorp Terraform. Available on Ansible Galaxy.","archived":false,"fork":false,"pushed_at":"2026-05-20T22:41:38.000Z","size":192,"stargazers_count":4,"open_issues_count":1,"forks_count":4,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-21T04:42:58.031Z","etag":null,"topics":["ansible","ansible-galaxy","ansible-role","cloud-native","devops","hashicorp-terraform","linux","system"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/ui/standalone/roles/darkwizard242/terraform/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darkwizard242.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-07-14T18:11:31.000Z","updated_at":"2026-05-20T22:41:24.000Z","dependencies_parsed_at":"2024-01-19T04:29:18.766Z","dependency_job_id":"996588d6-fc12-4662-be58-ce7fcc3ca850","html_url":"https://github.com/darkwizard242/ansible-role-terraform","commit_stats":{"total_commits":304,"total_committers":2,"mean_commits":152.0,"dds":"0.016447368421052655","last_synced_commit":"c1266df174c86a8ffe5dffea0bd2cdff84a11d30"},"previous_names":[],"tags_count":157,"template":false,"template_full_name":null,"purl":"pkg:github/darkwizard242/ansible-role-terraform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-terraform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-terraform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-terraform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-terraform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkwizard242","download_url":"https://codeload.github.com/darkwizard242/ansible-role-terraform/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-terraform/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33633468,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-galaxy","ansible-role","cloud-native","devops","hashicorp-terraform","linux","system"],"created_at":"2024-09-24T13:15:34.986Z","updated_at":"2026-05-29T02:00:58.691Z","avatar_url":"https://github.com/darkwizard242.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![build-test](https://github.com/darkwizard242/ansible-role-terraform/workflows/build-and-test/badge.svg?branch=master)](https://github.com/darkwizard242/ansible-role-terraform/actions?query=workflow%3Abuild-and-test) [![release](https://github.com/darkwizard242/ansible-role-terraform/workflows/release/badge.svg)](https://github.com/darkwizard242/ansible-role-terraform/actions?query=workflow%3Arelease) ![Ansible Role](https://img.shields.io/ansible/role/d/darkwizard242/terraform) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-terraform\u0026metric=sqale_rating)](https://sonarcloud.io/dashboard?id=ansible-role-terraform) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-terraform\u0026metric=reliability_rating)](https://sonarcloud.io/dashboard?id=ansible-role-terraform) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-terraform\u0026metric=security_rating)](https://sonarcloud.io/dashboard?id=ansible-role-terraform) ![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/darkwizard242/ansible-role-terraform?label=release) ![GitHub repo size](https://img.shields.io/github/repo-size/darkwizard242/ansible-role-terraform?color=orange\u0026style=flat-square)\n\n# Ansible Role: Terraform\n\nRole to install (_by default_) [terraform](https://www.terraform.io/) package on **Debian/Ubuntu** and **EL** systems.\n\n## Requirements\n\nNone.\n\n## Role Variables\n\nAvailable variables are listed below (located in `defaults/main.yml`):\n\n### Variables list:\n\n```yaml\nterraform_app: terraform\nterraform_version: 1.15.5\nterraform_os: \"{{ ansible_system | lower }}\"\nterraform_architecture_map:\n  amd64: amd64\n  arm: arm64\n  x86_64: amd64\n  armv6l: armv6\n  armv7l: armv7\n  aarch64: arm64\n  32-bit: \"386\"\n  64-bit: amd64\nterraform_dl_url: https://releases.hashicorp.com\nterraform_dl_loc: /tmp\nterraform_bin_path: /usr/local/bin\nterraform_file_owner: root\nterraform_file_group: root\nterraform_file_mode: '0755'\n```\n\n### Variables table:\n\nVariable                   | Description\n-------------------------- | -----------------------------------------------------------------------------------------------------------------------------------------------------------\nterraform_app              | Defines the app to install i.e. **terraform**\nterraform_version          | Defined to dynamically fetch the desired version to install. Defaults to: **1.15.5**\nterraform_os               | Defines os type. Used for obtaining the correct type of binaries based on OS type.\nterraform_architecture_map | Defines os architecture. Used to set the correct type of binaries based on OS System Architecture.\nterraform_dl_url           | Defines URL to download the terraform binary from.\nterraform_dl_loc           | Defined to dynamically set where to place the binary archive for `terraform` temporarily. Defaults to: **/tmp**\nterraform_bin_path         | Defined to dynamically set the appropriate path to store terraform binary into. Defaults to (as generally available on any user's PATH): **/usr/local/bin**\nterraform_file_owner       | Owner for the binary file of terraform.\nterraform_file_group       | Group for the binary file of terraform.\nterraform_file_mode        | Mode for the binary file of terraform.\n\n## Dependencies\n\nNone\n\n## Example Playbook\n\nFor default behaviour of role (i.e. installation of **terraform**) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.terraform\n```\n\nFor customizing behavior of role (i.e. specifying the desired **terraform** version) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.terraform\n  vars:\n    terraform_version: 0.12.27\n```\n\nFor customizing behavior of role (i.e. placing binary of **terraform** package in different location) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.terraform\n  vars:\n    terraform_bin_path: /bin/\n```\n\n## License\n\n[MIT](https://github.com/darkwizard242/ansible-role-terraform/blob/master/LICENSE)\n\n## Author Information\n\nThis role was created by [Ali Muhammad](https://www.alimuhammad.dev/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkwizard242%2Fansible-role-terraform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkwizard242%2Fansible-role-terraform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkwizard242%2Fansible-role-terraform/lists"}