Skip to content

build: update dependencies and add ansible roles for settings and wazuh agent#82

Merged
l50 merged 1 commit into
mainfrom
feat/ansible-roles-settings-wazuh
Apr 6, 2026
Merged

build: update dependencies and add ansible roles for settings and wazuh agent#82
l50 merged 1 commit into
mainfrom
feat/ansible-roles-settings-wazuh

Conversation

@l50
Copy link
Copy Markdown
Contributor

@l50 l50 commented Apr 6, 2026

Key Changes:

  • Added new Ansible roles for managing Windows updates and Wazuh agent on Linux
  • Updated Go module dependencies and indirect requirements for broader compatibility
  • Standardized Terragrunt runner logic to use run --all instead of run-all
  • Changed environment variable for Terraform binary in Terragrunt runner

Added:

  • Ansible Lint config to exclude certain directories from linting
  • Ansible role to enable Windows Update service and install all updates with
    automatic reboots (ansible/roles/settings_updates/tasks/main.yml)
  • Ansible role to install and configure the Wazuh agent on Linux, supporting
    both Debian and RedHat families (ansible/roles/wazuh_agent_linux/tasks/main.yml)
  • Enhanced READMEs for both Ansible roles with detailed task descriptions

Changed:

  • Updated Go module and sum files in cli/:
    • Added new dependencies (github.com/cowdogmoo/warpgate/v3, container/image
      libraries, and related indirects)
    • Updated versions of existing dependencies for security and compatibility
    • Added local replace for github.com/cowdogmoo/warpgate/v3
  • Standardized Terragrunt runner logic:
    • Switched from run-all to run --all in both code and log messages for
      consistency with newer Terragrunt CLI
    • Updated comment and error message strings accordingly
    • Changed environment variable for specifying Terraform binary from
      TERRAGRUNT_TFPATH to TG_TF_PATH for compliance with updated conventions

Removed:

  • Deprecated use of run-all argument and TERRAGRUNT_TFPATH env variable in
    Terragrunt runner, in favor of their modern alternatives

…inux

**Added:**

- Introduced `.ansible-lint` configuration file to exclude cache and infra dirs
- Added Ansible role for installing Windows updates with tasks to enable update
  service and install all updates with reboots
- Created Ansible role for installing and configuring Wazuh agent on Linux,
  including tasks for adding repo keys, repositories, installing the agent,
  configuring manager address, and enabling the service

**Changed:**

- Updated `README.md` in `settings_updates` role to document new main.yml tasks
- Expanded `README.md` in `wazuh_agent_linux` role to describe detailed steps
  performed by new main.yml tasks
@dreadnode-renovate-bot dreadnode-renovate-bot Bot added the area/roles Changes made to Ansible roles label Apr 6, 2026
@l50 l50 merged commit fec2da0 into main Apr 6, 2026
6 checks passed
@l50 l50 deleted the feat/ansible-roles-settings-wazuh branch April 6, 2026 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/roles Changes made to Ansible roles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant