mirror of
https://github.com/de-it-krachten/ansible-role-hashicorp
synced 2026-05-14 11:51:39 +00:00
No description
- Jinja 100%
# [1.6.0](https://github.com/de-it-krachten/ansible-role-hashicorp/compare/v1.5.0...v1.6.0) (2026-03-15) ### Features * Added support for Fedora 43 ([ |
||
|---|---|---|
| .github/workflows | ||
| defaults | ||
| meta | ||
| molecule/default | ||
| tasks | ||
| .ansible-lint | ||
| .cicd | ||
| .cicd.overwrite | ||
| .collections | ||
| .gitignore | ||
| .releaserc.yml | ||
| .roles | ||
| .yamllint | ||
| CHANGELOG.md | ||
| README.md | ||
ansible-role-hashicorp
Install hashicorp products
Dependencies
Roles
None
Collections
None
Platforms
Supported platforms
- Red Hat Enterprise Linux 81
- Red Hat Enterprise Linux 91
- RockyLinux 8
- RockyLinux 9
- OracleLinux 8
- OracleLinux 9
- AlmaLinux 8
- AlmaLinux 9
- Debian 11 (Bullseye)
- Debian 12 (Bookworm)
- Ubuntu 22.04 LTS
- Ubuntu 24.04 LTS
- Fedora 42
- Fedora 43
Note: 1 : no automated testing is performed on these platforms
Role Variables
defaults/main.yml
# product name
hashicorp_product: "{{ role_name | regex_replace('deitkrachten\\.') }}"
# product platform
hashicorp_platform: "{{ ansible_system | lower }}"
# product architecture
hashicorp_arch: "{{ 'amd64' if ansible_architecture == 'x86_64' else ansible_architecture }}"
# product install mode (binary or package)
hashicorp_install_mode: package
# product zip filename
hashicorp_zip: >-
{{ hashicorp_product }}_{{ hashicorp_product_version }}_{{ hashicorp_platform }}_{{ hashicorp_arch }}.zip
# product download url
hashicorp_product_url: >-
https://releases.hashicorp.com/{{ hashicorp_product }}/{{ hashicorp_product_version }}/{{ hashicorp_zip }}
Example Playbook
molecule/default/converge.yml
- name: sample playbook for role 'hashicorp'
hosts: all
tasks:
- name: Include role 'hashicorp' (package)
include_role:
name: hashicorp
vars:
hashicorp_product: '{{ item }}'
loop:
- terraform
- vagrant
- terraform
- packer
- consul
- vault
- nomad
- name: Include role 'hashicorp' (binary)
include_role:
name: hashicorp
vars:
hashicorp_product: '{{ item }}'
hashicorp_install_mode: binary
loop:
- terraform
- vagrant
- terraform
- packer
- consul
- vault
- nomad