Skip to content

robertdebock/ansible-role-openbao

Install OpenBao on your system.

GitHub GitLab Downloads Version
github gitlab downloads Version

This example is taken from molecule/default/converge.yml and is tested on each push, pull request and release.

---
- name: Converge
  hosts: all
  become: true
  gather_facts: true

  roles:
    - role: robertdebock.openbao

The machine needs to be prepared. In CI this is done using molecule/default/prepare.yml:

---
- name: Prepare
  hosts: all
  become: true
  gather_facts: false

  roles:
    - role: robertdebock.bootstrap

Also see a full explanation and example on how to use these roles.

The default values for the variables are set in defaults/main.yml:

---

# defaults file for openbao

# Version of OpenBao to install. This value is used to select the
# package version from your configured package repositories.
# Example: "2.5.0"
openbao_version: "2.5.0"

# Directory to store temporary downloaded artifacts (for example,
# plugin archives). This directory is created before any downloads.
openbao_download_dir: "/tmp"

# Whether to validate TLS certificates when downloading the OpenBao
# GPG key. When false, TLS certificate validation is disabled
# (insecure; use only in controlled environments).
openbao_validate_certs: false

The following roles are used to prepare a system. You can prepare your system in another way.

Requirement GitHub GitLab
robertdebock.bootstrap Build Status GitHub Build Status GitLab

This role is part of many compatible roles. Have a look at the documentation of these roles for further information.

Here is an overview of related roles: dependencies

This role has been tested on these container images:

container tags
Debian bullseye, bookworm, trixie
EL 9
Fedora 42
Ubuntu jammy, noble

The minimum version of Ansible required is 2.12, tests have been done on:

  • The previous version.
  • The current version.
  • The development version.

If you find issues, please register them on GitHub.

Apache-2.0.

robertdebock

Please consider sponsoring me.

Sponsor this project

 

Packages

 
 
 

Contributors