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 [WARNING]: running playbook inside collection fedora.linux_system_roles 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 'jsonl', 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_selinux_disabled.yml ******************************************* 1 plays in /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml PLAY [Ensure the default is targeted, enforcing, without local modifications] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:2 Saturday 13 September 2025 16:20:35 -0400 (0:00:00.028) 0:00:00.028 **** ok: [managed-node1] META: ran handlers TASK [Ensure SELinux test packages] ******************************************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:9 Saturday 13 September 2025 16:20:36 -0400 (0:00:00.845) 0:00:00.873 **** included: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml for managed-node1 TASK [Ensure ansible_facts used by tests] ************************************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:12 Saturday 13 September 2025 16:20:36 -0400 (0:00:00.031) 0:00:00.904 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure SELinux testing packages] ***************************************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:17 Saturday 13 September 2025 16:20:36 -0400 (0:00:00.040) 0:00:00.944 **** TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Saturday 13 September 2025 16:20:36 -0400 (0:00:00.053) 0:00:00.998 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Saturday 13 September 2025 16:20:36 -0400 (0:00:00.412) 0:00:01.410 **** ok: [managed-node1] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Saturday 13 September 2025 16:20:37 -0400 (0:00:00.097) 0:00:01.507 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Saturday 13 September 2025 16:20:37 -0400 (0:00:00.289) 0:00:01.796 **** ok: [managed-node1] => { "ansible_facts": { "__selinux_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Saturday 13 September 2025 16:20:37 -0400 (0:00:00.044) 0:00:01.840 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Saturday 13 September 2025 16:20:38 -0400 (0:00:00.700) 0:00:02.541 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Saturday 13 September 2025 16:20:38 -0400 (0:00:00.039) 0:00:02.580 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure grubby used to modify selinux kernel parameter] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Saturday 13 September 2025 16:20:38 -0400 (0:00:00.038) 0:00:02.619 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:67 Saturday 13 September 2025 16:20:38 -0400 (0:00:00.043) 0:00:02.662 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:81 Saturday 13 September 2025 16:20:38 -0400 (0:00:00.040) 0:00:02.702 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:86 Saturday 13 September 2025 16:20:38 -0400 (0:00:00.039) 0:00:02.742 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:91 Saturday 13 September 2025 16:20:38 -0400 (0:00:00.038) 0:00:02.781 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:98 Saturday 13 September 2025 16:20:38 -0400 (0:00:00.039) 0:00:02.821 **** ok: [managed-node1] TASK [Ensure selinux-policy-targeted] ****************************************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:22 Saturday 13 September 2025 16:20:38 -0400 (0:00:00.513) 0:00:03.334 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure findmnt] ********************************************************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:29 Saturday 13 September 2025 16:20:38 -0400 (0:00:00.038) 0:00:03.373 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "util-linux-2.23.2-65.el7_9.1.x86_64 providing util-linux is already installed" ] } lsrpackages: util-linux TASK [Set is_el6 flag] ********************************************************* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:38 Saturday 13 September 2025 16:20:39 -0400 (0:00:00.585) 0:00:03.959 **** ok: [managed-node1] => { "ansible_facts": { "__selinux_is_el6": false }, "changed": false } TASK [Get local modifications - boolean] *************************************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:46 Saturday 13 September 2025 16:20:39 -0400 (0:00:00.044) 0:00:04.003 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get local modifications - port] ****************************************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:51 Saturday 13 September 2025 16:20:39 -0400 (0:00:00.038) 0:00:04.042 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get local modifications - login] ***************************************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:56 Saturday 13 September 2025 16:20:39 -0400 (0:00:00.039) 0:00:04.081 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get local modifications - fcontext] ************************************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:61 Saturday 13 September 2025 16:20:39 -0400 (0:00:00.038) 0:00:04.119 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get current SELinux state] *********************************************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:16 Saturday 13 September 2025 16:20:39 -0400 (0:00:00.039) 0:00:04.159 **** ok: [managed-node1] => { "ansible_facts": { "__save_policy": "targeted", "__save_state": "enforcing" }, "changed": false } TASK [Add a Linux System Roles SELinux User] *********************************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:23 Saturday 13 September 2025 16:20:39 -0400 (0:00:00.041) 0:00:04.200 **** changed: [managed-node1] => { "changed": true, "comment": "Linux System Roles SELinux User", "create_home": true, "group": 1000, "home": "/home/sar-user", "name": "sar-user", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1000 } TASK [Add some mapping] ******************************************************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:28 Saturday 13 September 2025 16:20:40 -0400 (0:00:00.534) 0:00:04.735 **** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho -e -n \"boolean -m --on daemons_use_tcp_wrapper\nport -a -p tcp -t ssh_port_t 22100\nfcontext -a -t user_home_dir_t /tmp/test_dir\nlogin -a -s staff_u sar-user\n\" | /usr/sbin/semanage -i -", "delta": "0:00:02.440388", "end": "2025-09-13 16:20:43.085725", "rc": 0, "start": "2025-09-13 16:20:40.645337" } TASK [Backup original /etc/selinux/config] ************************************* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:40 Saturday 13 September 2025 16:20:43 -0400 (0:00:02.883) 0:00:07.619 **** changed: [managed-node1] => { "changed": true, "checksum": "fe4ed0aa93618472e1004b6f68ae1b0733485fc5", "dest": "/etc/selinux/config.test_selinux_disabled", "gid": 0, "group": "root", "md5sum": "ff8d2663b88f1a20c8489fdf152e6b31", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:selinux_config_t:s0", "size": 542, "src": "/etc/selinux/config", "state": "file", "uid": 0 } TASK [Upload testing /etc/selinux/config] ************************************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:47 Saturday 13 September 2025 16:20:43 -0400 (0:00:00.494) 0:00:08.114 **** changed: [managed-node1] => { "changed": true, "checksum": "385caf4e178c9a1dfcdaac71738934c735201480", "dest": "/etc/selinux/config", "gid": 0, "group": "root", "md5sum": "293160d55f3a26d5bc687154d028eb47", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:selinux_config_t:s0", "size": 547, "src": "/root/.ansible/tmp/ansible-tmp-1757794843.68-21774-22267697180317/source", "state": "file", "uid": 0 } TASK [Switch to permissive to allow login when selinuxfs is not mounted] ******* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:57 Saturday 13 September 2025 16:20:44 -0400 (0:00:00.527) 0:00:08.641 **** ok: [managed-node1] => { "changed": false, "cmd": [ "setenforce", "0" ], "delta": "0:00:00.003073", "end": "2025-09-13 16:20:44.460761", "rc": 0, "start": "2025-09-13 16:20:44.457688" } TASK [Get selinuxfs mountpoint] ************************************************ task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:62 Saturday 13 September 2025 16:20:44 -0400 (0:00:00.347) 0:00:08.988 **** ok: [managed-node1] => { "changed": false, "cmd": [ "findmnt", "-n", "-t", "selinuxfs", "--output=target" ], "delta": "0:00:00.004250", "end": "2025-09-13 16:20:44.774292", "rc": 0, "start": "2025-09-13 16:20:44.770042" } STDOUT: /sys/fs/selinux TASK [Umount selinux mountpoint to emulate SELinux disabled system /sys/fs/selinux] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:67 Saturday 13 September 2025 16:20:44 -0400 (0:00:00.317) 0:00:09.306 **** ok: [managed-node1] => { "changed": false, "cmd": [ "umount", "-l", "/sys/fs/selinux" ], "delta": "0:00:00.009280", "end": "2025-09-13 16:20:45.071926", "rc": 0, "start": "2025-09-13 16:20:45.062646" } TASK [Include role] ************************************************************ task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:75 Saturday 13 September 2025 16:20:45 -0400 (0:00:00.295) 0:00:09.601 **** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 13 September 2025 16:20:45 -0400 (0:00:00.109) 0:00:09.710 **** included: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed-node1 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Saturday 13 September 2025 16:20:45 -0400 (0:00:00.042) 0:00:09.753 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Saturday 13 September 2025 16:20:45 -0400 (0:00:00.041) 0:00:09.795 **** included: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed-node1 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Saturday 13 September 2025 16:20:45 -0400 (0:00:00.068) 0:00:09.863 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Saturday 13 September 2025 16:20:45 -0400 (0:00:00.026) 0:00:09.890 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Saturday 13 September 2025 16:20:45 -0400 (0:00:00.026) 0:00:09.917 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Saturday 13 September 2025 16:20:45 -0400 (0:00:00.026) 0:00:09.943 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Saturday 13 September 2025 16:20:45 -0400 (0:00:00.026) 0:00:09.970 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Saturday 13 September 2025 16:20:46 -0400 (0:00:00.590) 0:00:10.561 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Saturday 13 September 2025 16:20:46 -0400 (0:00:00.034) 0:00:10.595 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure grubby used to modify selinux kernel parameter] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Saturday 13 September 2025 16:20:46 -0400 (0:00:00.033) 0:00:10.629 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:67 Saturday 13 September 2025 16:20:46 -0400 (0:00:00.051) 0:00:10.681 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:81 Saturday 13 September 2025 16:20:46 -0400 (0:00:00.034) 0:00:10.715 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:86 Saturday 13 September 2025 16:20:46 -0400 (0:00:00.033) 0:00:10.749 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:91 Saturday 13 September 2025 16:20:46 -0400 (0:00:00.033) 0:00:10.783 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:98 Saturday 13 September 2025 16:20:46 -0400 (0:00:00.034) 0:00:10.817 **** ok: [managed-node1] TASK [fedora.linux_system_roles.selinux : Run systemctl] *********************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:8 Saturday 13 September 2025 16:20:46 -0400 (0:00:00.533) 0:00:11.350 **** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008814", "end": "2025-09-13 16:20:47.125021", "failed_when_result": false, "rc": 0, "start": "2025-09-13 16:20:47.116207" } STDOUT: running TASK [fedora.linux_system_roles.selinux : Require installed systemd] *********** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:15 Saturday 13 September 2025 16:20:47 -0400 (0:00:00.300) 0:00:11.651 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:20 Saturday 13 September 2025 16:20:47 -0400 (0:00:00.036) 0:00:11.688 **** ok: [managed-node1] => { "ansible_facts": { "__selinux_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:29 Saturday 13 September 2025 16:20:47 -0400 (0:00:00.026) 0:00:11.715 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Saturday 13 September 2025 16:20:47 -0400 (0:00:00.021) 0:00:11.737 **** [WARNING]: Reboot is required to set SELinux state to 'enforcing' changed: [managed-node1] => { "changed": true, "configfile": "/etc/selinux/config", "policy": "targeted", "reboot_required": true, "state": "enforcing" } MSG: Config SELinux state changed from 'disabled' to 'enforcing' TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Saturday 13 September 2025 16:20:47 -0400 (0:00:00.618) 0:00:12.355 **** ok: [managed-node1] => { "ansible_facts": { "selinux_reboot_required": true }, "changed": false } TASK [Add or remove selinux=0 from args as needed] ***************************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Saturday 13 September 2025 16:20:47 -0400 (0:00:00.025) 0:00:12.380 **** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 13 September 2025 16:20:47 -0400 (0:00:00.074) 0:00:12.455 **** included: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 13 September 2025 16:20:48 -0400 (0:00:00.034) 0:00:12.489 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 13 September 2025 16:20:48 -0400 (0:00:00.023) 0:00:12.513 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 13 September 2025 16:20:48 -0400 (0:00:00.276) 0:00:12.789 **** ok: [managed-node1] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 13 September 2025 16:20:48 -0400 (0:00:00.027) 0:00:12.817 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 13 September 2025 16:20:48 -0400 (0:00:00.051) 0:00:12.869 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 13 September 2025 16:20:48 -0400 (0:00:00.020) 0:00:12.889 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 13 September 2025 16:20:48 -0400 (0:00:00.038) 0:00:12.928 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 13 September 2025 16:20:49 -0400 (0:00:00.561) 0:00:13.489 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1718881015.7736502, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 13 September 2025 16:20:49 -0400 (0:00:00.297) 0:00:13.787 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 13 September 2025 16:20:49 -0400 (0:00:00.022) 0:00:13.810 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 13 September 2025 16:20:49 -0400 (0:00:00.022) 0:00:13.832 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 13 September 2025 16:20:49 -0400 (0:00:00.269) 0:00:14.101 **** ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 13 September 2025 16:20:49 -0400 (0:00:00.044) 0:00:14.146 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757794849.2624094, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 13 September 2025 16:20:50 -0400 (0:00:00.343) 0:00:14.490 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1718880548.6646502, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1718881171.2176502, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718880548.6706502, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "22411319", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 13 September 2025 16:20:50 -0400 (0:00:00.325) 0:00:14.815 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004169", "end": "2025-09-13 16:20:50.582440", "rc": 0, "start": "2025-09-13 16:20:50.578271" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 13 September 2025 16:20:50 -0400 (0:00:00.296) 0:00:15.112 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 13 September 2025 16:20:50 -0400 (0:00:00.038) 0:00:15.150 **** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 13 September 2025 16:20:51 -0400 (0:00:00.465) 0:00:15.615 **** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 13 September 2025 16:20:51 -0400 (0:00:00.347) 0:00:15.963 **** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 13 September 2025 16:20:51 -0400 (0:00:00.444) 0:00:16.407 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 13 September 2025 16:20:51 -0400 (0:00:00.023) 0:00:16.431 **** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 13 September 2025 16:20:51 -0400 (0:00:00.022) 0:00:16.453 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 13 September 2025 16:20:52 -0400 (0:00:00.022) 0:00:16.475 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:70 Saturday 13 September 2025 16:20:52 -0400 (0:00:00.027) 0:00:16.503 **** fatal: [managed-node1]: FAILED! => { "changed": false } MSG: Reboot is required to apply changes. Re-execute the role after boot. TASK [Examine the selinux_reboot_required variable] **************************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:83 Saturday 13 September 2025 16:20:52 -0400 (0:00:00.033) 0:00:16.536 **** ok: [managed-node1] => { "ansible_facts": { "test_selinux_reboot_required": true }, "changed": false } TASK [Check that the role has failed and set the correct variable] ************* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:87 Saturday 13 September 2025 16:20:52 -0400 (0:00:00.032) 0:00:16.569 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Mount selinux mountpoint back to system /sys/fs/selinux] ***************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:92 Saturday 13 September 2025 16:20:52 -0400 (0:00:00.038) 0:00:16.608 **** [WARNING]: Consider using the mount module rather than running 'mount'. If you need to use command because mount is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node1] => { "changed": false, "cmd": [ "mount", "-t", "selinuxfs", "selinuxfs", "/sys/fs/selinux" ], "delta": "0:00:00.003713", "end": "2025-09-13 16:20:52.408904", "rc": 0, "start": "2025-09-13 16:20:52.405191" } TASK [Switch back to enforcing] ************************************************ task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:100 Saturday 13 September 2025 16:20:52 -0400 (0:00:00.325) 0:00:16.933 **** ok: [managed-node1] => { "changed": false, "cmd": [ "setenforce", "1" ], "delta": "0:00:00.011112", "end": "2025-09-13 16:20:52.742156", "rc": 0, "start": "2025-09-13 16:20:52.731044" } TASK [Gather facts again] ****************************************************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:104 Saturday 13 September 2025 16:20:52 -0400 (0:00:00.329) 0:00:17.262 **** ok: [managed-node1] TASK [Check SELinux config mode] *********************************************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:107 Saturday 13 September 2025 16:20:53 -0400 (0:00:00.542) 0:00:17.805 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Linux System Roles SELinux User] ********************************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:116 Saturday 13 September 2025 16:20:53 -0400 (0:00:00.040) 0:00:17.845 **** changed: [managed-node1] => { "changed": true, "force": false, "name": "sar-user", "remove": true, "state": "absent" } TASK [Include role to purge everything] **************************************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:122 Saturday 13 September 2025 16:20:53 -0400 (0:00:00.438) 0:00:18.284 **** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 13 September 2025 16:20:53 -0400 (0:00:00.090) 0:00:18.374 **** included: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed-node1 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Saturday 13 September 2025 16:20:53 -0400 (0:00:00.047) 0:00:18.422 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Saturday 13 September 2025 16:20:53 -0400 (0:00:00.037) 0:00:18.460 **** included: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed-node1 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Saturday 13 September 2025 16:20:54 -0400 (0:00:00.067) 0:00:18.528 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Saturday 13 September 2025 16:20:54 -0400 (0:00:00.037) 0:00:18.566 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Saturday 13 September 2025 16:20:54 -0400 (0:00:00.034) 0:00:18.600 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Saturday 13 September 2025 16:20:54 -0400 (0:00:00.031) 0:00:18.631 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Saturday 13 September 2025 16:20:54 -0400 (0:00:00.032) 0:00:18.664 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Saturday 13 September 2025 16:20:54 -0400 (0:00:00.590) 0:00:19.255 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Saturday 13 September 2025 16:20:54 -0400 (0:00:00.022) 0:00:19.277 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure grubby used to modify selinux kernel parameter] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Saturday 13 September 2025 16:20:54 -0400 (0:00:00.022) 0:00:19.299 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:67 Saturday 13 September 2025 16:20:54 -0400 (0:00:00.027) 0:00:19.327 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:81 Saturday 13 September 2025 16:20:54 -0400 (0:00:00.024) 0:00:19.351 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:86 Saturday 13 September 2025 16:20:54 -0400 (0:00:00.022) 0:00:19.374 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:91 Saturday 13 September 2025 16:20:54 -0400 (0:00:00.022) 0:00:19.396 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:98 Saturday 13 September 2025 16:20:54 -0400 (0:00:00.022) 0:00:19.419 **** ok: [managed-node1] TASK [fedora.linux_system_roles.selinux : Run systemctl] *********************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:8 Saturday 13 September 2025 16:20:55 -0400 (0:00:00.498) 0:00:19.917 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Require installed systemd] *********** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:15 Saturday 13 September 2025 16:20:55 -0400 (0:00:00.022) 0:00:19.940 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:20 Saturday 13 September 2025 16:20:55 -0400 (0:00:00.023) 0:00:19.963 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:29 Saturday 13 September 2025 16:20:55 -0400 (0:00:00.021) 0:00:19.985 **** ok: [managed-node1] => { "changed": false, "configfile": "/etc/selinux/config", "policy": "targeted", "reboot_required": false, "state": "enforcing" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Saturday 13 September 2025 16:20:55 -0400 (0:00:00.344) 0:00:20.330 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Saturday 13 September 2025 16:20:55 -0400 (0:00:00.022) 0:00:20.352 **** ok: [managed-node1] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [Add or remove selinux=0 from args as needed] ***************************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Saturday 13 September 2025 16:20:55 -0400 (0:00:00.026) 0:00:20.379 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:70 Saturday 13 September 2025 16:20:55 -0400 (0:00:00.028) 0:00:20.407 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:77 Saturday 13 September 2025 16:20:55 -0400 (0:00:00.016) 0:00:20.424 **** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:82 Saturday 13 September 2025 16:20:55 -0400 (0:00:00.022) 0:00:20.447 **** NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:00.593095", "end": "2025-09-13 16:20:56.806752", "rc": 0, "start": "2025-09-13 16:20:56.213657" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:90 Saturday 13 September 2025 16:20:56 -0400 (0:00:00.884) 0:00:21.332 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:95 Saturday 13 September 2025 16:20:56 -0400 (0:00:00.031) 0:00:21.363 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:100 Saturday 13 September 2025 16:20:56 -0400 (0:00:00.035) 0:00:21.398 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:105 Saturday 13 September 2025 16:20:56 -0400 (0:00:00.032) 0:00:21.431 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:110 Saturday 13 September 2025 16:20:56 -0400 (0:00:00.034) 0:00:21.465 **** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:121 Saturday 13 September 2025 16:20:57 -0400 (0:00:00.029) 0:00:21.494 **** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:134 Saturday 13 September 2025 16:20:57 -0400 (0:00:00.032) 0:00:21.527 **** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:146 Saturday 13 September 2025 16:20:57 -0400 (0:00:00.025) 0:00:21.552 **** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:159 Saturday 13 September 2025 16:20:57 -0400 (0:00:00.027) 0:00:21.579 **** ok: [managed-node1] => { "ansible_facts": { "selinux_checksums": false, "selinux_installed_modules": { "abrt": { "100": { "checksum": "", "enabled": 1 } }, "accountsd": { "100": { "checksum": "", "enabled": 1 } }, "acct": { "100": { "checksum": "", "enabled": 1 } }, "afs": { "100": { "checksum": "", "enabled": 1 } }, "aiccu": { "100": { "checksum": "", "enabled": 1 } }, "aide": { "100": { "checksum": "", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "", "enabled": 1 } }, "alsa": { "100": { "checksum": "", "enabled": 1 } }, "amanda": { "100": { "checksum": "", "enabled": 1 } }, "amtu": { "100": { "checksum": "", "enabled": 1 } }, "anaconda": { "100": { "checksum": "", "enabled": 1 } }, "antivirus": { "100": { "checksum": "", "enabled": 1 } }, "apache": { "100": { "checksum": "", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "", "enabled": 1 } }, "apm": { "100": { "checksum": "", "enabled": 1 } }, "application": { "100": { "checksum": "", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "", "enabled": 1 } }, "asterisk": { "100": { "checksum": "", "enabled": 1 } }, "auditadm": { "100": { "checksum": "", "enabled": 1 } }, "authconfig": { "100": { "checksum": "", "enabled": 1 } }, "authlogin": { "100": { "checksum": "", "enabled": 1 } }, "automount": { "100": { "checksum": "", "enabled": 1 } }, "avahi": { "100": { "checksum": "", "enabled": 1 } }, "awstats": { "100": { "checksum": "", "enabled": 1 } }, "bacula": { "100": { "checksum": "", "enabled": 1 } }, "base": { "100": { "checksum": "", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "", "enabled": 1 } }, "bind": { "100": { "checksum": "", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "", "enabled": 1 } }, "blueman": { "100": { "checksum": "", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "", "enabled": 1 } }, "boinc": { "100": { "checksum": "", "enabled": 1 } }, "boltd": { "100": { "checksum": "", "enabled": 1 } }, "bootloader": { "100": { "checksum": "", "enabled": 1 } }, "brctl": { "100": { "checksum": "", "enabled": 1 } }, "brltty": { "100": { "checksum": "", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "", "enabled": 1 } }, "calamaris": { "100": { "checksum": "", "enabled": 1 } }, "callweaver": { "100": { "checksum": "", "enabled": 1 } }, "canna": { "100": { "checksum": "", "enabled": 1 } }, "ccs": { "100": { "checksum": "", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "", "enabled": 1 } }, "certmaster": { "100": { "checksum": "", "enabled": 1 } }, "certmonger": { "100": { "checksum": "", "enabled": 1 } }, "certwatch": { "100": { "checksum": "", "enabled": 1 } }, "cfengine": { "100": { "checksum": "", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "", "enabled": 1 } }, "cgroup": { "100": { "checksum": "", "enabled": 1 } }, "chrome": { "100": { "checksum": "", "enabled": 1 } }, "chronyd": { "100": { "checksum": "", "enabled": 1 } }, "cinder": { "100": { "checksum": "", "enabled": 1 } }, "cipe": { "100": { "checksum": "", "enabled": 1 } }, "clock": { "100": { "checksum": "", "enabled": 1 } }, "clogd": { "100": { "checksum": "", "enabled": 1 } }, "cloudform": { "100": { "checksum": "", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "", "enabled": 1 } }, "cobbler": { "100": { "checksum": "", "enabled": 1 } }, "cockpit": { "100": { "checksum": "", "enabled": 1 } }, "collectd": { "100": { "checksum": "", "enabled": 1 } }, "colord": { "100": { "checksum": "", "enabled": 1 } }, "comsat": { "100": { "checksum": "", "enabled": 1 } }, "condor": { "100": { "checksum": "", "enabled": 1 } }, "conman": { "100": { "checksum": "", "enabled": 1 } }, "consolekit": { "100": { "checksum": "", "enabled": 1 } }, "container": { "100": { "checksum": "", "enabled": 1 } }, "couchdb": { "100": { "checksum": "", "enabled": 1 } }, "courier": { "100": { "checksum": "", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "", "enabled": 1 } }, "cron": { "100": { "checksum": "", "enabled": 1 } }, "ctdb": { "100": { "checksum": "", "enabled": 1 } }, "cups": { "100": { "checksum": "", "enabled": 1 } }, "cvs": { "100": { "checksum": "", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "", "enabled": 1 } }, "cyrus": { "100": { "checksum": "", "enabled": 1 } }, "daemontools": { "100": { "checksum": "", "enabled": 1 } }, "dbadm": { "100": { "checksum": "", "enabled": 1 } }, "dbskk": { "100": { "checksum": "", "enabled": 1 } }, "dbus": { "100": { "checksum": "", "enabled": 1 } }, "dcc": { "100": { "checksum": "", "enabled": 1 } }, "ddclient": { "100": { "checksum": "", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "", "enabled": 1 } }, "devicekit": { "100": { "checksum": "", "enabled": 1 } }, "dhcp": { "100": { "checksum": "", "enabled": 1 } }, "dictd": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "", "enabled": 1 } }, "dmesg": { "100": { "checksum": "", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "", "enabled": 1 } }, "dnssec": { "100": { "checksum": "", "enabled": 1 } }, "dovecot": { "100": { "checksum": "", "enabled": 1 } }, "drbd": { "100": { "checksum": "", "enabled": 1 } }, "dspam": { "100": { "checksum": "", "enabled": 1 } }, "entropyd": { "100": { "checksum": "", "enabled": 1 } }, "exim": { "100": { "checksum": "", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "", "enabled": 1 } }, "fcoe": { "100": { "checksum": "", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "", "enabled": 1 } }, "finger": { "100": { "checksum": "", "enabled": 1 } }, "firewalld": { "100": { "checksum": "", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "", "enabled": 1 } }, "firstboot": { "100": { "checksum": "", "enabled": 1 } }, "fprintd": { "100": { "checksum": "", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "", "enabled": 1 } }, "freqset": { "100": { "checksum": "", "enabled": 1 } }, "fstools": { "100": { "checksum": "", "enabled": 1 } }, "ftp": { "100": { "checksum": "", "enabled": 1 } }, "games": { "100": { "checksum": "", "enabled": 1 } }, "ganesha": { "100": { "checksum": "", "enabled": 1 } }, "gdomap": { "100": { "checksum": "", "enabled": 1 } }, "geoclue": { "100": { "checksum": "", "enabled": 1 } }, "getty": { "100": { "checksum": "", "enabled": 1 } }, "git": { "100": { "checksum": "", "enabled": 1 } }, "gitosis": { "100": { "checksum": "", "enabled": 1 } }, "glance": { "100": { "checksum": "", "enabled": 1 } }, "glusterd": { "100": { "checksum": "", "enabled": 1 } }, "gnome": { "100": { "checksum": "", "enabled": 1 } }, "gpg": { "100": { "checksum": "", "enabled": 1 } }, "gpm": { "100": { "checksum": "", "enabled": 1 } }, "gpsd": { "100": { "checksum": "", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "", "enabled": 1 } }, "guest": { "100": { "checksum": "", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "", "enabled": 1 } }, "hostname": { "100": { "checksum": "", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "", "enabled": 1 } }, "hwloc": { "100": { "checksum": "", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "", "enabled": 1 } }, "icecast": { "100": { "checksum": "", "enabled": 1 } }, "inetd": { "100": { "checksum": "", "enabled": 1 } }, "init": { "100": { "checksum": "", "enabled": 1 } }, "inn": { "100": { "checksum": "", "enabled": 1 } }, "iodine": { "100": { "checksum": "", "enabled": 1 } }, "iotop": { "100": { "checksum": "", "enabled": 1 } }, "ipa": { "100": { "checksum": "", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "", "enabled": 1 } }, "ipsec": { "100": { "checksum": "", "enabled": 1 } }, "iptables": { "100": { "checksum": "", "enabled": 1 } }, "irc": { "100": { "checksum": "", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "", "enabled": 1 } }, "iscsi": { "100": { "checksum": "", "enabled": 1 } }, "isns": { "100": { "checksum": "", "enabled": 1 } }, "jabber": { "100": { "checksum": "", "enabled": 1 } }, "jetty": { "100": { "checksum": "", "enabled": 1 } }, "jockey": { "100": { "checksum": "", "enabled": 1 } }, "journalctl": { "100": { "checksum": "", "enabled": 1 } }, "kdump": { "100": { "checksum": "", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "", "enabled": 1 } }, "keepalived": { "100": { "checksum": "", "enabled": 1 } }, "kerberos": { "100": { "checksum": "", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "", "enabled": 1 } }, "keystone": { "100": { "checksum": "", "enabled": 1 } }, "kismet": { "100": { "checksum": "", "enabled": 1 } }, "kmscon": { "100": { "checksum": "", "enabled": 1 } }, "kpatch": { "100": { "checksum": "", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "", "enabled": 1 } }, "ktalk": { "100": { "checksum": "", "enabled": 1 } }, "l2tp": { "100": { "checksum": "", "enabled": 1 } }, "ldap": { "100": { "checksum": "", "enabled": 1 } }, "libraries": { "100": { "checksum": "", "enabled": 1 } }, "likewise": { "100": { "checksum": "", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "", "enabled": 1 } }, "lircd": { "100": { "checksum": "", "enabled": 1 } }, "livecd": { "100": { "checksum": "", "enabled": 1 } }, "lldpad": { "100": { "checksum": "", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "", "enabled": 1 } }, "locallogin": { "100": { "checksum": "", "enabled": 1 } }, "lockdev": { "100": { "checksum": "", "enabled": 1 } }, "logadm": { "100": { "checksum": "", "enabled": 1 } }, "logging": { "100": { "checksum": "", "enabled": 1 } }, "logrotate": { "100": { "checksum": "", "enabled": 1 } }, "logwatch": { "100": { "checksum": "", "enabled": 1 } }, "lpd": { "100": { "checksum": "", "enabled": 1 } }, "lsm": { "100": { "checksum": "", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "", "enabled": 1 } }, "lvm": { "100": { "checksum": "", "enabled": 1 } }, "mailman": { "100": { "checksum": "", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "", "enabled": 1 } }, "man2html": { "100": { "checksum": "", "enabled": 1 } }, "mandb": { "100": { "checksum": "", "enabled": 1 } }, "mcelog": { "100": { "checksum": "", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "", "enabled": 1 } }, "memcached": { "100": { "checksum": "", "enabled": 1 } }, "milter": { "100": { "checksum": "", "enabled": 1 } }, "minidlna": { "100": { "checksum": "", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "", "enabled": 1 } }, "mip6d": { "100": { "checksum": "", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "", "enabled": 1 } }, "mock": { "100": { "checksum": "", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "", "enabled": 1 } }, "modutils": { "100": { "checksum": "", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "", "enabled": 1 } }, "mongodb": { "100": { "checksum": "", "enabled": 1 } }, "motion": { "100": { "checksum": "", "enabled": 1 } }, "mount": { "100": { "checksum": "", "enabled": 1 } }, "mozilla": { "100": { "checksum": "", "enabled": 1 } }, "mpd": { "100": { "checksum": "", "enabled": 1 } }, "mplayer": { "100": { "checksum": "", "enabled": 1 } }, "mrtg": { "100": { "checksum": "", "enabled": 1 } }, "mta": { "100": { "checksum": "", "enabled": 1 } }, "munin": { "100": { "checksum": "", "enabled": 1 } }, "mysql": { "100": { "checksum": "", "enabled": 1 } }, "mythtv": { "100": { "checksum": "", "enabled": 1 } }, "nagios": { "100": { "checksum": "", "enabled": 1 } }, "namespace": { "100": { "checksum": "", "enabled": 1 } }, "ncftool": { "100": { "checksum": "", "enabled": 1 } }, "netlabel": { "100": { "checksum": "", "enabled": 1 } }, "netutils": { "100": { "checksum": "", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "", "enabled": 1 } }, "ninfod": { "100": { "checksum": "", "enabled": 1 } }, "nis": { "100": { "checksum": "", "enabled": 1 } }, "nova": { "100": { "checksum": "", "enabled": 1 } }, "nscd": { "100": { "checksum": "", "enabled": 1 } }, "nsd": { "100": { "checksum": "", "enabled": 1 } }, "nslcd": { "100": { "checksum": "", "enabled": 1 } }, "ntop": { "100": { "checksum": "", "enabled": 1 } }, "ntp": { "100": { "checksum": "", "enabled": 1 } }, "numad": { "100": { "checksum": "", "enabled": 1 } }, "nut": { "100": { "checksum": "", "enabled": 1 } }, "nx": { "100": { "checksum": "", "enabled": 1 } }, "obex": { "100": { "checksum": "", "enabled": 1 } }, "oddjob": { "100": { "checksum": "", "enabled": 1 } }, "openct": { "100": { "checksum": "", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "", "enabled": 1 } }, "openhpid": { "100": { "checksum": "", "enabled": 1 } }, "openshift": { "100": { "checksum": "", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "", "enabled": 1 } }, "opensm": { "100": { "checksum": "", "enabled": 1 } }, "openvpn": { "100": { "checksum": "", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "", "enabled": 1 } }, "openwsman": { "100": { "checksum": "", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "", "enabled": 1 } }, "osad": { "100": { "checksum": "", "enabled": 1 } }, "pads": { "100": { "checksum": "", "enabled": 1 } }, "passenger": { "100": { "checksum": "", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "", "enabled": 1 } }, "pcp": { "100": { "checksum": "", "enabled": 1 } }, "pcscd": { "100": { "checksum": "", "enabled": 1 } }, "pegasus": { "100": { "checksum": "", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "", "enabled": 1 } }, "pesign": { "100": { "checksum": "", "enabled": 1 } }, "pingd": { "100": { "checksum": "", "enabled": 1 } }, "piranha": { "100": { "checksum": "", "enabled": 1 } }, "pkcs": { "100": { "checksum": "", "enabled": 1 } }, "pki": { "100": { "checksum": "", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "", "enabled": 1 } }, "policykit": { "100": { "checksum": "", "enabled": 1 } }, "polipo": { "100": { "checksum": "", "enabled": 1 } }, "portmap": { "100": { "checksum": "", "enabled": 1 } }, "portreserve": { "100": { "checksum": "", "enabled": 1 } }, "postfix": { "100": { "checksum": "", "enabled": 1 } }, "postgresql": { "100": { "checksum": "", "enabled": 1 } }, "postgrey": { "100": { "checksum": "", "enabled": 1 } }, "ppp": { "100": { "checksum": "", "enabled": 1 } }, "prelink": { "100": { "checksum": "", "enabled": 1 } }, "prelude": { "100": { "checksum": "", "enabled": 1 } }, "privoxy": { "100": { "checksum": "", "enabled": 1 } }, "procmail": { "100": { "checksum": "", "enabled": 1 } }, "prosody": { "100": { "checksum": "", "enabled": 1 } }, "psad": { "100": { "checksum": "", "enabled": 1 } }, "ptchown": { "100": { "checksum": "", "enabled": 1 } }, "publicfile": { "100": { "checksum": "", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "", "enabled": 1 } }, "puppet": { "100": { "checksum": "", "enabled": 1 } }, "pwauth": { "100": { "checksum": "", "enabled": 1 } }, "qmail": { "100": { "checksum": "", "enabled": 1 } }, "qpid": { "100": { "checksum": "", "enabled": 1 } }, "quantum": { "100": { "checksum": "", "enabled": 1 } }, "quota": { "100": { "checksum": "", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "", "enabled": 1 } }, "radius": { "100": { "checksum": "", "enabled": 1 } }, "radvd": { "100": { "checksum": "", "enabled": 1 } }, "raid": { "100": { "checksum": "", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "", "enabled": 1 } }, "rdisc": { "100": { "checksum": "", "enabled": 1 } }, "readahead": { "100": { "checksum": "", "enabled": 1 } }, "realmd": { "100": { "checksum": "", "enabled": 1 } }, "redis": { "100": { "checksum": "", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "", "enabled": 1 } }, "restraint": { "400": { "checksum": "", "enabled": 1 } }, "rhcs": { "100": { "checksum": "", "enabled": 1 } }, "rhev": { "100": { "checksum": "", "enabled": 1 } }, "rhgb": { "100": { "checksum": "", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "", "enabled": 1 } }, "rhts": { "400": { "checksum": "", "enabled": 1 } }, "ricci": { "100": { "checksum": "", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "", "enabled": 1 } }, "rlogin": { "100": { "checksum": "", "enabled": 1 } }, "rngd": { "100": { "checksum": "", "enabled": 1 } }, "roundup": { "100": { "checksum": "", "enabled": 1 } }, "rpc": { "100": { "checksum": "", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "", "enabled": 1 } }, "rpm": { "100": { "checksum": "", "enabled": 1 } }, "rshd": { "100": { "checksum": "", "enabled": 1 } }, "rssh": { "100": { "checksum": "", "enabled": 1 } }, "rsync": { "100": { "checksum": "", "enabled": 1 } }, "rtas": { "100": { "checksum": "", "enabled": 1 } }, "rtkit": { "100": { "checksum": "", "enabled": 1 } }, "rwho": { "100": { "checksum": "", "enabled": 1 } }, "samba": { "100": { "checksum": "", "enabled": 1 } }, "sambagui": { "100": { "checksum": "", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "", "enabled": 1 } }, "sanlock": { "100": { "checksum": "", "enabled": 1 } }, "sasl": { "100": { "checksum": "", "enabled": 1 } }, "sbd": { "100": { "checksum": "", "enabled": 1 } }, "sblim": { "100": { "checksum": "", "enabled": 1 } }, "screen": { "100": { "checksum": "", "enabled": 1 } }, "secadm": { "100": { "checksum": "", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "", "enabled": 1 } }, "sendmail": { "100": { "checksum": "", "enabled": 1 } }, "sensord": { "100": { "checksum": "", "enabled": 1 } }, "setrans": { "100": { "checksum": "", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "", "enabled": 1 } }, "seunshare": { "100": { "checksum": "", "enabled": 1 } }, "sge": { "100": { "checksum": "", "enabled": 1 } }, "shorewall": { "100": { "checksum": "", "enabled": 1 } }, "slocate": { "100": { "checksum": "", "enabled": 1 } }, "slpd": { "100": { "checksum": "", "enabled": 1 } }, "smartmon": { "100": { "checksum": "", "enabled": 1 } }, "smokeping": { "100": { "checksum": "", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "", "enabled": 1 } }, "smsd": { "100": { "checksum": "", "enabled": 1 } }, "snapper": { "100": { "checksum": "", "enabled": 1 } }, "snmp": { "100": { "checksum": "", "enabled": 1 } }, "snort": { "100": { "checksum": "", "enabled": 1 } }, "sosreport": { "100": { "checksum": "", "enabled": 1 } }, "soundserver": { "100": { "checksum": "", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "", "enabled": 1 } }, "squid": { "100": { "checksum": "", "enabled": 1 } }, "ssh": { "100": { "checksum": "", "enabled": 1 } }, "sssd": { "100": { "checksum": "", "enabled": 1 } }, "staff": { "100": { "checksum": "", "enabled": 1 } }, "stapserver": { "100": { "checksum": "", "enabled": 1 } }, "stunnel": { "100": { "checksum": "", "enabled": 1 } }, "su": { "100": { "checksum": "", "enabled": 1 } }, "sudo": { "100": { "checksum": "", "enabled": 1 } }, "svnserve": { "100": { "checksum": "", "enabled": 1 } }, "swift": { "100": { "checksum": "", "enabled": 1 } }, "sysadm": { "100": { "checksum": "", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "", "enabled": 1 } }, "sysstat": { "100": { "checksum": "", "enabled": 1 } }, "systemd": { "100": { "checksum": "", "enabled": 1 } }, "tangd": { "100": { "checksum": "", "enabled": 1 } }, "targetd": { "100": { "checksum": "", "enabled": 1 } }, "tcpd": { "100": { "checksum": "", "enabled": 1 } }, "tcsd": { "100": { "checksum": "", "enabled": 1 } }, "telepathy": { "100": { "checksum": "", "enabled": 1 } }, "telnet": { "100": { "checksum": "", "enabled": 1 } }, "tftp": { "100": { "checksum": "", "enabled": 1 } }, "tgtd": { "100": { "checksum": "", "enabled": 1 } }, "thin": { "100": { "checksum": "", "enabled": 1 } }, "thumb": { "100": { "checksum": "", "enabled": 1 } }, "tlp": { "100": { "checksum": "", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "", "enabled": 1 } }, "tomcat": { "100": { "checksum": "", "enabled": 1 } }, "tor": { "100": { "checksum": "", "enabled": 1 } }, "tuned": { "100": { "checksum": "", "enabled": 1 } }, "tvtime": { "100": { "checksum": "", "enabled": 1 } }, "udev": { "100": { "checksum": "", "enabled": 1 } }, "ulogd": { "100": { "checksum": "", "enabled": 1 } }, "uml": { "100": { "checksum": "", "enabled": 1 } }, "unconfined": { "100": { "checksum": "", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "", "enabled": 1 } }, "updfstab": { "100": { "checksum": "", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "", "enabled": 1 } }, "userdomain": { "100": { "checksum": "", "enabled": 1 } }, "userhelper": { "100": { "checksum": "", "enabled": 1 } }, "usermanage": { "100": { "checksum": "", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "", "enabled": 1 } }, "uucp": { "100": { "checksum": "", "enabled": 1 } }, "uuidd": { "100": { "checksum": "", "enabled": 1 } }, "varnishd": { "100": { "checksum": "", "enabled": 1 } }, "vdagent": { "100": { "checksum": "", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "", "enabled": 1 } }, "virt": { "100": { "checksum": "", "enabled": 1 } }, "vlock": { "100": { "checksum": "", "enabled": 1 } }, "vmtools": { "100": { "checksum": "", "enabled": 1 } }, "vmware": { "100": { "checksum": "", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "", "enabled": 1 } }, "vpn": { "100": { "checksum": "", "enabled": 1 } }, "w3c": { "100": { "checksum": "", "enabled": 1 } }, "watchdog": { "100": { "checksum": "", "enabled": 1 } }, "wdmd": { "100": { "checksum": "", "enabled": 1 } }, "webadm": { "100": { "checksum": "", "enabled": 1 } }, "webalizer": { "100": { "checksum": "", "enabled": 1 } }, "wine": { "100": { "checksum": "", "enabled": 1 } }, "wireshark": { "100": { "checksum": "", "enabled": 1 } }, "xen": { "100": { "checksum": "", "enabled": 1 } }, "xguest": { "100": { "checksum": "", "enabled": 1 } }, "xserver": { "100": { "checksum": "", "enabled": 1 } }, "zabbix": { "100": { "checksum": "", "enabled": 1 } }, "zarafa": { "100": { "checksum": "", "enabled": 1 } }, "zebra": { "100": { "checksum": "", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "", "enabled": 1 } }, "zosremote": { "100": { "checksum": "", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:162 Saturday 13 September 2025 16:20:59 -0400 (0:00:02.815) 0:00:24.395 **** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:175 Saturday 13 September 2025 16:20:59 -0400 (0:00:00.067) 0:00:24.462 **** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:183 Saturday 13 September 2025 16:21:00 -0400 (0:00:00.114) 0:00:24.577 **** TASK [Restore original /etc/selinux/config] ************************************ task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:130 Saturday 13 September 2025 16:21:00 -0400 (0:00:00.056) 0:00:24.633 **** changed: [managed-node1] => { "changed": true, "checksum": "fe4ed0aa93618472e1004b6f68ae1b0733485fc5", "dest": "/etc/selinux/config", "gid": 0, "group": "root", "md5sum": "ff8d2663b88f1a20c8489fdf152e6b31", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:selinux_config_t:s0", "size": 542, "src": "/etc/selinux/config.test_selinux_disabled", "state": "file", "uid": 0 } TASK [Remove /etc/selinux/config backup] *************************************** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:141 Saturday 13 September 2025 16:21:00 -0400 (0:00:00.338) 0:00:24.972 **** changed: [managed-node1] => { "changed": true, "path": "/etc/selinux/config.test_selinux_disabled", "state": "absent" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Saturday 13 September 2025 16:21:00 -0400 (0:00:00.466) 0:00:25.439 **** changed: [managed-node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.812134", "end": "2025-09-13 16:21:03.108028", "rc": 0, "start": "2025-09-13 16:21:01.295894" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Saturday 13 September 2025 16:21:03 -0400 (0:00:02.194) 0:00:27.633 **** changed: [managed-node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.817699", "end": "2025-09-13 16:21:05.265003", "rc": 0, "start": "2025-09-13 16:21:03.447304" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Saturday 13 September 2025 16:21:05 -0400 (0:00:02.153) 0:00:29.786 **** changed: [managed-node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.815128", "end": "2025-09-13 16:21:07.414090", "rc": 0, "start": "2025-09-13 16:21:05.598962" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=59 changed=11 unreachable=0 failed=0 skipped=68 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.9.27", "end_time": "2025-09-13T20:20:52.061288Z", "host": "managed-node1", "message": "Reboot is required to apply changes. Re-execute the role after boot.", "start_time": "2025-09-13T20:20:52.038211Z", "task_name": "Fail if reboot is required", "task_path": "/tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:70" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 13 September 2025 16:21:07 -0400 (0:00:02.142) 0:00:31.929 **** =============================================================================== Add some mapping -------------------------------------------------------- 2.88s /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:28 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 2.82s /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:159 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.19s /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.15s /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.14s /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 fedora.linux_system_roles.selinux : Drop all local modifications -------- 0.88s /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:82 Gathering Facts --------------------------------------------------------- 0.85s /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:2 fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.70s /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled --- 0.62s /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.59s /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.59s /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Ensure findmnt ---------------------------------------------------------- 0.59s /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:29 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.56s /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Gather facts again ------------------------------------------------------ 0.54s /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:104 Add a Linux System Roles SELinux User ----------------------------------- 0.53s /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:23 fedora.linux_system_roles.selinux : Refresh facts ----------------------- 0.53s /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:98 Upload testing /etc/selinux/config -------------------------------------- 0.53s /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:47 fedora.linux_system_roles.selinux : Refresh facts ----------------------- 0.51s /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:98 fedora.linux_system_roles.selinux : Refresh facts ----------------------- 0.50s /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:98 Backup original /etc/selinux/config ------------------------------------- 0.49s /tmp/collections-zeW/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:40