ansible-playbook [core 2.17.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-Pzr executable location = /usr/local/bin/ansible-playbook python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_combination.yml ************************************************ 1 plays in /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_combination.yml PLAY [Combination test - test for (2 types of inputs) x (2 types of outputs) combination] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_combination.yml:2 Saturday 11 October 2025 04:20:43 -0400 (0:00:00.043) 0:00:00.043 ****** [WARNING]: Platform linux on host managed-node3 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node3] TASK [Generate an input log dir /var/log/inputdirectory] *********************** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_combination.yml:16 Saturday 11 October 2025 04:20:44 -0400 (0:00:01.088) 0:00:01.132 ****** changed: [managed-node3] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/var/log/inputdirectory", "secontext": "unconfined_u:object_r:var_log_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [TEST CASE 0; Ensure that the role runs with complicated flows - M x N combinations] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_combination.yml:23 Saturday 11 October 2025 04:20:44 -0400 (0:00:00.467) 0:00:01.600 ****** included: fedora.linux_system_roles.logging for managed-node3 TASK [fedora.linux_system_roles.logging : Set global variables] **************** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:2 Saturday 11 October 2025 04:20:44 -0400 (0:00:00.069) 0:00:01.669 ****** included: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.logging : Run systemctl] *********************** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/set_vars.yml:7 Saturday 11 October 2025 04:20:44 -0400 (0:00:00.017) 0:00:01.687 ****** ok: [managed-node3] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007866", "end": "2025-10-11 04:20:45.098103", "failed_when_result": false, "rc": 0, "start": "2025-10-11 04:20:45.090237" } STDOUT: running TASK [fedora.linux_system_roles.logging : Require installed systemd] *********** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/set_vars.yml:14 Saturday 11 October 2025 04:20:45 -0400 (0:00:00.443) 0:00:02.130 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "\"No such file or directory\" in __is_system_running.msg | d(\"\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/set_vars.yml:19 Saturday 11 October 2025 04:20:45 -0400 (0:00:00.039) 0:00:02.169 ****** ok: [managed-node3] => { "ansible_facts": { "__logging_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:10 Saturday 11 October 2025 04:20:45 -0400 (0:00:00.021) 0:00:02.191 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_outputs | d([]) | selectattr('name', 'defined') | selectattr('type', 'defined') | selectattr('type', 'match', '^files$') | list | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:17 Saturday 11 October 2025 04:20:45 -0400 (0:00:00.043) 0:00:02.235 ****** ok: [managed-node3] => { "ansible_facts": { "rsyslog_outputs": [ { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_test0", "path": "/var/log/messages", "severity": "info", "type": "files" }, { "facility": "authpriv,auth", "name": "files_test1", "path": "/var/log/secure", "type": "files" }, { "facility": "local1", "name": "forwards_severity_and_facility", "severity": "info", "target": "host.domain", "tcp_port": 1514, "type": "forwards" }, { "facility": "local2", "name": "forwards_facility_only", "target": "host.domain", "tcp_port": 2514, "type": "forwards" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:21 Saturday 11 October 2025 04:20:45 -0400 (0:00:00.055) 0:00:02.290 ****** ok: [managed-node3] => { "ansible_facts": { "rsyslog_inputs": [ { "endmsg_regex": "xyz", "input_log_path": "/var/log/inputdirectory/*.log", "name": "files_input", "type": "files" }, { "name": "basic_input", "ratelimit_burst": 33333, "type": "basics" }, { "name": "basic_input", "ratelimit_burst": 44444, "type": "basics" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Use of rsyslog_custom_config_files is deprecated] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:25 Saturday 11 October 2025 04:20:45 -0400 (0:00:00.051) 0:00:02.342 ****** skipping: [managed-node3] => { "false_condition": "rsyslog_custom_config_files is defined" } TASK [fedora.linux_system_roles.logging : Use of type custom is deprecated] **** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:32 Saturday 11 October 2025 04:20:45 -0400 (0:00:00.038) 0:00:02.380 ****** skipping: [managed-node3] => { "false_condition": "__custom_output_files | length > 0" } TASK [fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:45 Saturday 11 October 2025 04:20:45 -0400 (0:00:00.046) 0:00:02.426 ****** skipping: [managed-node3] => (item={'name': 'flow_0', 'inputs': ['basic_input'], 'outputs': ['files_test0', 'files_test1', 'forwards_severity_and_facility', 'forwards_facility_only']}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.inputs | intersect(__logging_input_names) | length != item.inputs | length", "item": { "inputs": [ "basic_input" ], "name": "flow_0", "outputs": [ "files_test0", "files_test1", "forwards_severity_and_facility", "forwards_facility_only" ] }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item={'name': 'flow_1', 'inputs': ['files_input'], 'outputs': ['files_test0', 'files_test1']}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.inputs | intersect(__logging_input_names) | length != item.inputs | length", "item": { "inputs": [ "files_input" ], "name": "flow_1", "outputs": [ "files_test0", "files_test1" ] }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.logging : Gather ports specified in the logging_inputs and outputs vars] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:55 Saturday 11 October 2025 04:20:45 -0400 (0:00:00.063) 0:00:02.490 ****** included: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml for managed-node3 TASK [fedora.linux_system_roles.logging : Initialize ports variables] ********** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:3 Saturday 11 October 2025 04:20:45 -0400 (0:00:00.047) 0:00:02.538 ****** ok: [managed-node3] => { "ansible_facts": { "logging_tcp_ports": [], "logging_tls_tcp_ports": [], "logging_tls_udp_ports": [], "logging_udp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Parameter 'port' values] ************* task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:15 Saturday 11 October 2025 04:20:45 -0400 (0:00:00.040) 0:00:02.578 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "(logging_manage_firewall | bool) or (logging_manage_selinux | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Update port values from outputs] ***** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:35 Saturday 11 October 2025 04:20:45 -0400 (0:00:00.037) 0:00:02.615 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "(logging_manage_firewall | bool) or (logging_manage_selinux | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Update port values from inputs] ****** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:55 Saturday 11 October 2025 04:20:45 -0400 (0:00:00.037) 0:00:02.653 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "(logging_manage_firewall | bool) or (logging_manage_selinux | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Manage firewall on the gathered ports] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:58 Saturday 11 October 2025 04:20:45 -0400 (0:00:00.037) 0:00:02.690 ****** included: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml for managed-node3 TASK [fedora.linux_system_roles.logging : Initialize logging_firewall_ports] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:7 Saturday 11 October 2025 04:20:45 -0400 (0:00:00.049) 0:00:02.740 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Add tcp ports to logging_firewall_ports] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:11 Saturday 11 October 2025 04:20:45 -0400 (0:00:00.036) 0:00:02.777 ****** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.logging : Add udp ports to logging_firewall_ports] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:17 Saturday 11 October 2025 04:20:45 -0400 (0:00:00.032) 0:00:02.809 ****** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Manage firewall for specified ports] ************************************* task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:23 Saturday 11 October 2025 04:20:45 -0400 (0:00:00.031) 0:00:02.840 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Manage selinux on the gathered ports] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:61 Saturday 11 October 2025 04:20:45 -0400 (0:00:00.039) 0:00:02.880 ****** included: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml for managed-node3 TASK [fedora.linux_system_roles.logging : Initialize logging_selinux_ports] **** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:7 Saturday 11 October 2025 04:20:45 -0400 (0:00:00.053) 0:00:02.933 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Add non tls tcp ports to logging_selinux_ports] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:11 Saturday 11 October 2025 04:20:45 -0400 (0:00:00.040) 0:00:02.974 ****** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.logging : Add tls tcp ports to logging_selinux_ports] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:16 Saturday 11 October 2025 04:20:46 -0400 (0:00:00.011) 0:00:02.986 ****** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.logging : Add non tls udp ports to logging_selinux_ports] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:21 Saturday 11 October 2025 04:20:46 -0400 (0:00:00.011) 0:00:02.998 ****** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.logging : Add tls udp ports to logging_selinux_ports] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:26 Saturday 11 October 2025 04:20:46 -0400 (0:00:00.011) 0:00:03.009 ****** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Manage selinux for specified ports] ************************************** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:31 Saturday 11 October 2025 04:20:46 -0400 (0:00:00.012) 0:00:03.021 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Generate certificates] *************** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:65 Saturday 11 October 2025 04:20:46 -0400 (0:00:00.037) 0:00:03.058 ****** included: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml for managed-node3 TASK [fedora.linux_system_roles.logging : Certificates are only supported in a booted system] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml:2 Saturday 11 October 2025 04:20:46 -0400 (0:00:00.053) 0:00:03.111 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "not __logging_is_booted", "skip_reason": "Conditional result was False" } TASK [Generate certificates] *************************************************** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml:9 Saturday 11 October 2025 04:20:46 -0400 (0:00:00.037) 0:00:03.149 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Re-read facts after adding custom fact] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:71 Saturday 11 October 2025 04:20:46 -0400 (0:00:00.038) 0:00:03.188 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_debug | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug dir] ************ task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:75 Saturday 11 October 2025 04:20:46 -0400 (0:00:00.038) 0:00:03.226 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_debug | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:81 Saturday 11 October 2025 04:20:46 -0400 (0:00:00.038) 0:00:03.265 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_debug | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug file] *********** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:86 Saturday 11 October 2025 04:20:46 -0400 (0:00:00.041) 0:00:03.306 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_debug | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Use a debug var to avoid an empty dict in with_dict] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:93 Saturday 11 October 2025 04:20:46 -0400 (0:00:00.050) 0:00:03.356 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_debug | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Populate rsyslog debug file] ********* task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:97 Saturday 11 October 2025 04:20:46 -0400 (0:00:00.039) 0:00:03.396 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_debug | d(false)", "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:108 Saturday 11 October 2025 04:20:46 -0400 (0:00:00.041) 0:00:03.437 ****** included: fedora.linux_system_roles.private_logging_subrole_rsyslog for managed-node3 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Saturday 11 October 2025 04:20:46 -0400 (0:00:00.026) 0:00:03.463 ****** included: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Saturday 11 October 2025 04:20:46 -0400 (0:00:00.022) 0:00:03.485 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "__logging_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check if system is ostree] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:12 Saturday 11 October 2025 04:20:46 -0400 (0:00:00.034) 0:00:03.520 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set flag to indicate system is ostree] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:17 Saturday 11 October 2025 04:20:46 -0400 (0:00:00.438) 0:00:03.958 ****** ok: [managed-node3] => { "ansible_facts": { "__logging_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:21 Saturday 11 October 2025 04:20:46 -0400 (0:00:00.023) 0:00:03.982 ****** ok: [managed-node3] => (item=/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [managed-node3] => (item=/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item is file", "item": "/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item is file", "item": "/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item is file", "item": "/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item is file", "item": "/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /vars/main.yml from /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:31 Saturday 11 October 2025 04:20:47 -0400 (0:00:00.039) 0:00:04.022 ****** skipping: [managed-node3] => (item=/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__snapshot_gather_vars is defined and __snapshot_gather_vars | bool", "item": "/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__snapshot_gather_vars is defined and __snapshot_gather_vars | bool", "item": "/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__snapshot_gather_vars is defined and __snapshot_gather_vars | bool", "item": "/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__snapshot_gather_vars is defined and __snapshot_gather_vars | bool", "item": "/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__snapshot_gather_vars is defined and __snapshot_gather_vars | bool", "item": "/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__snapshot_gather_vars is defined and __snapshot_gather_vars | bool", "item": "/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__snapshot_gather_vars is defined and __snapshot_gather_vars | bool", "item": "/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__snapshot_gather_vars is defined and __snapshot_gather_vars | bool", "item": "/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__snapshot_gather_vars is defined and __snapshot_gather_vars | bool", "item": "/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__snapshot_gather_vars is defined and __snapshot_gather_vars | bool", "item": "/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__snapshot_gather_vars is defined and __snapshot_gather_vars | bool", "item": "/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Main rsyslog subrole] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Saturday 11 October 2025 04:20:47 -0400 (0:00:00.075) 0:00:04.097 ****** included: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml for managed-node3 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get status of rsyslog packages] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:17 Saturday 11 October 2025 04:20:47 -0400 (0:00:00.074) 0:00:04.172 ****** skipping: [managed-node3] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "false_condition": "logging_purge_confs | bool | d(false)", "item": "rsyslog", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:24 Saturday 11 October 2025 04:20:47 -0400 (0:00:00.041) 0:00:04.213 ****** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_purge_confs | bool | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:33 Saturday 11 October 2025 04:20:47 -0400 (0:00:00.033) 0:00:04.247 ****** fatal: [managed-node3]: FAILED! => { "changed": false, "rc": 1, "results": [] } MSG: Failed to download metadata for repo 'highavailability': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried PLAY RECAP ********************************************************************* managed-node3 : ok=19 changed=1 unreachable=0 failed=1 skipped=30 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.14", "end_time": "2025-10-11T08:21:00.766712+00:00Z", "host": "managed-node3", "message": "Failed to download metadata for repo 'highavailability': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "rc": 1, "start_time": "2025-10-11T08:20:47.265053+00:00Z", "task_name": "Install/Update required packages", "task_path": "/tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:33" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 11 October 2025 04:21:00 -0400 (0:00:13.503) 0:00:17.751 ****** =============================================================================== fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages -- 13.50s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:33 Gathering Facts --------------------------------------------------------- 1.09s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_combination.yml:2 Generate an input log dir /var/log/inputdirectory ----------------------- 0.47s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_combination.yml:16 fedora.linux_system_roles.logging : Run systemctl ----------------------- 0.44s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/set_vars.yml:7 fedora.linux_system_roles.private_logging_subrole_rsyslog : Check if system is ostree --- 0.44s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:12 fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /vars/main.yml from /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog --- 0.08s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:31 fedora.linux_system_roles.private_logging_subrole_rsyslog : Main rsyslog subrole --- 0.07s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 TEST CASE 0; Ensure that the role runs with complicated flows - M x N combinations --- 0.07s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_combination.yml:23 fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs --- 0.06s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:45 fedora.linux_system_roles.logging : Set rsyslog_outputs ----------------- 0.06s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:17 fedora.linux_system_roles.logging : Manage selinux on the gathered ports --- 0.05s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:61 fedora.linux_system_roles.logging : Generate certificates --------------- 0.05s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:65 fedora.linux_system_roles.logging : Set rsyslog_inputs ------------------ 0.05s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:21 fedora.linux_system_roles.logging : Create rsyslog debug file ----------- 0.05s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:86 fedora.linux_system_roles.logging : Manage firewall on the gathered ports --- 0.05s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:58 fedora.linux_system_roles.logging : Gather ports specified in the logging_inputs and outputs vars --- 0.05s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:55 fedora.linux_system_roles.logging : Use of type custom is deprecated ---- 0.05s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:32 fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty --- 0.04s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:10 fedora.linux_system_roles.private_logging_subrole_rsyslog : Get status of rsyslog packages --- 0.04s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:17 fedora.linux_system_roles.logging : Delete debug file ------------------- 0.04s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:81 Oct 11 04:20:42 managed-node3 sshd-session[8031]: Accepted publickey for root from 10.31.43.67 port 41038 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Oct 11 04:20:42 managed-node3 systemd-logind[604]: New session 9 of user root. ░░ Subject: A new session 9 has been created for user root ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A new session with the ID 9 has been created for the user root. ░░ ░░ The leading process of the session is 8031. Oct 11 04:20:42 managed-node3 systemd[1]: Started Session 9 of User root. ░░ Subject: A start job for unit session-9.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-9.scope has finished successfully. ░░ ░░ The job identifier is 1180. Oct 11 04:20:42 managed-node3 sshd-session[8031]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Oct 11 04:20:42 managed-node3 sshd-session[8034]: Received disconnect from 10.31.43.67 port 41038:11: disconnected by user Oct 11 04:20:42 managed-node3 sshd-session[8034]: Disconnected from user root 10.31.43.67 port 41038 Oct 11 04:20:42 managed-node3 sshd-session[8031]: pam_unix(sshd:session): session closed for user root Oct 11 04:20:42 managed-node3 systemd[1]: session-9.scope: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit session-9.scope has successfully entered the 'dead' state. Oct 11 04:20:42 managed-node3 systemd-logind[604]: Session 9 logged out. Waiting for processes to exit. Oct 11 04:20:42 managed-node3 systemd-logind[604]: Removed session 9. ░░ Subject: Session 9 has been terminated ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A session with the ID 9 has been terminated. Oct 11 04:20:43 managed-node3 python3.9[8232]: ansible-ansible.legacy.setup Invoked with gather_subset=['all'] gather_timeout=10 filter=[] fact_path=/etc/ansible/facts.d Oct 11 04:20:44 managed-node3 python3.9[8407]: ansible-file Invoked with path=/var/log/inputdirectory state=directory mode=0700 recurse=False force=False follow=True modification_time_format=%Y%m%d%H%M.%S access_time_format=%Y%m%d%H%M.%S unsafe_writes=False _original_basename=None _diff_peek=None src=None modification_time=None access_time=None owner=None group=None seuser=None serole=None selevel=None setype=None attributes=None Oct 11 04:20:45 managed-node3 python3.9[8556]: ansible-ansible.legacy.command Invoked with _raw_params=systemctl is-system-running _uses_shell=False expand_argument_vars=True stdin_add_newline=True strip_empty_ends=True argv=None chdir=None executable=None creates=None removes=None stdin=None Oct 11 04:20:46 managed-node3 python3.9[8706]: ansible-stat Invoked with path=/run/ostree-booted follow=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Oct 11 04:20:47 managed-node3 python3.9[8855]: ansible-ansible.legacy.dnf Invoked with name=['iproute', 'rsyslog'] state=present allow_downgrade=False allowerasing=False autoremove=False bugfix=False cacheonly=False disable_gpg_check=False disable_plugin=[] disablerepo=[] download_only=False enable_plugin=[] enablerepo=[] exclude=[] installroot=/ install_repoquery=True install_weak_deps=True security=False skip_broken=False update_cache=False update_only=False validate_certs=True sslverify=True lock_timeout=30 use_backend=auto best=None conf_file=None disable_excludes=None download_dir=None list=None nobest=None releasever=None Oct 11 04:21:01 managed-node3 sshd-session[8934]: Accepted publickey for root from 10.31.43.67 port 47166 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Oct 11 04:21:01 managed-node3 systemd-logind[604]: New session 10 of user root. ░░ Subject: A new session 10 has been created for user root ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A new session with the ID 10 has been created for the user root. ░░ ░░ The leading process of the session is 8934. Oct 11 04:21:01 managed-node3 systemd[1]: Started Session 10 of User root. ░░ Subject: A start job for unit session-10.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-10.scope has finished successfully. ░░ ░░ The job identifier is 1250. Oct 11 04:21:01 managed-node3 sshd-session[8934]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Oct 11 04:21:01 managed-node3 sshd-session[8937]: Received disconnect from 10.31.43.67 port 47166:11: disconnected by user Oct 11 04:21:01 managed-node3 sshd-session[8937]: Disconnected from user root 10.31.43.67 port 47166 Oct 11 04:21:01 managed-node3 sshd-session[8934]: pam_unix(sshd:session): session closed for user root Oct 11 04:21:01 managed-node3 systemd[1]: session-10.scope: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit session-10.scope has successfully entered the 'dead' state. Oct 11 04:21:01 managed-node3 systemd-logind[604]: Session 10 logged out. Waiting for processes to exit. Oct 11 04:21:01 managed-node3 systemd-logind[604]: Removed session 10. ░░ Subject: Session 10 has been terminated ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A session with the ID 10 has been terminated. Oct 11 04:21:01 managed-node3 sshd-session[8962]: Accepted publickey for root from 10.31.43.67 port 47176 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Oct 11 04:21:01 managed-node3 systemd-logind[604]: New session 11 of user root. ░░ Subject: A new session 11 has been created for user root ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A new session with the ID 11 has been created for the user root. ░░ ░░ The leading process of the session is 8962. Oct 11 04:21:01 managed-node3 systemd[1]: Started Session 11 of User root. ░░ Subject: A start job for unit session-11.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-11.scope has finished successfully. ░░ ░░ The job identifier is 1319. Oct 11 04:21:01 managed-node3 sshd-session[8962]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0)