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_custom_certificate.yml ***************************************** 1 plays in /tmp/collections-uue/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_custom_certificate.yml PLAY [Test PostgreSQL server with ssl support using certificate role] ********** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-uue/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_custom_certificate.yml:3 Thursday 19 June 2025 07:28:11 -0400 (0:00:00.023) 0:00:00.023 ********* ok: [managed-node1] META: ran handlers TASK [Generate certificate using certificate role] ***************************** task path: /tmp/collections-uue/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_custom_certificate.yml:13 Thursday 19 June 2025 07:28:12 -0400 (0:00:00.914) 0:00:00.938 ********* ERROR! the role 'fedora.linux_system_roles.certificate' was not found in fedora.linux_system_roles:ansible.legacy:/tmp/collections-uue/ansible_collections/fedora/linux_system_roles/tests/postgresql/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/tmp/collections-uue/ansible_collections/fedora/linux_system_roles/tests/postgresql The error appears to be in '/tmp/collections-uue/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_custom_certificate.yml': line 15, 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.certificate ^ here TASK [Clean up] **************************************************************** task path: /tmp/collections-uue/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_custom_certificate.yml:50 Thursday 19 June 2025 07:28:12 -0400 (0:00:00.024) 0:00:00.962 ********* included: /tmp/collections-uue/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-uue/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Thursday 19 June 2025 07:28:12 -0400 (0:00:00.038) 0:00:01.001 ********* 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 The error appears to be in '/tmp/collections-uue/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml': line 6, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Uninstall postgresql ^ here PLAY RECAP ********************************************************************* managed-node1 : ok=2 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.9.27", "end_time": "2025-06-19T11:28:12.540119+00:00Z", "host": "managed-node1", "message": "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-uue/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", "start_time": "2025-06-19T11:28:12.504210+00:00Z", "task_name": "Uninstall postgresql", "task_path": "/tmp/collections-uue/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 19 June 2025 07:28:12 -0400 (0:00:00.038) 0:00:01.039 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 0.91s /tmp/collections-uue/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_custom_certificate.yml:3 Clean up ---------------------------------------------------------------- 0.04s /tmp/collections-uue/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_custom_certificate.yml:50 Uninstall postgresql ---------------------------------------------------- 0.04s /tmp/collections-uue/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Generate certificate using certificate role ----------------------------- 0.02s /tmp/collections-uue/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_custom_certificate.yml:13