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_remote.yml ***************************************************** 1 plays in /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_remote.yml PLAY [Ensure inputs from the remote logging system passed to the local files outputs.] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_remote.yml:2 Saturday 11 October 2025 04:21:31 -0400 (0:00:00.028) 0:00:00.028 ****** [WARNING]: Platform linux on host managed-node2 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-node2] TASK [TEST CASE 0; Test configuration inputs from the remote rsyslog to the default local files outputs.] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_remote.yml:16 Saturday 11 October 2025 04:21:32 -0400 (0:00:01.243) 0:00:01.271 ****** included: fedora.linux_system_roles.logging for managed-node2 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:21:32 -0400 (0:00:00.045) 0:00:01.316 ****** included: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/set_vars.yml for managed-node2 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:21:32 -0400 (0:00:00.025) 0:00:01.342 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008002", "end": "2025-10-11 04:21:33.186543", "failed_when_result": false, "rc": 0, "start": "2025-10-11 04:21:33.178541" } 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:21:33 -0400 (0:00:00.583) 0:00:01.926 ****** skipping: [managed-node2] => { "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:21:33 -0400 (0:00:00.108) 0:00:02.034 ****** ok: [managed-node2] => { "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:21:33 -0400 (0:00:00.063) 0:00:02.098 ****** ok: [managed-node2] => { "ansible_facts": { "__rsyslog_output_files": [ { "name": "default_files", "type": "files" } ] }, "changed": 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:21:33 -0400 (0:00:00.089) 0:00:02.187 ****** ok: [managed-node2] => { "ansible_facts": { "rsyslog_outputs": [ { "name": "remote_files_output0", "type": "remote_files" }, { "name": "default_files", "type": "files" } ] }, "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:21:33 -0400 (0:00:00.072) 0:00:02.260 ****** ok: [managed-node2] => { "ansible_facts": { "rsyslog_inputs": [ { "name": "remote_tcp_input", "tcp_ports": [ 514, 40001 ], "type": "remote" }, { "name": "remote_udp_input", "type": "remote", "udp_ports": [ 514, 40002 ] } ] }, "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:21:33 -0400 (0:00:00.076) 0:00:02.336 ****** skipping: [managed-node2] => { "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:21:33 -0400 (0:00:00.063) 0:00:02.399 ****** skipping: [managed-node2] => { "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:21:33 -0400 (0:00:00.076) 0:00:02.476 ****** skipping: [managed-node2] => (item={'name': 'flow_0', 'inputs': ['remote_udp_input', 'remote_tcp_input'], 'outputs': ['remote_files_output0']}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.inputs | intersect(__logging_input_names) | length != item.inputs | length", "item": { "inputs": [ "remote_udp_input", "remote_tcp_input" ], "name": "flow_0", "outputs": [ "remote_files_output0" ] }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "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:21:33 -0400 (0:00:00.088) 0:00:02.564 ****** included: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml for managed-node2 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:21:33 -0400 (0:00:00.100) 0:00:02.665 ****** ok: [managed-node2] => { "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:21:34 -0400 (0:00:00.066) 0:00:02.731 ****** skipping: [managed-node2] => { "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:21:34 -0400 (0:00:00.064) 0:00:02.796 ****** skipping: [managed-node2] => { "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:21:34 -0400 (0:00:00.063) 0:00:02.860 ****** skipping: [managed-node2] => { "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:21:34 -0400 (0:00:00.059) 0:00:02.919 ****** included: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml for managed-node2 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:21:34 -0400 (0:00:00.091) 0:00:03.011 ****** skipping: [managed-node2] => { "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:21:34 -0400 (0:00:00.059) 0:00:03.070 ****** skipping: [managed-node2] => { "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:21:34 -0400 (0:00:00.042) 0:00:03.113 ****** skipping: [managed-node2] => { "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:21:34 -0400 (0:00:00.039) 0:00:03.153 ****** skipping: [managed-node2] => { "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:21:34 -0400 (0:00:00.040) 0:00:03.193 ****** included: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml for managed-node2 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:21:34 -0400 (0:00:00.056) 0:00:03.249 ****** skipping: [managed-node2] => { "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:21:34 -0400 (0:00:00.039) 0:00:03.289 ****** skipping: [managed-node2] => { "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:21:34 -0400 (0:00:00.014) 0:00:03.303 ****** skipping: [managed-node2] => { "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:21:34 -0400 (0:00:00.013) 0:00:03.316 ****** skipping: [managed-node2] => { "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:21:34 -0400 (0:00:00.013) 0:00:03.329 ****** skipping: [managed-node2] => { "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:21:34 -0400 (0:00:00.013) 0:00:03.343 ****** skipping: [managed-node2] => { "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:21:34 -0400 (0:00:00.038) 0:00:03.381 ****** included: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml for managed-node2 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:21:34 -0400 (0:00:00.065) 0:00:03.446 ****** skipping: [managed-node2] => { "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:21:34 -0400 (0:00:00.062) 0:00:03.509 ****** skipping: [managed-node2] => { "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:21:34 -0400 (0:00:00.060) 0:00:03.570 ****** skipping: [managed-node2] => { "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:21:34 -0400 (0:00:00.059) 0:00:03.630 ****** skipping: [managed-node2] => { "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:21:35 -0400 (0:00:00.050) 0:00:03.681 ****** skipping: [managed-node2] => { "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:21:35 -0400 (0:00:00.046) 0:00:03.728 ****** skipping: [managed-node2] => { "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:21:35 -0400 (0:00:00.068) 0:00:03.797 ****** skipping: [managed-node2] => { "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:21:35 -0400 (0:00:00.067) 0:00:03.865 ****** skipping: [managed-node2] => { "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:21:35 -0400 (0:00:00.049) 0:00:03.914 ****** included: fedora.linux_system_roles.private_logging_subrole_rsyslog for managed-node2 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:21:35 -0400 (0:00:00.031) 0:00:03.946 ****** included: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml for managed-node2 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:21:35 -0400 (0:00:00.024) 0:00:03.971 ****** skipping: [managed-node2] => { "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:21:35 -0400 (0:00:00.035) 0:00:04.006 ****** ok: [managed-node2] => { "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:21:35 -0400 (0:00:00.478) 0:00:04.485 ****** ok: [managed-node2] => { "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:21:35 -0400 (0:00:00.049) 0:00:04.534 ****** ok: [managed-node2] => (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-node2] => (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-node2] => (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-node2] => (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-node2] => (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:21:35 -0400 (0:00:00.066) 0:00:04.600 ****** skipping: [managed-node2] => (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-node2] => (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-node2] => (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-node2] => (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-node2] => (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-node2] => (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-node2] => (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-node2] => (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-node2] => (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-node2] => (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-node2] => (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-node2] => { "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:21:36 -0400 (0:00:00.113) 0:00:04.714 ****** included: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml for managed-node2 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:21:36 -0400 (0:00:00.119) 0:00:04.833 ****** skipping: [managed-node2] => (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-node2] => { "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:21:36 -0400 (0:00:00.063) 0:00:04.896 ****** skipping: [managed-node2] => { "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:21:36 -0400 (0:00:00.054) 0:00:04.951 ****** fatal: [managed-node2]: 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-node2 : ok=19 changed=0 unreachable=0 failed=1 skipped=29 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.14", "end_time": "2025-10-11T08:21:40.950672+00:00Z", "host": "managed-node2", "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:21:36.276857+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:40 -0400 (0:00:04.676) 0:00:09.627 ****** =============================================================================== fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages --- 4.68s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:33 Gathering Facts --------------------------------------------------------- 1.24s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_remote.yml:2 fedora.linux_system_roles.logging : Run systemctl ----------------------- 0.58s /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.48s /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 : Main rsyslog subrole --- 0.12s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 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.11s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:31 fedora.linux_system_roles.logging : Require installed systemd ----------- 0.11s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/set_vars.yml:14 fedora.linux_system_roles.logging : Gather ports specified in the logging_inputs and outputs vars --- 0.10s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:55 fedora.linux_system_roles.logging : Manage firewall on the gathered ports --- 0.09s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:58 fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty --- 0.09s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:10 fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs --- 0.09s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:45 fedora.linux_system_roles.logging : Set rsyslog_inputs ------------------ 0.08s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:21 fedora.linux_system_roles.logging : Use of type custom is deprecated ---- 0.08s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:32 fedora.linux_system_roles.logging : Set rsyslog_outputs ----------------- 0.07s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:17 fedora.linux_system_roles.logging : Create rsyslog debug file ----------- 0.07s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:86 fedora.linux_system_roles.logging : Use a debug var to avoid an empty dict in with_dict --- 0.07s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:93 fedora.linux_system_roles.logging : Initialize ports variables ---------- 0.07s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:3 fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables --- 0.07s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:21 fedora.linux_system_roles.logging : Generate certificates --------------- 0.07s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:65 fedora.linux_system_roles.logging : Parameter 'port' values ------------- 0.06s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:15 Oct 11 04:21:32 managed-node2 python3.9[11182]: ansible-ansible.legacy.setup Invoked with gather_subset=['all'] gather_timeout=10 filter=[] fact_path=/etc/ansible/facts.d Oct 11 04:21:33 managed-node2 python3.9[11357]: 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:21:35 managed-node2 python3.9[11507]: 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:21:36 managed-node2 python3.9[11656]: 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:41 managed-node2 sshd-session[11713]: Accepted publickey for root from 10.31.43.67 port 48768 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Oct 11 04:21:41 managed-node2 systemd-logind[610]: New session 16 of user root. ░░ Subject: A new session 16 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 16 has been created for the user root. ░░ ░░ The leading process of the session is 11713. Oct 11 04:21:41 managed-node2 systemd[1]: Started Session 16 of User root. ░░ Subject: A start job for unit session-16.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-16.scope has finished successfully. ░░ ░░ The job identifier is 1660. Oct 11 04:21:41 managed-node2 sshd-session[11713]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Oct 11 04:21:41 managed-node2 sshd-session[11716]: Received disconnect from 10.31.43.67 port 48768:11: disconnected by user Oct 11 04:21:41 managed-node2 sshd-session[11716]: Disconnected from user root 10.31.43.67 port 48768 Oct 11 04:21:41 managed-node2 sshd-session[11713]: pam_unix(sshd:session): session closed for user root Oct 11 04:21:41 managed-node2 systemd[1]: session-16.scope: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit session-16.scope has successfully entered the 'dead' state. Oct 11 04:21:41 managed-node2 systemd-logind[610]: Session 16 logged out. Waiting for processes to exit. Oct 11 04:21:41 managed-node2 systemd-logind[610]: Removed session 16. ░░ Subject: Session 16 has been terminated ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A session with the ID 16 has been terminated. Oct 11 04:21:41 managed-node2 sshd-session[11741]: Accepted publickey for root from 10.31.43.67 port 48782 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Oct 11 04:21:41 managed-node2 systemd-logind[610]: New session 17 of user root. ░░ Subject: A new session 17 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 17 has been created for the user root. ░░ ░░ The leading process of the session is 11741. Oct 11 04:21:41 managed-node2 systemd[1]: Started Session 17 of User root. ░░ Subject: A start job for unit session-17.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-17.scope has finished successfully. ░░ ░░ The job identifier is 1729. Oct 11 04:21:41 managed-node2 sshd-session[11741]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0)