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_basics_files.yml *********************************************** 1 plays in /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_basics_files.yml PLAY [Ensure that the role runs with parameters for basics input and files output] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_basics_files.yml:2 Saturday 11 October 2025 04:20:34 -0400 (0:00:00.032) 0:00:00.032 ****** [WARNING]: Platform linux on host managed-node1 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-node1] TASK [Set firewall and selinux to true] **************************************** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_basics_files.yml:23 Saturday 11 October 2025 04:20:36 -0400 (0:00:02.245) 0:00:02.278 ****** ok: [managed-node1] => { "ansible_facts": { "logging_manage_firewall": true, "logging_manage_selinux": true }, "changed": false } TASK [TEST CASE 0; Test the simplest configuration, basics input and implicit files output with logging_mark enabled] *** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_basics_files.yml:28 Saturday 11 October 2025 04:20:36 -0400 (0:00:00.013) 0:00:02.292 ****** included: fedora.linux_system_roles.logging for managed-node1 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:36 -0400 (0:00:00.039) 0:00:02.331 ****** included: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/set_vars.yml for managed-node1 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:36 -0400 (0:00:00.017) 0:00:02.348 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.009926", "end": "2025-10-11 04:20:37.166933", "failed_when_result": false, "rc": 0, "start": "2025-10-11 04:20:37.157007" } 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:37 -0400 (0:00:00.448) 0:00:02.797 ****** skipping: [managed-node1] => { "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:37 -0400 (0:00:00.037) 0:00:02.835 ****** ok: [managed-node1] => { "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:37 -0400 (0:00:00.021) 0:00:02.857 ****** ok: [managed-node1] => { "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:20:37 -0400 (0:00:00.045) 0:00:02.903 ****** ok: [managed-node1] => { "ansible_facts": { "rsyslog_outputs": [ { "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:20:37 -0400 (0:00:00.042) 0:00:02.945 ****** ok: [managed-node1] => { "ansible_facts": { "rsyslog_inputs": [ { "name": "basic_input", "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:37 -0400 (0:00:00.044) 0:00:02.990 ****** skipping: [managed-node1] => { "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:37 -0400 (0:00:00.037) 0:00:03.027 ****** skipping: [managed-node1] => { "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:37 -0400 (0:00:00.044) 0:00:03.071 ****** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } 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:37 -0400 (0:00:00.012) 0:00:03.084 ****** included: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml for managed-node1 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:37 -0400 (0:00:00.049) 0:00:03.134 ****** ok: [managed-node1] => { "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:37 -0400 (0:00:00.040) 0:00:03.174 ****** ok: [managed-node1] => { "ansible_facts": { "logging_tls_tcp_ports": [] }, "changed": 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:37 -0400 (0:00:00.047) 0:00:03.222 ****** ok: [managed-node1] => { "ansible_facts": { "logging_tcp_ports": [], "logging_tls_tcp_ports": [], "logging_tls_udp_ports": [], "logging_udp_ports": [] }, "changed": 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:37 -0400 (0:00:00.077) 0:00:03.300 ****** ok: [managed-node1] => { "ansible_facts": { "logging_tcp_ports": [], "logging_tls_tcp_ports": [], "logging_tls_udp_ports": [], "logging_udp_ports": [] }, "changed": 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:37 -0400 (0:00:00.099) 0:00:03.400 ****** included: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml for managed-node1 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:37 -0400 (0:00:00.082) 0:00:03.482 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "logging_tcp_ports | length > 0 or logging_udp_ports | length > 0 or logging_tls_tcp_ports | length > 0 or logging_tls_udp_ports | length > 0", "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:37 -0400 (0:00:00.062) 0:00:03.545 ****** skipping: [managed-node1] => { "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:38 -0400 (0:00:00.058) 0:00:03.603 ****** skipping: [managed-node1] => { "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:38 -0400 (0:00:00.058) 0:00:03.661 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "logging_tcp_ports | length > 0 or logging_udp_ports | length > 0 or logging_tls_tcp_ports | length > 0 or logging_tls_udp_ports | length > 0", "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:38 -0400 (0:00:00.072) 0:00:03.734 ****** included: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml for managed-node1 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:38 -0400 (0:00:00.095) 0:00:03.830 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "logging_tcp_ports | length > 0 or logging_udp_ports | length > 0 or logging_tls_tcp_ports | length > 0 or logging_tls_udp_ports | length > 0", "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:38 -0400 (0:00:00.077) 0:00:03.907 ****** skipping: [managed-node1] => { "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:38 -0400 (0:00:00.020) 0:00:03.927 ****** skipping: [managed-node1] => { "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:38 -0400 (0:00:00.020) 0:00:03.948 ****** skipping: [managed-node1] => { "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:38 -0400 (0:00:00.021) 0:00:03.969 ****** skipping: [managed-node1] => { "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:38 -0400 (0:00:00.020) 0:00:03.990 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "logging_tcp_ports | length > 0 or logging_udp_ports | length > 0 or logging_tls_tcp_ports | length > 0 or logging_tls_udp_ports | length > 0", "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:38 -0400 (0:00:00.063) 0:00:04.057 ****** included: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml for managed-node1 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:38 -0400 (0:00:00.089) 0:00:04.146 ****** skipping: [managed-node1] => { "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:38 -0400 (0:00:00.061) 0:00:04.207 ****** skipping: [managed-node1] => { "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:38 -0400 (0:00:00.056) 0:00:04.264 ****** skipping: [managed-node1] => { "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:38 -0400 (0:00:00.065) 0:00:04.330 ****** skipping: [managed-node1] => { "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:38 -0400 (0:00:00.058) 0:00:04.388 ****** skipping: [managed-node1] => { "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:38 -0400 (0:00:00.052) 0:00:04.441 ****** skipping: [managed-node1] => { "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:38 -0400 (0:00:00.040) 0:00:04.481 ****** skipping: [managed-node1] => { "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:38 -0400 (0:00:00.049) 0:00:04.531 ****** skipping: [managed-node1] => { "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:39 -0400 (0:00:00.057) 0:00:04.588 ****** included: fedora.linux_system_roles.private_logging_subrole_rsyslog for managed-node1 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:39 -0400 (0:00:00.046) 0:00:04.635 ****** included: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml for managed-node1 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:39 -0400 (0:00:00.038) 0:00:04.673 ****** skipping: [managed-node1] => { "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:39 -0400 (0:00:00.056) 0:00:04.731 ****** ok: [managed-node1] => { "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:39 -0400 (0:00:00.538) 0:00:05.269 ****** ok: [managed-node1] => { "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:39 -0400 (0:00:00.033) 0:00:05.303 ****** ok: [managed-node1] => (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-node1] => (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-node1] => (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-node1] => (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-node1] => (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:39 -0400 (0:00:00.053) 0:00:05.356 ****** skipping: [managed-node1] => (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-node1] => (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-node1] => (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-node1] => (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-node1] => (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-node1] => (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-node1] => (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-node1] => (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-node1] => (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-node1] => (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-node1] => (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-node1] => { "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:39 -0400 (0:00:00.080) 0:00:05.437 ****** included: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml for managed-node1 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:39 -0400 (0:00:00.076) 0:00:05.514 ****** skipping: [managed-node1] => (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-node1] => { "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:39 -0400 (0:00:00.044) 0:00:05.558 ****** skipping: [managed-node1] => { "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:40 -0400 (0:00:00.046) 0:00:05.605 ****** fatal: [managed-node1]: 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-node1 : ok=23 changed=0 unreachable=0 failed=1 skipped=26 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.14", "end_time": "2025-10-11T08:20:53.244181+00:00Z", "host": "managed-node1", "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:40.027369+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:20:53 -0400 (0:00:13.219) 0:00:18.825 ****** =============================================================================== fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages -- 13.22s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:33 Gathering Facts --------------------------------------------------------- 2.25s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_basics_files.yml:2 fedora.linux_system_roles.private_logging_subrole_rsyslog : Check if system is ostree --- 0.54s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:12 fedora.linux_system_roles.logging : Run systemctl ----------------------- 0.45s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/set_vars.yml:7 fedora.linux_system_roles.logging : Update port values from inputs ------ 0.10s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:55 fedora.linux_system_roles.logging : Manage selinux on the gathered ports --- 0.10s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:61 fedora.linux_system_roles.logging : Generate certificates --------------- 0.09s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:65 fedora.linux_system_roles.logging : Manage firewall on the gathered ports --- 0.08s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:58 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.logging : Update port values from outputs ----- 0.08s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:35 fedora.linux_system_roles.logging : Initialize logging_selinux_ports ---- 0.08s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:7 fedora.linux_system_roles.private_logging_subrole_rsyslog : Main rsyslog subrole --- 0.08s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Manage firewall for specified ports ------------------------------------- 0.07s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:23 Manage selinux for specified ports -------------------------------------- 0.07s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:31 fedora.linux_system_roles.logging : Re-read facts after adding custom fact --- 0.07s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:71 fedora.linux_system_roles.logging : Initialize logging_firewall_ports --- 0.06s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:7 fedora.linux_system_roles.logging : Certificates are only supported in a booted system --- 0.06s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml:2 fedora.linux_system_roles.logging : Add udp ports to logging_firewall_ports --- 0.06s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:17 fedora.linux_system_roles.logging : Add tcp ports to logging_firewall_ports --- 0.06s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:11 fedora.linux_system_roles.logging : Create rsyslog debug dir ------------ 0.06s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:75 Oct 11 04:20:33 managed-node1 sshd-session[7588]: Received disconnect from 10.31.43.67 port 33800:11: disconnected by user Oct 11 04:20:33 managed-node1 sshd-session[7588]: Disconnected from user root 10.31.43.67 port 33800 Oct 11 04:20:33 managed-node1 sshd-session[7585]: pam_unix(sshd:session): session closed for user root Oct 11 04:20:33 managed-node1 systemd[1]: session-5.scope: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit session-5.scope has successfully entered the 'dead' state. Oct 11 04:20:33 managed-node1 systemd-logind[609]: Session 5 logged out. Waiting for processes to exit. Oct 11 04:20:33 managed-node1 systemd-logind[609]: Removed session 5. ░░ Subject: Session 5 has been terminated ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A session with the ID 5 has been terminated. Oct 11 04:20:33 managed-node1 sshd-session[7612]: Accepted publickey for root from 10.31.43.67 port 33802 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Oct 11 04:20:33 managed-node1 systemd-logind[609]: New session 6 of user root. ░░ Subject: A new session 6 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 6 has been created for the user root. ░░ ░░ The leading process of the session is 7612. Oct 11 04:20:33 managed-node1 systemd[1]: Started Session 6 of User root. ░░ Subject: A start job for unit session-6.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-6.scope has finished successfully. ░░ ░░ The job identifier is 969. Oct 11 04:20:33 managed-node1 sshd-session[7612]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Oct 11 04:20:33 managed-node1 sshd-session[7615]: Received disconnect from 10.31.43.67 port 33802:11: disconnected by user Oct 11 04:20:33 managed-node1 sshd-session[7615]: Disconnected from user root 10.31.43.67 port 33802 Oct 11 04:20:33 managed-node1 sshd-session[7612]: pam_unix(sshd:session): session closed for user root Oct 11 04:20:33 managed-node1 systemd-logind[609]: Session 6 logged out. Waiting for processes to exit. Oct 11 04:20:33 managed-node1 systemd[1]: session-6.scope: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit session-6.scope has successfully entered the 'dead' state. Oct 11 04:20:33 managed-node1 systemd-logind[609]: Removed session 6. ░░ Subject: Session 6 has been terminated ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A session with the ID 6 has been terminated. Oct 11 04:20:34 managed-node1 sshd-session[7641]: Accepted publickey for root from 10.31.43.67 port 33810 ssh2: ECDSA SHA256:qsbF5l1n8dn99AM7Ky30gTjZs5EoNtHaeeG+yC3GLSY Oct 11 04:20:34 managed-node1 systemd-logind[609]: New session 7 of user root. ░░ Subject: A new session 7 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 7 has been created for the user root. ░░ ░░ The leading process of the session is 7641. Oct 11 04:20:34 managed-node1 systemd[1]: Started Session 7 of User root. ░░ Subject: A start job for unit session-7.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-7.scope has finished successfully. ░░ ░░ The job identifier is 1038. Oct 11 04:20:34 managed-node1 sshd-session[7641]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Oct 11 04:20:36 managed-node1 python3.9[7818]: ansible-ansible.legacy.setup Invoked with gather_subset=['all'] gather_timeout=10 filter=[] fact_path=/etc/ansible/facts.d Oct 11 04:20:37 managed-node1 python3.9[7993]: 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:39 managed-node1 python3.9[8143]: 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:40 managed-node1 python3.9[8292]: 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:20:53 managed-node1 sshd-session[8371]: Accepted publickey for root from 10.31.43.67 port 55004 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Oct 11 04:20:53 managed-node1 systemd-logind[609]: New session 8 of user root. ░░ Subject: A new session 8 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 8 has been created for the user root. ░░ ░░ The leading process of the session is 8371. Oct 11 04:20:53 managed-node1 systemd[1]: Started Session 8 of User root. ░░ Subject: A start job for unit session-8.scope has finished successfully ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ A start job for unit session-8.scope has finished successfully. ░░ ░░ The job identifier is 1108. Oct 11 04:20:53 managed-node1 sshd-session[8371]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Oct 11 04:20:53 managed-node1 sshd-session[8374]: Received disconnect from 10.31.43.67 port 55004:11: disconnected by user Oct 11 04:20:53 managed-node1 sshd-session[8374]: Disconnected from user root 10.31.43.67 port 55004 Oct 11 04:20:53 managed-node1 sshd-session[8371]: pam_unix(sshd:session): session closed for user root Oct 11 04:20:53 managed-node1 systemd[1]: session-8.scope: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ ░░ The unit session-8.scope has successfully entered the 'dead' state. Oct 11 04:20:53 managed-node1 systemd-logind[609]: Session 8 logged out. Waiting for processes to exit. Oct 11 04:20:53 managed-node1 systemd-logind[609]: Removed session 8. ░░ Subject: Session 8 has been terminated ░░ Defined-By: systemd ░░ Support: https://access.redhat.com/support ░░ Documentation: sd-login(3) ░░ ░░ A session with the ID 8 has been terminated. Oct 11 04:20:53 managed-node1 sshd-session[8399]: Accepted publickey for root from 10.31.43.67 port 55020 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Oct 11 04:20:53 managed-node1 systemd-logind[609]: 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 8399. Oct 11 04:20:53 managed-node1 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 1177. Oct 11 04:20:53 managed-node1 sshd-session[8399]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0)