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_restore_dirs.yml *********************************************** 1 plays in /tmp/collections-CCH/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_restore_dirs.yml PLAY [Check if selinux role restores directory SELinux context] **************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-CCH/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_restore_dirs.yml:2 ok: [managed-node1] META: ran handlers TASK [Create temporary directory] ********************************************** task path: /tmp/collections-CCH/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_restore_dirs.yml:7 changed: [managed-node1] => {"changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/linux_system_role.selinux6kksDX", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 0} TASK [Create temporary file] *************************************************** task path: /tmp/collections-CCH/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_restore_dirs.yml:13 changed: [managed-node1] => {"changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/linux_system_role.selinux6kksDX/ansible.eTgqDetemp", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0} TASK [Set default_t context to /tmp/linux_system_role.selinux6kksDX] *********** task path: /tmp/collections-CCH/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_restore_dirs.yml:20 changed: [managed-node1] => {"changed": true, "cmd": ["chcon", "-R", "-t", "default_t", "/tmp/linux_system_role.selinux6kksDX"], "delta": "0:00:00.006158", "end": "2024-09-24 15:15:43.484244", "rc": 0, "start": "2024-09-24 15:15:43.478086", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [Run the role] ************************************************************ task path: /tmp/collections-CCH/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_restore_dirs.yml:24 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/tests_restore_dirs.yml': line 26, 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.selinux ^ here TASK [Clean temporary directory /tmp/linux_system_role.selinux6kksDX] ********** task path: /tmp/collections-CCH/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_restore_dirs.yml:44 changed: [managed-node1] => {"changed": true, "path": "/tmp/linux_system_role.selinux6kksDX", "state": "absent"} TASK [Clean temporary fcontext] ************************************************ task path: /tmp/collections-CCH/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_restore_dirs.yml:48 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/tests_restore_dirs.yml': line 50, 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.selinux ^ here PLAY RECAP ********************************************************************* managed-node1 : ok=5 changed=4 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0