ansible-playbook [core 2.17.12] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-7uu executable location = /usr/local/bin/ansible-playbook python version = 3.12.10 (main, May 9 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-5)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_files_elasticsearch.yml **************************************** 1 plays in /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_elasticsearch.yml PLAY [Ensure that the role runs with parameters from imfile to two elasticsearch outputs] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_elasticsearch.yml:2 Saturday 24 May 2025 04:21:36 -0400 (0:00:00.047) 0:00:00.047 ********** [WARNING]: Platform linux on host managed-node3 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node3] TASK [Create tempdir for test files] ******************************************* task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_elasticsearch.yml:24 Saturday 24 May 2025 04:21:38 -0400 (0:00:01.209) 0:00:01.256 ********** changed: [managed-node3 -> localhost] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/logging_test_cm87c1mm", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Set __test_ca_cert path] ************************************************* task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_elasticsearch.yml:31 Saturday 24 May 2025 04:21:38 -0400 (0:00:00.348) 0:00:01.605 ********** ok: [managed-node3] => { "ansible_facts": { "__test_ca_cert": "/tmp/logging_test_cm87c1mm/es-ca.crt" }, "changed": false } TASK [Set __test_cert path] **************************************************** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_elasticsearch.yml:35 Saturday 24 May 2025 04:21:38 -0400 (0:00:00.016) 0:00:01.621 ********** ok: [managed-node3] => { "ansible_facts": { "__test_cert": "/tmp/logging_test_cm87c1mm/es-cert.pem" }, "changed": false } TASK [Set __test_key path] ***************************************************** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_elasticsearch.yml:39 Saturday 24 May 2025 04:21:38 -0400 (0:00:00.014) 0:00:01.636 ********** ok: [managed-node3] => { "ansible_facts": { "__test_key": "/tmp/logging_test_cm87c1mm/es-key.pem" }, "changed": false } TASK [Local certs are copied to the target host with the default configuration path.] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_elasticsearch.yml:43 Saturday 24 May 2025 04:21:38 -0400 (0:00:00.015) 0:00:01.652 ********** changed: [managed-node3 -> localhost] => (item=/tmp/logging_test_cm87c1mm/es-ca.crt) => { "ansible_loop_var": "item", "changed": true, "checksum": "ca08cd93481bc6cbaa45d21f13963b610e55f9da", "dest": "/tmp/logging_test_cm87c1mm/es-ca.crt", "gid": 0, "group": "root", "item": "/tmp/logging_test_cm87c1mm/es-ca.crt", "md5sum": "4c2d66199d0dff596a9b49d6f4ecbae2", "mode": "0400", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 52, "src": "/root/.ansible/tmp/ansible-tmp-1748074898.492847-8571-213097586460120/.source.crt", "state": "file", "uid": 0 } changed: [managed-node3 -> localhost] => (item=/tmp/logging_test_cm87c1mm/es-cert.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "8622bf37cb915b0aada453686b9f47af89a00224", "dest": "/tmp/logging_test_cm87c1mm/es-cert.pem", "gid": 0, "group": "root", "item": "/tmp/logging_test_cm87c1mm/es-cert.pem", "md5sum": "ec344d1eb15f285fa1ccd2b7e9202502", "mode": "0400", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 54, "src": "/root/.ansible/tmp/ansible-tmp-1748074899.3782964-8571-131109084009595/.source.pem", "state": "file", "uid": 0 } changed: [managed-node3 -> localhost] => (item=/tmp/logging_test_cm87c1mm/es-key.pem) => { "ansible_loop_var": "item", "changed": true, "checksum": "6f660266e7725316969126a94e7d5e9d6b818987", "dest": "/tmp/logging_test_cm87c1mm/es-key.pem", "gid": 0, "group": "root", "item": "/tmp/logging_test_cm87c1mm/es-key.pem", "md5sum": "25fd417239e7551afd4da62efedf58bc", "mode": "0400", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 53, "src": "/root/.ansible/tmp/ansible-tmp-1748074900.0449173-8571-241272038743519/.source.pem", "state": "file", "uid": 0 } TASK [TEST CASE 0; local certs are copied to the target host with the default configuration path] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_elasticsearch.yml:55 Saturday 24 May 2025 04:21:40 -0400 (0:00:02.108) 0:00:03.760 ********** included: fedora.linux_system_roles.logging for managed-node3 TASK [fedora.linux_system_roles.logging : Set global variables] **************** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:2 Saturday 24 May 2025 04:21:40 -0400 (0:00:00.044) 0:00:03.805 ********** included: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.logging : Run systemctl] *********************** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/set_vars.yml:7 Saturday 24 May 2025 04:21:40 -0400 (0:00:00.017) 0:00:03.822 ********** ok: [managed-node3] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007786", "end": "2025-05-24 04:21:41.027977", "failed_when_result": false, "rc": 0, "start": "2025-05-24 04:21:41.020191" } STDOUT: running TASK [fedora.linux_system_roles.logging : Require installed systemd] *********** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/set_vars.yml:14 Saturday 24 May 2025 04:21:41 -0400 (0:00:00.436) 0:00:04.259 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "\"No such file or directory\" in __is_system_running.msg | d(\"\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/set_vars.yml:19 Saturday 24 May 2025 04:21:41 -0400 (0:00:00.048) 0:00:04.307 ********** ok: [managed-node3] => { "ansible_facts": { "__logging_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:10 Saturday 24 May 2025 04:21:41 -0400 (0:00:00.031) 0:00:04.339 ********** ok: [managed-node3] => { "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-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:17 Saturday 24 May 2025 04:21:41 -0400 (0:00:00.073) 0:00:04.412 ********** ok: [managed-node3] => { "ansible_facts": { "rsyslog_outputs": [ { "ca_cert_src": "/tmp/logging_test_cm87c1mm/es-ca.crt", "cert_src": "/tmp/logging_test_cm87c1mm/es-cert.pem", "index_prefix": "project.", "input_type": "ovirt", "name": "elasticsearch_output", "private_key_src": "/tmp/logging_test_cm87c1mm/es-key.pem", "retryfailures": true, "server_host": "logging-es", "server_port": 9200, "type": "elasticsearch" }, { "name": "default_files", "type": "files" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Set rsyslog_inputs] ****************** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:21 Saturday 24 May 2025 04:21:41 -0400 (0:00:00.062) 0:00:04.474 ********** ok: [managed-node3] => { "ansible_facts": { "rsyslog_inputs": [ { "input_log_path": "/var/log/inputdirectory/*.log", "name": "files_input", "type": "files" } ] }, "changed": false } TASK [fedora.linux_system_roles.logging : Use of rsyslog_custom_config_files is deprecated] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:25 Saturday 24 May 2025 04:21:41 -0400 (0:00:00.070) 0:00:04.545 ********** skipping: [managed-node3] => { "false_condition": "rsyslog_custom_config_files is defined" } TASK [fedora.linux_system_roles.logging : Use of type custom is deprecated] **** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:32 Saturday 24 May 2025 04:21:41 -0400 (0:00:00.054) 0:00:04.599 ********** skipping: [managed-node3] => { "false_condition": "__custom_output_files | length > 0" } TASK [fedora.linux_system_roles.logging : Check logging_inputs item in logging_flows.inputs] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:45 Saturday 24 May 2025 04:21:41 -0400 (0:00:00.051) 0:00:04.651 ********** skipping: [managed-node3] => (item={'name': 'flow_0', 'inputs': ['files_input'], 'outputs': '[elasticsearch_output]'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.inputs | intersect(__logging_input_names) | length != item.inputs | length", "item": { "inputs": [ "files_input" ], "name": "flow_0", "outputs": "[elasticsearch_output]" }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.logging : Gather ports specified in the logging_inputs and outputs vars] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:55 Saturday 24 May 2025 04:21:41 -0400 (0:00:00.051) 0:00:04.702 ********** included: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml for managed-node3 TASK [fedora.linux_system_roles.logging : Initialize logging_tls_tcp_ports] **** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:3 Saturday 24 May 2025 04:21:41 -0400 (0:00:00.055) 0:00:04.757 ********** ok: [managed-node3] => { "ansible_facts": { "logging_tls_tcp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_tcp_ports] ******** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:7 Saturday 24 May 2025 04:21:41 -0400 (0:00:00.038) 0:00:04.796 ********** ok: [managed-node3] => { "ansible_facts": { "logging_tcp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_tls_udp_ports] **** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:11 Saturday 24 May 2025 04:21:41 -0400 (0:00:00.040) 0:00:04.837 ********** ok: [managed-node3] => { "ansible_facts": { "logging_tls_udp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Initialize logging_udp_ports] ******** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:15 Saturday 24 May 2025 04:21:41 -0400 (0:00:00.047) 0:00:04.885 ********** ok: [managed-node3] => { "ansible_facts": { "logging_udp_ports": [] }, "changed": false } TASK [fedora.linux_system_roles.logging : Parameter 'port' values] ************* task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:24 Saturday 24 May 2025 04:21:41 -0400 (0:00:00.060) 0:00:04.945 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "(logging_manage_firewall | bool) or (logging_manage_selinux | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'tcp_port' values (without tls)] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:88 Saturday 24 May 2025 04:21:41 -0400 (0:00:00.053) 0:00:04.999 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "(logging_manage_firewall | bool) or (logging_manage_selinux | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'tcp_port' values (with tls)] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:92 Saturday 24 May 2025 04:21:41 -0400 (0:00:00.039) 0:00:05.038 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "(logging_manage_firewall | bool) or (logging_manage_selinux | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'udp_port' values (without tls)] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:96 Saturday 24 May 2025 04:21:41 -0400 (0:00:00.050) 0:00:05.089 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "(logging_manage_firewall | bool) or (logging_manage_selinux | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'udp_port' values (with tls)] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:100 Saturday 24 May 2025 04:21:41 -0400 (0:00:00.060) 0:00:05.149 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "(logging_manage_firewall | bool) or (logging_manage_selinux | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'server_port' values (without tls)] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:104 Saturday 24 May 2025 04:21:42 -0400 (0:00:00.052) 0:00:05.201 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "(logging_manage_firewall | bool) or (logging_manage_selinux | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'server_port' values (with tls)] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:108 Saturday 24 May 2025 04:21:42 -0400 (0:00:00.042) 0:00:05.244 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "(logging_manage_firewall | bool) or (logging_manage_selinux | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'tcp_ports' values (without tls)] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:153 Saturday 24 May 2025 04:21:42 -0400 (0:00:00.040) 0:00:05.285 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "(logging_manage_firewall | bool) or (logging_manage_selinux | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'tcp_ports' values (with tls)] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:157 Saturday 24 May 2025 04:21:42 -0400 (0:00:00.035) 0:00:05.321 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "(logging_manage_firewall | bool) or (logging_manage_selinux | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'udp_ports' values (without tls)] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:161 Saturday 24 May 2025 04:21:42 -0400 (0:00:00.037) 0:00:05.358 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "(logging_manage_firewall | bool) or (logging_manage_selinux | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Parameter 'udp_ports' values (with tls)] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/gather_ports.yml:165 Saturday 24 May 2025 04:21:42 -0400 (0:00:00.040) 0:00:05.399 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "(logging_manage_firewall | bool) or (logging_manage_selinux | bool)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Manage firewall on the gathered ports] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:58 Saturday 24 May 2025 04:21:42 -0400 (0:00:00.047) 0:00:05.447 ********** included: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml for managed-node3 TASK [fedora.linux_system_roles.logging : Initialize logging_firewall_ports] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:7 Saturday 24 May 2025 04:21:42 -0400 (0:00:00.081) 0:00:05.529 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Add tcp ports to logging_firewall_ports] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:11 Saturday 24 May 2025 04:21:42 -0400 (0:00:00.063) 0:00:05.592 ********** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.logging : Add udp ports to logging_firewall_ports] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:17 Saturday 24 May 2025 04:21:42 -0400 (0:00:00.047) 0:00:05.640 ********** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Manage firewall for specified ports] ************************************* task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/firewall.yml:23 Saturday 24 May 2025 04:21:42 -0400 (0:00:00.053) 0:00:05.693 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Manage selinux on the gathered ports] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:61 Saturday 24 May 2025 04:21:42 -0400 (0:00:00.058) 0:00:05.751 ********** included: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml for managed-node3 TASK [fedora.linux_system_roles.logging : Initialize logging_selinux_ports] **** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:7 Saturday 24 May 2025 04:21:42 -0400 (0:00:00.098) 0:00:05.850 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Add non tls tcp ports to logging_selinux_ports] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:11 Saturday 24 May 2025 04:21:42 -0400 (0:00:00.055) 0:00:05.906 ********** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.logging : Add tls tcp ports to logging_selinux_ports] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:16 Saturday 24 May 2025 04:21:42 -0400 (0:00:00.022) 0:00:05.929 ********** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.logging : Add non tls udp ports to logging_selinux_ports] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:21 Saturday 24 May 2025 04:21:42 -0400 (0:00:00.028) 0:00:05.957 ********** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.logging : Add tls udp ports to logging_selinux_ports] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:26 Saturday 24 May 2025 04:21:42 -0400 (0:00:00.019) 0:00:05.977 ********** skipping: [managed-node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Manage selinux for specified ports] ************************************** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/selinux.yml:31 Saturday 24 May 2025 04:21:42 -0400 (0:00:00.023) 0:00:06.001 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Generate certificates] *************** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:65 Saturday 24 May 2025 04:21:42 -0400 (0:00:00.062) 0:00:06.063 ********** included: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml for managed-node3 TASK [fedora.linux_system_roles.logging : Certificates are only supported in a booted system] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml:2 Saturday 24 May 2025 04:21:42 -0400 (0:00:00.102) 0:00:06.166 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "not __logging_is_booted", "skip_reason": "Conditional result was False" } TASK [Generate certificates] *************************************************** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/certificate.yml:9 Saturday 24 May 2025 04:21:43 -0400 (0:00:00.064) 0:00:06.230 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Re-read facts after adding custom fact] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:71 Saturday 24 May 2025 04:21:43 -0400 (0:00:00.075) 0:00:06.306 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_debug | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug dir] ************ task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:75 Saturday 24 May 2025 04:21:43 -0400 (0:00:00.078) 0:00:06.384 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_debug | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Delete debug file] ******************* task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:81 Saturday 24 May 2025 04:21:43 -0400 (0:00:00.082) 0:00:06.467 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_debug | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Create rsyslog debug file] *********** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:86 Saturday 24 May 2025 04:21:43 -0400 (0:00:00.067) 0:00:06.534 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_debug | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Use a debug var to avoid an empty dict in with_dict] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:93 Saturday 24 May 2025 04:21:43 -0400 (0:00:00.094) 0:00:06.629 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_debug | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.logging : Populate rsyslog debug file] ********* task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:97 Saturday 24 May 2025 04:21:43 -0400 (0:00:00.115) 0:00:06.745 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_debug | d(false)", "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:108 Saturday 24 May 2025 04:21:43 -0400 (0:00:00.115) 0:00:06.860 ********** included: fedora.linux_system_roles.private_logging_subrole_rsyslog for managed-node3 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:4 Saturday 24 May 2025 04:21:43 -0400 (0:00:00.085) 0:00:06.946 ********** included: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 Saturday 24 May 2025 04:21:43 -0400 (0:00:00.067) 0:00:07.013 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "__logging_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Check if system is ostree] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:12 Saturday 24 May 2025 04:21:43 -0400 (0:00:00.102) 0:00:07.115 ********** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set flag to indicate system is ostree] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:17 Saturday 24 May 2025 04:21:44 -0400 (0:00:00.503) 0:00:07.619 ********** ok: [managed-node3] => { "ansible_facts": { "__logging_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:21 Saturday 24 May 2025 04:21:44 -0400 (0:00:00.074) 0:00:07.693 ********** ok: [managed-node3] => (item=/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/default.yml" } skipping: [managed-node3] => (item=/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item is file", "item": "/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item is file", "item": "/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item is file", "item": "/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item is file", "item": "/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /vars/main.yml from /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:31 Saturday 24 May 2025 04:21:44 -0400 (0:00:00.107) 0:00:07.801 ********** skipping: [managed-node3] => (item=/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__snapshot_gather_vars is defined and __snapshot_gather_vars | bool", "item": "/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__snapshot_gather_vars is defined and __snapshot_gather_vars | bool", "item": "/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__snapshot_gather_vars is defined and __snapshot_gather_vars | bool", "item": "/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__snapshot_gather_vars is defined and __snapshot_gather_vars | bool", "item": "/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__snapshot_gather_vars is defined and __snapshot_gather_vars | bool", "item": "/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__snapshot_gather_vars is defined and __snapshot_gather_vars | bool", "item": "/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__snapshot_gather_vars is defined and __snapshot_gather_vars | bool", "item": "/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__snapshot_gather_vars is defined and __snapshot_gather_vars | bool", "item": "/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__snapshot_gather_vars is defined and __snapshot_gather_vars | bool", "item": "/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__snapshot_gather_vars is defined and __snapshot_gather_vars | bool", "item": "/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__snapshot_gather_vars is defined and __snapshot_gather_vars | bool", "item": "/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Main rsyslog subrole] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 Saturday 24 May 2025 04:21:44 -0400 (0:00:00.190) 0:00:07.991 ********** included: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml for managed-node3 TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Get status of rsyslog packages] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:17 Saturday 24 May 2025 04:21:44 -0400 (0:00:00.165) 0:00:08.157 ********** skipping: [managed-node3] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "false_condition": "logging_purge_confs | bool | d(false)", "item": "rsyslog", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Reset original confs - logging package is absent] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:24 Saturday 24 May 2025 04:21:45 -0400 (0:00:00.076) 0:00:08.234 ********** skipping: [managed-node3] => { "changed": false, "false_condition": "logging_purge_confs | bool | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages] *** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:33 Saturday 24 May 2025 04:21:45 -0400 (0:00:00.055) 0:00:08.290 ********** fatal: [managed-node3]: FAILED! => { "changed": false, "rc": 1, "results": [] } MSG: Failed to download metadata for repo 'highavailability': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried TASK [Remove tempdir] ********************************************************** task path: /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_elasticsearch.yml:445 Saturday 24 May 2025 04:21:48 -0400 (0:00:03.747) 0:00:12.037 ********** changed: [managed-node3 -> localhost] => { "changed": true, "path": "/tmp/logging_test_cm87c1mm", "state": "absent" } PLAY RECAP ********************************************************************* managed-node3 : ok=28 changed=3 unreachable=0 failed=1 skipped=37 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.12", "end_time": "2025-05-24T08:21:48.851055+00:00Z", "host": "managed-node3", "message": "Failed to download metadata for repo 'highavailability': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "rc": 1, "start_time": "2025-05-24T08:21:45.114766+00:00Z", "task_name": "Install/Update required packages", "task_path": "/tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:33" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 24 May 2025 04:21:49 -0400 (0:00:00.440) 0:00:12.477 ********** =============================================================================== fedora.linux_system_roles.private_logging_subrole_rsyslog : Install/Update required packages --- 3.75s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main_core.yml:33 Local certs are copied to the target host with the default configuration path. --- 2.11s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_elasticsearch.yml:43 Gathering Facts --------------------------------------------------------- 1.21s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_elasticsearch.yml:2 fedora.linux_system_roles.private_logging_subrole_rsyslog : Check if system is ostree --- 0.50s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:12 Remove tempdir ---------------------------------------------------------- 0.44s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_elasticsearch.yml:445 fedora.linux_system_roles.logging : Run systemctl ----------------------- 0.44s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/set_vars.yml:7 Create tempdir for test files ------------------------------------------- 0.35s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_elasticsearch.yml:24 fedora.linux_system_roles.private_logging_subrole_rsyslog : Include /vars/main.yml from /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog --- 0.19s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:31 fedora.linux_system_roles.private_logging_subrole_rsyslog : Main rsyslog subrole --- 0.17s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/main.yml:7 fedora.linux_system_roles.logging : Use a debug var to avoid an empty dict in with_dict --- 0.12s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:93 fedora.linux_system_roles.logging : Populate rsyslog debug file --------- 0.12s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:97 fedora.linux_system_roles.private_logging_subrole_rsyslog : Set platform/version specific variables --- 0.11s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:21 fedora.linux_system_roles.logging : Generate certificates --------------- 0.10s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:65 fedora.linux_system_roles.private_logging_subrole_rsyslog : Ensure ansible_facts used by role --- 0.10s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/private_logging_subrole_rsyslog/tasks/set_vars.yml:4 fedora.linux_system_roles.logging : Manage selinux on the gathered ports --- 0.10s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:61 fedora.linux_system_roles.logging : Create rsyslog debug file ----------- 0.09s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:86 fedora.linux_system_roles.logging : Create rsyslog debug dir ------------ 0.08s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:75 fedora.linux_system_roles.logging : Manage firewall on the gathered ports --- 0.08s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:58 Include Rsyslog role ---------------------------------------------------- 0.08s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:108 fedora.linux_system_roles.logging : Re-read facts after adding custom fact --- 0.08s /tmp/collections-7uu/ansible_collections/fedora/linux_system_roles/roles/logging/tasks/main.yml:71