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_config_files.yml *********************************************** 1 plays in /tmp/collections-iGv/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_config_files.yml PLAY [Test PostgreSQL config file logic, handling] ***************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-iGv/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_config_files.yml:2 ok: [managed-node1] META: ran handlers TASK [Run role with given config] ********************************************** task path: /tmp/collections-iGv/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_config_files.yml:7 ERROR! the role 'fedora.linux_system_roles.postgresql' was not found in /tmp/collections-iGv/ansible_collections/fedora/linux_system_roles/tests/postgresql/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/tmp/collections-iGv/ansible_collections/fedora/linux_system_roles/tests/postgresql The error appears to be in '/tmp/collections-iGv/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_config_files.yml': line 9, 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.postgresql ^ here TASK [Clean up] **************************************************************** task path: /tmp/collections-iGv/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_config_files.yml:54 included: /tmp/collections-iGv/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node1 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-iGv/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fatal: [managed-node1]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: {{ __postgresql_packages + ['postgresql', 'postgresql-private-libs'] }}: '__postgresql_packages' is undefined\n\nThe error appears to be in '/tmp/collections-iGv/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml': line 6, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Uninstall postgresql\n ^ here\n"} PLAY RECAP ********************************************************************* managed-node1 : ok=2 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0