ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_imuxsock_files.yml ********************************************* 1 plays in /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/tests/logging/tests_imuxsock_files.yml PLAY [TEST CASE 0; Ensure that the role runs with parameters with the simplest configuration using imuxsock instead of imjournal] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/tests/logging/tests_imuxsock_files.yml:31 Thursday 10 April 2025 01:51:54 -0400 (0:00:00.033) 0:00:00.033 ******** ok: [managed-node2] META: ran handlers TASK [Deploy config to output into local files] ******************************** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/tests/logging/tests_imuxsock_files.yml:38 Thursday 10 April 2025 01:51:55 -0400 (0:00:01.274) 0:00:01.308 ******** 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-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:7 Thursday 10 April 2025 01:51:55 -0400 (0:00:00.057) 0:00:01.366 ******** ok: [managed-node2] => { "ansible_facts": { "__rsyslog_output_files": [ { "name": "default_files", "type": "files" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_outputs] ***************** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:14 Thursday 10 April 2025 01:51:55 -0400 (0:00:00.064) 0:00:01.430 ******** ok: [managed-node2] => { "ansible_facts": { "rsyslog_outputs": [ { "name": "default_files", "type": "files" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:18 Thursday 10 April 2025 01:51:56 -0400 (0:00:00.057) 0:00:01.488 ******** ok: [managed-node2] => { "ansible_facts": { "rsyslog_inputs": [ { "name": "basic_input", "type": "basics", "use_imuxsock": true } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Use of rsyslog_custom_config_files is deprecated] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:22 Thursday 10 April 2025 01:51:56 -0400 (0:00:00.072) 0:00:01.560 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.logging : Use of type custom is deprecated] **** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:29 Thursday 10 April 2025 01:51:56 -0400 (0:00:00.055) 0:00:01.616 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:42 Thursday 10 April 2025 01:51:56 -0400 (0:00:00.063) 0:00:01.679 ******** TASK [fedora.linux_system_roles.logging : Gather ports specified in the logging_inputs and outputs vars] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:52 Thursday 10 April 2025 01:51:56 -0400 (0:00:00.056) 0:00:01.736 ******** included: /tmp/collections-fM4/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-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:3 Thursday 10 April 2025 01:51:56 -0400 (0:00:00.088) 0:00:01.824 ******** 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-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:7 Thursday 10 April 2025 01:51:56 -0400 (0:00:00.091) 0:00:01.916 ******** 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-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:11 Thursday 10 April 2025 01:51:56 -0400 (0:00:00.067) 0:00:01.983 ******** 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-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:15 Thursday 10 April 2025 01:51:56 -0400 (0:00:00.082) 0:00:02.066 ******** ok: [managed-node2] => { "ansible_facts": { "logging_udp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Parameter 'port' values] ************* task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:24 Thursday 10 April 2025 01:51:56 -0400 (0:00:00.056) 0:00:02.122 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'tcp_port' values (without tls)] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:88 Thursday 10 April 2025 01:51:56 -0400 (0:00:00.055) 0:00:02.178 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'tcp_port' values (with tls)] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:92 Thursday 10 April 2025 01:51:56 -0400 (0:00:00.081) 0:00:02.259 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'udp_port' values (without tls)] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:96 Thursday 10 April 2025 01:51:56 -0400 (0:00:00.061) 0:00:02.320 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'udp_port' values (with tls)] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:100 Thursday 10 April 2025 01:51:56 -0400 (0:00:00.083) 0:00:02.404 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'server_port' values (without tls)] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:104 Thursday 10 April 2025 01:51:57 -0400 (0:00:00.060) 0:00:02.465 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'server_port' values (with tls)] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:108 Thursday 10 April 2025 01:51:57 -0400 (0:00:00.077) 0:00:02.542 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'tcp_ports' values (without tls)] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:153 Thursday 10 April 2025 01:51:57 -0400 (0:00:00.082) 0:00:02.624 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'tcp_ports' values (with tls)] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:157 Thursday 10 April 2025 01:51:57 -0400 (0:00:00.059) 0:00:02.684 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'udp_ports' values (without tls)] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:161 Thursday 10 April 2025 01:51:57 -0400 (0:00:00.057) 0:00:02.741 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'udp_ports' values (with tls)] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:165 Thursday 10 April 2025 01:51:57 -0400 (0:00:00.103) 0:00:02.844 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Manage firewall on the gathered ports] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:55 Thursday 10 April 2025 01:51:57 -0400 (0:00:00.064) 0:00:02.909 ******** included: /tmp/collections-fM4/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-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:7 Thursday 10 April 2025 01:51:57 -0400 (0:00:00.120) 0:00:03.029 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Add tcp ports to logging_firewall_ports] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:11 Thursday 10 April 2025 01:51:57 -0400 (0:00:00.081) 0:00:03.111 ******** TASK [fedora.linux_system_roles.logging : Add udp ports to logging_firewall_ports] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:17 Thursday 10 April 2025 01:51:57 -0400 (0:00:00.050) 0:00:03.162 ******** TASK [Manage firewall for specified ports] ************************************* task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:23 Thursday 10 April 2025 01:51:57 -0400 (0:00:00.061) 0:00:03.224 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Manage selinux on the gathered ports] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:58 Thursday 10 April 2025 01:51:57 -0400 (0:00:00.054) 0:00:03.279 ******** included: /tmp/collections-fM4/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-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:7 Thursday 10 April 2025 01:51:57 -0400 (0:00:00.075) 0:00:03.354 ******** skipping: [managed-node2] => { "changed": false, "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-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:11 Thursday 10 April 2025 01:51:57 -0400 (0:00:00.065) 0:00:03.420 ******** TASK [fedora.linux_system_roles.logging : Add tls tcp ports to logging_selinux_ports] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:16 Thursday 10 April 2025 01:51:58 -0400 (0:00:00.048) 0:00:03.468 ******** TASK [fedora.linux_system_roles.logging : Add non tls udp ports to logging_selinux_ports] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:21 Thursday 10 April 2025 01:51:58 -0400 (0:00:00.046) 0:00:03.515 ******** TASK [fedora.linux_system_roles.logging : Add tls udp ports to logging_selinux_ports] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:26 Thursday 10 April 2025 01:51:58 -0400 (0:00:00.046) 0:00:03.562 ******** TASK [Manage selinux for specified ports] ************************************** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:31 Thursday 10 April 2025 01:51:58 -0400 (0:00:00.048) 0:00:03.611 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Generate certificates] *************** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:62 Thursday 10 April 2025 01:51:58 -0400 (0:00:00.124) 0:00:03.735 ******** included: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml:2 Thursday 10 April 2025 01:51:58 -0400 (0:00:00.171) 0:00:03.907 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Re-read facts after adding custom fact] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:68 Thursday 10 April 2025 01:51:58 -0400 (0:00:00.101) 0:00:04.009 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug dir] ************ task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:72 Thursday 10 April 2025 01:51:58 -0400 (0:00:00.081) 0:00:04.090 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:78 Thursday 10 April 2025 01:51:58 -0400 (0:00:00.206) 0:00:04.296 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug file] *********** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:83 Thursday 10 April 2025 01:51:58 -0400 (0:00:00.101) 0:00:04.398 ******** skipping: [managed-node2] => { "changed": 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-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:90 Thursday 10 April 2025 01:51:59 -0400 (0:00:00.099) 0:00:04.498 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Populate rsyslog debug file] ********* task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:94 Thursday 10 April 2025 01:51:59 -0400 (0:00:00.136) 0:00:04.635 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:105 Thursday 10 April 2025 01:51:59 -0400 (0:00:00.080) 0:00:04.715 ******** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Thursday 10 April 2025 01:51:59 -0400 (0:00:00.077) 0:00:04.793 ******** included: /tmp/collections-fM4/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-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Thursday 10 April 2025 01:51:59 -0400 (0:00:00.033) 0:00:04.826 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check if system is ostree] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:12 Thursday 10 April 2025 01:51:59 -0400 (0:00:00.047) 0:00:04.874 ******** 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-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:17 Thursday 10 April 2025 01:51:59 -0400 (0:00:00.447) 0:00:05.322 ******** 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-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:21 Thursday 10 April 2025 01:51:59 -0400 (0:00:00.042) 0:00:05.364 ******** ok: [managed-node2] => (item=/tmp/collections-fM4/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-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [managed-node2] => (item=/tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-fM4/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-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-fM4/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-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=/tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /vars/main.yml from /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:31 Thursday 10 April 2025 01:52:00 -0400 (0:00:00.160) 0:00:05.525 ******** skipping: [managed-node2] => (item=/tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-fM4/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-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-fM4/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-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-fM4/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-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-fM4/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-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-fM4/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-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-fM4/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-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-fM4/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-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-fM4/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-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-fM4/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-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-fM4/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-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Main rsyslog subrole] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Thursday 10 April 2025 01:52:00 -0400 (0:00:00.133) 0:00:05.658 ******** included: /tmp/collections-fM4/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-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:15 Thursday 10 April 2025 01:52:00 -0400 (0:00:00.323) 0:00:05.982 ******** fatal: [managed-node2]: FAILED! => {} MSG: Invalid data passed to 'loop', it requires a list, got this instead: . Hint: If you passed a list/dict of just one element, try adding wantlist=True to your lookup invocation or use q/query instead of lookup. PLAY RECAP ********************************************************************* managed-node2 : ok=17 changed=0 unreachable=0 failed=1 skipped=33 rescued=0 ignored=0 Thursday 10 April 2025 01:52:00 -0400 (0:00:00.100) 0:00:06.083 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 1.27s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/tests/logging/tests_imuxsock_files.yml:31 fedora.linux_system_roles.private_logging_subrole_rsyslog : Check if system is ostree --- 0.45s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:12 fedora.linux_system_roles.private_logging_subrole_rsyslog : Main rsyslog subrole --- 0.32s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 fedora.linux_system_roles.logging : Create rsyslog debug dir ------------ 0.21s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:72 fedora.linux_system_roles.logging : Generate certificates --------------- 0.17s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:62 fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables --- 0.16s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:21 fedora.linux_system_roles.logging : Use a debug var to avoid an empty dict in with_dict --- 0.14s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:90 fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /vars/main.yml from /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog --- 0.13s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:31 Manage selinux for specified ports -------------------------------------- 0.12s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:31 fedora.linux_system_roles.logging : Manage firewall on the gathered ports --- 0.12s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:55 fedora.linux_system_roles.logging : Parameter 'udp_ports' values (without tls) --- 0.10s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:161 fedora.linux_system_roles.logging : Delete debug file ------------------- 0.10s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:78 Generate certificates --------------------------------------------------- 0.10s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml:2 fedora.linux_system_roles.private_logging_subrole_rsyslog : Get status of rsyslog packages --- 0.10s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:15 fedora.linux_system_roles.logging : Create rsyslog debug file ----------- 0.10s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:83 fedora.linux_system_roles.logging : Initialize logging_tls_tcp_ports ---- 0.09s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:3 fedora.linux_system_roles.logging : Gather ports specified in the logging_inputs and outputs vars --- 0.09s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:52 fedora.linux_system_roles.logging : Parameter 'udp_port' values (without tls) --- 0.08s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:96 fedora.linux_system_roles.logging : Initialize logging_tls_udp_ports ---- 0.08s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:11 fedora.linux_system_roles.logging : Parameter 'server_port' values (with tls) --- 0.08s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:108