robertdebock.elastic_repo

Ansible Role Elastic Repo

THIS ROLE HAS BEEN ARCHIVED AS OF DEC 2023.

This role helps you install the Elastic repository on your system.

GitHub GitLab Downloads Version
github gitlab downloads Version

Example Playbook

Here is an example playbook taken from molecule/default/converge.yml. This is tested with each code change and version release.

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

  roles:
    - role: robertdebock.elastic_repo
      elastic_repo_cleanup_requirements: no
      elastic_repo_revert_crypto_policy: no

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

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

  roles:
    - role: robertdebock.bootstrap
    - role: robertdebock.core_dependencies

You can find a full explanation and example of how to use these roles.

Role Variables

Default variable values are set in defaults/main.yml:

---
# defaults file for elastic_repo

# The software can be used freely under the Elastic license.
# An alternative package only with Apache 2.0 licensed features is also available.

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

# The crypto policy needs to be changed on RHEL9. This variable determines if
# the policy should be reverted to default.
elastic_repo_revert_crypto_policy: yes

Requirements

State of Used Roles

These roles are used to prepare the system. You may also set up your system differently.

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

Context

This role is part of many compatible roles. Check the documentation of these roles for more information.

Here's an overview of related roles: dependencies

Compatibility

This role has been tested with these container images:

Container Tags
Amazon all
Debian all
EL all
Fedora all
Ubuntu all

The minimum Ansible version required 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

Apache-2.0.

Author Information

robertdebock

Consider sponsoring me.

Informazioni sul progetto

Install the Elastic repository on your system.

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