ansible-playbook [core 2.16.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-8LI executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles statically imported: /tmp/collections-8LI/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml statically imported: /tmp/collections-8LI/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml statically imported: /tmp/collections-8LI/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_boolean.yml **************************************************** 1 plays in /tmp/collections-8LI/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_boolean.yml PLAY [Check if selinux role sets SELinux booleans] ***************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-8LI/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_boolean.yml:2 Tuesday 17 June 2025 14:28:34 -0400 (0:00:00.017) 0:00:00.017 ********** ok: [managed-node2] TASK [Initial changes] ********************************************************* task path: /tmp/collections-8LI/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_boolean.yml:5 Tuesday 17 June 2025 14:28:36 -0400 (0:00:01.207) 0:00:01.225 ********** redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux ERROR! couldn't resolve module/action 'selinux'. This often indicates a misspelling, missing collection, or incorrect module path. The error appears to be in '/tmp/collections-8LI/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml': line 29, column 7, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: block: - name: Set permanent SELinux state if enabled ^ here