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_enabled.yml **************************************************** 1 plays in /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_enabled.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_enabled.yml:21 Saturday 11 October 2025 04:20:58 -0400 (0:00:00.019) 0:00:00.019 ****** [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 [Check if /etc/rsyslog.d exists] ****************************************** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_enabled.yml:26 Saturday 11 October 2025 04:20:59 -0400 (0:00:01.105) 0:00:01.124 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1760170662.934444, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1759821929.5566893, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 8919330, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1759821929.5566893, "nlink": 2, "path": "/etc/rsyslog.d", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 31, "uid": 0, "version": "3052789644", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Check /etc/rsyslog.d] **************************************************** task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_enabled.yml:31 Saturday 11 October 2025 04:20:59 -0400 (0:00:00.459) 0:00:01.584 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "/etc/rsyslog.d" ], "delta": "0:00:00.003798", "end": "2025-10-11 04:21:00.149688", "rc": 0, "start": "2025-10-11 04:21:00.145890" } STDOUT: 21-cloudinit.conf TASK [Default run] ************************************************************* task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_enabled.yml:36 Saturday 11 October 2025 04:21:00 -0400 (0:00:00.454) 0:00:02.038 ****** 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:00 -0400 (0:00:00.053) 0:00:02.092 ****** 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:00 -0400 (0:00:00.019) 0:00:02.111 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008310", "end": "2025-10-11 04:21:00.586867", "failed_when_result": false, "rc": 0, "start": "2025-10-11 04:21:00.578557" } 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:00 -0400 (0:00:00.363) 0:00:02.474 ****** 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:00 -0400 (0:00:00.051) 0:00:02.526 ****** 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:00 -0400 (0:00:00.022) 0:00:02.548 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "logging_inputs | d([]) | 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:21:00 -0400 (0:00:00.049) 0:00:02.598 ****** ok: [managed-node2] => { "ansible_facts": { "rsyslog_outputs": [] }, "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:00 -0400 (0:00:00.065) 0:00:02.663 ****** ok: [managed-node2] => { "ansible_facts": { "rsyslog_inputs": [] }, "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:00 -0400 (0:00:00.068) 0:00:02.732 ****** 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:00 -0400 (0:00:00.048) 0:00:02.780 ****** 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:00 -0400 (0:00:00.045) 0:00:02.826 ****** skipping: [managed-node2] => { "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:21:01 -0400 (0:00:00.015) 0:00:02.841 ****** 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:01 -0400 (0:00:00.051) 0:00:02.893 ****** 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:01 -0400 (0:00:00.042) 0:00:02.935 ****** 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:01 -0400 (0:00:00.048) 0:00:02.984 ****** 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:01 -0400 (0:00:00.039) 0:00:03.023 ****** 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:01 -0400 (0:00:00.040) 0:00:03.063 ****** 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:01 -0400 (0:00:00.049) 0:00:03.113 ****** 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:01 -0400 (0:00:00.048) 0:00:03.161 ****** 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:01 -0400 (0:00:00.053) 0:00:03.215 ****** 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:01 -0400 (0:00:00.038) 0:00:03.253 ****** 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:01 -0400 (0:00:00.037) 0:00:03.291 ****** 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:01 -0400 (0:00:00.054) 0:00:03.346 ****** 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:01 -0400 (0:00:00.039) 0:00:03.386 ****** 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:01 -0400 (0:00:00.012) 0:00:03.399 ****** 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:01 -0400 (0:00:00.012) 0:00:03.412 ****** 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:01 -0400 (0:00:00.012) 0:00:03.424 ****** 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:01 -0400 (0:00:00.014) 0:00:03.439 ****** 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:01 -0400 (0:00:00.041) 0:00:03.480 ****** 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:01 -0400 (0:00:00.065) 0:00:03.546 ****** 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:01 -0400 (0:00:00.060) 0:00:03.606 ****** 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:01 -0400 (0:00:00.074) 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 dir] ************ task path: /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:75 Saturday 11 October 2025 04:21:01 -0400 (0:00:00.073) 0:00:03.755 ****** 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:01 -0400 (0:00:00.065) 0:00:03.821 ****** 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:02 -0400 (0:00:00.060) 0:00:03.881 ****** 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:02 -0400 (0:00:00.064) 0:00:03.945 ****** 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:02 -0400 (0:00:00.061) 0:00:04.006 ****** 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:02 -0400 (0:00:00.065) 0:00:04.072 ****** 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:02 -0400 (0:00:00.047) 0:00:04.119 ****** 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:02 -0400 (0:00:00.040) 0:00:04.159 ****** 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:02 -0400 (0:00:00.054) 0:00:04.213 ****** 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:02 -0400 (0:00:00.424) 0:00:04.638 ****** 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:02 -0400 (0:00:00.050) 0:00:04.688 ****** 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:02 -0400 (0:00:00.066) 0:00:04.755 ****** 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:03 -0400 (0:00:00.129) 0:00:04.884 ****** 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:03 -0400 (0:00:00.092) 0:00:04.977 ****** ok: [managed-node2] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "rsyslog" ], "delta": "0:00:00.254889", "end": "2025-10-11 04:21:03.743007", "failed_when_result": false, "item": "rsyslog", "rc": 0, "start": "2025-10-11 04:21:03.488118" } 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:03 -0400 (0:00:00.668) 0:00:05.645 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__rsyslog_package_status.results | rejectattr('stdout', 'match', '^package .* is not installed') | selectattr('stdout', 'search', ' /etc/rsyslog[.]conf($|\\n)') | list | length > 0", "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:03 -0400 (0:00:00.085) 0:00:05.731 ****** 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=21 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:09.211261+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:03.897243+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:09 -0400 (0:00:05.316) 0:00:11.048 ****** =============================================================================== fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages --- 5.32s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:33 Gathering Facts --------------------------------------------------------- 1.11s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_enabled.yml:21 fedora.linux_system_roles.private_logging_subrole_rsyslog : Get status of rsyslog packages --- 0.67s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:17 Check if /etc/rsyslog.d exists ------------------------------------------ 0.46s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_enabled.yml:26 Check /etc/rsyslog.d ---------------------------------------------------- 0.45s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/tests/logging/tests_enabled.yml:31 fedora.linux_system_roles.private_logging_subrole_rsyslog : Check if system is ostree --- 0.42s /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.36s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/set_vars.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.13s /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.09s /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 : Reset original confs - logging package is absent --- 0.09s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:24 Generate certificates --------------------------------------------------- 0.07s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml:9 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 : Set rsyslog_inputs ------------------ 0.07s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:21 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 : 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 dir ------------ 0.07s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:75 fedora.linux_system_roles.logging : Populate rsyslog debug file --------- 0.07s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:97 fedora.linux_system_roles.logging : Create rsyslog debug file ----------- 0.06s /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.06s /tmp/collections-Pzr/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:93 Oct 11 04:20:57 managed-node2 sshd-session[8403]: Received disconnect from 10.31.43.67 port 54722:11: disconnected by user Oct 11 04:20:57 managed-node2 sshd-session[8403]: Disconnected from user root 10.31.43.67 port 54722 Oct 11 04:20:57 managed-node2 sshd-session[8400]: pam_unix(sshd:session): session closed for user root Oct 11 04:20:57 managed-node2 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:57 managed-node2 systemd-logind[610]: Session 9 logged out. Waiting for processes to exit. Oct 11 04:20:57 managed-node2 systemd-logind[610]: 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:58 managed-node2 python3.9[8601]: ansible-ansible.legacy.setup Invoked with gather_subset=['all'] gather_timeout=10 filter=[] fact_path=/etc/ansible/facts.d Oct 11 04:20:59 managed-node2 python3.9[8776]: ansible-stat Invoked with path=/etc/rsyslog.d follow=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Oct 11 04:21:00 managed-node2 python3.9[8927]: ansible-ansible.legacy.command Invoked with _raw_params=ls /etc/rsyslog.d _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:00 managed-node2 python3.9[9077]: 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:02 managed-node2 python3.9[9227]: 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:03 managed-node2 python3.9[9376]: ansible-ansible.legacy.command Invoked with _raw_params=rpm -V rsyslog _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:04 managed-node2 python3.9[9526]: 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:09 managed-node2 sshd-session[9583]: Accepted publickey for root from 10.31.43.67 port 48388 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Oct 11 04:21:09 managed-node2 systemd-logind[610]: 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 9583. Oct 11 04:21:09 managed-node2 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 1246. Oct 11 04:21:09 managed-node2 sshd-session[9583]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0) Oct 11 04:21:09 managed-node2 sshd-session[9586]: Received disconnect from 10.31.43.67 port 48388:11: disconnected by user Oct 11 04:21:09 managed-node2 sshd-session[9586]: Disconnected from user root 10.31.43.67 port 48388 Oct 11 04:21:09 managed-node2 sshd-session[9583]: pam_unix(sshd:session): session closed for user root Oct 11 04:21:09 managed-node2 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:09 managed-node2 systemd-logind[610]: Session 10 logged out. Waiting for processes to exit. Oct 11 04:21:09 managed-node2 systemd-logind[610]: 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:09 managed-node2 sshd-session[9611]: Accepted publickey for root from 10.31.43.67 port 48404 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Oct 11 04:21:09 managed-node2 systemd-logind[610]: 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 9611. Oct 11 04:21:09 managed-node2 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 1315. Oct 11 04:21:09 managed-node2 sshd-session[9611]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0)