adfinis.bareos_repository

Ansible Role bareos_repository

This role sets up the Bareos repositories.

GitHub GitLab Downloads Version
github gitlab downloads Version

Example Playbook

Here is a simple example from molecule/default/converge.yml. It is tested every time there's a code change or new release.

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

  roles:
    - role: adfinis.bareos_repository
      bareos_repository_enable_tracebacks: yes

Before running this, the machine needs to be set up. In Continuous Integration, this is done with molecule/default/prepare.yml:

---
- name: Prepare
  hosts: all
  become: yes
  gather_facts: no

  roles:
    - role: robertdebock.bootstrap

These roles are provided as they are, without any guarantees. Use them at your own risk.

Role Variables

Default values for the variables can be found in defaults/main.yml:

---
# defaults file for bareos_repository

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

# Username for the repository subscription.
bareos_repository_username: ""

# Password for the repository subscription.
bareos_repository_password: ""

# Release version to use: "current", "next", or "release".
# For community type, you can set it to "release" or "testing".
bareos_repository_release: current

# Version of Bareos to install (only for subscription type).
bareos_repository_version: 23

# Enable tracebacks for troubleshooting.
bareos_repository_enable_tracebacks: no

Requirements

State of Used Roles

These roles help prepare a system. You can choose to prepare your system differently.

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

Context

This role is part of several compatible roles. Check the documentation of these roles for more details.

Here’s a visual of related roles: dependencies

Compatibility

This role has been tested on the following container images:

Container Tags
Debian bookworm, bullseye, buster
EL 7, 8, 9
Fedora 37, 38
opensuse all
Ubuntu jammy, focal

The minimum Ansible version required is 2.12. Tests have been carried out on:

  • Previous versions.
  • Current version.
  • Development version.

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

License

Apache-2.0.

Author Information

Adfinis

Informazioni sul progetto

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

Installa
ansible-galaxy install adfinis.bareos_repository
Licenza
gpl-3.0
Download
4.9k
Proprietario
Potential. Unlocked.