{"id":16780569,"url":"https://github.com/monolithprojects/ansible-hashicorp_tools","last_synced_at":"2025-06-22T07:37:33.897Z","repository":{"id":46202100,"uuid":"304599054","full_name":"MonolithProjects/ansible-hashicorp_tools","owner":"MonolithProjects","description":"Ansible Role used for Hashicorp tools installation/update/uninstallation","archived":false,"fork":false,"pushed_at":"2021-11-07T15:43:58.000Z","size":31,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-14T07:35:31.602Z","etag":null,"topics":["ansible","bayndary","hashicorp","nomad","packer","terraform","vagrant","vault","waypoint"],"latest_commit_sha":null,"homepage":"","language":null,"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/MonolithProjects.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["monolithprojects"]}},"created_at":"2020-10-16T10:51:08.000Z","updated_at":"2024-09-24T11:21:40.000Z","dependencies_parsed_at":"2022-09-25T06:00:35.117Z","dependency_job_id":null,"html_url":"https://github.com/MonolithProjects/ansible-hashicorp_tools","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MonolithProjects%2Fansible-hashicorp_tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MonolithProjects%2Fansible-hashicorp_tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MonolithProjects%2Fansible-hashicorp_tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MonolithProjects%2Fansible-hashicorp_tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MonolithProjects","download_url":"https://codeload.github.com/MonolithProjects/ansible-hashicorp_tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225964825,"owners_count":17552413,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","bayndary","hashicorp","nomad","packer","terraform","vagrant","vault","waypoint"],"created_at":"2024-10-13T07:35:26.462Z","updated_at":"2024-11-22T20:43:05.144Z","avatar_url":"https://github.com/MonolithProjects.png","language":null,"funding_links":["https://github.com/sponsors/monolithprojects"],"categories":[],"sub_categories":[],"readme":"# Hashicorp Tools - Ansible Role\n\n[![Galaxy Quality](https://img.shields.io/ansible/quality/51653?style=flat\u0026logo=ansible)](https://galaxy.ansible.com/monolithprojects/hashicorp_tools)\n[![Role version](https://img.shields.io/github/v/release/MonolithProjects/ansible-hashicorp_tools)](https://galaxy.ansible.com/monolithprojects/hashicorp_tools)\n[![Role downloads](https://img.shields.io/ansible/role/d/51653)](https://galaxy.ansible.com/monolithprojects/hashicorp_tools)\n[![GitHub Actions](https://github.com/MonolithProjects/ansible-hashicorp_tools/workflows/molecule%20test/badge.svg?branch=master)](https://github.com/MonolithProjects/ansible-hashicorp_tools/actions)\n[![License](https://img.shields.io/github/license/MonolithProjects/ansible-hashicorp_tools)](https://github.com/MonolithProjects/ansible-hashicorp_tools/blob/master/LICENSE)\n\nThis Ansible Role will install/upgrade/uninstall Hashicorp tools.\nAnsible Role does not use deb or rpm packages but installs the binaries directly from https://releases.hashicorp.com to the system.\n\n- [Baundary](https://www.boundaryproject.io/)\n- [consul](https://www.consul.io/)\n- [Nomad](https://www.nomadproject.io/)\n- [Packer](https://www.packer.io/)\n- [Terraform](https://www.terraform.io/)\n- [Vagrant](https://www.vagrantup.com/)\n- [Vault](https://www.vaultproject.io/)\n- [Waypoint](https://www.waypointproject.io/)\n\n## Requirements\n\n- Since the binaries are distributed inside of a Zip file, the role will automatically install `unzip` if it's not already on the system.\n\n- In case you install `vagrant`, the role will automatically install `fuse` or `libfuse2` (depending on the packiging tool you system is using)\n\n* Weekly tested on (but will run on older releases just fine):\n  * CentOS 8\n  * Debian 10\n  * Fedora 33\n  * Ubuntu 20\n\n## Role Variables\n\nThis is a copy from `defaults/main.yml`\n\n```yaml\n---\n# URL to hashicorp download page\nhashicorp_url: https://releases.hashicorp.com\n\n# Hashicorp tools and release versions.\n# Supported state values are: present, absent\nhashicorp_tools:\n  []\n    # - name: boundary\n    #   version: 0.1.0\n    #   state: present\n    # - name: consul\n    #   version: 1.8.4\n    #   state: present\n    # - name: nomad\n    #   version: 0.12.5\n    #   state: present\n    # - name: packer\n    #   version: 1.6.4\n    #   state: present\n    # - name: terraform\n    #   version: 0.13.4\n    #   state: absent\n    # - name: vagrant\n    #   version: 2.2.10\n    #   state: present\n    # - name: vault\n    #   version: 1.5.4\n    #   state: absent\n    # - name: waypoint\n    #   version: 0.1.1\n    #   state: present\n\n# Installation directory\ninstall_dir: /usr/local/bin/\n```\n\n## Example Playbook\n\nIn this example the Ansible role will uninstall Hashicorp Boundary and install (or upgrade) the rest of the Hashicorp tools to specific release versions.\n\n```yaml\n---\n- name: Hashicorp tools\n  hosts: all\n  vars:\n      hashicorp_tools:\n        - name: boundary\n          state: absent\n        - name: consul\n          version: 1.8.4\n          state: present\n        - name: nomad\n          version: 0.12.5\n          state: present\n        - name: packer\n          version: 1.6.4\n          state: present\n        - name: terraform\n          version: 0.13.4\n          state: absent\n        - name: vagrant\n          version: 2.2.10\n          state: present\n        - name: vault\n          version: 1.5.4\n          state: absent\n        - name: waypoint\n          version: 0.1.1\n          state: present\n  roles:\n      name: monolithprojects.hashicorp_tools\n```\n\n## Contribution\n\nYou are more than welcome to [contribute](https://github.com/MonolithProjects/ansible-hashicorp_tools/blob/master/CONTRIBUTING.md) ! :)\n\n## License\n\nMIT\n\n## Author Information\n\nCreated in 2020 by Michal Muransky\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonolithprojects%2Fansible-hashicorp_tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonolithprojects%2Fansible-hashicorp_tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonolithprojects%2Fansible-hashicorp_tools/lists"}