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_deploy_keys.yml ************************************************ 1 plays in /tmp/collections-s2j/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml PLAY [Test nbde_server_deploy_keys] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-s2j/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:7 ok: [managed-node1] META: ran handlers TASK [Create tmpdir for server keys] ******************************************* task path: /tmp/collections-s2j/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:12 changed: [managed-node1 -> localhost] => {"changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/nbde_server_deploy_keysUpoS9C", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 0} TASK [Set nbde_server_keys_dir] ************************************************ task path: /tmp/collections-s2j/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:19 ok: [managed-node1] => {"ansible_facts": {"nbde_server_keys_dir": "/tmp/nbde_server_deploy_keysUpoS9C"}, "changed": false} TASK [Ensure we have keys] ***************************************************** task path: /tmp/collections-s2j/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:23 ERROR! the role 'fedora.linux_system_roles.nbde_server' was not found in /tmp/collections-s2j/ansible_collections/fedora/linux_system_roles/tests/nbde_server/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/tmp/collections-s2j/ansible_collections/fedora/linux_system_roles/tests/nbde_server The error appears to be in '/tmp/collections-s2j/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml': line 25, 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.nbde_server ^ here TASK [Cleanup] ***************************************************************** task path: /tmp/collections-s2j/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tests_deploy_keys.yml:67 included: /tmp/collections-s2j/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml for managed-node1 TASK [Remove control node files/directories] *********************************** task path: /tmp/collections-s2j/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:2 changed: [managed-node1 -> localhost] => {"changed": true, "path": "/tmp/nbde_server_deploy_keysUpoS9C", "state": "absent"} TASK [Remove managed node files/directories] *********************************** task path: /tmp/collections-s2j/ansible_collections/fedora/linux_system_roles/tests/nbde_server/tasks/cleanup.yml:9 changed: [managed-node1] => (item={u'path': u'/tmp/nbde_server_deploy_keysUpoS9C', u'remove_dir': u'true'}) => {"ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"true\" = true ]; then\n rm -rf \"/tmp/nbde_server_deploy_keysUpoS9C\"\nelse\n rm -rf \"/tmp/nbde_server_deploy_keysUpoS9C\"/* \"/tmp/nbde_server_deploy_keysUpoS9C\"/.* || :\nfi\n", "delta": "0:00:00.004081", "end": "2024-09-24 14:42:01.341042", "item": {"path": "/tmp/nbde_server_deploy_keysUpoS9C", "remove_dir": "true"}, "rc": 0, "start": "2024-09-24 14:42:01.336961", "stderr": "+ '[' true = true ']'\n+ rm -rf /tmp/nbde_server_deploy_keysUpoS9C", "stderr_lines": ["+ '[' true = true ']'", "+ rm -rf /tmp/nbde_server_deploy_keysUpoS9C"], "stdout": "", "stdout_lines": []} skipping: [managed-node1] => (item={u'path': u'', u'remove_dir': u'false'}) => {"ansible_loop_var": "item", "changed": false, "item": {"path": "", "remove_dir": "false"}, "skip_reason": "Conditional result was False"} skipping: [managed-node1] => (item={u'path': u'', u'remove_dir': u'false'}) => {"ansible_loop_var": "item", "changed": false, "item": {"path": "", "remove_dir": "false"}, "skip_reason": "Conditional result was False"} PLAY RECAP ********************************************************************* managed-node1 : ok=6 changed=3 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0