robertdebock.zabbix_repository

Ansible Role zabbix_repository

This role helps you install and set up the Zabbix repository on your system.

GitHub GitLab Downloads Version
GitHub GitLab Downloads Version

Example Playbook

Here’s an example of how to use this role. It’s taken from molecule/default/converge.yml and is tested with every update and release.

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

  roles:
    - role: robertdebock.zabbix_repository
      zabbix_repository_cleanup_requirements: false
      zabbix_repository_revert_crypto_policy: false

Before using the role, you need to prepare the machine. In CI, this is done using molecule/default/prepare.yml:

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

  roles:
    - role: robertdebock.bootstrap
    - role: robertdebock.ca_certificates

For a more detailed explanation on using these roles, check here.

Role Variables

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

---
# Defaults for zabbix_repository

# The "zabbix_version_major" consists of two numbers separated by a dot.
zabbix_repository_version_major: "6.4"

# The "zabbix_version_minor" is a single number.
zabbix_repository_version_minor: 1

# An additional package is needed for RHEL9 (`crypto-policies-scripts`).
# This variable decides if it should be removed.
zabbix_repository_cleanup_requirements: true

# The crypto policy needs to be changed on RHEL9. This variable decides
# if the policy should revert to the default settings.
zabbix_repository_revert_crypto_policy: true

Requirements

State of Used Roles

The roles mentioned below help prepare your system. You can also prepare your system in a different way.

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

Context

This role is part of several compatible roles. For more information, check the documentation for these roles.

Here’s a quick overview of related roles: dependencies

Compatibility

This role has been tested on these containers:

Container Tags
EL 9
Debian bullseye
Ubuntu focal

You need at least Ansible version 2.12. Tests have been conducted for:

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

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

License

Apache-2.0.

Author Information

Created by robertdebock.

If you want to support my work, please consider sponsoring me.

Informazioni sul progetto

Install and configure zabbix_repository on your system.

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