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 statically imported: /tmp/collections-CCH/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml statically imported: /tmp/collections-CCH/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml statically imported: /tmp/collections-CCH/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml statically imported: /tmp/collections-CCH/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml statically imported: /tmp/collections-CCH/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml 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_fcontext.yml *************************************************** 1 plays in /tmp/collections-CCH/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_fcontext.yml PLAY [Check if selinux role sets SELinux fcontext mappings] ******************** META: ran handlers TASK [Ensure ansible_facts used by tests] ************************************** task path: /tmp/collections-CCH/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:12 ok: [managed-node2] TASK [Ensure SELinux testing packages] ***************************************** task path: /tmp/collections-CCH/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:17 ERROR! the role 'fedora.linux_system_roles.selinux' was not found in /tmp/collections-CCH/ansible_collections/fedora/linux_system_roles/tests/selinux/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/tmp/collections-CCH/ansible_collections/fedora/linux_system_roles/tests/selinux The error appears to be in '/tmp/collections-CCH/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml': line 19, 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.selinux ^ here TASK [Unset facts used above] ************************************************** task path: /tmp/collections-CCH/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:66 ok: [managed-node2] => {"ansible_facts": {"ansible_facts": {"architecture": "x86_64", "discovered_interpreter_python": "/usr/bin/python", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_variety": "RedHat", "distribution_release": "Core", "distribution_version": "7.9", "domain": "", "fqdn": "managed-node2", "gather_subset": ["!all", "!min", "distribution", "distribution_major_version", "os_family", "python_version"], "hostname": "managed-node2", "kernel": "3.10.0-1160.119.1.el7.x86_64", "kernel_version": "#1 SMP Tue Jun 4 14:43:51 UTC 2024", "machine": "x86_64", "machine_id": "5c420e701eb840e3b513c00cbd397253", "module_setup": true, "nodename": "managed-node2", "system": "Linux", "userspace_architecture": "x86_64", "userspace_bits": "64"}}, "changed": false} PLAY RECAP ********************************************************************* managed-node2 : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0