wazuh / wazuh-qa

Wazuh - Quality Assurance
GNU General Public License v2.0
61 stars 30 forks source link

DTT1 - PoC - Provision module #4665

Closed fcaffieri closed 4 months ago

fcaffieri commented 6 months ago

Description

This issue aims to design and create a PoC of the provision module.

This module is responsible for provisioning the infrastructure resources previously allocated. This module will work as a black box where it will have a clear input and output.

For this PoC this module should:

Parent issue https://github.com/wazuh/wazuh-qa/issues/4524.

fcaffieri commented 6 months ago

Update

all:
  hosts:
    Agent:
      ansible_host: 192.168.56.34
      ansible_port: 22
    Manager:
      ansible_host: 192.168.56.35
      ansible_port: 22
  vars:
    ansible_user: 'vagrant'
    ansible_ssh_common_args: '-o StrictHostKeyChecking=no'
    ansible_ssh_private_key_file: './utils/key'

Creating Ansible playbooks for provision instances

fcaffieri commented 6 months ago

Update

Then I will share the playbooks and configurations

fcaffieri commented 6 months ago

Update

fcaffieri commented 6 months ago

Update

After several iterations on how to install each module, I arrived at the next solution, which seems the most successful because it is dynamic, reusable and flexible.

We have the following inventory:

This inventory is sectioned by host, and each host has all the data needed to connect and a list of components to install.

Then the following was developed:

Inventory:

all:
  hosts:
    Agent1:
      ansible_host: 192.168.56.34
      ansible_port: 22
      ansible_user: 'vagrant'
      ansible_ssh_private_key_file: 'path/utils/key'
      install:
       - wazuh-agent
       - curl
       - nano

    Manager:
      ansible_host: 192.168.56.35
      ansible_port: 22
      ansible_user: 'vagrant'
      ansible_ssh_private_key_file: 'path/utils/key'
      install:
        - wazuh-manager
        - wazuh-indexer
        - wazuh-dashboard

  vars:
    ansible_ssh_common_args: '-o StrictHostKeyChecking=no'

Jenkinsfile:

String provision_path = "scripts/provision"
String provision_script = "provisioner.py"
String inventory = "inventory.yaml"

node {

  stage('Clone Repo') {
    git branch: 'enhancement/4524-dtt1-poc', url: 'https://github.com/wazuh/wazuh-qa.git'
  }

  stage('Provision') {
    sh "python3 ${provision_path}/${provision_script} -i ${inventory.yaml}"
  }

}

Ansible class:

import yaml
import ansible_runner

class Ansible:

    # -------------------------------------
    #   Variables
    # -------------------------------------

    inventory = None
    path = ""

    # -------------------------------------
    #   Constructor
    # -------------------------------------

    def __init__(self,inventory):
        self.inventory = self.set_inventory(inventory)

    # -------------------------------------
    #   Setters and Getters
    # -------------------------------------

    def set_inventory(self, inventory):
        with open(inventory, 'r') as file:
            inv = yaml.safe_load(file)
        file.close()
        self.inventory = inv

    def get_inventory(self):
        return self.inventory

    # -------------------------------------
    #   Methods
    # -------------------------------------

    # https://ansible.readthedocs.io/projects/runner/en/1.1.0/ansible_runner.html
    def run_playbook(self, playbook=None, extravars=None, verbosity=1):
        result = ansible_runner.run(
            inventory=self.inventory,
            playbook=playbook,
            verbosity=verbosity,
            extravars=extravars
        )
        return result

And provisioner:

# provisioner.py

import src.classes.Ansible as Ansible
import yaml
import argparse

def main(inventory_file):

  ansible = Ansible.Ansible(inventory_file)

  inventory = Ansible.get_inventory()

  for host in inventory['all']['hosts']:

    packages = inventory['all']['hosts'][host].get('install')
    remote_user = inventory['all']['hosts'][host].get('ansible_user')
    private_key = inventory['all']['hosts'][host].get('ansible_ssh_private_key_file')
    remote_port = inventory['all']['hosts'][host].get('ansible_port')

    install_playbook = {
      'name': 'Install packages on '+host,
      'hosts': host,
      'remote_user': remote_user,
      'port': remote_port,
      'vars': {
        'ansible_ssh_private_key_file': private_key
      },
      'tasks': [
        {
          'apt': {
            'name': packages,
            'state': 'present'
            }
        }
      ]
    }

    results = ansible.run_playbook(install_playbook)
    print(results.stats)

# -------------------------------------
#   Main
# -------------------------------------

if __name__ == '__main__':

  parser = argparse.ArgumentParser()
  parser.add_argument("-i", "--inventory", help="Archivo YAML de inventario de Ansible")
  args = parser.parse_args()

  main(args.inventory)

As can be seen in the provisioner, it generates the playbooks dynamically according to the list obtained from the inventory.yaml, this inventory is the one that provides the allocation, adding the modules that you want to install.

fcaffieri commented 6 months ago

Update

fcaffieri commented 6 months ago

Update

After talking with the team we noticed that the provision module, in addition to installing packages, dependencies, etc. in particular cases, something that has to be installed in all cases is ansible on the VMs. Working on the installation of ansible, investigating how to do it dynamically on all systems/architectures, thinking beyond the PoC.

fcaffieri commented 6 months ago

Due to the installation of dependencies, Python modules and configurations on the generation of the Ansible Python module, the following is investigated:

Performed the necessary configurations and coding for installing dependencies on the Jenkins executor nodes and the generation and deletion of Python virtual environments.

Installation per repository is configured for both RPM and Debian, as defined in the documentation. An installation will continue with the Wazuh installation wizard.

Existing tests were carried out locally:

root@jenkins:/var/lib/jenkins/workspace/provision2/poc-tests# python3 scripts/provision/provisioner.py  -i inventory.yaml 
/bin/sh: 1: source: not found
Requirement already satisfied: pip in /usr/local/lib/python3.10/dist-packages (23.3.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: pyyaml==6.0.1 in /usr/local/lib/python3.10/dist-packages (from -r utils/requirements.txt (line 1)) (6.0.1)
Requirement already satisfied: ansible_runner==2.3.4 in /usr/local/lib/python3.10/dist-packages (from -r utils/requirements.txt (line 2)) (2.3.4)
Requirement already satisfied: ansible in /usr/local/lib/python3.10/dist-packages (from -r utils/requirements.txt (line 3)) (8.6.1)
Requirement already satisfied: pexpect>=4.5 in /usr/lib/python3/dist-packages (from ansible_runner==2.3.4->-r utils/requirements.txt (line 2)) (4.8.0)
Requirement already satisfied: packaging in /usr/local/lib/python3.10/dist-packages (from ansible_runner==2.3.4->-r utils/requirements.txt (line 2)) (23.2)
Requirement already satisfied: python-daemon in /usr/local/lib/python3.10/dist-packages (from ansible_runner==2.3.4->-r utils/requirements.txt (line 2)) (3.0.1)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from ansible_runner==2.3.4->-r utils/requirements.txt (line 2)) (1.16.0)
Requirement already satisfied: ansible-core~=2.15.6 in /usr/local/lib/python3.10/dist-packages (from ansible->-r utils/requirements.txt (line 3)) (2.15.6)
Requirement already satisfied: jinja2>=3.0.0 in /usr/lib/python3/dist-packages (from ansible-core~=2.15.6->ansible->-r utils/requirements.txt (line 3)) (3.0.3)
Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages (from ansible-core~=2.15.6->ansible->-r utils/requirements.txt (line 3)) (3.4.8)
Requirement already satisfied: resolvelib<1.1.0,>=0.5.3 in /usr/local/lib/python3.10/dist-packages (from ansible-core~=2.15.6->ansible->-r utils/requirements.txt (line 3)) (1.0.1)
Requirement already satisfied: docutils in /usr/local/lib/python3.10/dist-packages (from python-daemon->ansible_runner==2.3.4->-r utils/requirements.txt (line 2)) (0.20.1)
Requirement already satisfied: lockfile>=0.10 in /usr/local/lib/python3.10/dist-packages (from python-daemon->ansible_runner==2.3.4->-r utils/requirements.txt (line 2)) (0.12.2)
Requirement already satisfied: setuptools>=62.4.0 in /usr/local/lib/python3.10/dist-packages (from python-daemon->ansible_runner==2.3.4->-r utils/requirements.txt (line 2)) (68.2.2)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
No config file found; using defaults

PLAY [Install packages on Agent1] **********************************************

TASK [Gathering Facts] *********************************************************
ok: [Agent1]

TASK [Install gnupg and apt-transport-https] ***********************************
ok: [Agent1] => {"cache_update_time": 1694246393, "cache_updated": false, "changed": false}

TASK [Import GPG key] **********************************************************
changed: [Agent1] => {"changed": true, "cmd": "curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg", "delta": "0:00:00.205040", "end": "2023-11-10 01:44:44.760652", "msg": "", "rc": 0, "start": "2023-11-10 01:44:44.555612", "stderr": "gpg: key 96B3EE5F29111145: \"Wazuh.com (Wazuh Signing Key) <support@wazuh.com>\" not changed\ngpg: Total number processed: 1\ngpg:              unchanged: 1", "stderr_lines": ["gpg: key 96B3EE5F29111145: \"Wazuh.com (Wazuh Signing Key) <support@wazuh.com>\" not changed", "gpg: Total number processed: 1", "gpg:              unchanged: 1"], "stdout": "", "stdout_lines": []}

TASK [Add Wazuh repository] ****************************************************
changed: [Agent1] => {"changed": true, "cmd": "echo \"deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main\" | tee -a /etc/apt/sources.list.d/wazuh.list", "delta": "0:00:00.002772", "end": "2023-11-10 01:44:45.045553", "msg": "", "rc": 0, "start": "2023-11-10 01:44:45.042781", "stderr": "", "stderr_lines": [], "stdout": "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main", "stdout_lines": ["deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main"]}

TASK [Update packages information] *********************************************
ok: [Agent1] => {"cache_update_time": 1694246393, "cache_updated": false, "changed": false}

TASK [Installwazuh-agent] ******************************************************
changed: [Agent1] => {"changed": true, "cmd": "WAZUH_MANAGER=\"172.16.1.3\" apt install wazuh-agent", "delta": "0:00:02.868332", "end": "2023-11-10 01:44:55.897190", "msg": "", "rc": 0, "start": "2023-11-10 01:44:53.028858", "stderr": "\nWARNING: apt does not have a stable CLI interface. Use with caution in scripts.", "stderr_lines": ["", "WARNING: apt does not have a stable CLI interface. Use with caution in scripts."], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following packages were automatically installed and are no longer required:\n  ansible-core python3-jmespath python3-kerberos python3-nacl\n  python3-ntlm-auth python3-packaging python3-paramiko\n  python3-requests-kerberos python3-requests-ntlm python3-resolvelib\n  python3-winrm python3-xmltodict sshpass\nUse 'sudo apt autoremove' to remove them.\nThe following NEW packages will be installed:\n  wazuh-agent\n0 upgraded, 1 newly installed, 0 to remove and 52 not upgraded.\nPreconfiguring packages ...\nNeed to get 0 B/9,219 kB of archives.\nAfter this operation, 30.8 MB of additional disk space will be used.\nSelecting previously unselected package wazuh-agent.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 52506 files and directories currently installed.)\r\nPreparing to unpack .../wazuh-agent_4.6.0-1_amd64.deb ...\r\nUnpacking wazuh-agent (4.6.0-1) ...\r\nSetting up wazuh-agent (4.6.0-1) ...", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following packages were automatically installed and are no longer required:", "  ansible-core python3-jmespath python3-kerberos python3-nacl", "  python3-ntlm-auth python3-packaging python3-paramiko", "  python3-requests-kerberos python3-requests-ntlm python3-resolvelib", "  python3-winrm python3-xmltodict sshpass", "Use 'sudo apt autoremove' to remove them.", "The following NEW packages will be installed:", "  wazuh-agent", "0 upgraded, 1 newly installed, 0 to remove and 52 not upgraded.", "Preconfiguring packages ...", "Need to get 0 B/9,219 kB of archives.", "After this operation, 30.8 MB of additional disk space will be used.", "Selecting previously unselected package wazuh-agent.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 52506 files and directories currently installed.)", "Preparing to unpack .../wazuh-agent_4.6.0-1_amd64.deb ...", "Unpacking wazuh-agent (4.6.0-1) ...", "Setting up wazuh-agent (4.6.0-1) ..."]}

TASK [Reload systemd wazuh-agent configuration] ********************************
changed: [Agent1] => {"changed": true, "cmd": "systemctl daemon-reload", "delta": "0:00:00.331901", "end": "2023-11-10 01:44:56.483885", "msg": "", "rc": 0, "start": "2023-11-10 01:44:56.151984", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

TASK [Enable wazuh-agent on boot] **********************************************
changed: [Agent1] => {"changed": true, "cmd": "systemctl enable wazuh-agent", "delta": "0:00:00.285932", "end": "2023-11-10 01:44:57.045783", "msg": "", "rc": 0, "start": "2023-11-10 01:44:56.759851", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

TASK [Start wazuh-agent] *******************************************************
changed: [Agent1] => {"changed": true, "cmd": "systemctl start wazuh-agent", "delta": "0:00:07.334852", "end": "2023-11-10 01:45:04.636924", "msg": "", "rc": 0, "start": "2023-11-10 01:44:57.302072", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

PLAY RECAP *********************************************************************
Agent1                     : ok=9    changed=6    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
No config file found; using defaults

PLAY [Install packages on Agent1] **********************************************

TASK [Gathering Facts] *********************************************************
ok: [Agent1]

TASK [Installcurl] *************************************************************
ok: [Agent1] => {"cache_update_time": 1694246393, "cache_updated": false, "changed": false}

PLAY RECAP *********************************************************************
Agent1                     : ok=2    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
No config file found; using defaults

PLAY [Install packages on Agent1] **********************************************

TASK [Gathering Facts] *********************************************************
ok: [Agent1]

TASK [Installnano] *************************************************************
ok: [Agent1] => {"cache_update_time": 1694246393, "cache_updated": false, "changed": false}

PLAY RECAP *********************************************************************
Agent1                     : ok=2    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
No config file found; using defaults

PLAY [Install packages on Manager] *********************************************

TASK [Gathering Facts] *********************************************************
ok: [Manager]

TASK [Install gnupg and apt-transport-https] ***********************************
ok: [Manager] => {"cache_update_time": 1694246393, "cache_updated": false, "changed": false}

TASK [Import GPG key] **********************************************************
changed: [Manager] => {"changed": true, "cmd": "curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg", "delta": "0:00:00.335672", "end": "2023-11-10 01:45:14.098626", "msg": "", "rc": 0, "start": "2023-11-10 01:45:13.762954", "stderr": "gpg: key 96B3EE5F29111145: \"Wazuh.com (Wazuh Signing Key) <support@wazuh.com>\" not changed\ngpg: Total number processed: 1\ngpg:              unchanged: 1", "stderr_lines": ["gpg: key 96B3EE5F29111145: \"Wazuh.com (Wazuh Signing Key) <support@wazuh.com>\" not changed", "gpg: Total number processed: 1", "gpg:              unchanged: 1"], "stdout": "", "stdout_lines": []}

TASK [Add Wazuh repository] ****************************************************
changed: [Manager] => {"changed": true, "cmd": "echo \"deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main\" | tee -a /etc/apt/sources.list.d/wazuh.list", "delta": "0:00:00.002736", "end": "2023-11-10 01:45:14.374714", "msg": "", "rc": 0, "start": "2023-11-10 01:45:14.371978", "stderr": "", "stderr_lines": [], "stdout": "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main", "stdout_lines": ["deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main"]}

TASK [Update packages information] *********************************************
ok: [Manager] => {"cache_update_time": 1694246393, "cache_updated": false, "changed": false}

TASK [Installwazuh-manager] ****************************************************
changed: [Manager] => {"changed": true, "cmd": "apt install wazuh-manager", "delta": "0:00:00.640364", "end": "2023-11-10 01:45:18.687004", "msg": "", "rc": 0, "start": "2023-11-10 01:45:18.046640", "stderr": "\nWARNING: apt does not have a stable CLI interface. Use with caution in scripts.", "stderr_lines": ["", "WARNING: apt does not have a stable CLI interface. Use with caution in scripts."], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nwazuh-manager is already the newest version (4.6.0-1).\n0 upgraded, 0 newly installed, 0 to remove and 52 not upgraded.", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "wazuh-manager is already the newest version (4.6.0-1).", "0 upgraded, 0 newly installed, 0 to remove and 52 not upgraded."]}

TASK [Reload systemd wazuh-manager configuration] ******************************
changed: [Manager] => {"changed": true, "cmd": "systemctl daemon-reload", "delta": "0:00:00.285861", "end": "2023-11-10 01:45:19.220174", "msg": "", "rc": 0, "start": "2023-11-10 01:45:18.934313", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

TASK [Enable wazuh-manager on boot] ********************************************
changed: [Manager] => {"changed": true, "cmd": "systemctl enable wazuh-manager", "delta": "0:00:00.277517", "end": "2023-11-10 01:45:19.801479", "msg": "", "rc": 0, "start": "2023-11-10 01:45:19.523962", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

TASK [Start wazuh-manager] *****************************************************
changed: [Manager] => {"changed": true, "cmd": "systemctl start wazuh-manager", "delta": "0:00:00.007067", "end": "2023-11-10 01:45:20.089357", "msg": "", "rc": 0, "start": "2023-11-10 01:45:20.082290", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

PLAY RECAP *********************************************************************
Manager                    : ok=9    changed=6    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
Resume
{'skipped': {}, 'ok': {'Manager': 9}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'Manager': 1}, 'changed': {'Manager': 6}}
root@jenkins:/var/lib/jenkins/workspace/provision2/poc-tests# 

Testing was performed in Jenkins to validate all integrations.

image

The analysis of the grafana dashboards will continue.

fcaffieri commented 6 months ago

Update

It moves to on hold because everything has been developed for the PoC

fcaffieri commented 6 months ago

Update

Find and error with de ansible execution, its executes a duplicate installation for Agent and Manager.

fcaffieri commented 6 months ago

Update

Analyzing the provision.py, and based on the premise that this module must be as flexible as possible since it must allow installing practically anything that is indicated, it was decided to use Jinja2 to render the yaml and make them more flexible and reusable. On the other hand, the Provision class was created, with the purpose of being reused by whoever needs it. This class is responsible for managing the facilities, whatever is needed. and the provision.py script is now limited to interpreting the inventory and instantiating the class for each host and for each component to be installed. Previously it was in charge of everything and the code was quite repetitive. Now with these improvements, the code of the class and the script was much cleaner and reusable, it did increase the complexity a little but not too much. This is an important improvement, designed for the future, since it provides a lot of flexibility and reuse, both of playbooks thanks to Jinja2, and of Python code and classes.

New code:

Script:

# Python
import argparse
import subprocess
import os
import sys

# ---------------- Vars ------------------------

CURRENT_DIR = os.path.abspath(os.getcwd())
SUMMARY = {}

# ---------------- Methods ---------------------

def main(inventory_file):

  install_dependencies()

  project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..'))
  sys.path.append(project_root)

  from src.classes import Ansible, Provision

  ansible = Ansible.Ansible(inventory_file)
  provision = Provision.Provision(ansible)

  run(provision)

# ----------------------------------------------

def run(provision):
    inventory = provision.get_inventory()
    provision.set_directory(CURRENT_DIR)

    for host, host_info in inventory['all']['hosts'].items():
        components = host_info.get('install', [])

        for item in components:
            component, install_type, version = (item.get('component'), item.get('type'), item.get('version')) if isinstance(item, dict) else (item, None, None)

            install_info = {
                'component': component,
                'install_type': install_type,
                'version': version
            }

            status = provision.handle_package(host, host_info, install_info)

            update_status(status)

    print("summary")
    print(SUMMARY)

# ----------------------------------------------

def install_dependencies():
  venv_path = 'venv'
  if not os.path.exists(venv_path):
      subprocess.run(['python3', '-m', 'venv', venv_path], check=True)
  activate_script = os.path.join(venv_path, 'bin', 'activate')
  activate_command = f"source {activate_script}" if sys.platform != 'win32' else f"call {activate_script}"
  subprocess.run(activate_command, shell=True)
  subprocess.run(['python3', '-m', 'pip', 'install', '--upgrade', 'pip'], check=True)
  subprocess.run(['pip', 'install', '-r', 'utils/requirements.txt'], check=True)

# ----------------------------------------------

def update_status(status):
    SUMMARY.update(status.stats)

# ---------------- Main ---------------------

if __name__ == '__main__':

  parser = argparse.ArgumentParser()
  parser.add_argument("-i", "--inventory", help="Archivo YAML de inventario de Ansible")
  args = parser.parse_args()

  main(args.inventory)

Class:

import jinja2
import yaml
import os

class Provision:

    # -------------------------------------
    #   Variables
    # -------------------------------------

    LIST_TASKS = ["set_repo.j2", "install.j2", "register.j2", "service.j2"]
    LIST_AIO_TASKS = ["download.j2", "install.j2"]
    GENERIC_TASKS = ["install.j2"]

    # -------------------------------------
    #   Constructor
    # -------------------------------------

    def __init__(self, ansible):
        self.ansible = ansible

    # -------------------------------------
    #   Setters and Getters
    # -------------------------------------

    def set_directory(self, directory):
      self.current_dir = directory

    def get_inventory(self):
        return self.ansible.inventory

    # -------------------------------------
    #   Methods
    # -------------------------------------

    def handle_package(self, host, host_info, install_info):
      status = {}

      if install_info.get('install_type') is None:
        print("Installing external package")
        install_info['install_type'] = "external"
        status = self.install(host, host_info, install_info, self.GENERIC_TASKS)
      elif "package" in install_info.get('install_type') or "wazuh-agent" in install_info.get('component'):
        print("Installing Wazuh package with package manager")
        install_info['install_type'] = "wazuh/" + install_info.get('install_type')
        status = self.install(host, host_info, install_info, self.LIST_TASKS)
      elif "aio" in install_info.get('install_type'):
        print("Installing Wazuh package with AIO")
        install_info['install_type'] = "wazuh/" + install_info.get('install_type')
        status = self.install(host, host_info, install_info, self.LIST_AIO_TASKS)

      return status

    # -------------------------------------

    def install(self, host, host_info, install_info, list_tasks):
      status = {}
      tasks = []

      playbook_path = os.path.join(self.current_dir, "playbooks", "provision", install_info.get('install_type'))
      template_loader = jinja2.FileSystemLoader(searchpath=playbook_path)
      template_env = jinja2.Environment(loader=template_loader)
      variables_values = self.set_extra_variables(host_info, install_info)

      for template in list_tasks:
        loaded_template = template_env.get_template(template)
        rendered = yaml.safe_load(loaded_template.render(host=host_info, **variables_values))
        tasks += rendered

      playbook = {
        'hosts': host,
        'become': True,
        'tasks': tasks
      }

      status = self.ansible.run_playbook(playbook)

      return status

    # -------------------------------------

    def set_extra_variables(self, host_info, install_info):
      variables_values = {}
      variables_values.update({"component": install_info.get('component')})

      if "package" in install_info.get('install_type'):
        if "wazuh-agent" in install_info.get('component') and host_info.get('manager_ip'):
          variables_values.update({
            "manager_ip": host_info.get('manager_ip')})

        if "wazuh-server" in install_info.get('component'):
          pass # For future configurations

      if install_info.get('install_type') == "aio":
        variables_values.update({
          "version": install_info.get('version'),
          "name": install_info.get('component'),
          "component": install_info.get('component')})

      # Fix name variable with iterator
      if "aio" in install_info.get('install_type'):
        variables_values.update({
          "version": install_info.get('version'),
          "name": install_info.get('component'),
          "component": install_info.get('component')})

      return variables_values

    # -------------------------------------

Pllabybook example:

{% if host['ansible_os_family'] == 'Debian' %}
- name: Install the {{ component }}
  command: "apt-get -y install {{ component }}"
{% elif host['ansible_os_family'] == 'RedHat' %}
- name: Install the {{ component }}
  command: "yum -y install {{ component }}"
{% endif %}

As you can see, the code is much cleaner and shorter.

Ejemplo de installation:

Inventory:

all:
  hosts:
    Agent1:
      ansible_host: 172.16.1.2
      ansible_port: 22
      ansible_user: 'vagrant'
      ansible_ssh_private_key_file: '/root/.ssh/id_rsa'
      ansible_os_family: Debian
      manager_ip: 172.16.1.3
      install:
        - type: package
          component: wazuh-agent
        - component: curl
        - component: nano

    Manager:
      ansible_host: 172.16.1.3
      ansible_port: 22
      ansible_user: 'vagrant'
      ansible_ssh_private_key_file: '/root/.ssh/id_rsa'
      ansible_os_family: Debian
      install:
        - type: aio
          component: wazuh-server
          version: 4.6

  vars:
    ansible_ssh_common_args: '-o StrictHostKeyChecking=no'

Script execution:

root@jenkins:/var/lib/jenkins/workspace/provision2/poc-tests# python3 scripts/provision/provision.py -i inventory.yaml 
/bin/sh: 1: source: not found
Requirement already satisfied: pip in /usr/local/lib/python3.10/dist-packages (23.3.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: pyyaml==6.0.1 in /usr/local/lib/python3.10/dist-packages (from -r utils/requirements.txt (line 1)) (6.0.1)
Requirement already satisfied: ansible_runner==2.3.4 in /usr/local/lib/python3.10/dist-packages (from -r utils/requirements.txt (line 2)) (2.3.4)
Requirement already satisfied: ansible in /usr/local/lib/python3.10/dist-packages (from -r utils/requirements.txt (line 3)) (8.6.1)
Requirement already satisfied: pexpect>=4.5 in /usr/lib/python3/dist-packages (from ansible_runner==2.3.4->-r utils/requirements.txt (line 2)) (4.8.0)
Requirement already satisfied: packaging in /usr/local/lib/python3.10/dist-packages (from ansible_runner==2.3.4->-r utils/requirements.txt (line 2)) (23.2)
Requirement already satisfied: python-daemon in /usr/local/lib/python3.10/dist-packages (from ansible_runner==2.3.4->-r utils/requirements.txt (line 2)) (3.0.1)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from ansible_runner==2.3.4->-r utils/requirements.txt (line 2)) (1.16.0)
Requirement already satisfied: ansible-core~=2.15.6 in /usr/local/lib/python3.10/dist-packages (from ansible->-r utils/requirements.txt (line 3)) (2.15.6)
Requirement already satisfied: jinja2>=3.0.0 in /usr/lib/python3/dist-packages (from ansible-core~=2.15.6->ansible->-r utils/requirements.txt (line 3)) (3.0.3)
Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages (from ansible-core~=2.15.6->ansible->-r utils/requirements.txt (line 3)) (3.4.8)
Requirement already satisfied: resolvelib<1.1.0,>=0.5.3 in /usr/local/lib/python3.10/dist-packages (from ansible-core~=2.15.6->ansible->-r utils/requirements.txt (line 3)) (1.0.1)
Requirement already satisfied: docutils in /usr/local/lib/python3.10/dist-packages (from python-daemon->ansible_runner==2.3.4->-r utils/requirements.txt (line 2)) (0.20.1)
Requirement already satisfied: lockfile>=0.10 in /usr/local/lib/python3.10/dist-packages (from python-daemon->ansible_runner==2.3.4->-r utils/requirements.txt (line 2)) (0.12.2)
Requirement already satisfied: setuptools>=62.4.0 in /usr/local/lib/python3.10/dist-packages (from python-daemon->ansible_runner==2.3.4->-r utils/requirements.txt (line 2)) (68.2.2)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
handle install
{'component': 'wazuh-agent', 'install_type': 'package', 'version': None}
Installing Wazuh package with package manager
{'component': 'wazuh-agent', 'manager_ip': '172.16.1.3'}
{'ansible_host': '172.16.1.2', 'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/root/.ssh/id_rsa', 'ansible_os_family': 'Debian', 'manager_ip': '172.16.1.3', 'install': [{'type': 'package', 'component': 'wazuh-agent'}, {'component': 'curl'}, {'component': 'nano'}]}
{'component': 'wazuh-agent', 'install_type': 'wazuh/package', 'version': None}
{'hosts': 'Agent1', 'become': True, 'tasks': [{'name': 'Install packages', 'command': 'apt-get -y install gnupg apt-transport-https'}, {'name': 'Install GPG key', 'shell': 'curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg'}, {'name': 'Add Wazuh repository', 'shell': 'echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list'}, {'name': 'Update package information', 'command': 'apt-get update'}, {'name': 'Install the wazuh-agent', 'command': 'apt-get -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '172.16.1.3'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]}
No config file found; using defaults

PLAY [Agent1] ******************************************************************

TASK [Gathering Facts] *********************************************************
ok: [Agent1]

TASK [Install packages] ********************************************************
changed: [Agent1] => {"changed": true, "cmd": ["apt-get", "-y", "install", "gnupg", "apt-transport-https"], "delta": "0:00:00.488598", "end": "2023-11-18 00:19:05.766322", "msg": "", "rc": 0, "start": "2023-11-18 00:19:05.277724", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\ngnupg is already the newest version (2.2.27-3ubuntu2.1).\napt-transport-https is already the newest version (2.4.11).\n0 upgraded, 0 newly installed, 0 to remove and 59 not upgraded.", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "gnupg is already the newest version (2.2.27-3ubuntu2.1).", "apt-transport-https is already the newest version (2.4.11).", "0 upgraded, 0 newly installed, 0 to remove and 59 not upgraded."]}

TASK [Install GPG key] *********************************************************
changed: [Agent1] => {"changed": true, "cmd": "curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg", "delta": "0:00:00.140487", "end": "2023-11-18 00:19:06.157486", "msg": "", "rc": 0, "start": "2023-11-18 00:19:06.016999", "stderr": "gpg: key 96B3EE5F29111145: \"Wazuh.com (Wazuh Signing Key) <support@wazuh.com>\" not changed\ngpg: Total number processed: 1\ngpg:              unchanged: 1", "stderr_lines": ["gpg: key 96B3EE5F29111145: \"Wazuh.com (Wazuh Signing Key) <support@wazuh.com>\" not changed", "gpg: Total number processed: 1", "gpg:              unchanged: 1"], "stdout": "", "stdout_lines": []}

TASK [Add Wazuh repository] ****************************************************
changed: [Agent1] => {"changed": true, "cmd": "echo \"deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main\" | tee -a /etc/apt/sources.list.d/wazuh.list", "delta": "0:00:00.002798", "end": "2023-11-18 00:19:06.410021", "msg": "", "rc": 0, "start": "2023-11-18 00:19:06.407223", "stderr": "", "stderr_lines": [], "stdout": "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main", "stdout_lines": ["deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main"]}

TASK [Update package information] **********************************************
changed: [Agent1] => {"changed": true, "cmd": ["apt-get", "update"], "delta": "0:00:04.902634", "end": "2023-11-18 00:19:11.560541", "msg": "", "rc": 0, "start": "2023-11-18 00:19:06.657907", "stderr": "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25", "stderr_lines": ["W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25"], "stdout": "Hit:1 https://packages.wazuh.com/4.x/apt stable InRelease\nHit:2 http://us.archive.ubuntu.com/ubuntu jammy InRelease\nHit:3 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease\nHit:4 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease\nHit:5 http://us.archive.ubuntu.com/ubuntu jammy-security InRelease\nReading package lists...", "stdout_lines": ["Hit:1 https://packages.wazuh.com/4.x/apt stable InRelease", "Hit:2 http://us.archive.ubuntu.com/ubuntu jammy InRelease", "Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease", "Hit:4 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease", "Hit:5 http://us.archive.ubuntu.com/ubuntu jammy-security InRelease", "Reading package lists..."]}

TASK [Install the wazuh-agent] *************************************************
changed: [Agent1] => {"changed": true, "cmd": ["apt-get", "-y", "install", "wazuh-agent"], "delta": "0:00:00.481575", "end": "2023-11-18 00:19:12.342452", "msg": "", "rc": 0, "start": "2023-11-18 00:19:11.860877", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nwazuh-agent is already the newest version (4.6.0-1).\n0 upgraded, 0 newly installed, 0 to remove and 59 not upgraded.", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "wazuh-agent is already the newest version (4.6.0-1).", "0 upgraded, 0 newly installed, 0 to remove and 59 not upgraded."]}

TASK [Modify Wazuh manager IP in Wazuh agent] **********************************
ok: [Agent1] => {"changed": false, "msg": "", "rc": 0}

TASK [Enable wazuh-agent service] **********************************************
changed: [Agent1] => {"changed": true, "cmd": "systemctl daemon-reload && systemctl enable wazuh-agent", "delta": "0:00:00.523756", "end": "2023-11-18 00:19:13.460880", "msg": "", "rc": 0, "start": "2023-11-18 00:19:12.937124", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

TASK [Start wazuh-agent service] ***********************************************
changed: [Agent1] => {"changed": true, "cmd": "systemctl start wazuh-agent", "delta": "0:00:00.006281", "end": "2023-11-18 00:19:13.717567", "msg": "", "rc": 0, "start": "2023-11-18 00:19:13.711286", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

PLAY RECAP *********************************************************************
Agent1                     : ok=9    changed=7    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
handle install
{'component': 'curl', 'install_type': None, 'version': None}
Installing external package
{'component': 'curl'}
{'ansible_host': '172.16.1.2', 'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/root/.ssh/id_rsa', 'ansible_os_family': 'Debian', 'manager_ip': '172.16.1.3', 'install': [{'type': 'package', 'component': 'wazuh-agent'}, {'component': 'curl'}, {'component': 'nano'}]}
{'component': 'curl', 'install_type': 'external', 'version': None}
{'hosts': 'Agent1', 'become': True, 'tasks': [{'name': 'Install curl', 'apt': {'name': 'curl', 'state': 'present'}}]}
No config file found; using defaults

PLAY [Agent1] ******************************************************************

TASK [Gathering Facts] *********************************************************
ok: [Agent1]

TASK [Install curl] ************************************************************
ok: [Agent1] => {"cache_update_time": 1694246393, "cache_updated": false, "changed": false}

PLAY RECAP *********************************************************************
Agent1                     : ok=2    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
handle install
{'component': 'nano', 'install_type': None, 'version': None}
Installing external package
{'component': 'nano'}
{'ansible_host': '172.16.1.2', 'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/root/.ssh/id_rsa', 'ansible_os_family': 'Debian', 'manager_ip': '172.16.1.3', 'install': [{'type': 'package', 'component': 'wazuh-agent'}, {'component': 'curl'}, {'component': 'nano'}]}
{'component': 'nano', 'install_type': 'external', 'version': None}
{'hosts': 'Agent1', 'become': True, 'tasks': [{'name': 'Install nano', 'apt': {'name': 'nano', 'state': 'present'}}]}
No config file found; using defaults

PLAY [Agent1] ******************************************************************

TASK [Gathering Facts] *********************************************************
ok: [Agent1]

TASK [Install nano] ************************************************************
ok: [Agent1] => {"cache_update_time": 1694246393, "cache_updated": false, "changed": false}

PLAY RECAP *********************************************************************
Agent1                     : ok=2    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
handle install
{'component': 'wazuh-server', 'install_type': 'aio', 'version': 4.6}
Installing Wazuh package with AIO
{'component': 'wazuh-server', 'version': 4.6, 'name': 'wazuh-server'}
{'ansible_host': '172.16.1.3', 'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/root/.ssh/id_rsa', 'ansible_os_family': 'Debian', 'install': [{'type': 'aio', 'component': 'wazuh-server', 'version': 4.6}]}
{'component': 'wazuh-server', 'install_type': 'wazuh/aio', 'version': 4.6}
{'hosts': 'Manager', 'become': True, 'tasks': [{'name': 'Download the Wazuh installation assistant', 'shell': 'curl -sO https://packages.wazuh.com/4.6/wazuh-install.sh'}, {'name': 'Enable and start Wazuh service', 'shell': 'bash wazuh-install.sh --wazuh-server wazuh-server'}]}
No config file found; using defaults

PLAY [Manager] *****************************************************************

TASK [Gathering Facts] *********************************************************
ok: [Manager]

TASK [Download the Wazuh installation assistant] *******************************
changed: [Manager] => {"changed": true, "cmd": "curl -sO https://packages.wazuh.com/4.6/wazuh-install.sh", "delta": "0:00:00.108713", "end": "2023-11-18 00:19:23.166956", "msg": "", "rc": 0, "start": "2023-11-18 00:19:23.058243", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

TASK [Enable and start Wazuh service] ******************************************
changed: [Manager] => {"changed": true, "cmd": "bash wazuh-install.sh --wazuh-server wazuh-server", "delta": "0:01:15.384631", "end": "2023-11-18 00:20:38.804291", "msg": "", "rc": 0, "start": "2023-11-18 00:19:23.419660", "stderr": "", "stderr_lines": [], "stdout": "18/11/2023 00:19:23 INFO: Starting Wazuh installation assistant. Wazuh version: 4.6.0\n18/11/2023 00:19:23 INFO: Verbose logging redirected to /var/log/wazuh-install.log\n18/11/2023 00:19:38 INFO: Wazuh repository added.\n18/11/2023 00:19:38 INFO: --- Wazuh server ---\n18/11/2023 00:19:38 INFO: Starting the Wazuh manager installation.\n18/11/2023 00:20:10 INFO: Wazuh manager installation finished.\n18/11/2023 00:20:10 INFO: Starting service wazuh-manager.\n18/11/2023 00:20:27 INFO: wazuh-manager service started.\n18/11/2023 00:20:27 INFO: Starting Filebeat installation.\n18/11/2023 00:20:32 INFO: Filebeat installation finished.\n18/11/2023 00:20:32 INFO: Filebeat post-install configuration finished.\n18/11/2023 00:20:37 INFO: Starting service filebeat.\n18/11/2023 00:20:38 INFO: filebeat service started.\n18/11/2023 00:20:38 INFO: Installation finished.", "stdout_lines": ["18/11/2023 00:19:23 INFO: Starting Wazuh installation assistant. Wazuh version: 4.6.0", "18/11/2023 00:19:23 INFO: Verbose logging redirected to /var/log/wazuh-install.log", "18/11/2023 00:19:38 INFO: Wazuh repository added.", "18/11/2023 00:19:38 INFO: --- Wazuh server ---", "18/11/2023 00:19:38 INFO: Starting the Wazuh manager installation.", "18/11/2023 00:20:10 INFO: Wazuh manager installation finished.", "18/11/2023 00:20:10 INFO: Starting service wazuh-manager.", "18/11/2023 00:20:27 INFO: wazuh-manager service started.", "18/11/2023 00:20:27 INFO: Starting Filebeat installation.", "18/11/2023 00:20:32 INFO: Filebeat installation finished.", "18/11/2023 00:20:32 INFO: Filebeat post-install configuration finished.", "18/11/2023 00:20:37 INFO: Starting service filebeat.", "18/11/2023 00:20:38 INFO: filebeat service started.", "18/11/2023 00:20:38 INFO: Installation finished."]}

PLAY RECAP *********************************************************************
Manager                    : ok=3    changed=2    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
summary
{'skipped': {}, 'ok': {'Manager': 3}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'Manager': 1}, 'changed': {'Manager': 2}}
root@jenkins:/var/lib/jenkins/workspace/provision2/poc-tests# 
fcaffieri commented 5 months ago

Update status

Fix problem with Jenkins user to execute pipeline:

image

Jenkins log:

tarted by user [admin](http://172.16.1.57:8080/user/admin)
[Pipeline] Start of Pipeline
[Pipeline] node
Running on [Jenkins](http://172.16.1.57:8080/computer/(built-in)/) in /var/lib/jenkins/workspace/provision2
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Clone Repo)
[Pipeline] echo
Clone repository
[Pipeline] git
The recommended git tool is: git
No credentials specified
 > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/provision2/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/wazuh/wazuh-qa.git # timeout=10
Fetching upstream changes from https://github.com/wazuh/wazuh-qa.git
 > git --version # timeout=10
 > git --version # 'git version 2.34.1'
 > git fetch --tags --force --progress -- https://github.com/wazuh/wazuh-qa.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/enhancement/4665-dtt1-poc^{commit} # timeout=10
Checking out Revision f6c07a1c6356f102d2b4e62bfc93cc77ce06c670 (refs/remotes/origin/enhancement/4665-dtt1-poc)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f f6c07a1c6356f102d2b4e62bfc93cc77ce06c670 # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git branch -D enhancement/4665-dtt1-poc # timeout=10
 > git checkout -b enhancement/4665-dtt1-poc f6c07a1c6356f102d2b4e62bfc93cc77ce06c670 # timeout=10
Commit message: "Fix ssh private key for vagrant user"
 > git rev-list --no-walk b9710bd6d4ef6d451f0ebe48f4f87d8e41bd8c4a # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Provision)
[Pipeline] echo
Launch provision
[Pipeline] echo
/var/lib/jenkins/workspace/provision2
[Pipeline] sh
+ cd /var/lib/jenkins/workspace/provision2/poc-tests
+ python3 scripts/provision/provision.py -i inventory.yaml
/bin/sh: 1: source: not found
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in /var/lib/jenkins/.local/lib/python3.10/site-packages (23.3.1)
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pyyaml==6.0.1 in /usr/local/lib/python3.10/dist-packages (from -r utils/requirements.txt (line 1)) (6.0.1)
Requirement already satisfied: ansible_runner==2.3.4 in /usr/local/lib/python3.10/dist-packages (from -r utils/requirements.txt (line 2)) (2.3.4)
Requirement already satisfied: ansible in /usr/local/lib/python3.10/dist-packages (from -r utils/requirements.txt (line 3)) (8.6.1)
Requirement already satisfied: pexpect>=4.5 in /usr/lib/python3/dist-packages (from ansible_runner==2.3.4->-r utils/requirements.txt (line 2)) (4.8.0)
Requirement already satisfied: packaging in /usr/local/lib/python3.10/dist-packages (from ansible_runner==2.3.4->-r utils/requirements.txt (line 2)) (23.2)
Requirement already satisfied: python-daemon in /usr/local/lib/python3.10/dist-packages (from ansible_runner==2.3.4->-r utils/requirements.txt (line 2)) (3.0.1)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from ansible_runner==2.3.4->-r utils/requirements.txt (line 2)) (1.16.0)
Requirement already satisfied: ansible-core~=2.15.6 in /usr/local/lib/python3.10/dist-packages (from ansible->-r utils/requirements.txt (line 3)) (2.15.6)
Requirement already satisfied: jinja2>=3.0.0 in /usr/lib/python3/dist-packages (from ansible-core~=2.15.6->ansible->-r utils/requirements.txt (line 3)) (3.0.3)
Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages (from ansible-core~=2.15.6->ansible->-r utils/requirements.txt (line 3)) (3.4.8)
Requirement already satisfied: resolvelib<1.1.0,>=0.5.3 in /usr/local/lib/python3.10/dist-packages (from ansible-core~=2.15.6->ansible->-r utils/requirements.txt (line 3)) (1.0.1)
Requirement already satisfied: docutils in /usr/local/lib/python3.10/dist-packages (from python-daemon->ansible_runner==2.3.4->-r utils/requirements.txt (line 2)) (0.20.1)
Requirement already satisfied: lockfile>=0.10 in /usr/local/lib/python3.10/dist-packages (from python-daemon->ansible_runner==2.3.4->-r utils/requirements.txt (line 2)) (0.12.2)
Requirement already satisfied: setuptools>=62.4.0 in /usr/local/lib/python3.10/dist-packages (from python-daemon->ansible_runner==2.3.4->-r utils/requirements.txt (line 2)) (68.2.2)
Installing Wazuh package with package manager
No config file found; using defaults

PLAY [Agent1] ******************************************************************

TASK [Gathering Facts] *********************************************************
ok: [Agent1]

TASK [Install packages] ********************************************************
changed: [Agent1] => {"changed": true, "cmd": ["apt-get", "-y", "install", "gnupg", "apt-transport-https"], "delta": "0:00:00.587227", "end": "2023-11-21 13:51:29.088119", "msg": "", "rc": 0, "start": "2023-11-21 13:51:28.500892", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\ngnupg is already the newest version (2.2.27-3ubuntu2.1).\napt-transport-https is already the newest version (2.4.11).\n0 upgraded, 0 newly installed, 0 to remove and 59 not upgraded.", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "gnupg is already the newest version (2.2.27-3ubuntu2.1).", "apt-transport-https is already the newest version (2.4.11).", "0 upgraded, 0 newly installed, 0 to remove and 59 not upgraded."]}

TASK [Install GPG key] *********************************************************
changed: [Agent1] => {"changed": true, "cmd": "curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg", "delta": "0:00:00.164382", "end": "2023-11-21 13:51:29.516324", "msg": "", "rc": 0, "start": "2023-11-21 13:51:29.351942", "stderr": "gpg: key 96B3EE5F29111145: \"Wazuh.com (Wazuh Signing Key) <support@wazuh.com>\" not changed\ngpg: Total number processed: 1\ngpg:              unchanged: 1", "stderr_lines": ["gpg: key 96B3EE5F29111145: \"Wazuh.com (Wazuh Signing Key) <support@wazuh.com>\" not changed", "gpg: Total number processed: 1", "gpg:              unchanged: 1"], "stdout": "", "stdout_lines": []}

TASK [Add Wazuh repository] ****************************************************
changed: [Agent1] => {"changed": true, "cmd": "echo \"deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main\" | tee -a /etc/apt/sources.list.d/wazuh.list", "delta": "0:00:00.002876", "end": "2023-11-21 13:51:29.785965", "msg": "", "rc": 0, "start": "2023-11-21 13:51:29.783089", "stderr": "", "stderr_lines": [], "stdout": "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main", "stdout_lines": ["deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main"]}

TASK [Update package information] **********************************************
changed: [Agent1] => {"changed": true, "cmd": ["apt-get", "update"], "delta": "0:00:10.900587", "end": "2023-11-21 13:51:40.949683", "msg": "", "rc": 0, "start": "2023-11-21 13:51:30.049096", "stderr": "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:26\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:26\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:26\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:26\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25\nW: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:26\nW: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:26\nW: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:26\nW: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:26", "stderr_lines": ["W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:26", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:26", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:26", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:26", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:2", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:3", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:4", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:5", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:6", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:7", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:8", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:9", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:10", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:11", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:12", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:13", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:14", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:15", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:16", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:17", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:18", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:19", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:20", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:21", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:22", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:23", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:24", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:25", "W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:26", "W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:26", "W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:26", "W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/wazuh.list:1 and /etc/apt/sources.list.d/wazuh.list:26"], "stdout": "Hit:1 https://packages.wazuh.com/4.x/apt stable InRelease\nHit:2 http://us.archive.ubuntu.com/ubuntu jammy InRelease\nGet:3 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]\nHit:4 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease\nGet:5 http://us.archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]\nGet:6 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1,194 kB]\nGet:7 http://us.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [251 kB]\nGet:8 http://us.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [1,159 kB]\nGet:9 http://us.archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [188 kB]\nGet:10 http://us.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [999 kB]\nGet:11 http://us.archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [219 kB]\nGet:12 http://us.archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages [983 kB]\nGet:13 http://us.archive.ubuntu.com/ubuntu jammy-security/main Translation-en [191 kB]\nGet:14 http://us.archive.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [1,134 kB]\nGet:15 http://us.archive.ubuntu.com/ubuntu jammy-security/restricted Translation-en [185 kB]\nGet:16 http://us.archive.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [795 kB]\nGet:17 http://us.archive.ubuntu.com/ubuntu jammy-security/universe Translation-en [147 kB]\nFetched 7,674 kB in 6s (1,233 kB/s)\nReading package lists...", "stdout_lines": ["Hit:1 https://packages.wazuh.com/4.x/apt stable InRelease", "Hit:2 http://us.archive.ubuntu.com/ubuntu jammy InRelease", "Get:3 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]", "Hit:4 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease", "Get:5 http://us.archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]", "Get:6 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1,194 kB]", "Get:7 http://us.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [251 kB]", "Get:8 http://us.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [1,159 kB]", "Get:9 http://us.archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [188 kB]", "Get:10 http://us.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [999 kB]", "Get:11 http://us.archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [219 kB]", "Get:12 http://us.archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages [983 kB]", "Get:13 http://us.archive.ubuntu.com/ubuntu jammy-security/main Translation-en [191 kB]", "Get:14 http://us.archive.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [1,134 kB]", "Get:15 http://us.archive.ubuntu.com/ubuntu jammy-security/restricted Translation-en [185 kB]", "Get:16 http://us.archive.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [795 kB]", "Get:17 http://us.archive.ubuntu.com/ubuntu jammy-security/universe Translation-en [147 kB]", "Fetched 7,674 kB in 6s (1,233 kB/s)", "Reading package lists..."]}

TASK [Install the wazuh-agent] *************************************************
changed: [Agent1] => {"changed": true, "cmd": ["apt-get", "-y", "install", "wazuh-agent"], "delta": "0:00:00.548685", "end": "2023-11-21 13:51:41.770492", "msg": "", "rc": 0, "start": "2023-11-21 13:51:41.221807", "stderr": "", "stderr_lines": [], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nwazuh-agent is already the newest version (4.6.0-1).\n0 upgraded, 0 newly installed, 0 to remove and 59 not upgraded.", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "wazuh-agent is already the newest version (4.6.0-1).", "0 upgraded, 0 newly installed, 0 to remove and 59 not upgraded."]}

TASK [Modify Wazuh manager IP in Wazuh agent] **********************************
ok: [Agent1] => {"changed": false, "msg": "", "rc": 0}

TASK [Enable wazuh-agent service] **********************************************
changed: [Agent1] => {"changed": true, "cmd": "systemctl daemon-reload && systemctl enable wazuh-agent", "delta": "0:00:00.599464", "end": "2023-11-21 13:51:43.038609", "msg": "", "rc": 0, "start": "2023-11-21 13:51:42.439145", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

TASK [Start wazuh-agent service] ***********************************************
changed: [Agent1] => {"changed": true, "cmd": "systemctl start wazuh-agent", "delta": "0:00:00.006870", "end": "2023-11-21 13:51:43.341478", "msg": "", "rc": 0, "start": "2023-11-21 13:51:43.334608", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

PLAY RECAP *********************************************************************
Agent1                     : ok=9    changed=7    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
Installing external package
No config file found; using defaults

PLAY [Agent1] ******************************************************************

TASK [Gathering Facts] *********************************************************
ok: [Agent1]

TASK [Install curl] ************************************************************
ok: [Agent1] => {"cache_update_time": 1694246393, "cache_updated": false, "changed": false}

PLAY RECAP *********************************************************************
Agent1                     : ok=2    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
Installing external package
No config file found; using defaults

PLAY [Agent1] ******************************************************************

TASK [Gathering Facts] *********************************************************
ok: [Agent1]

TASK [Install nano] ************************************************************
ok: [Agent1] => {"cache_update_time": 1694246393, "cache_updated": false, "changed": false}

PLAY RECAP *********************************************************************
Agent1                     : ok=2    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
Installing Wazuh package with AIO
No config file found; using defaults

PLAY [Manager] *****************************************************************

TASK [Gathering Facts] *********************************************************
ok: [Manager]

TASK [Download the Wazuh installation assistant] *******************************
changed: [Manager] => {"changed": true, "cmd": "curl -sO https://packages.wazuh.com/4.6/wazuh-install.sh", "delta": "0:00:00.342975", "end": "2023-11-21 13:51:53.791781", "msg": "", "rc": 0, "start": "2023-11-21 13:51:53.448806", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

TASK [Install wazuh-server with asistant] **************************************
fatal: [Manager]: FAILED! => {"changed": true, "cmd": "bash wazuh-install.sh --wazuh-server wazuh-server", "delta": "0:00:13.346610", "end": "2023-11-21 13:52:07.403336", "msg": "non-zero return code", "rc": 1, "start": "2023-11-21 13:51:54.056726", "stderr": "", "stderr_lines": [], "stdout": "21/11/2023 13:51:54 INFO: Starting Wazuh installation assistant. Wazuh version: 4.6.0\n21/11/2023 13:51:54 INFO: Verbose logging redirected to /var/log/wazuh-install.log\n21/11/2023 13:52:07 ERROR: Wazuh server components (wazuh-manager and filebeat) are already installed in this node or some of their files have not been removed. Use option -o|--overwrite to overwrite all components.", "stdout_lines": ["21/11/2023 13:51:54 INFO: Starting Wazuh installation assistant. Wazuh version: 4.6.0", "21/11/2023 13:51:54 INFO: Verbose logging redirected to /var/log/wazuh-install.log", "21/11/2023 13:52:07 ERROR: Wazuh server components (wazuh-manager and filebeat) are already installed in this node or some of their files have not been removed. Use option -o|--overwrite to overwrite all components."]}

PLAY RECAP *********************************************************************
Manager                    : ok=2    changed=1    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0   
summary
{'skipped': {}, 'ok': {'Manager': 2}, 'dark': {}, 'failures': {'Manager': 1}, 'ignored': {}, 'rescued': {}, 'processed': {'Manager': 1}, 'changed': {'Manager': 1}}
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS

Moved to on hold due to wait team synchronization and integration with the other modules.

fcaffieri commented 5 months ago

The PoC was finalized and presented to the interested parties, the DTT work will continue from other issues.

rauldpm commented 5 months ago

Review: https://github.com/wazuh/wazuh-qa/issues/4524#issuecomment-1850360532

fcaffieri commented 4 months ago

Reviews answered at https://github.com/wazuh/wazuh-qa/issues/4524#issuecomment-1871507629