Merge branch '4.11.0' into '4.12.0'

This commit is contained in:
Jesus Garcia 2025-04-01 09:24:59 -05:00
commit b74d1bb7e2
No known key found for this signature in database
GPG Key ID: 8461CA78326C96C9
23 changed files with 53 additions and 29 deletions

View File

@ -4,7 +4,7 @@ on: [pull_request, workflow_dispatch, release]
jobs: jobs:
start-runner: start-runner:
name: Start self-hosted EC2 runner name: Start self-hosted EC2 runner
runs-on: ubuntu-latest runs-on: ubuntu-22.04
outputs: outputs:
label: ${{ steps.start-ec2-runner.outputs.label }} label: ${{ steps.start-ec2-runner.outputs.label }}
ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }} ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }}
@ -49,7 +49,7 @@ jobs:
needs: needs:
- start-runner # required to get output from the start-runner job - start-runner # required to get output from the start-runner job
- install-aio-single-instance # required to wait when the main job is done - install-aio-single-instance # required to wait when the main job is done
runs-on: ubuntu-latest runs-on: ubuntu-22.04
if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs
steps: steps:
- name: Configure AWS credentials - name: Configure AWS credentials

View File

@ -4,7 +4,7 @@ on: [pull_request, workflow_dispatch, release]
jobs: jobs:
start-runner: start-runner:
name: Start self-hosted EC2 runner name: Start self-hosted EC2 runner
runs-on: ubuntu-latest runs-on: ubuntu-22.04
outputs: outputs:
label: ${{ steps.start-ec2-runner.outputs.label }} label: ${{ steps.start-ec2-runner.outputs.label }}
ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }} ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }}
@ -49,7 +49,7 @@ jobs:
needs: needs:
- start-runner # required to get output from the start-runner job - start-runner # required to get output from the start-runner job
- install-wazuh-single-instance # required to wait when the main job is done - install-wazuh-single-instance # required to wait when the main job is done
runs-on: ubuntu-latest runs-on: ubuntu-22.04
if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs
steps: steps:
- name: Configure AWS credentials - name: Configure AWS credentials

View File

@ -4,7 +4,7 @@ on: [pull_request, workflow_dispatch, release]
jobs: jobs:
start-runner: start-runner:
name: Start self-hosted EC2 runner name: Start self-hosted EC2 runner
runs-on: ubuntu-latest runs-on: ubuntu-22.04
outputs: outputs:
label: ${{ steps.start-ec2-runner.outputs.label }} label: ${{ steps.start-ec2-runner.outputs.label }}
ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }} ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }}
@ -58,7 +58,7 @@ jobs:
needs: needs:
- start-runner # required to get output from the start-runner job - start-runner # required to get output from the start-runner job
- install-aio-single-instance # required to wait when the main job is done - install-aio-single-instance # required to wait when the main job is done
runs-on: ubuntu-latest runs-on: ubuntu-22.04
if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs
steps: steps:
- name: Configure AWS credentials - name: Configure AWS credentials

View File

@ -4,7 +4,7 @@ on: [pull_request, workflow_dispatch, release]
jobs: jobs:
start-runner: start-runner:
name: Start self-hosted EC2 runner name: Start self-hosted EC2 runner
runs-on: ubuntu-latest runs-on: ubuntu-22.04
outputs: outputs:
label: ${{ steps.start-ec2-runner.outputs.label }} label: ${{ steps.start-ec2-runner.outputs.label }}
ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }} ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }}
@ -58,7 +58,7 @@ jobs:
needs: needs:
- start-runner # required to get output from the start-runner job - start-runner # required to get output from the start-runner job
- install-wazuh-single-instance # required to wait when the main job is done - install-wazuh-single-instance # required to wait when the main job is done
runs-on: ubuntu-latest runs-on: ubuntu-22.04
if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs
steps: steps:
- name: Configure AWS credentials - name: Configure AWS credentials

View File

@ -4,7 +4,7 @@ on: [pull_request, workflow_dispatch, release]
jobs: jobs:
start-runner: start-runner:
name: Start self-hosted EC2 runner name: Start self-hosted EC2 runner
runs-on: ubuntu-latest runs-on: ubuntu-22.04
outputs: outputs:
label: ${{ steps.start-ec2-runner.outputs.label }} label: ${{ steps.start-ec2-runner.outputs.label }}
ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }} ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }}
@ -58,7 +58,7 @@ jobs:
needs: needs:
- start-runner # required to get output from the start-runner job - start-runner # required to get output from the start-runner job
- install-aio-single-instance # required to wait when the main job is done - install-aio-single-instance # required to wait when the main job is done
runs-on: ubuntu-latest runs-on: ubuntu-22.04
if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs
steps: steps:
- name: Configure AWS credentials - name: Configure AWS credentials

View File

@ -4,7 +4,7 @@ on: [pull_request, workflow_dispatch, release]
jobs: jobs:
start-runner: start-runner:
name: Start self-hosted EC2 runner name: Start self-hosted EC2 runner
runs-on: ubuntu-latest runs-on: ubuntu-22.04
outputs: outputs:
label: ${{ steps.start-ec2-runner.outputs.label }} label: ${{ steps.start-ec2-runner.outputs.label }}
ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }} ec2-instance-id: ${{ steps.start-ec2-runner.outputs.ec2-instance-id }}
@ -58,7 +58,7 @@ jobs:
needs: needs:
- start-runner # required to get output from the start-runner job - start-runner # required to get output from the start-runner job
- install-wazuh-single-instance # required to wait when the main job is done - install-wazuh-single-instance # required to wait when the main job is done
runs-on: ubuntu-latest runs-on: ubuntu-22.04
if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs
steps: steps:
- name: Configure AWS credentials - name: Configure AWS credentials

View File

@ -1,6 +1,26 @@
# Change Log # Change Log
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## [v4.12.0]
### Added
- Update to [Wazuh v4.12.0](https://github.com/wazuh/wazuh/blob/v4.12.0/CHANGELOG.md#v4120)
### Changed
- Standardize version file format ([#1553](https://github.com/wazuh/wazuh-ansible/pull/1553))
- Use fixed version of Ubuntu-22.04 in GHA runners instead of latest version ([#1479](https://github.com/wazuh/wazuh-ansible/pull/1479)) \- (PR Checks Workflows)
- Implement minor changes for Wazuh ansible arm64 support ([#1518](https://github.com/wazuh/wazuh-ansible/pull/1518))
### Fixed
- None
### Deleted
- None
## [4.11.2] ## [4.11.2]
### Added ### Added

View File

@ -16,6 +16,7 @@ These playbooks install and configure Wazuh agent, manager and indexer and dashb
| Wazuh version | Elastic | ODFE | | Wazuh version | Elastic | ODFE |
|---------------|---------|--------| |---------------|---------|--------|
| v4.12.0 | | |
| v4.11.2 | | | | v4.11.2 | | |
| v4.11.1 | | | | v4.11.1 | | |
| v4.11.0 | | | | v4.11.0 | | |
@ -99,7 +100,7 @@ These playbooks install and configure Wazuh agent, manager and indexer and dashb
│ │ ├── wazuh-single.yml │ │ ├── wazuh-single.yml
│ ├── README.md │ ├── README.md
│ ├── VERSION │ ├── VERSION.json
│ ├── CHANGELOG.md │ ├── CHANGELOG.md
## Example: production-ready distributed environment ## Example: production-ready distributed environment

View File

@ -1,2 +0,0 @@
WAZUH-ANSIBLE_VERSION="v4.11.2"
REVISION="41122"

4
VERSION.json Normal file
View File

@ -0,0 +1,4 @@
{
"version": "4.12.0",
"stage": "alpha0"
}

View File

@ -1,7 +1,7 @@
--- ---
filebeat_version: 7.10.2 filebeat_version: 7.10.2
wazuh_template_branch: v4.11.2 wazuh_template_branch: v4.12.0
filebeat_node_name: node-1 filebeat_node_name: node-1

View File

@ -1,5 +1,6 @@
--- ---
wazuh_agent_version: 4.11.2 wazuh_agent_version: 4.12.0
# Custom packages installation # Custom packages installation
wazuh_custom_packages_installation_agent_enabled: false wazuh_custom_packages_installation_agent_enabled: false

View File

@ -30,7 +30,7 @@
set -o pipefail set -o pipefail
curl -s {{ wazuh_agent_config.repo.gpg }} | apt-key add - curl -s {{ wazuh_agent_config.repo.gpg }} | apt-key add -
args: args:
warn: false # warn: false
executable: /bin/bash executable: /bin/bash
changed_when: false changed_when: false
when: when:

View File

@ -1,5 +1,5 @@
--- ---
wazuh_manager_version: 4.11.2 wazuh_manager_version: 4.12.0
wazuh_manager_fqdn: "wazuh-server" wazuh_manager_fqdn: "wazuh-server"
wazuh_manager_package_state: present wazuh_manager_package_state: present

View File

@ -18,7 +18,7 @@
set -o pipefail set -o pipefail
curl -s {{ wazuh_manager_config.repo.gpg }} | apt-key add - curl -s {{ wazuh_manager_config.repo.gpg }} | apt-key add -
args: args:
warn: false # warn: false
executable: /bin/bash executable: /bin/bash
changed_when: false changed_when: false
when: when:

View File

@ -1,2 +1,2 @@
--- ---
wazuh_version: 4.11.2 wazuh_version: 4.12.0

View File

@ -3,7 +3,7 @@
shell: | shell: |
./check_packages.sh {{ wazuh_version }} ./check_packages.sh {{ wazuh_version }}
args: args:
warn: false # warn: false
executable: /bin/bash executable: /bin/bash
chdir: "{{ role_path }}/scripts/" chdir: "{{ role_path }}/scripts/"
delegate_to: localhost delegate_to: localhost

View File

@ -14,7 +14,7 @@ wazuh_macos_arm_package_name: "wazuh-agent-{{ wazuh_agent_version }}-1.arm64.pkg
wazuh_macos_intel_package_url: "https://packages.wazuh.com/4.x/macos/{{ wazuh_macos_intel_package_name }}" wazuh_macos_intel_package_url: "https://packages.wazuh.com/4.x/macos/{{ wazuh_macos_intel_package_name }}"
wazuh_macos_arm_package_url: "https://packages.wazuh.com/4.x/macos/{{ wazuh_macos_arm_package_name }}" wazuh_macos_arm_package_url: "https://packages.wazuh.com/4.x/macos/{{ wazuh_macos_arm_package_name }}"
certs_gen_tool_version: "4.11" certs_gen_tool_version: "4.12"
# Url of certificates generator tool # Url of certificates generator tool
certs_gen_tool_url: "https://packages.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh" certs_gen_tool_url: "https://packages.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh"

View File

@ -14,7 +14,7 @@ wazuh_macos_arm_package_name: "wazuh-agent-{{ wazuh_agent_version }}-1.arm64.pkg
wazuh_macos_intel_package_url: "https://packages-dev.wazuh.com/pre-release/{{ wazuh_macos_intel_package_name }}" wazuh_macos_intel_package_url: "https://packages-dev.wazuh.com/pre-release/{{ wazuh_macos_intel_package_name }}"
wazuh_macos_arm_package_url: "https://packages-dev.wazuh.com/pre-release/macos/{{ wazuh_macos_arm_package_name }}" wazuh_macos_arm_package_url: "https://packages-dev.wazuh.com/pre-release/macos/{{ wazuh_macos_arm_package_name }}"
certs_gen_tool_version: "4.11" certs_gen_tool_version: "4.12"
# Url of certificates generator tool # Url of certificates generator tool
certs_gen_tool_url: "https://packages-dev.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh" certs_gen_tool_url: "https://packages-dev.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh"

View File

@ -15,7 +15,7 @@ wazuh_macos_arm_package_name: "wazuh-agent-{{ wazuh_agent_version }}-1.arm64.pkg
wazuh_macos_intel_package_url: "https://packages-dev.wazuh.com/staging/macos/{{ wazuh_macos_intel_package_name }}" wazuh_macos_intel_package_url: "https://packages-dev.wazuh.com/staging/macos/{{ wazuh_macos_intel_package_name }}"
wazuh_macos_arm_package_url: "https://packages-dev.wazuh.com/staging/macos/{{ wazuh_macos_arm_package_name }}" wazuh_macos_arm_package_url: "https://packages-dev.wazuh.com/staging/macos/{{ wazuh_macos_arm_package_name }}"
certs_gen_tool_version: "4.11" certs_gen_tool_version: "4.12"
# Url of certificates generator tool # Url of certificates generator tool
certs_gen_tool_url: "https://packages-dev.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh" certs_gen_tool_url: "https://packages-dev.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh"

View File

@ -8,12 +8,12 @@ dashboard_node_name: node-1
dashboard_server_host: "0.0.0.0" dashboard_server_host: "0.0.0.0"
dashboard_server_port: "443" dashboard_server_port: "443"
dashboard_server_name: "dashboard" dashboard_server_name: "dashboard"
wazuh_version: 4.11.2 wazuh_version: 4.12.0
indexer_cluster_nodes: indexer_cluster_nodes:
- 127.0.0.1 - 127.0.0.1
# The Wazuh dashboard package repository # The Wazuh dashboard package repository
dashboard_version: "4.11.2" dashboard_version: "4.12.0"
# API credentials # API credentials
wazuh_api_credentials: wazuh_api_credentials:

View File

@ -1,2 +1,2 @@
--- ---
dashboard_version: 4.11.2 dashboard_version: 4.12.0

View File

@ -1,6 +1,6 @@
--- ---
# Cluster Settings # Cluster Settings
indexer_version: 4.11.2 indexer_version: 4.12.0
single_node: false single_node: false
indexer_node_name: node-1 indexer_node_name: node-1