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 |
---|---|---|---|
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
pip
packages listed in requirements.txt.
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 | ||
robertdebock.core_dependencies |
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:
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
Author Information
Consider sponsoring me.
Install the Elastic repository on your system.
ansible-galaxy install robertdebock.elastic_repo