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 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_elasticsearch.yml **************************************** 1 plays in /tmp/collections-1TJ/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-1TJ/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_elasticsearch.yml:2 ok: [managed-node1] META: ran handlers TASK [Create tempdir for test files] ******************************************* task path: /tmp/collections-1TJ/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_elasticsearch.yml:24 changed: [managed-node1 -> localhost] => {"changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/logging_test_wIZYVn", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 0} TASK [Set __test_ca_cert path] ************************************************* task path: /tmp/collections-1TJ/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_elasticsearch.yml:31 ok: [managed-node1] => {"ansible_facts": {"__test_ca_cert": "/tmp/logging_test_wIZYVn/es-ca.crt"}, "changed": false} TASK [Set __test_cert path] **************************************************** task path: /tmp/collections-1TJ/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_elasticsearch.yml:35 ok: [managed-node1] => {"ansible_facts": {"__test_cert": "/tmp/logging_test_wIZYVn/es-cert.pem"}, "changed": false} TASK [Set __test_key path] ***************************************************** task path: /tmp/collections-1TJ/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_elasticsearch.yml:39 ok: [managed-node1] => {"ansible_facts": {"__test_key": "/tmp/logging_test_wIZYVn/es-key.pem"}, "changed": false} TASK [Local certs are copied to the target host with the default configuration path.] *** task path: /tmp/collections-1TJ/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_elasticsearch.yml:43 changed: [managed-node1 -> localhost] => (item=/tmp/logging_test_wIZYVn/es-ca.crt) => {"ansible_loop_var": "item", "changed": true, "checksum": "697cb15014e4aa504213fc8f18ec48efc992ff03", "dest": "/tmp/logging_test_wIZYVn/es-ca.crt", "gid": 0, "group": "root", "item": "/tmp/logging_test_wIZYVn/es-ca.crt", "md5sum": "a72cfeaf8757e0fd9fd0abeea279bdda", "mode": "0400", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 50, "src": "/root/.ansible/tmp/ansible-tmp-1727202402.3-12157-247015709085916/source", "state": "file", "uid": 0} changed: [managed-node1 -> localhost] => (item=/tmp/logging_test_wIZYVn/es-cert.pem) => {"ansible_loop_var": "item", "changed": true, "checksum": "7434914fbfae26ac49c04dd75e707fb958873c4e", "dest": "/tmp/logging_test_wIZYVn/es-cert.pem", "gid": 0, "group": "root", "item": "/tmp/logging_test_wIZYVn/es-cert.pem", "md5sum": "049ca406aaccaad4b4a2a07c9148b348", "mode": "0400", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 52, "src": "/root/.ansible/tmp/ansible-tmp-1727202403.13-12157-258695488360557/source", "state": "file", "uid": 0} changed: [managed-node1 -> localhost] => (item=/tmp/logging_test_wIZYVn/es-key.pem) => {"ansible_loop_var": "item", "changed": true, "checksum": "050563e80ed4745db3d63aaffeefad0643b8c36f", "dest": "/tmp/logging_test_wIZYVn/es-key.pem", "gid": 0, "group": "root", "item": "/tmp/logging_test_wIZYVn/es-key.pem", "md5sum": "993ef133427ea6c3904c55bbb3c4b5a4", "mode": "0400", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 51, "src": "/root/.ansible/tmp/ansible-tmp-1727202403.51-12157-214088125545238/source", "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-1TJ/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_elasticsearch.yml:55 ERROR! the role 'fedora.linux_system_roles.logging' was not found in /tmp/collections-1TJ/ansible_collections/fedora/linux_system_roles/tests/logging/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/tmp/collections-1TJ/ansible_collections/fedora/linux_system_roles/tests/logging The error appears to be in '/tmp/collections-1TJ/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_elasticsearch.yml': line 77, column 19, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: include_role: name: fedora.linux_system_roles.logging ^ here TASK [Remove tempdir] ********************************************************** task path: /tmp/collections-1TJ/ansible_collections/fedora/linux_system_roles/tests/logging/tests_files_elasticsearch.yml:445 changed: [managed-node1 -> localhost] => {"changed": true, "path": "/tmp/logging_test_wIZYVn", "state": "absent"} PLAY RECAP ********************************************************************* managed-node1 : ok=7 changed=3 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0