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-PD1/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** META: ran handlers TASK [Run the role with default parameters] ************************************ task path: /tmp/collections-PD1/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_default.yml:9 ERROR! the role 'fedora.linux_system_roles.rhc' was not found in /tmp/collections-PD1/ansible_collections/fedora/linux_system_roles/tests/rhc/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/tmp/collections-PD1/ansible_collections/fedora/linux_system_roles/tests/rhc The error appears to be in '/tmp/collections-PD1/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_default.yml': line 11, 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.rhc ^ here TASK [Assert that the role failed with missing credentials] ******************** task path: /tmp/collections-PD1/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_default.yml:18 fatal: [managed-node2]: FAILED! => {"msg": "The conditional check ''state is present but any of the following are missing' in ansible_failed_result.msg' failed. The error was: error while evaluating conditional ('state is present but any of the following are missing' in ansible_failed_result.msg): 'ansible_failed_result' is undefined"} PLAY RECAP ********************************************************************* managed-node2 : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0