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_certificate_external.yml *************************************** 1 plays in /tmp/collections-vRR/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_certificate_external.yml PLAY [Test with generated self-signed certmonger certificate] ****************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-vRR/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_certificate_external.yml:2 ok: [managed-node3] META: ran handlers TASK [Include role] ************************************************************ task path: /tmp/collections-vRR/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_certificate_external.yml:7 ERROR! the role 'fedora.linux_system_roles.cockpit' was not found in /tmp/collections-vRR/ansible_collections/fedora/linux_system_roles/tests/cockpit/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/tmp/collections-vRR/ansible_collections/fedora/linux_system_roles/tests/cockpit The error appears to be in '/tmp/collections-vRR/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_certificate_external.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.cockpit ^ here TASK [Test - clean up generated certificate] *********************************** task path: /tmp/collections-vRR/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_certificate_external.yml:84 ok: [managed-node3] => {"changed": false, "path": "/etc/cockpit/ws-certs.d/monger-cockpit.crt", "state": "absent"} TASK [Test - clean up generated private key] *********************************** task path: /tmp/collections-vRR/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_certificate_external.yml:89 ok: [managed-node3] => {"changed": false, "path": "/etc/cockpit/ws-certs.d/monger-cockpit.key", "state": "absent"} TASK [Test - generic cleanup] ************************************************** task path: /tmp/collections-vRR/ansible_collections/fedora/linux_system_roles/tests/cockpit/tests_certificate_external.yml:94 included: /tmp/collections-vRR/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml for managed-node3 TASK [Cleanup - packages] ****************************************************** task path: /tmp/collections-vRR/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:2 ok: [managed-node3] => {"changed": false, "msg": "", "rc": 0, "results": ["cockpit-bridge is not installed", "cockpit-ws is not installed", "cockpit-doc is not installed"]} TASK [Cleanup - services] ****************************************************** task path: /tmp/collections-vRR/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:15 skipping: [managed-node3] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Cleanup - find certificates] ********************************************* task path: /tmp/collections-vRR/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:25 ok: [managed-node3] => {"changed": false, "examined": 0, "files": [], "matched": 0, "msg": "/etc/cockpit/ws-certs.d/ was skipped as it does not seem to be a valid directory or it cannot be accessed\n"} TASK [Cleanup - certificates] ************************************************** task path: /tmp/collections-vRR/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:35 TASK [Cleanup - config file] *************************************************** task path: /tmp/collections-vRR/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:44 ok: [managed-node3] => {"changed": false, "path": "/etc/cockpit/cockpit.conf", "state": "absent"} TASK [Cleanup - port customization] ******************************************** task path: /tmp/collections-vRR/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:52 ok: [managed-node3] => {"changed": false, "path": "/etc/systemd/system/cockpit.socket.d/", "state": "absent"} TASK [Cleanup - Reload systemd] ************************************************ task path: /tmp/collections-vRR/ansible_collections/fedora/linux_system_roles/tests/cockpit/tasks/cleanup.yml:60 ok: [managed-node3] => {"changed": false, "name": null, "status": {}} PLAY RECAP ********************************************************************* managed-node3 : ok=9 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0