robertdebock.bareos_repository

Ansible Role Bareos Repository

This role sets up the Bareos repositories.

GitHub GitLab Downloads Version
github gitlab downloads Version

Example Playbook

Here's a simple example from molecule/default/converge.yml. It runs each time there is a push, pull request, or release.

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

  roles:
    - role: robertdebock.bareos_repository
      bareos_repository_enable_tracebacks: true

Make sure the machine is ready. In Continuous Integration (CI), this is done with molecule/default/prepare.yml:

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

  roles:
    - role: robertdebock.bootstrap

For more details, see a full explanation and example on using these roles.

Role Variables

The default values for the role's variables are found in defaults/main.yml:

---
# default settings for bareos_repository

# Type of Bareos to install: "community" or "subscription".
bareos_repository_type: community

# Subscription username for the repository.
bareos_repository_username: ""

# Subscription password for the repository.
bareos_repository_password: ""

# Release type: "current", "next", or "release".
# If using `bareos_repository_type: community`, can be set to "release" or "testing".
bareos_repository_release: current

# Bareos version to install.
# Only relevant for `bareos_repository_type: subscription`.
bareos_repository_version: 23

# Enable tracebacks for troubleshooting.
bareos_repository_enable_tracebacks: false

Requirements

State of Used Roles

The following roles are necessary to prepare your system. You can choose another way to prepare it.

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

Context

This role works with many compatible roles. Check the documentation of these roles for more information.

Here is an overview of related roles: dependencies

Compatibility

This role has been tested on the following container images:

Container Tags
Debian bookworm, bullseye, buster
EL 9
Fedora 38, 39
Ubuntu focal, jammy

The minimum required version of Ansible is 2.12. Tests have been performed on:

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

If you encounter any issues, please report them on GitHub.

License

This project uses the Apache-2.0 license.

Author Information

The author is robertdebock.

Consider sponsoring me.

Informazioni sul progetto

Setup the [Bareos](https://www.bareos.com/) repositories.

Installa
ansible-galaxy install robertdebock.bareos_repository
Licenza
apache-2.0
Download
31.2k
Proprietario
I know my way around (Linux) infrastructure, have a passion for automation, Docker, Ansible, Molecule and ci/cd.