[2024-04-08 17:05:03,477] [INFO] [107115] [MainThread] [workflow_engine]: Executing DAG tasks. [2024-04-08 17:05:03,478] [INFO] [107115] [MainThread] [workflow_engine]: Executing tasks in parallel. [2024-04-08 17:05:03,479] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-04-08 17:05:03,815] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 17:05:03,815] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 17:05:03,815] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 17:05:07,251] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 17:05:07,251] [INFO] ALLOCATOR: Instance VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9 created. [2024-04-08 17:05:46,782] [INFO] ALLOCATOR: Instance VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9 started. [2024-04-08 17:05:50,277] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml [2024-04-08 17:05:53,632] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/track.yaml [2024-04-08 17:05:53,703] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 50.22 seconds. [2024-04-08 17:05:53,713] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task. [2024-04-08 17:05:54,084] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 17:05:54,085] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 17:05:54,085] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 17:05:57,462] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 17:05:57,462] [INFO] ALLOCATOR: Instance VAGRANT-EA77F8FC-FB42-42D2-8B66-0482C0BCE136 created. [2024-04-08 17:06:38,576] [INFO] ALLOCATOR: Instance VAGRANT-EA77F8FC-FB42-42D2-8B66-0482C0BCE136 started. [2024-04-08 17:06:42,464] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-centos-7-amd64/inventory.yaml [2024-04-08 17:06:46,053] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-centos-7-amd64/track.yaml [2024-04-08 17:06:46,164] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 52.44 seconds. [2024-04-08 17:06:46,175] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task. [2024-04-08 17:06:46,740] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 17:06:46,741] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 17:06:46,741] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 17:06:52,000] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 17:06:52,000] [INFO] ALLOCATOR: Instance VAGRANT-5FBF4BC5-CE27-4E31-85FD-3C3850CB22F0 created. [2024-04-08 17:07:38,262] [INFO] ALLOCATOR: Instance VAGRANT-5FBF4BC5-CE27-4E31-85FD-3C3850CB22F0 started. [2024-04-08 17:07:42,027] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-centos-8-amd64/inventory.yaml [2024-04-08 17:07:45,724] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-centos-8-amd64/track.yaml [2024-04-08 17:07:45,786] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 59.60 seconds. [2024-04-08 17:07:45,792] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task. [2024-04-08 17:07:46,151] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 17:07:46,151] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 17:07:46,151] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 17:07:50,298] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 17:07:50,299] [INFO] ALLOCATOR: Instance VAGRANT-7CD30FD5-3979-43FC-88BC-24925327C6D2 created. [2024-04-08 17:08:34,956] [INFO] ALLOCATOR: Instance VAGRANT-7CD30FD5-3979-43FC-88BC-24925327C6D2 started. [2024-04-08 17:08:38,986] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml [2024-04-08 17:08:43,259] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-redhat-7-amd64/track.yaml [2024-04-08 17:08:43,323] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 57.53 seconds. [2024-04-08 17:08:43,328] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task. [2024-04-08 17:08:43,742] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 17:08:43,742] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 17:08:43,742] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 17:08:47,575] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 17:08:47,576] [INFO] ALLOCATOR: Instance VAGRANT-3161C2DC-5232-409F-AD5A-03DB33F8862B created. [2024-04-08 17:09:36,185] [INFO] ALLOCATOR: Instance VAGRANT-3161C2DC-5232-409F-AD5A-03DB33F8862B started. [2024-04-08 17:09:39,735] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-redhat-8-amd64/inventory.yaml [2024-04-08 17:09:43,625] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-redhat-8-amd64/track.yaml [2024-04-08 17:09:43,720] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 60.39 seconds. [2024-04-08 17:09:43,731] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task. [2024-04-08 17:09:44,130] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 17:09:44,130] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 17:09:44,130] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 17:09:48,042] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 17:09:48,042] [INFO] ALLOCATOR: Instance VAGRANT-DAFAE600-3236-4CCB-BEA9-82B1D3C6FEFB created. [2024-04-08 17:10:33,096] [INFO] ALLOCATOR: Instance VAGRANT-DAFAE600-3236-4CCB-BEA9-82B1D3C6FEFB started. [2024-04-08 17:10:36,604] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-redhat-9-amd64/inventory.yaml [2024-04-08 17:10:40,155] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-redhat-9-amd64/track.yaml [2024-04-08 17:10:40,227] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 56.49 seconds. [2024-04-08 17:10:40,237] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task. [2024-04-08 17:10:40,583] [INFO] ALLOCATOR: Creating instance at /tmp/wazuh-qa [2024-04-08 17:10:40,584] [DEBUG] ALLOCATOR: No config provided. Generating from payload [2024-04-08 17:10:40,584] [DEBUG] ALLOCATOR: Generating new key pair [2024-04-08 17:10:44,062] [DEBUG] ALLOCATOR: Vagrantfile created. Creating instance. [2024-04-08 17:10:44,062] [INFO] ALLOCATOR: Instance VAGRANT-396031BD-7934-4346-B99E-CEB8E92DCEF4 created. [2024-04-08 17:11:53,252] [INFO] ALLOCATOR: Instance VAGRANT-396031BD-7934-4346-B99E-CEB8E92DCEF4 started. [2024-04-08 17:11:56,826] [INFO] ALLOCATOR: Inventory file generated at /tmp/dtt1-poc/agent-linux-amazon-2-amd64/inventory.yaml [2024-04-08 17:12:00,688] [INFO] ALLOCATOR: Track file generated at /tmp/dtt1-poc/agent-linux-amazon-2-amd64/track.yaml [2024-04-08 17:12:00,775] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 80.53 seconds. [2024-04-08 17:12:00,786] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-04-08 17:12:01,191] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:12:01,192] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.2', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} [2024-04-08 17:12:04,603] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.2', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}} [2024-04-08 17:12:04,603] [DEBUG] ANSIBLE: Templates found: ['download.j2', 'install.j2'] [2024-04-08 17:12:04,610] [DEBUG] ANSIBLE: Rendering template download.j2 [2024-04-08 17:12:04,612] [DEBUG] ANSIBLE: Rendering template install.j2 [2024-04-08 17:12:04,613] [DEBUG] ANSIBLE: [{'name': 'Install the required packages', 'shell': '\nsudo apt-get update && apt-get -y install curl\n'}, {'name': 'Download the Wazuh installation assistant', 'shell': 'curl -sO https://packages.wazuh.com/4.7/wazuh-install.sh'}, {'name': 'Install wazuh-manager with asistant', 'shell': 'bash ./wazuh-install.sh -a -i'}] [2024-04-08 17:12:04,613] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:12:04,613] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.2', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Install the required packages', 'shell': '\nsudo apt-get update && apt-get -y install curl\n'}, {'name': 'Download the Wazuh installation assistant', 'shell': 'curl -sO https://packages.wazuh.com/4.7/wazuh-install.sh'}, {'name': 'Install wazuh-manager with asistant', 'shell': 'bash ./wazuh-install.sh -a -i'}]} [2024-04-08 17:17:43,024] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.2', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Install the required packages', 'shell': '\nsudo apt-get update && apt-get -y install curl\n'}, {'name': 'Download the Wazuh installation assistant', 'shell': 'curl -sO https://packages.wazuh.com/4.7/wazuh-install.sh'}, {'name': 'Install wazuh-manager with asistant', 'shell': 'bash ./wazuh-install.sh -a -i'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.2': 4}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {'192.168.57.2': 3}} [2024-04-08 17:17:43,099] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-manager-linux-ubuntu-22.04-amd64] Finished task in 342.30 seconds. [2024-04-08 17:17:43,115] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-centos-7-amd64] Starting task. [2024-04-08 17:17:43,489] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.3': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-EA77F8FC-FB42-42D2-8B66-0482C0BCE136/instance_key'}}}} [2024-04-08 17:17:43,489] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.3', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} [2024-04-08 17:17:45,750] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.3', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} finished with status {'skipped': {}, 'ok': {'192.168.57.3': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.3': 1}, 'changed': {}} [2024-04-08 17:17:45,751] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2'] [2024-04-08 17:17:45,766] [DEBUG] ANSIBLE: Rendering template set_repo.j2 [2024-04-08 17:17:45,773] [DEBUG] ANSIBLE: Rendering template install.j2 [2024-04-08 17:17:45,776] [DEBUG] ANSIBLE: Rendering template register.j2 [2024-04-08 17:17:45,779] [DEBUG] ANSIBLE: Rendering template service.j2 [2024-04-08 17:17:45,780] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}] [2024-04-08 17:17:45,780] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.3': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-EA77F8FC-FB42-42D2-8B66-0482C0BCE136/instance_key'}}}} [2024-04-08 17:17:45,780] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.3', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} [2024-04-08 17:18:46,948] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.3', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.3': 8}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.3': 1}, 'changed': {'192.168.57.3': 7}} [2024-04-08 17:18:47,016] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-centos-7-amd64] Finished task in 63.89 seconds. [2024-04-08 17:18:47,021] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-centos-8-amd64] Starting task. [2024-04-08 17:18:47,406] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.4': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-5FBF4BC5-CE27-4E31-85FD-3C3850CB22F0/instance_key'}}}} [2024-04-08 17:18:47,406] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.4', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} [2024-04-08 17:18:49,966] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.4', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} finished with status {'skipped': {}, 'ok': {'192.168.57.4': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.4': 1}, 'changed': {}} [2024-04-08 17:18:49,967] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2'] [2024-04-08 17:18:49,974] [DEBUG] ANSIBLE: Rendering template set_repo.j2 [2024-04-08 17:18:49,978] [DEBUG] ANSIBLE: Rendering template install.j2 [2024-04-08 17:18:49,980] [DEBUG] ANSIBLE: Rendering template register.j2 [2024-04-08 17:18:49,981] [DEBUG] ANSIBLE: Rendering template service.j2 [2024-04-08 17:18:49,982] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}] [2024-04-08 17:18:49,982] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.4': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-5FBF4BC5-CE27-4E31-85FD-3C3850CB22F0/instance_key'}}}} [2024-04-08 17:18:49,982] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.4', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} [2024-04-08 17:20:17,072] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.4', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.4': 8}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.4': 1}, 'changed': {'192.168.57.4': 7}} [2024-04-08 17:20:17,133] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-centos-8-amd64] Finished task in 90.11 seconds. [2024-04-08 17:20:17,139] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-redhat-7-amd64] Starting task. [2024-04-08 17:20:17,509] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.5': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-7CD30FD5-3979-43FC-88BC-24925327C6D2/instance_key'}}}} [2024-04-08 17:20:17,510] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.5', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} [2024-04-08 17:20:19,943] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.5', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} finished with status {'skipped': {}, 'ok': {'192.168.57.5': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.5': 1}, 'changed': {}} [2024-04-08 17:20:19,944] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2'] [2024-04-08 17:20:19,950] [DEBUG] ANSIBLE: Rendering template set_repo.j2 [2024-04-08 17:20:19,954] [DEBUG] ANSIBLE: Rendering template install.j2 [2024-04-08 17:20:19,956] [DEBUG] ANSIBLE: Rendering template register.j2 [2024-04-08 17:20:19,957] [DEBUG] ANSIBLE: Rendering template service.j2 [2024-04-08 17:20:19,958] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}] [2024-04-08 17:20:19,958] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.5': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-7CD30FD5-3979-43FC-88BC-24925327C6D2/instance_key'}}}} [2024-04-08 17:20:19,958] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.5', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} [2024-04-08 17:21:02,571] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.5', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.5': 8}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.5': 1}, 'changed': {'192.168.57.5': 7}} [2024-04-08 17:21:02,646] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-redhat-7-amd64] Finished task in 45.50 seconds. [2024-04-08 17:21:02,657] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-redhat-8-amd64] Starting task. [2024-04-08 17:21:03,034] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.6': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-3161C2DC-5232-409F-AD5A-03DB33F8862B/instance_key'}}}} [2024-04-08 17:21:03,034] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.6', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} [2024-04-08 17:21:05,928] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.6', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} finished with status {'skipped': {}, 'ok': {'192.168.57.6': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.6': 1}, 'changed': {}} [2024-04-08 17:21:05,929] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2'] [2024-04-08 17:21:05,937] [DEBUG] ANSIBLE: Rendering template set_repo.j2 [2024-04-08 17:21:05,942] [DEBUG] ANSIBLE: Rendering template install.j2 [2024-04-08 17:21:05,944] [DEBUG] ANSIBLE: Rendering template register.j2 [2024-04-08 17:21:05,947] [DEBUG] ANSIBLE: Rendering template service.j2 [2024-04-08 17:21:05,948] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}] [2024-04-08 17:21:05,948] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.6': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-3161C2DC-5232-409F-AD5A-03DB33F8862B/instance_key'}}}} [2024-04-08 17:21:05,948] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.6', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} [2024-04-08 17:22:28,634] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.6', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.6': 8}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.6': 1}, 'changed': {'192.168.57.6': 7}} [2024-04-08 17:22:28,727] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-redhat-8-amd64] Finished task in 86.06 seconds. [2024-04-08 17:22:28,737] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-redhat-9-amd64] Starting task. [2024-04-08 17:22:29,096] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.7': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-DAFAE600-3236-4CCB-BEA9-82B1D3C6FEFB/instance_key'}}}} [2024-04-08 17:22:29,096] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.7', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} [2024-04-08 17:22:31,756] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.7', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} finished with status {'skipped': {}, 'ok': {'192.168.57.7': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.7': 1}, 'changed': {}} [2024-04-08 17:22:31,756] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2'] [2024-04-08 17:22:31,763] [DEBUG] ANSIBLE: Rendering template set_repo.j2 [2024-04-08 17:22:31,767] [DEBUG] ANSIBLE: Rendering template install.j2 [2024-04-08 17:22:31,768] [DEBUG] ANSIBLE: Rendering template register.j2 [2024-04-08 17:22:31,770] [DEBUG] ANSIBLE: Rendering template service.j2 [2024-04-08 17:22:31,771] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}] [2024-04-08 17:22:31,771] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.7': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-DAFAE600-3236-4CCB-BEA9-82B1D3C6FEFB/instance_key'}}}} [2024-04-08 17:22:31,771] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.7', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} [2024-04-08 17:23:33,944] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.7', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.7': 8}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.7': 1}, 'changed': {'192.168.57.7': 7}} [2024-04-08 17:23:34,039] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-redhat-9-amd64] Finished task in 65.29 seconds. [2024-04-08 17:23:34,050] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-amazon-2-amd64] Starting task. [2024-04-08 17:23:34,414] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.8': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-396031BD-7934-4346-B99E-CEB8E92DCEF4/instance_key'}}}} [2024-04-08 17:23:34,415] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.8', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} [2024-04-08 17:23:46,529] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.8', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Capture ansible_os_family', 'set_fact': {'ansible_os_family': "{{ ansible_facts['distribution_file_variety'] }}", 'cacheable': 'yes'}}]} finished with status {'skipped': {}, 'ok': {'192.168.57.8': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.8': 1}, 'changed': {}} [2024-04-08 17:23:46,529] [DEBUG] ANSIBLE: Templates found: ['set_repo.j2', 'install.j2', 'register.j2', 'service.j2'] [2024-04-08 17:23:46,537] [DEBUG] ANSIBLE: Rendering template set_repo.j2 [2024-04-08 17:23:46,541] [DEBUG] ANSIBLE: Rendering template install.j2 [2024-04-08 17:23:46,544] [DEBUG] ANSIBLE: Rendering template register.j2 [2024-04-08 17:23:46,547] [DEBUG] ANSIBLE: Rendering template service.j2 [2024-04-08 17:23:46,547] [DEBUG] ANSIBLE: [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}] [2024-04-08 17:23:46,548] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.8': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-396031BD-7934-4346-B99E-CEB8E92DCEF4/instance_key'}}}} [2024-04-08 17:23:46,548] [DEBUG] ANSIBLE: Running playbook: {'hosts': '192.168.57.8', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} [2024-04-08 17:24:32,431] [DEBUG] ANSIBLE: Playbook {'hosts': '192.168.57.8', 'become': True, 'gather_facts': True, 'tasks': [{'name': 'Update packages cache', 'command': 'yum makecache'}, {'name': 'Import the GPG key', 'command': 'rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH'}, {'name': 'Add Wazuh repository', 'shell': "echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo"}, {'name': 'Install the wazuh-agent', 'command': 'yum -y install wazuh-agent'}, {'name': 'Modify Wazuh manager IP in Wazuh agent', 'replace': {'path': '/var/ossec/etc/ossec.conf', 'regexp': 'MANAGER_IP', 'replace': '192.168.57.2'}}, {'name': 'Enable wazuh-agent service', 'shell': 'systemctl daemon-reload && systemctl enable wazuh-agent'}, {'name': 'Start wazuh-agent service', 'shell': 'systemctl start wazuh-agent'}]} finished with status {'skipped': {}, 'ok': {'192.168.57.8': 8}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.8': 1}, 'changed': {'192.168.57.8': 7}} [2024-04-08 17:24:32,518] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [provision-install-linux-amazon-2-amd64] Finished task in 58.46 seconds. [2024-04-08 17:24:32,528] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-centos-7-amd64-tests] Starting task. [2024-04-08 17:24:32,930] [INFO] TESTER: Running tests for 192.168.57.2 [2024-04-08 17:24:32,931] [INFO] TESTER: Running tests for 192.168.57.3 [2024-04-08 17:24:32,932] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['192.168.57.2', '192.168.57.3'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-centos-7-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'} [2024-04-08 17:24:32,938] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml [2024-04-08 17:24:32,940] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:24:32,940] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.3']}]}] [2024-04-08 17:24:39,775] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.3']}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-08 17:24:39,779] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-08 17:24:39,782] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:24:39,783] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-centos-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] [2024-04-08 17:24:43,594] [INFO] [Testing]: Checking connection to centos-7 [2024-04-08 17:24:43,922] [INFO] [Testing]: Connection established successfully in centos-7 [2024-04-08 17:24:45,984] [INFO] [Testing]: Restarting wazuh-agent in centos-7 [2024-04-08 17:24:54,414] [INFO] [Testing]: Getting status of centos-7 [2024-04-08 17:24:57,407] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-centos-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-08 17:24:57,409] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:24:57,409] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 17:25:01,504] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}} [2024-04-08 17:25:01,505] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:25:01,505] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 17:25:04,927] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}} [2024-04-08 17:25:05,026] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-centos-7-amd64-tests] Finished task in 32.49 seconds. [2024-04-08 17:25:05,037] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-centos-8-amd64-tests] Starting task. [2024-04-08 17:25:05,555] [INFO] TESTER: Running tests for 192.168.57.2 [2024-04-08 17:25:05,556] [INFO] TESTER: Running tests for 192.168.57.4 [2024-04-08 17:25:05,556] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['192.168.57.2', '192.168.57.4'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-centos-8-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'} [2024-04-08 17:25:05,564] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml [2024-04-08 17:25:05,566] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:25:05,567] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.4']}]}] [2024-04-08 17:25:12,351] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.4']}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-08 17:25:12,355] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-08 17:25:12,357] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:25:12,357] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-centos-8-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] [2024-04-08 17:25:16,097] [INFO] [Testing]: Checking connection to centos-8 [2024-04-08 17:25:16,426] [INFO] [Testing]: Connection established successfully in centos-8 [2024-04-08 17:25:17,579] [INFO] [Testing]: Restarting wazuh-agent in centos-8 [2024-04-08 17:25:25,893] [INFO] [Testing]: Getting status of centos-8 [2024-04-08 17:25:27,930] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-centos-8-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-08 17:25:27,932] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:25:27,933] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 17:25:31,079] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}} [2024-04-08 17:25:31,081] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:25:31,081] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 17:25:34,264] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}} [2024-04-08 17:25:34,344] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-centos-8-amd64-tests] Finished task in 29.30 seconds. [2024-04-08 17:25:34,355] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-redhat-7-amd64-tests] Starting task. [2024-04-08 17:25:34,747] [INFO] TESTER: Running tests for 192.168.57.2 [2024-04-08 17:25:34,748] [INFO] TESTER: Running tests for 192.168.57.5 [2024-04-08 17:25:34,749] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['192.168.57.2', '192.168.57.5'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'} [2024-04-08 17:25:34,755] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml [2024-04-08 17:25:34,757] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:25:34,757] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.5']}]}] [2024-04-08 17:25:41,329] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.5']}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-08 17:25:41,331] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-08 17:25:41,333] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:25:41,333] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] [2024-04-08 17:25:45,258] [INFO] [Testing]: Checking connection to redhat-7 [2024-04-08 17:25:45,630] [INFO] [Testing]: Connection established successfully in redhat-7 [2024-04-08 17:25:47,870] [INFO] [Testing]: Restarting wazuh-agent in redhat-7 [2024-04-08 17:25:56,915] [INFO] [Testing]: Getting status of redhat-7 [2024-04-08 17:26:00,071] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-7-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-08 17:26:00,073] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:26:00,073] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 17:26:03,071] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}} [2024-04-08 17:26:03,072] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:26:03,072] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 17:26:05,987] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}} [2024-04-08 17:26:06,076] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-redhat-7-amd64-tests] Finished task in 31.71 seconds. [2024-04-08 17:26:06,087] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-redhat-8-amd64-tests] Starting task. [2024-04-08 17:26:06,694] [INFO] TESTER: Running tests for 192.168.57.2 [2024-04-08 17:26:06,696] [INFO] TESTER: Running tests for 192.168.57.6 [2024-04-08 17:26:06,696] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['192.168.57.2', '192.168.57.6'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-8-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'} [2024-04-08 17:26:06,705] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml [2024-04-08 17:26:06,707] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:26:06,707] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.6']}]}] [2024-04-08 17:26:13,295] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.6']}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-08 17:26:13,297] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-08 17:26:13,298] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:26:13,299] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-8-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] [2024-04-08 17:26:16,972] [INFO] [Testing]: Checking connection to redhat-8 [2024-04-08 17:26:17,374] [INFO] [Testing]: Connection established successfully in redhat-8 [2024-04-08 17:26:18,520] [INFO] [Testing]: Restarting wazuh-agent in redhat-8 [2024-04-08 17:26:26,819] [INFO] [Testing]: Getting status of redhat-8 [2024-04-08 17:26:29,104] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-8-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-08 17:26:29,105] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:26:29,106] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 17:26:32,281] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}} [2024-04-08 17:26:32,283] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:26:32,283] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 17:26:35,698] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}} [2024-04-08 17:26:35,816] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-redhat-8-amd64-tests] Finished task in 29.72 seconds. [2024-04-08 17:26:35,826] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-redhat-9-amd64-tests] Starting task. [2024-04-08 17:26:36,269] [INFO] TESTER: Running tests for 192.168.57.2 [2024-04-08 17:26:36,270] [INFO] TESTER: Running tests for 192.168.57.7 [2024-04-08 17:26:36,270] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['192.168.57.2', '192.168.57.7'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-9-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'} [2024-04-08 17:26:36,277] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml [2024-04-08 17:26:36,279] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:26:36,279] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.7']}]}] [2024-04-08 17:26:42,772] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.7']}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-08 17:26:42,777] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-08 17:26:42,780] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:26:42,780] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-9-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] [2024-04-08 17:26:46,584] [INFO] [Testing]: Checking connection to redhat-9 [2024-04-08 17:26:46,930] [INFO] [Testing]: Connection established successfully in redhat-9 [2024-04-08 17:26:48,281] [INFO] [Testing]: Restarting wazuh-agent in redhat-9 [2024-04-08 17:26:56,859] [INFO] [Testing]: Getting status of redhat-9 [2024-04-08 17:26:59,095] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-redhat-9-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-08 17:26:59,097] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:26:59,097] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 17:27:01,905] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}} [2024-04-08 17:27:01,907] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:27:01,907] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 17:27:05,290] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}} [2024-04-08 17:27:05,395] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-redhat-9-amd64-tests] Finished task in 29.56 seconds. [2024-04-08 17:27:05,406] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-amazon-2-amd64-tests] Starting task. [2024-04-08 17:27:05,914] [INFO] TESTER: Running tests for 192.168.57.2 [2024-04-08 17:27:05,915] [INFO] TESTER: Running tests for 192.168.57.8 [2024-04-08 17:27:05,916] [DEBUG] TESTER: Using extra vars: {'component': 'agent', 'wazuh_version': '4.7.3', 'wazuh_revision': '40714', 'wazuh_branch': None, 'working_dir': '/tmp/tests', 'live': True, 'hosts_ip': ['192.168.57.2', '192.168.57.8'], 'targets': '{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-amazon-2-amd64/inventory.yaml}', 'dependencies': '{}', 'local_host_path': '/home/akim/Desktop/wazuh-qa/deployability', 'current_user': 'akim'} [2024-04-08 17:27:05,923] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/setup.yml [2024-04-08 17:27:05,925] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:27:05,925] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.8']}]}] [2024-04-08 17:27:12,793] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Cleaning old key ssh-keygen registries', 'ansible.builtin.command': {'cmd': "ssh-keygen -f /home/akim/.ssh/known_hosts -R ''"}, 'loop': ['192.168.57.2', '192.168.57.8']}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-08 17:27:12,796] [DEBUG] ANSIBLE: Rendering template /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/test.yml [2024-04-08 17:27:12,797] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:27:12,797] [DEBUG] ANSIBLE: Running playbook: [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-amazon-2-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] [2024-04-08 17:27:16,548] [INFO] [Testing]: Checking connection to amazon-2 [2024-04-08 17:27:16,872] [INFO] [Testing]: Connection established successfully in amazon-2 [2024-04-08 17:27:17,498] [INFO] [Testing]: Restarting wazuh-agent in amazon-2 [2024-04-08 17:27:25,871] [INFO] [Testing]: Getting status of amazon-2 [2024-04-08 17:27:27,700] [DEBUG] ANSIBLE: Playbook [{'hosts': 'localhost', 'become': True, 'become_user': 'akim', 'tasks': [{'name': 'Test restart for agent', 'command': "python3 -m pytest modules/testing/tests/test_agent/test_restart.py -v --wazuh_version=4.7.3 --wazuh_revision=40714 --component=agent --dependencies='{}' --targets='{wazuh-1: /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/inventory.yaml, agent: /tmp/dtt1-poc/agent-linux-amazon-2-amd64/inventory.yaml}' --live=True -s", 'args': {'chdir': '/home/akim/Desktop/wazuh-qa/deployability'}}]}] finished with status {'skipped': {}, 'ok': {'localhost': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'localhost': 1}, 'changed': {'localhost': 1}} [2024-04-08 17:27:27,702] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:27:27,703] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 17:27:31,029] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}} [2024-04-08 17:27:31,032] [DEBUG] ANSIBLE: Using inventory: {'all': {'hosts': {'192.168.57.2': {'ansible_port': 22, 'ansible_user': 'vagrant', 'ansible_ssh_private_key_file': '/tmp/wazuh-qa/VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9/instance_key'}}}} [2024-04-08 17:27:31,032] [DEBUG] ANSIBLE: Running playbook: /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml [2024-04-08 17:27:34,330] [DEBUG] ANSIBLE: Playbook /home/akim/Desktop/wazuh-qa/deployability/modules/testing/playbooks/cleanup.yml finished with status {'skipped': {}, 'ok': {'192.168.57.2': 2}, 'dark': {}, 'failures': {}, 'ignored': {}, 'rescued': {}, 'processed': {'192.168.57.2': 1}, 'changed': {}} [2024-04-08 17:27:34,447] [INFO] [107115] [ThreadPoolExecutor-0_0] [workflow_engine]: [run-agent-linux-amazon-2-amd64-tests] Finished task in 29.03 seconds. [2024-04-08 17:27:34,457] [INFO] [107115] [MainThread] [workflow_engine]: Executing Reverse DAG tasks. [2024-04-08 17:27:34,458] [INFO] [107115] [MainThread] [workflow_engine]: Executing tasks in parallel. [2024-04-08 17:27:34,459] [INFO] [107115] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Starting task. [2024-04-08 17:27:34,893] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-centos-7-amd64/track.yaml [2024-04-08 17:27:34,896] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-EA77F8FC-FB42-42D2-8B66-0482C0BCE136 [2024-04-08 17:27:42,097] [INFO] ALLOCATOR: Instance VAGRANT-EA77F8FC-FB42-42D2-8B66-0482C0BCE136 deleted. [2024-04-08 17:27:42,156] [INFO] [107115] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-centos-7-amd64] Finished task in 7.70 seconds. [2024-04-08 17:27:42,161] [INFO] [107115] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Starting task. [2024-04-08 17:27:42,537] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-centos-8-amd64/track.yaml [2024-04-08 17:27:42,539] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-5FBF4BC5-CE27-4E31-85FD-3C3850CB22F0 [2024-04-08 17:27:49,106] [INFO] ALLOCATOR: Instance VAGRANT-5FBF4BC5-CE27-4E31-85FD-3C3850CB22F0 deleted. [2024-04-08 17:27:49,165] [INFO] [107115] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-centos-8-amd64] Finished task in 7.00 seconds. [2024-04-08 17:27:49,170] [INFO] [107115] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Starting task. [2024-04-08 17:27:49,571] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-redhat-7-amd64/track.yaml [2024-04-08 17:27:49,572] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-7CD30FD5-3979-43FC-88BC-24925327C6D2 [2024-04-08 17:27:55,989] [INFO] ALLOCATOR: Instance VAGRANT-7CD30FD5-3979-43FC-88BC-24925327C6D2 deleted. [2024-04-08 17:27:56,065] [INFO] [107115] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-7-amd64] Finished task in 6.88 seconds. [2024-04-08 17:27:56,075] [INFO] [107115] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Starting task. [2024-04-08 17:27:56,457] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-redhat-8-amd64/track.yaml [2024-04-08 17:27:56,459] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-3161C2DC-5232-409F-AD5A-03DB33F8862B [2024-04-08 17:28:03,048] [INFO] ALLOCATOR: Instance VAGRANT-3161C2DC-5232-409F-AD5A-03DB33F8862B deleted. [2024-04-08 17:28:03,141] [INFO] [107115] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-8-amd64] Finished task in 7.05 seconds. [2024-04-08 17:28:03,151] [INFO] [107115] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Starting task. [2024-04-08 17:28:03,552] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-redhat-9-amd64/track.yaml [2024-04-08 17:28:03,554] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-DAFAE600-3236-4CCB-BEA9-82B1D3C6FEFB [2024-04-08 17:28:10,294] [INFO] ALLOCATOR: Instance VAGRANT-DAFAE600-3236-4CCB-BEA9-82B1D3C6FEFB deleted. [2024-04-08 17:28:10,367] [INFO] [107115] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-redhat-9-amd64] Finished task in 7.21 seconds. [2024-04-08 17:28:10,378] [INFO] [107115] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Starting task. [2024-04-08 17:28:10,766] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/agent-linux-amazon-2-amd64/track.yaml [2024-04-08 17:28:10,767] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-396031BD-7934-4346-B99E-CEB8E92DCEF4 [2024-04-08 17:28:17,929] [INFO] ALLOCATOR: Instance VAGRANT-396031BD-7934-4346-B99E-CEB8E92DCEF4 deleted. [2024-04-08 17:28:18,016] [INFO] [107115] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-agent-linux-amazon-2-amd64] Finished task in 7.63 seconds. [2024-04-08 17:28:18,026] [INFO] [107115] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Starting task. [2024-04-08 17:28:18,426] [INFO] ALLOCATOR: Deleting instance from trackfile /tmp/dtt1-poc/manager-linux-ubuntu-22.04-amd64/track.yaml [2024-04-08 17:28:18,428] [DEBUG] ALLOCATOR: Destroying instance VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9 [2024-04-08 17:28:25,031] [INFO] ALLOCATOR: Instance VAGRANT-C83A08B0-A439-4EDD-8013-CA14F61E2DE9 deleted. [2024-04-08 17:28:25,102] [INFO] [107115] [ThreadPoolExecutor-1_0] [workflow_engine]: [allocate-manager-linux-ubuntu-22.04-amd64] Finished task in 7.07 seconds.