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_default.yml **************************************************** 1 plays in /tmp/collections-iGv/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** META: ran handlers TASK [Test default settings] *************************************************** task path: /tmp/collections-iGv/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_default.yml:7 included: /tmp/collections-iGv/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-iGv/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 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/tasks/install_and_check.yml': line 7, column 15, 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/tasks/install_and_check.yml:75 included: /tmp/collections-iGv/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 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-node2]: 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-node2 : ok=2 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0