No description
Find a file
semantic-release-bot 340870398c chore(release): 1.6.0 [skip ci]
# [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 ([21cec35](21cec35316))
* Drop support for Fedora 41 ([fccac11](fccac11ca9))
2026-03-15 11:38:04 +00:00
.github/workflows Update supported platforms & CI 2026-03-14 19:35:12 +01:00
defaults fix: Hashicorp GPG key is moved due to deprecation warning 2023-05-14 13:34:22 +02:00
meta Update CI 2026-03-06 22:41:49 +01:00
molecule/default Update supported platforms & CI 2026-03-14 14:52:16 +01:00
tasks Fix CI 2025-08-11 17:40:02 +02:00
.ansible-lint feat: Update CI to latest standards 2022-10-08 13:36:51 +02:00
.cicd Update CI 2026-03-06 22:41:49 +01:00
.cicd.overwrite Update CI 2026-03-06 22:41:49 +01:00
.collections feat: Move to FQCN 2022-10-08 13:36:31 +02:00
.gitignore feat: Update supported platforms & CI 2024-12-29 02:11:41 +01:00
.releaserc.yml Update CI 2026-03-06 22:41:49 +01:00
.roles feat: Update CI to latest standards 2022-10-08 13:36:51 +02:00
.yamllint feat: Update supported platforms & CI 2024-12-29 02:11:41 +01:00
CHANGELOG.md chore(release): 1.6.0 [skip ci] 2026-03-15 11:38:04 +00:00
README.md Update CI 2026-03-06 22:41:49 +01:00

CI

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