Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
c30c6ce
Pin to new Ansible and Python versions
widhalmt Mar 11, 2026
3dac5d5
Fix version for tests in Logstash tests
widhalmt Mar 11, 2026
c5b6bb0
Fix README of modules with checks
widhalmt Mar 11, 2026
a481996
Fix Ansible version in requirements-test.txt
widhalmt Mar 11, 2026
4a469ff
Bump remaining Pyhton 3.8 to 3.9
widhalmt Mar 11, 2026
eb30cf7
Pin versions of requests and docker Python modules
widhalmt Mar 11, 2026
2768e10
Bump Python to 3.10
widhalmt Mar 11, 2026
3188156
Quote Python versions
widhalmt Mar 11, 2026
9a0ba5b
Set Python interpreter on Rockylinux 8
widhalmt Mar 12, 2026
84203b8
Install Python 3.9 on Rockylinux 8
widhalmt Mar 12, 2026
c8b2cd8
* Remove python 3.9 configuration
afeefghannam89 Mar 15, 2026
05fdfad
Add installtion path for roles
afeefghannam89 Mar 15, 2026
f6fcc17
Add installtion path for roles
afeefghannam89 Mar 15, 2026
60339e1
test sperating collections from roles
afeefghannam89 Mar 15, 2026
4170a16
Test
afeefghannam89 Mar 15, 2026
2220854
Use the latest redis role
afeefghannam89 Mar 15, 2026
50df61f
Readd role path
afeefghannam89 Mar 15, 2026
8c3afca
Reuse requirements file
afeefghannam89 Mar 15, 2026
b07e5c0
Try to fix role path in molecule
afeefghannam89 Mar 15, 2026
e0f4c7c
Try to fix role path in molecule
afeefghannam89 Mar 15, 2026
ce1293a
Try to fix role path in molecule
afeefghannam89 Mar 15, 2026
a71f110
Remove role path
afeefghannam89 Mar 15, 2026
221cc39
Remove ansible.cfg
afeefghannam89 Mar 15, 2026
447eb79
* Come back to compatible ansible version with rocky8
afeefghannam89 Mar 15, 2026
6d7b027
Update role path. Pinning crypto collection
afeefghannam89 Mar 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/test_elasticsearch_modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,24 @@ jobs:
- elasticsearch_test_modules
release:
- 8
python_version:
- "3.11"
ansible_version:
- "ansible>=9.0,<10.0" #Correspond ansible-core>=2.16,<2.17

steps:
- name: Check out code
uses: actions/checkout@v6

- name: Set up Python 3.8
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: 3.8
python-version: ${{ matrix.python_version }}

- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install "${{ matrix.ansible_version }}"
python3 -m pip install -r requirements-test.txt
- name: Install collection
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/test_full_stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,30 +35,30 @@ jobs:
matrix:
distro:
- rockylinux8
- rockylinux9
- ubuntu2004
- ubuntu2204
- debian10
- debian11
- centos8
scenario:
- elasticstack_default
release:
- 7
- 8
ansible_version:
- "ansible>=9.0,<10.0" #Correspond ansible-core>=2.16,<2.17
python_version:
- "3.11"

steps:
- name: Check out code
uses: actions/checkout@v6

- name: Set up Python 3.8
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: 3.8
python-version: "3.11"

- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install ansible==${{ matrix.ansible_version }}
python3 -m pip install -r requirements-test.txt
- name: Install collection
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test_linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
- name: Check out the codebase.
uses: actions/checkout@v6

- name: Set up Python 3.
uses: actions/setup-python@v6
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.x'
python-version: "3.11"

- name: Install test dependencies.
run: |
Expand Down
26 changes: 15 additions & 11 deletions .github/workflows/test_plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
- name: Check out the codebase.
uses: actions/checkout@v6

- name: Set up Python 3.
- name: Set up Python 3.11
uses: actions/setup-python@v6
with:
python-version: '3.x'
python-version: "3.11"

- name: Install test dependencies.
run: |
Expand All @@ -55,15 +55,18 @@ jobs:

strategy:
fail-fast: false
matrix:
python_version:
- 3.11

steps:
- name: Check out code
uses: actions/checkout@v6

- name: Set up Python 3.9.14
- name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@v6
with:
python-version: 3.9.14
python-version: ${{ matrix.python_version }}

- name: Install dependencies
run: |
Expand Down Expand Up @@ -107,7 +110,7 @@ jobs:
uses: actions/checkout@v6

- name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@v6
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}

Expand Down Expand Up @@ -139,21 +142,22 @@ jobs:
strategy:
fail-fast: false
matrix:
ansible_core_version: [ 2.11.12, 2.12.10, 2.13.8, 2.14.4 ]
ansible_version:
- "ansible>=9.0,<10.0" #Correspond ansible-core>=2.16,<2.17

steps:
- name: Check out code
uses: actions/checkout@v6

- name: Set up Python 3.9.14
- name: Set up Python 3.11
uses: actions/setup-python@v6
with:
python-version: 3.9.14
python-version: "3.11"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install install ansible-core==${{ matrix.ansible_core_version }}
python -m pip install install ansible-core==${{ matrix.ansible_version }}
- name: Install collection
run: |
Expand Down Expand Up @@ -184,10 +188,10 @@ jobs:
- name: Check out code
uses: actions/checkout@v6

- name: Set up Python 3.9.14
- name: Set up Python 3.11
uses: actions/setup-python@v6
with:
python-version: 3.9.14
python-version: "3.11"

- name: Install dependencies
run: |
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/test_role_beats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,22 @@ jobs:
distro: [ubuntu2204]
scenario: [beats_default, beats_peculiar]
release: [ 7, 8 ]
ansible_version:
- "ansible>=9.0,<10.0" #Correspond ansible-core>=2.16,<2.17

steps:
- name: Check out code
uses: actions/checkout@v6

- name: Set up Python 3.8
- name: Set up Python 3.11
uses: actions/setup-python@v6
with:
python-version: 3.8
python-version: "3.11"

- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install ansible==${{ matrix.ansible_version }}
python3 -m pip install -r requirements-test.txt
- name: Install collection
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/test_role_elasticsearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,21 @@ jobs:
release:
- 7
- 8

ansible_version:
- "ansible>=9.0,<10.0" #Correspond ansible-core>=2.16,<2.17
steps:
- name: Check out code
uses: actions/checkout@v6

- name: Set up Python 3.8
uses: actions/setup-python@v6
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: "3.11"

- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install ansible==${{ matrix.ansible_version }}
python3 -m pip install -r requirements-test.txt
- name: Install collection
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/test_role_kibana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,22 @@ jobs:
distro: [ubuntu2204]
scenario: [kibana_default]
release: [ 7, 8 ]
ansible_version:
- "ansible>=9.0,<10.0" #Correspond ansible-core>=2.16,<2.17

steps:
- name: Check out code
uses: actions/checkout@v6

- name: Set up Python 3.8
- name: Set up Python 3.11
uses: actions/setup-python@v6
with:
python-version: 3.8
python-version: "3.11"

- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install ansible==${{ matrix.ansible_version }}
python3 -m pip install -r requirements-test.txt
- name: Install collection
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/test_role_logstash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,22 @@ jobs:
release:
- 7
- 8
ansible_version:
- "ansible>=9.0,<10.0" #Correspond ansible-core>=2.16,<2.17

steps:
- name: Check out code
uses: actions/checkout@v6

- name: Set up Python 3.8
- name: Set up Python 3.11
uses: actions/setup-python@v6
with:
python-version: 3.8
python-version: "3.11"

- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install ansible==${{ matrix.ansible_version }}
python3 -m pip install -r requirements-test.txt
- name: Install collection
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test_role_repos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
matrix:

distro:
# centos7 removed - no longer supported
- debian10
- debian11
- rockylinux8
Expand All @@ -54,19 +53,22 @@ jobs:
release:
- 7
- 8
ansible_version:
- "ansible>=9.0,<10.0" #Correspond ansible-core>=2.16,<2.17

steps:
- name: Check out code
uses: actions/checkout@v6

- name: Set up Python 3.8
- name: Set up Python 3.11
uses: actions/setup-python@v6
with:
python-version: 3.8
python-version: "3.11"

- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install "${{ matrix.ansible_version }}"
python3 -m pip install -r requirements-test.txt
ansible-galaxy collection install community.general
Expand Down
17 changes: 15 additions & 2 deletions .github/workflows/test_roles_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,30 @@ jobs:
release:
- 7
- 8
python_version:
- "3.11"
# - "3.12"
# - "3.13"
ansible_version:
- "ansible-core>=2.16,<2.17" # Correspond "ansible>=9.0,<10.0"
# - "ansible>=10.0,<11.0" #Correspond ansible-core>=2.17,<2.18
# - "ansible>=11.0,<12.0" #Correspond ansible-core>=2.18,<2.19
# - "ansible>=12.0,<13.0" #Correspond ansible-core>=2.19,<2.20
# - "ansible>=13.0,<14.0" #Correspond ansible-core>=2.20,<2.21

steps:
- name: Check out code
uses: actions/checkout@v6

- name: Set up Python 3.8
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: 3.8
python-version: ${{ matrix.python_version }}

- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install "${{ matrix.ansible_version }}"
python3 -m pip install -r requirements-test.txt
- name: Install collection
Expand All @@ -62,6 +73,8 @@ jobs:
- name: Test with molecule
run: |
ansible --version
molecule --version
molecule test -s ${{ matrix.scenario }}
env:
MOLECULE_DISTRO: ${{ matrix.distro }}
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ __pycache__*
.vscode
.roo
.ansible
.rooignore
.venv
CLAUDE.md
.claudeignore
.rooignore
5 changes: 4 additions & 1 deletion docs/01-requirements.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Requirements
<!-- Minimum Ansible Core version required: 2.14, maximum supported: 2.20 -->

* Minimum Python version: 3.10

There are some requirements that the user have to fulfill while using the collection. Some of them will be refactored and disappear from the list soon.

Expand All @@ -8,4 +11,4 @@ The collection provides roles for several tools (elasticsearch, kibana, ...). In

**elasticstack_ca_host**

This is a mandatory variable. It is used to define the host that will be used as "CA host". Per default it is already defined (first host inside the group `elasticstack_elasticsearch_group_name`). In case you are using different group names, this variable wont be set with a defualt value.
This is a mandatory variable. It is used to define the host that will be used as "CA host". Per default it is already defined (first host inside the group `elasticstack_elasticsearch_group_name`). In case you are using different group names, this variable wont be set with a defualt value.
4 changes: 3 additions & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ authors:
- Thomas Widhalm <thomas.widhalm@netways.de>
description: This collection installs and configures components from the Elastic Stack. Every role can be used standalone or in combination with other roles.
license:
- GPL-3.0
- GPL-3.0-or-later
# min_ansible_version: "2.14" # max supported: 2.20 (commented out for schema compliance)
license_file: 'LICENSE'
tags:
- elastic
Expand All @@ -36,3 +37,4 @@ build_ignore:
- .mailmap
- '*.tar.gz'
- 'venv*'
# Minimum Ansible version required: 2.14, maximum supported: 2.20
4 changes: 2 additions & 2 deletions molecule/elasticsearch_cluster-oss/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependency:
driver:
name: docker
platforms:
- name: elasticsearch-cluster1
- name: "elasticsearch-cluster1-${MOLECULE_DISTRO:-debian12}"
groups:
- elasticsearch
image: "geerlingguy/docker-${MOLECULE_DISTRO:-debian12}-ansible:latest"
Expand All @@ -16,7 +16,7 @@ platforms:
cgroupns_mode: host
privileged: true
pre_build_image: true
- name: elasticsearch-cluster2
- name: "elasticsearch-cluster2-${MOLECULE_DISTRO:-debian12}"
groups:
- elasticsearch
image: "geerlingguy/docker-${MOLECULE_DISTRO:-debian12}-ansible:latest"
Expand Down
Loading
Loading