wazuh / wazuh-ansible

Wazuh - Ansible playbook
https://wazuh.com
Other
298 stars 191 forks source link

Fix the PR checks for wazuh-ansible repository #1449

Open teddytpc1 opened 4 weeks ago

teddytpc1 commented 4 weeks ago

Description

As part of the DevOps overhaul objective, we need to fix the PR checks and adapt them to start using the Allocator module.

Currently, we have these checks that are using the machulav/ec2-github-runner@v2 module, and we have to use the Allocator module instead:

Tasks

Examples/references

The following workflows use the Allocator, we should replicate its use:

YisDav commented 1 week ago

Description

In the process of improving and correcting the PR checks for the wazuh-ansible repository, it was decided to maintain and improve the AIO (single instance) deployment but combining in the same workflow the deployment of all OS (CentOS_8, AmazonLinux_2, Ubuntu_22, RHEL8) by means of a matrix-type strategy

On the other hand, analogous to the AIO deployment, it was decided to keep the deployment of a distributed environment (composed of six instances) for each OS in the same combined workflow.

Evidence

Workflow execution links:

AIO workflow

Execution of the single-instance deployment workflow for all OS

image

Successful execution of the Ansible playbook for single-instance deployment in AL2 cluster

image

Distributed workflow

Execution of distributed deployment workflow for all OS

image

Successful execution of the Ansible playbook for distributed deployment in AL2 cluster

image