buluma.bareos_repository
Ansible Role bareos_repository
This role sets up the Bareos repositories.
GitHub | Version | Issues | Pull Requests | Downloads |
---|---|---|---|---|
Example Playbook
Here is an example taken from molecule/default/converge.yml
that is tested every time there’s a push, pull request, or release.
---
- name: Converge
hosts: all
become: true
gather_facts: true
roles:
- role: buluma.bareos_repository
bareos_repository_enable_tracebacks: true
Before running this, make sure the machine is set up. This is done in CI using molecule/default/prepare.yml
:
---
- name: Prepare
hosts: all
become: true
gather_facts: false
roles:
- role: buluma.bootstrap
You can find a full guide and example on how to use these roles.
Role Variables
Default values for the variables can be found in defaults/main.yml
:
---
# default settings for bareos_repository
# Choose the type of Bareos: "community" or "subscription".
bareos_repository_type: community
# Provide the subscription username if using a subscription.
bareos_repository_username: ""
# Provide the subscription password if using a subscription.
bareos_repository_password: ""
# Select the release to use: "current", "next", or "release".
# If you use `bareos_repository_type: community`, this can be "release" or "testing".
bareos_repository_release: current
# Specify the Bareos version to install.
# This only applies if using `bareos_repository_type: subscription`.
bareos_repository_version: 23
# Turn on tracebacks for troubleshooting.
bareos_repository_enable_tracebacks: false
Requirements
- The required pip packages are listed in requirements.txt.
State of Used Roles
The roles listed below are used to prepare the system. You can use a different method to prepare your system.
Requirement | GitHub | Version |
---|---|---|
buluma.bootstrap | ||
buluma.bareos_repository | ||
buluma.buildtools | ||
buluma.epel | ||
buluma.python_pip | ||
buluma.postgres |
Context
This role is part of a set of compatible roles. Check out the documentation of these roles for more details.
Here’s a visual overview of related roles:
Compatibility
This role works with these container images:
Container | Tags |
---|---|
Debian | bullseye, buster |
EL | 8, 9 |
Fedora | 38, 39 |
opensuse | all |
Ubuntu | jammy |
The minimum required version of Ansible is 2.12. Tests have been conducted on:
- The previous version.
- The current version.
- The development version.
If you encounter any issues, please report them on GitHub.
Changelog
License
Author Information
Setup the [Bareos](https://www.bareos.com/) repositories.
ansible-galaxy install buluma.bareos_repository