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_files_files.yml ************************************************ 1 plays in /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_files.yml PLAY [Ensure that the role runs with parameters from two files inputs to two files outputs] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_files.yml:28 Thursday 10 April 2025 01:51:51 -0400 (0:00:00.036) 0:00:00.036 ******** ok: [managed-node1] META: ran handlers TASK [Create tempdir for tests] ************************************************ task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_files.yml:44 Thursday 10 April 2025 01:51:52 -0400 (0:00:01.222) 0:00:01.258 ******** changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/logging_rv0sjey1_lsr", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [TEST CASE 0; Ensure that the role runs with parameters from two files inputs to two files outputs] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_files.yml:52 Thursday 10 April 2025 01:51:53 -0400 (0:00:00.633) 0:00:01.891 ******** 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:53 -0400 (0:00:00.056) 0:00:01.948 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was 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:53 -0400 (0:00:00.061) 0:00:02.010 ******** ok: [managed-node1] => { "ansible_facts": { "rsyslog_outputs": [ { "exclude": [ "authpriv.none", "auth.none", "cron.none", "mail.none" ], "name": "files_output0", "path": "/var/log/messages", "severity": "info", "type": "files" }, { "facility": "authpriv,auth", "name": "files_output1", "path": "/var/log/secure", "type": "files" }, { "dir_group": 0, "dir_mode": "0770", "dir_owner": "root", "group": "root", "mode": "0660", "name": "files_output2", "owner": 0, "path": "/tmp/logging_rv0sjey1_lsr/test2/test.log", "severity": "info", "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:53 -0400 (0:00:00.064) 0:00:02.074 ******** ok: [managed-node1] => { "ansible_facts": { "rsyslog_inputs": [ { "facility": "local6", "input_log_path": "/var/log/inputdirectory0/*.log", "name": "files_input0", "reopen_on_truncate": true, "severity": "err", "type": "files" }, { "input_log_path": "/var/log/inputdirectory1/*.log", "name": "php:", "reopen_on_truncate": false, "type": "files" }, { "name": "files_input2", "type": "files" } ] }, "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:53 -0400 (0:00:00.096) 0:00:02.170 ******** skipping: [managed-node1] => {} 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:53 -0400 (0:00:00.092) 0:00:02.263 ******** skipping: [managed-node1] => {} 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:53 -0400 (0:00:00.082) 0:00:02.345 ******** skipping: [managed-node1] => (item={'name': 'flow_0', 'inputs': ['files_input0', 'php:'], 'outputs': ['files_output0', 'files_output1']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "files_input0", "php:" ], "name": "flow_0", "outputs": [ "files_output0", "files_output1" ] }, "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-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:52 Thursday 10 April 2025 01:51:53 -0400 (0:00:00.120) 0:00:02.466 ******** included: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml for managed-node1 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:54 -0400 (0:00:00.132) 0:00:02.598 ******** ok: [managed-node1] => { "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:54 -0400 (0:00:00.097) 0:00:02.695 ******** ok: [managed-node1] => { "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:54 -0400 (0:00:00.065) 0:00:02.760 ******** ok: [managed-node1] => { "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:54 -0400 (0:00:00.072) 0:00:02.833 ******** ok: [managed-node1] => { "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:54 -0400 (0:00:00.082) 0:00:02.916 ******** skipping: [managed-node1] => { "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:54 -0400 (0:00:00.069) 0:00:02.986 ******** skipping: [managed-node1] => { "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:54 -0400 (0:00:00.068) 0:00:03.054 ******** skipping: [managed-node1] => { "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:54 -0400 (0:00:00.098) 0:00:03.153 ******** skipping: [managed-node1] => { "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:54 -0400 (0:00:00.080) 0:00:03.233 ******** skipping: [managed-node1] => { "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:54 -0400 (0:00:00.122) 0:00:03.356 ******** skipping: [managed-node1] => { "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:54 -0400 (0:00:00.112) 0:00:03.468 ******** skipping: [managed-node1] => { "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:55 -0400 (0:00:00.062) 0:00:03.530 ******** skipping: [managed-node1] => { "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:55 -0400 (0:00:00.058) 0:00:03.588 ******** skipping: [managed-node1] => { "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:55 -0400 (0:00:00.062) 0:00:03.651 ******** skipping: [managed-node1] => { "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:55 -0400 (0:00:00.059) 0:00:03.710 ******** skipping: [managed-node1] => { "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:55 -0400 (0:00:00.064) 0:00:03.775 ******** included: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml for managed-node1 TASK [fedora.linux_system_roles.logging : Initialize logging_firewall_ports] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:7 Thursday 10 April 2025 01:51:55 -0400 (0:00:00.111) 0:00:03.886 ******** skipping: [managed-node1] => { "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:55 -0400 (0:00:00.057) 0:00:03.944 ******** 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:55 -0400 (0:00:00.049) 0:00:03.994 ******** 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:55 -0400 (0:00:00.050) 0:00:04.044 ******** skipping: [managed-node1] => { "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:55 -0400 (0:00:00.087) 0:00:04.132 ******** included: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml for managed-node1 TASK [fedora.linux_system_roles.logging : Initialize logging_selinux_ports] **** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:7 Thursday 10 April 2025 01:51:55 -0400 (0:00:00.159) 0:00:04.291 ******** skipping: [managed-node1] => { "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:55 -0400 (0:00:00.048) 0:00:04.340 ******** 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:55 -0400 (0:00:00.067) 0:00:04.407 ******** 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:55 -0400 (0:00:00.050) 0:00:04.458 ******** 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:56 -0400 (0:00:00.067) 0:00:04.525 ******** 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:56 -0400 (0:00:00.049) 0:00:04.575 ******** skipping: [managed-node1] => { "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:56 -0400 (0:00:00.057) 0:00:04.632 ******** included: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml for managed-node1 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:56 -0400 (0:00:00.090) 0:00:04.722 ******** skipping: [managed-node1] => { "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:56 -0400 (0:00:00.062) 0:00:04.784 ******** skipping: [managed-node1] => { "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:56 -0400 (0:00:00.073) 0:00:04.858 ******** skipping: [managed-node1] => { "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:56 -0400 (0:00:00.136) 0:00:04.995 ******** skipping: [managed-node1] => { "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:56 -0400 (0:00:00.117) 0:00:05.112 ******** skipping: [managed-node1] => { "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:56 -0400 (0:00:00.134) 0:00:05.247 ******** skipping: [managed-node1] => { "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:56 -0400 (0:00:00.139) 0:00:05.386 ******** skipping: [managed-node1] => { "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:56 -0400 (0:00:00.087) 0:00:05.474 ******** 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:57 -0400 (0:00:00.112) 0:00:05.586 ******** included: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Thursday 10 April 2025 01:51:57 -0400 (0:00:00.075) 0:00:05.661 ******** skipping: [managed-node1] => { "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:57 -0400 (0:00:00.149) 0:00:05.810 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set flag to indicate system is ostree] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:17 Thursday 10 April 2025 01:51:58 -0400 (0:00:00.761) 0:00:06.572 ******** ok: [managed-node1] => { "ansible_facts": { "__logging_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:21 Thursday 10 April 2025 01:51:58 -0400 (0:00:00.130) 0:00:06.703 ******** ok: [managed-node1] => (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-node1] => (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-node1] => (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-node1] => (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-node1] => (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:51:58 -0400 (0:00:00.210) 0:00:06.914 ******** skipping: [managed-node1] => (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-node1] => (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-node1] => (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-node1] => (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-node1] => (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-node1] => (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-node1] => (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-node1] => (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-node1] => (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-node1] => (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-node1] => (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:51:58 -0400 (0:00:00.181) 0:00:07.096 ******** included: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml for managed-node1 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get status of rsyslog packages] *** task path: /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:15 Thursday 10 April 2025 01:51:58 -0400 (0:00:00.244) 0:00:07.340 ******** fatal: [managed-node1]: 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-node1 : ok=17 changed=1 unreachable=0 failed=1 skipped=34 rescued=0 ignored=0 Thursday 10 April 2025 01:51:58 -0400 (0:00:00.032) 0:00:07.372 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 1.22s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_files.yml:28 fedora.linux_system_roles.private_logging_subrole_rsyslog : Check if system is ostree --- 0.76s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:12 Create tempdir for tests ------------------------------------------------ 0.63s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_files.yml:44 fedora.linux_system_roles.private_logging_subrole_rsyslog : Main rsyslog subrole --- 0.24s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables --- 0.21s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:21 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.18s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:31 fedora.linux_system_roles.logging : Manage selinux on the gathered ports --- 0.16s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:58 fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role --- 0.15s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 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.logging : Create rsyslog debug dir ------------ 0.14s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:72 fedora.linux_system_roles.logging : Create rsyslog debug file ----------- 0.13s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:83 fedora.linux_system_roles.logging : Gather ports specified in the logging_inputs and outputs vars --- 0.13s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:52 fedora.linux_system_roles.private_logging_subrole_rsyslog : Set flag to indicate system is ostree --- 0.13s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:17 fedora.linux_system_roles.logging : Parameter 'udp_port' values (with tls) --- 0.12s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:100 fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs --- 0.12s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:42 fedora.linux_system_roles.logging : Delete debug file ------------------- 0.12s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:78 Include Rsyslog role ---------------------------------------------------- 0.11s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:105 fedora.linux_system_roles.logging : Parameter 'server_port' values (without tls) --- 0.11s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:104 fedora.linux_system_roles.logging : Manage firewall on the gathered ports --- 0.11s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:55 fedora.linux_system_roles.logging : Parameter 'tcp_port' values (with tls) --- 0.10s /tmp/collections-fM4/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:92