From 98b5d3144114c1eec21ee4e935accf88532ecad3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Santiago=20Padilla=20=C3=81lvarez?= Date: Thu, 27 Jun 2024 12:05:15 +0200 Subject: [PATCH] fix: remove unnecesary repository installation --- .../ansible-wazuh-agent/defaults/main.yml | 26 ------------------- provisioning/roles/wazuh/vars/repo.yml | 4 +-- .../roles/wazuh/vars/repo_pre-release.yml | 4 +-- .../roles/wazuh/vars/repo_staging.yml | 4 +-- 4 files changed, 3 insertions(+), 35 deletions(-) diff --git a/provisioning/roles/wazuh/ansible-wazuh-agent/defaults/main.yml b/provisioning/roles/wazuh/ansible-wazuh-agent/defaults/main.yml index 4e0477cd35..ff732d6f77 100644 --- a/provisioning/roles/wazuh/ansible-wazuh-agent/defaults/main.yml +++ b/provisioning/roles/wazuh/ansible-wazuh-agent/defaults/main.yml @@ -1,37 +1,11 @@ --- -wazuh_agent_version: 4.8.0 - # Custom packages installation wazuh_custom_packages_installation_agent_enabled: false wazuh_custom_packages_installation_agent_deb_url: "" wazuh_custom_packages_installation_agent_rpm_url: "" -# Sources installation - -wazuh_agent_sources_installation: - enabled: false - branch: "master" - user_language: "y" - user_no_stop: "y" - user_install_type: "agent" - user_dir: "/var/ossec" - user_delete_dir: "y" - user_enable_active_response: "y" - user_enable_syscheck: "y" - user_enable_rootcheck: "y" - user_enable_openscap: "n" - user_enable_sca: "y" - user_enable_authd: "y" - user_generate_authd_cert: "n" - user_update: "y" - user_binaryinstall: null - user_agent_server_ip: "YOUR_MANAGER_IP" - user_agent_server_name: null - user_agent_config_profile: null - user_ca_store: "{{ wazuh_dir }}/wpk_root.pem" - wazuh_agent_yum_lock_timeout: 30 # We recommend the use of ansible-vault to protect Wazuh, api, agentless and authd credentials. diff --git a/provisioning/roles/wazuh/vars/repo.yml b/provisioning/roles/wazuh/vars/repo.yml index 870e4393c6..0ddbf62f1c 100644 --- a/provisioning/roles/wazuh/vars/repo.yml +++ b/provisioning/roles/wazuh/vars/repo.yml @@ -3,10 +3,8 @@ wazuh_repo: yum: 'https://packages-dev.wazuh.com/4.x/yum/' gpg: 'https://packages-dev.wazuh.com/key/GPG-KEY-WAZUH' key_id: '0DCFCA5547B19D2A6099506096B3EE5F29111145' -wazuh_winagent_config_url: "https://packages.wazuh.com/4.x/windows/wazuh-agent-{{ wazuh_agent_version }}-1.msi" -wazuh_winagent_package_name: "wazuh-agent-{{ wazuh_agent_version }}-1.msi" certs_gen_tool_version: 4.8 # Url of certificates generator tool -certs_gen_tool_url: "https://packages-dev.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh" \ No newline at end of file +certs_gen_tool_url: "https://packages-dev.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh" diff --git a/provisioning/roles/wazuh/vars/repo_pre-release.yml b/provisioning/roles/wazuh/vars/repo_pre-release.yml index 23469ce116..bdb8144453 100644 --- a/provisioning/roles/wazuh/vars/repo_pre-release.yml +++ b/provisioning/roles/wazuh/vars/repo_pre-release.yml @@ -3,10 +3,8 @@ wazuh_repo: yum: 'https://packages-dev.wazuh.com/pre-release/yum/' gpg: 'https://packages-dev.wazuh.com/key/GPG-KEY-WAZUH' key_id: '0DCFCA5547B19D2A6099506096B3EE5F29111145' -wazuh_winagent_config_url: "https://packages-dev.wazuh.com/pre-release/windows/wazuh-agent-{{ wazuh_agent_version }}-1.msi" -wazuh_winagent_package_name: "wazuh-agent-{{ wazuh_agent_version }}-1.msi" certs_gen_tool_version: 4.8 # Url of certificates generator tool -certs_gen_tool_url: "https://packages-dev.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh" \ No newline at end of file +certs_gen_tool_url: "https://packages-dev.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh" diff --git a/provisioning/roles/wazuh/vars/repo_staging.yml b/provisioning/roles/wazuh/vars/repo_staging.yml index 06343c8802..ee6d684121 100644 --- a/provisioning/roles/wazuh/vars/repo_staging.yml +++ b/provisioning/roles/wazuh/vars/repo_staging.yml @@ -3,10 +3,8 @@ wazuh_repo: yum: 'https://packages-dev.wazuh.com/staging/yum/' gpg: 'https://packages-dev.wazuh.com/key/GPG-KEY-WAZUH' key_id: '0DCFCA5547B19D2A6099506096B3EE5F29111145' -wazuh_winagent_config_url: "https://packages-dev.wazuh.com/staging/windows/wazuh-agent-{{ wazuh_agent_version }}-1.msi" -wazuh_winagent_package_name: "wazuh-agent-{{ wazuh_agent_version }}-1.msi" certs_gen_tool_version: 4.8 # Url of certificates generator tool -certs_gen_tool_url: "https://packages-dev.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh" \ No newline at end of file +certs_gen_tool_url: "https://packages-dev.wazuh.com/{{ certs_gen_tool_version }}/wazuh-certs-tool.sh"