ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [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_remote.yml ***************************************************** 1 plays in /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/tests/logging/tests_remote.yml PLAY [Ensure inputs from the remote logging system passed to the local files outputs.] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/tests/logging/tests_remote.yml:2 Thursday 10 April 2025 03:16:17 -0400 (0:00:00.038) 0:00:00.038 ******** ok: [managed-node2] META: ran handlers TASK [TEST CASE 0; Test configuration inputs from the remote rsyslog to the default local files outputs.] *** task path: /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/tests/logging/tests_remote.yml:16 Thursday 10 April 2025 03:16:18 -0400 (0:00:01.341) 0:00:01.380 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:7 Thursday 10 April 2025 03:16:19 -0400 (0:00:00.319) 0:00:01.699 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:14 Thursday 10 April 2025 03:16:19 -0400 (0:00:00.154) 0:00:01.853 ******** ok: [managed-node2] => { "ansible_facts": { "rsyslog_outputs": [ { "name": "remote_files_output0", "type": "remote_files" }, { "name": "default_files", "type": "files" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:18 Thursday 10 April 2025 03:16:19 -0400 (0:00:00.155) 0:00:02.009 ******** ok: [managed-node2] => { "ansible_facts": { "rsyslog_inputs": [ { "name": "remote_tcp_input", "tcp_ports": [ 514, 40001 ], "type": "remote" }, { "name": "remote_udp_input", "type": "remote", "udp_ports": [ 514, 40002 ] } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Use of rsyslog_custom_config_files is deprecated] *** task path: /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:22 Thursday 10 April 2025 03:16:19 -0400 (0:00:00.138) 0:00:02.148 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.logging : Use of type custom is deprecated] **** task path: /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:29 Thursday 10 April 2025 03:16:19 -0400 (0:00:00.138) 0:00:02.287 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:42 Thursday 10 April 2025 03:16:19 -0400 (0:00:00.078) 0:00:02.365 ******** skipping: [managed-node2] => (item={u'inputs': [u'remote_udp_input', u'remote_tcp_input'], u'name': u'flow_0', u'outputs': [u'remote_files_output0']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "remote_udp_input", "remote_tcp_input" ], "name": "flow_0", "outputs": [ "remote_files_output0" ] }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Gather ports specified in the logging_inputs and outputs vars] *** task path: /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:52 Thursday 10 April 2025 03:16:20 -0400 (0:00:00.103) 0:00:02.468 ******** included: /tmp/collections-U5X/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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:3 Thursday 10 April 2025 03:16:20 -0400 (0:00:00.135) 0:00:02.604 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:7 Thursday 10 April 2025 03:16:20 -0400 (0:00:00.069) 0:00:02.674 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:11 Thursday 10 April 2025 03:16:20 -0400 (0:00:00.098) 0:00:02.772 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:15 Thursday 10 April 2025 03:16:20 -0400 (0:00:00.104) 0:00:02.877 ******** ok: [managed-node2] => { "ansible_facts": { "logging_udp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Parameter 'port' values] ************* task path: /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:24 Thursday 10 April 2025 03:16:20 -0400 (0:00:00.077) 0:00:02.954 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:88 Thursday 10 April 2025 03:16:20 -0400 (0:00:00.087) 0:00:03.042 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:92 Thursday 10 April 2025 03:16:20 -0400 (0:00:00.139) 0:00:03.182 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:96 Thursday 10 April 2025 03:16:20 -0400 (0:00:00.085) 0:00:03.267 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:100 Thursday 10 April 2025 03:16:20 -0400 (0:00:00.081) 0:00:03.348 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:104 Thursday 10 April 2025 03:16:20 -0400 (0:00:00.067) 0:00:03.416 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:108 Thursday 10 April 2025 03:16:21 -0400 (0:00:00.071) 0:00:03.488 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:153 Thursday 10 April 2025 03:16:21 -0400 (0:00:00.073) 0:00:03.561 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:157 Thursday 10 April 2025 03:16:21 -0400 (0:00:00.133) 0:00:03.694 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:161 Thursday 10 April 2025 03:16:21 -0400 (0:00:00.160) 0:00:03.855 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:165 Thursday 10 April 2025 03:16:21 -0400 (0:00:00.159) 0:00:04.015 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:55 Thursday 10 April 2025 03:16:21 -0400 (0:00:00.112) 0:00:04.128 ******** included: /tmp/collections-U5X/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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:7 Thursday 10 April 2025 03:16:21 -0400 (0:00:00.193) 0:00:04.321 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:11 Thursday 10 April 2025 03:16:22 -0400 (0:00:00.117) 0:00:04.438 ******** TASK [fedora.linux_system_roles.logging : Add udp ports to logging_firewall_ports] *** task path: /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:17 Thursday 10 April 2025 03:16:22 -0400 (0:00:00.076) 0:00:04.515 ******** TASK [Manage firewall for specified ports] ************************************* task path: /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:23 Thursday 10 April 2025 03:16:22 -0400 (0:00:00.069) 0:00:04.584 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:58 Thursday 10 April 2025 03:16:22 -0400 (0:00:00.094) 0:00:04.678 ******** included: /tmp/collections-U5X/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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:7 Thursday 10 April 2025 03:16:22 -0400 (0:00:00.138) 0:00:04.817 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:11 Thursday 10 April 2025 03:16:22 -0400 (0:00:00.127) 0:00:04.944 ******** TASK [fedora.linux_system_roles.logging : Add tls tcp ports to logging_selinux_ports] *** task path: /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:16 Thursday 10 April 2025 03:16:22 -0400 (0:00:00.120) 0:00:05.065 ******** TASK [fedora.linux_system_roles.logging : Add non tls udp ports to logging_selinux_ports] *** task path: /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:21 Thursday 10 April 2025 03:16:22 -0400 (0:00:00.116) 0:00:05.181 ******** TASK [fedora.linux_system_roles.logging : Add tls udp ports to logging_selinux_ports] *** task path: /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:26 Thursday 10 April 2025 03:16:22 -0400 (0:00:00.161) 0:00:05.343 ******** TASK [Manage selinux for specified ports] ************************************** task path: /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:31 Thursday 10 April 2025 03:16:22 -0400 (0:00:00.058) 0:00:05.401 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Generate certificates] *************** task path: /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:62 Thursday 10 April 2025 03:16:23 -0400 (0:00:00.092) 0:00:05.494 ******** included: /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml:2 Thursday 10 April 2025 03:16:23 -0400 (0:00:00.161) 0:00:05.655 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:68 Thursday 10 April 2025 03:16:23 -0400 (0:00:00.087) 0:00:05.742 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:72 Thursday 10 April 2025 03:16:23 -0400 (0:00:00.098) 0:00:05.841 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:78 Thursday 10 April 2025 03:16:23 -0400 (0:00:00.116) 0:00:05.958 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:83 Thursday 10 April 2025 03:16:23 -0400 (0:00:00.126) 0:00:06.085 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:90 Thursday 10 April 2025 03:16:23 -0400 (0:00:00.095) 0:00:06.180 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:94 Thursday 10 April 2025 03:16:23 -0400 (0:00:00.082) 0:00:06.262 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:105 Thursday 10 April 2025 03:16:23 -0400 (0:00:00.092) 0:00:06.355 ******** TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Thursday 10 April 2025 03:16:24 -0400 (0:00:00.109) 0:00:06.465 ******** included: /tmp/collections-U5X/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-U5X/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Thursday 10 April 2025 03:16:24 -0400 (0:00:00.063) 0:00:06.528 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:12 Thursday 10 April 2025 03:16:24 -0400 (0:00:00.079) 0:00:06.608 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:17 Thursday 10 April 2025 03:16:24 -0400 (0:00:00.511) 0:00:07.120 ******** 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-U5X/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:21 Thursday 10 April 2025 03:16:24 -0400 (0:00:00.064) 0:00:07.184 ******** ok: [managed-node2] => (item=/tmp/collections-U5X/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-U5X/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [managed-node2] => (item=/tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-U5X/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-U5X/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=/tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics_rhel7.j2" }, "ansible_included_var_files": [ "/tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.yml" } skipping: [managed-node2] => (item=/tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /vars/main.yml from /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog] *** task path: /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:31 Thursday 10 April 2025 03:16:24 -0400 (0:00:00.110) 0:00:07.295 ******** skipping: [managed-node2] => (item=/tmp/collections-U5X/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-U5X/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-U5X/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-U5X/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-U5X/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-U5X/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-U5X/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-U5X/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-U5X/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-U5X/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-U5X/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-U5X/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-U5X/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-U5X/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-U5X/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-U5X/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-U5X/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-U5X/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-U5X/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-U5X/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-U5X/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-U5X/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-U5X/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Thursday 10 April 2025 03:16:24 -0400 (0:00:00.087) 0:00:07.382 ******** included: /tmp/collections-U5X/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-U5X/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:15 Thursday 10 April 2025 03:16:25 -0400 (0:00:00.263) 0:00:07.646 ******** 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 03:16:25 -0400 (0:00:00.050) 0:00:07.696 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 1.34s /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/tests/logging/tests_remote.yml:2 fedora.linux_system_roles.private_logging_subrole_rsyslog : Check if system is ostree --- 0.51s /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:12 TEST CASE 0; Test configuration inputs from the remote rsyslog to the default local files outputs. --- 0.32s /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/tests/logging/tests_remote.yml:16 fedora.linux_system_roles.private_logging_subrole_rsyslog : Main rsyslog subrole --- 0.26s /tmp/collections-U5X/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.19s /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:55 fedora.linux_system_roles.logging : Add non tls udp ports to logging_selinux_ports --- 0.16s /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:21 fedora.linux_system_roles.logging : Generate certificates --------------- 0.16s /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:62 fedora.linux_system_roles.logging : Parameter 'tcp_ports' values (with tls) --- 0.16s /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:157 fedora.linux_system_roles.logging : Parameter 'udp_ports' values (without tls) --- 0.16s /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:161 fedora.linux_system_roles.logging : Set rsyslog_outputs ----------------- 0.16s /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:14 fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty --- 0.15s /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:7 fedora.linux_system_roles.logging : Parameter 'tcp_port' values (without tls) --- 0.14s /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:88 fedora.linux_system_roles.logging : Set rsyslog_inputs ------------------ 0.14s /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:18 fedora.linux_system_roles.logging : Use of rsyslog_custom_config_files is deprecated --- 0.14s /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:22 fedora.linux_system_roles.logging : Manage selinux on the gathered ports --- 0.14s /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:58 fedora.linux_system_roles.logging : Gather ports specified in the logging_inputs and outputs vars --- 0.14s /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:52 fedora.linux_system_roles.logging : Parameter 'tcp_ports' values (without tls) --- 0.13s /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:153 fedora.linux_system_roles.logging : Initialize logging_selinux_ports ---- 0.13s /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:7 fedora.linux_system_roles.logging : Delete debug file ------------------- 0.13s /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:78 fedora.linux_system_roles.logging : Add non tls tcp ports to logging_selinux_ports --- 0.12s /tmp/collections-U5X/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:11