ansible-playbook [core 2.17.12] 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-7uu executable location = /usr/local/bin/ansible-playbook python version = 3.12.10 (main, May 9 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-5)] (/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-7uu/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-7uu/ansible_collections/fedora/linux_system_roles/tests/logging/tests_enabled.yml:21 Saturday 24 May 2025 04:21:32 -0400 (0:00:00.026) 0:00:00.026 ********** [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-7uu/ansible_collections/fedora/linux_system_roles/tests/logging/tests_enabled.yml:26 Saturday 24 May 2025 04:21:33 -0400 (0:00:01.152) 0:00:01.179 ********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1748074684.2392838, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1747222111.4480228, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 4641337, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1747222111.4480228, "nlink": 2, "path": "/etc/rsyslog.d", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 31, "uid": 0, "version": "634713319", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Check /etc/rsyslog.d] **************************************************** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/tests/logging/tests_enabled.yml:31 Saturday 24 May 2025 04:21:34 -0400 (0:00:00.511) 0:00:01.690 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "/etc/rsyslog.d" ], "delta": "0:00:00.003890", "end": "2025-05-24 04:21:34.721300", "rc": 0, "start": "2025-05-24 04:21:34.717410" } STDOUT: 21-cloudinit.conf TASK [Default run] ************************************************************* task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/tests/logging/tests_enabled.yml:36 Saturday 24 May 2025 04:21:34 -0400 (0:00:00.465) 0:00:02.156 ********** included: fedora.linux_system_roles.logging for managed-node2 TASK [fedora.linux_system_roles.logging : Set global variables] **************** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:2 Saturday 24 May 2025 04:21:34 -0400 (0:00:00.082) 0:00:02.238 ********** included: /tmp/collections-7uu/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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/set_vars.yml:7 Saturday 24 May 2025 04:21:34 -0400 (0:00:00.021) 0:00:02.260 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008554", "end": "2025-05-24 04:21:35.179421", "failed_when_result": false, "rc": 0, "start": "2025-05-24 04:21:35.170867" } STDOUT: running TASK [fedora.linux_system_roles.logging : Require installed systemd] *********** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/set_vars.yml:14 Saturday 24 May 2025 04:21:35 -0400 (0:00:00.344) 0:00:02.605 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/set_vars.yml:19 Saturday 24 May 2025 04:21:35 -0400 (0:00:00.036) 0:00:02.641 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:10 Saturday 24 May 2025 04:21:35 -0400 (0:00:00.021) 0:00:02.663 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "logging_inputs | d([])", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:17 Saturday 24 May 2025 04:21:35 -0400 (0:00:00.041) 0:00:02.704 ********** ok: [managed-node2] => { "ansible_facts": { "rsyslog_outputs": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:21 Saturday 24 May 2025 04:21:35 -0400 (0:00:00.041) 0:00:02.746 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:25 Saturday 24 May 2025 04:21:35 -0400 (0:00:00.043) 0:00:02.789 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:32 Saturday 24 May 2025 04:21:35 -0400 (0:00:00.040) 0:00:02.830 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:45 Saturday 24 May 2025 04:21:35 -0400 (0:00:00.055) 0:00:02.886 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:55 Saturday 24 May 2025 04:21:35 -0400 (0:00:00.018) 0:00:02.904 ********** included: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml for managed-node2 TASK [fedora.linux_system_roles.logging : Initialize logging_tls_tcp_ports] **** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:3 Saturday 24 May 2025 04:21:35 -0400 (0:00:00.093) 0:00:02.997 ********** ok: [managed-node2] => { "ansible_facts": { "logging_tls_tcp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_tcp_ports] ******** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:7 Saturday 24 May 2025 04:21:35 -0400 (0:00:00.050) 0:00:03.047 ********** ok: [managed-node2] => { "ansible_facts": { "logging_tcp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_tls_udp_ports] **** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:11 Saturday 24 May 2025 04:21:35 -0400 (0:00:00.040) 0:00:03.088 ********** ok: [managed-node2] => { "ansible_facts": { "logging_tls_udp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_udp_ports] ******** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:15 Saturday 24 May 2025 04:21:35 -0400 (0:00:00.036) 0:00:03.125 ********** ok: [managed-node2] => { "ansible_facts": { "logging_udp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Parameter 'port' values] ************* task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:24 Saturday 24 May 2025 04:21:35 -0400 (0:00:00.044) 0:00:03.170 ********** 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 : Parameter 'tcp_port' values (without tls)] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:88 Saturday 24 May 2025 04:21:35 -0400 (0:00:00.035) 0:00:03.206 ********** 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 : Parameter 'tcp_port' values (with tls)] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:92 Saturday 24 May 2025 04:21:35 -0400 (0:00:00.035) 0:00:03.241 ********** 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 : Parameter 'udp_port' values (without tls)] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:96 Saturday 24 May 2025 04:21:35 -0400 (0:00:00.036) 0:00:03.277 ********** 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 : Parameter 'udp_port' values (with tls)] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:100 Saturday 24 May 2025 04:21:35 -0400 (0:00:00.036) 0:00:03.314 ********** 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 : Parameter 'server_port' values (without tls)] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:104 Saturday 24 May 2025 04:21:35 -0400 (0:00:00.036) 0:00:03.350 ********** 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 : Parameter 'server_port' values (with tls)] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:108 Saturday 24 May 2025 04:21:36 -0400 (0:00:00.034) 0:00:03.385 ********** 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 : Parameter 'tcp_ports' values (without tls)] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:153 Saturday 24 May 2025 04:21:36 -0400 (0:00:00.034) 0:00:03.420 ********** 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 : Parameter 'tcp_ports' values (with tls)] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:157 Saturday 24 May 2025 04:21:36 -0400 (0:00:00.044) 0:00:03.465 ********** 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 : Parameter 'udp_ports' values (without tls)] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:161 Saturday 24 May 2025 04:21:36 -0400 (0:00:00.059) 0:00:03.524 ********** 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 : Parameter 'udp_ports' values (with tls)] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:165 Saturday 24 May 2025 04:21:36 -0400 (0:00:00.059) 0:00:03.584 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:58 Saturday 24 May 2025 04:21:36 -0400 (0:00:00.056) 0:00:03.640 ********** included: /tmp/collections-7uu/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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:7 Saturday 24 May 2025 04:21:36 -0400 (0:00:00.082) 0:00:03.723 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:11 Saturday 24 May 2025 04:21:36 -0400 (0:00:00.059) 0:00:03.782 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:17 Saturday 24 May 2025 04:21:36 -0400 (0:00:00.053) 0:00:03.836 ********** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Manage firewall for specified ports] ************************************* task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:23 Saturday 24 May 2025 04:21:36 -0400 (0:00:00.055) 0:00:03.891 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:61 Saturday 24 May 2025 04:21:36 -0400 (0:00:00.075) 0:00:03.967 ********** included: /tmp/collections-7uu/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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:7 Saturday 24 May 2025 04:21:36 -0400 (0:00:00.095) 0:00:04.063 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:11 Saturday 24 May 2025 04:21:36 -0400 (0:00:00.079) 0:00:04.143 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:16 Saturday 24 May 2025 04:21:36 -0400 (0:00:00.017) 0:00:04.160 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:21 Saturday 24 May 2025 04:21:36 -0400 (0:00:00.020) 0:00:04.181 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:26 Saturday 24 May 2025 04:21:36 -0400 (0:00:00.017) 0:00:04.198 ********** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Manage selinux for specified ports] ************************************** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:31 Saturday 24 May 2025 04:21:36 -0400 (0:00:00.018) 0:00:04.217 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:65 Saturday 24 May 2025 04:21:36 -0400 (0:00:00.054) 0:00:04.271 ********** included: /tmp/collections-7uu/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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml:2 Saturday 24 May 2025 04:21:37 -0400 (0:00:00.106) 0:00:04.378 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __logging_is_booted", "skip_reason": "Conditional result was False" } TASK [Generate certificates] *************************************************** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml:9 Saturday 24 May 2025 04:21:37 -0400 (0:00:00.058) 0:00:04.437 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:71 Saturday 24 May 2025 04:21:37 -0400 (0:00:00.063) 0:00:04.501 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:75 Saturday 24 May 2025 04:21:37 -0400 (0:00:00.063) 0:00:04.564 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:81 Saturday 24 May 2025 04:21:37 -0400 (0:00:00.063) 0:00:04.628 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:86 Saturday 24 May 2025 04:21:37 -0400 (0:00:00.054) 0:00:04.683 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:93 Saturday 24 May 2025 04:21:37 -0400 (0:00:00.044) 0:00:04.727 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:97 Saturday 24 May 2025 04:21:37 -0400 (0:00:00.039) 0:00:04.767 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:108 Saturday 24 May 2025 04:21:37 -0400 (0:00:00.046) 0:00:04.813 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Saturday 24 May 2025 04:21:37 -0400 (0:00:00.033) 0:00:04.846 ********** included: /tmp/collections-7uu/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-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Saturday 24 May 2025 04:21:37 -0400 (0:00:00.023) 0:00:04.870 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:12 Saturday 24 May 2025 04:21:37 -0400 (0:00:00.034) 0:00:04.905 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:17 Saturday 24 May 2025 04:21:37 -0400 (0:00:00.335) 0:00:05.240 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:21 Saturday 24 May 2025 04:21:37 -0400 (0:00:00.023) 0:00:05.263 ********** ok: [managed-node2] => (item=/tmp/collections-7uu/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-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [managed-node2] => (item=/tmp/collections-7uu/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-7uu/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-7uu/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-7uu/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-7uu/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-7uu/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-7uu/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-7uu/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-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:31 Saturday 24 May 2025 04:21:37 -0400 (0:00:00.037) 0:00:05.301 ********** skipping: [managed-node2] => (item=/tmp/collections-7uu/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-7uu/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-7uu/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-7uu/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-7uu/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-7uu/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-7uu/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-7uu/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-7uu/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-7uu/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-7uu/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-7uu/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-7uu/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-7uu/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-7uu/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-7uu/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-7uu/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-7uu/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-7uu/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-7uu/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-7uu/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-7uu/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-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Saturday 24 May 2025 04:21:37 -0400 (0:00:00.073) 0:00:05.375 ********** included: /tmp/collections-7uu/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-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:17 Saturday 24 May 2025 04:21:38 -0400 (0:00:00.092) 0:00:05.468 ********** ok: [managed-node2] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "rsyslog" ], "delta": "0:00:00.120780", "end": "2025-05-24 04:21:38.589777", "failed_when_result": false, "item": "rsyslog", "rc": 0, "start": "2025-05-24 04:21:38.468997" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:24 Saturday 24 May 2025 04:21:38 -0400 (0:00:00.559) 0:00:06.028 ********** 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-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:33 Saturday 24 May 2025 04:21:38 -0400 (0:00:00.067) 0:00:06.095 ********** 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=24 changed=0 unreachable=0 failed=1 skipped=37 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.12", "end_time": "2025-05-24T08:21:42.597218+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-05-24T08:21:38.722347+00:00Z", "task_name": "Install/Update required packages", "task_path": "/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:33" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 24 May 2025 04:21:42 -0400 (0:00:03.879) 0:00:09.975 ********** =============================================================================== fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages --- 3.88s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:33 Gathering Facts --------------------------------------------------------- 1.15s /tmp/collections-7uu/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.56s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:17 Check if /etc/rsyslog.d exists ------------------------------------------ 0.51s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/tests/logging/tests_enabled.yml:26 Check /etc/rsyslog.d ---------------------------------------------------- 0.47s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/tests/logging/tests_enabled.yml:31 fedora.linux_system_roles.logging : Run systemctl ----------------------- 0.34s /tmp/collections-7uu/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.34s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:12 fedora.linux_system_roles.logging : Generate certificates --------------- 0.11s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:65 fedora.linux_system_roles.logging : Manage selinux on the gathered ports --- 0.10s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:61 fedora.linux_system_roles.logging : Gather ports specified in the logging_inputs and outputs vars --- 0.09s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:55 fedora.linux_system_roles.private_logging_subrole_rsyslog : Main rsyslog subrole --- 0.09s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 fedora.linux_system_roles.logging : Manage firewall on the gathered ports --- 0.08s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:58 Default run ------------------------------------------------------------- 0.08s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/tests/logging/tests_enabled.yml:36 fedora.linux_system_roles.logging : Initialize logging_selinux_ports ---- 0.08s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:7 Manage firewall for specified ports ------------------------------------- 0.08s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:23 fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /vars/main.yml from /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog --- 0.07s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:31 fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset original confs - logging package is absent --- 0.07s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:24 fedora.linux_system_roles.logging : Re-read facts after adding custom fact --- 0.06s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:71 Generate certificates --------------------------------------------------- 0.06s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml:9 fedora.linux_system_roles.logging : Create rsyslog debug dir ------------ 0.06s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:75