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-GCe/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-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:2 Friday 13 June 2025 11:14:23 -0400 (0:00:00.024) 0:00:00.024 *********** ok: [managed-node1] META: ran handlers TASK [Ensure SELinux test packages] ******************************************** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:19 Friday 13 June 2025 11:14:24 -0400 (0:00:00.853) 0:00:00.878 *********** included: /tmp/collections-GCe/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-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:12 Friday 13 June 2025 11:14:24 -0400 (0:00:00.042) 0:00:00.921 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure SELinux testing packages] ***************************************** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:17 Friday 13 June 2025 11:14:24 -0400 (0:00:00.051) 0:00:00.973 *********** TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Friday 13 June 2025 11:14:24 -0400 (0:00:00.064) 0:00:01.037 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Friday 13 June 2025 11:14:25 -0400 (0:00:00.428) 0:00:01.466 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Friday 13 June 2025 11:14:25 -0400 (0:00:00.078) 0:00:01.545 *********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Friday 13 June 2025 11:14:25 -0400 (0:00:00.391) 0:00:01.937 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Friday 13 June 2025 11:14:25 -0400 (0:00:00.067) 0:00:02.005 *********** 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" ] } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Friday 13 June 2025 11:14:26 -0400 (0:00:00.852) 0:00:02.857 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Friday 13 June 2025 11:14:26 -0400 (0:00:00.042) 0:00:02.899 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Friday 13 June 2025 11:14:26 -0400 (0:00:00.042) 0:00:02.942 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:67 Friday 13 June 2025 11:14:26 -0400 (0:00:00.046) 0:00:02.989 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:81 Friday 13 June 2025 11:14:26 -0400 (0:00:00.044) 0:00:03.033 *********** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:86 Friday 13 June 2025 11:14:26 -0400 (0:00:00.042) 0:00:03.075 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:91 Friday 13 June 2025 11:14:26 -0400 (0:00:00.042) 0:00:03.118 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:98 Friday 13 June 2025 11:14:26 -0400 (0:00:00.044) 0:00:03.162 *********** ok: [managed-node1] TASK [Ensure selinux-policy-targeted] ****************************************** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:22 Friday 13 June 2025 11:14:27 -0400 (0:00:00.556) 0:00:03.719 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure findmnt] ********************************************************** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:29 Friday 13 June 2025 11:14:27 -0400 (0:00:00.063) 0:00:03.782 *********** 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" ] } TASK [Set is_el6 flag] ********************************************************* task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:38 Friday 13 June 2025 11:14:28 -0400 (0:00:00.624) 0:00:04.407 *********** ok: [managed-node1] => { "ansible_facts": { "__selinux_is_el6": false }, "changed": false } TASK [Get local modifications - boolean] *************************************** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:46 Friday 13 June 2025 11:14:28 -0400 (0:00:00.069) 0:00:04.476 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get local modifications - port] ****************************************** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:51 Friday 13 June 2025 11:14:28 -0400 (0:00:00.068) 0:00:04.544 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get local modifications - login] ***************************************** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:56 Friday 13 June 2025 11:14:28 -0400 (0:00:00.067) 0:00:04.612 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get local modifications - fcontext] ************************************** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:61 Friday 13 June 2025 11:14:28 -0400 (0:00:00.046) 0:00:04.658 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add a Linux System Roles SELinux User] *********************************** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:26 Friday 13 June 2025 11:14:28 -0400 (0:00:00.046) 0:00:04.705 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:30 Friday 13 June 2025 11:14:28 -0400 (0:00:00.594) 0:00:05.300 *********** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho -e -n \"boolean -m --on samba_enable_home_dirs\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.452025", "end": "2025-06-13 11:14:31.844971", "rc": 0, "start": "2025-06-13 11:14:29.392946" } TASK [Backup original /etc/selinux/config] ************************************* task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:35 Friday 13 June 2025 11:14:31 -0400 (0:00:02.995) 0:00:08.296 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:41 Friday 13 June 2025 11:14:32 -0400 (0:00:00.419) 0:00:08.715 *********** 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-1749827672.36-20912-217820538774416/source", "state": "file", "uid": 0 } TASK [Switch to permissive to allow login when selinuxfs is not mounted] ******* task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:46 Friday 13 June 2025 11:14:32 -0400 (0:00:00.581) 0:00:09.296 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "setenforce", "0" ], "delta": "0:00:00.003204", "end": "2025-06-13 11:14:33.153122", "rc": 0, "start": "2025-06-13 11:14:33.149918" } TASK [Get selinuxfs mountpoint] ************************************************ task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:50 Friday 13 June 2025 11:14:33 -0400 (0:00:00.294) 0:00:09.591 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "findmnt", "-n", "-t", "selinuxfs", "--output=target" ], "delta": "0:00:00.004235", "end": "2025-06-13 11:14:33.452370", "rc": 0, "start": "2025-06-13 11:14:33.448135" } STDOUT: /sys/fs/selinux TASK [Umount selinux mountpoint to emulate SELinux disabled system /sys/fs/selinux] *** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:54 Friday 13 June 2025 11:14:33 -0400 (0:00:00.339) 0:00:09.930 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "umount", "-l", "/sys/fs/selinux" ], "delta": "0:00:00.009972", "end": "2025-06-13 11:14:33.801365", "rc": 0, "start": "2025-06-13 11:14:33.791393" } TASK [Include role] ************************************************************ task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:62 Friday 13 June 2025 11:14:33 -0400 (0:00:00.325) 0:00:10.255 *********** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 13 June 2025 11:14:33 -0400 (0:00:00.097) 0:00:10.353 *********** included: /tmp/collections-GCe/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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 13 June 2025 11:14:34 -0400 (0:00:00.041) 0:00:10.394 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 13 June 2025 11:14:34 -0400 (0:00:00.031) 0:00:10.426 *********** included: /tmp/collections-GCe/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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Friday 13 June 2025 11:14:34 -0400 (0:00:00.060) 0:00:10.486 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Friday 13 June 2025 11:14:34 -0400 (0:00:00.031) 0:00:10.517 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Friday 13 June 2025 11:14:34 -0400 (0:00:00.031) 0:00:10.548 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Friday 13 June 2025 11:14:34 -0400 (0:00:00.028) 0:00:10.577 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Friday 13 June 2025 11:14:34 -0400 (0:00:00.030) 0:00:10.608 *********** 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" ] } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Friday 13 June 2025 11:14:34 -0400 (0:00:00.629) 0:00:11.238 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Friday 13 June 2025 11:14:34 -0400 (0:00:00.032) 0:00:11.270 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Friday 13 June 2025 11:14:34 -0400 (0:00:00.033) 0:00:11.303 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:67 Friday 13 June 2025 11:14:34 -0400 (0:00:00.038) 0:00:11.342 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:81 Friday 13 June 2025 11:14:34 -0400 (0:00:00.034) 0:00:11.376 *********** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:86 Friday 13 June 2025 11:14:35 -0400 (0:00:00.031) 0:00:11.407 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:91 Friday 13 June 2025 11:14:35 -0400 (0:00:00.031) 0:00:11.439 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:98 Friday 13 June 2025 11:14:35 -0400 (0:00:00.030) 0:00:11.469 *********** ok: [managed-node1] TASK [fedora.linux_system_roles.selinux : Run systemctl] *********************** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:8 Friday 13 June 2025 11:14:35 -0400 (0:00:00.539) 0:00:12.009 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.009087", "end": "2025-06-13 11:14:35.866062", "failed_when_result": false, "rc": 0, "start": "2025-06-13 11:14:35.856975" } STDOUT: running TASK [fedora.linux_system_roles.selinux : Require installed systemd] *********** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:15 Friday 13 June 2025 11:14:35 -0400 (0:00:00.308) 0:00:12.317 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:20 Friday 13 June 2025 11:14:35 -0400 (0:00:00.038) 0:00:12.356 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:29 Friday 13 June 2025 11:14:36 -0400 (0:00:00.039) 0:00:12.395 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Friday 13 June 2025 11:14:36 -0400 (0:00:00.029) 0:00:12.425 *********** [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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Friday 13 June 2025 11:14:36 -0400 (0:00:00.790) 0:00:13.215 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Friday 13 June 2025 11:14:36 -0400 (0:00:00.034) 0:00:13.250 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 13 June 2025 11:14:36 -0400 (0:00:00.090) 0:00:13.340 *********** included: /tmp/collections-GCe/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-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 13 June 2025 11:14:36 -0400 (0:00:00.041) 0:00:13.382 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 13 June 2025 11:14:37 -0400 (0:00:00.027) 0:00:13.409 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 13 June 2025 11:14:37 -0400 (0:00:00.302) 0:00:13.712 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 13 June 2025 11:14:37 -0400 (0:00:00.028) 0:00:13.740 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 13 June 2025 11:14:37 -0400 (0:00:00.049) 0:00:13.790 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 13 June 2025 11:14:37 -0400 (0:00:00.020) 0:00:13.810 *********** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 13 June 2025 11:14:37 -0400 (0:00:00.570) 0:00:14.380 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 13 June 2025 11:14:38 -0400 (0:00:00.288) 0:00:14.669 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 13 June 2025 11:14:38 -0400 (0:00:00.024) 0:00:14.693 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 13 June 2025 11:14:38 -0400 (0:00:00.021) 0:00:14.715 *********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 13 June 2025 11:14:38 -0400 (0:00:00.267) 0:00:14.983 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 13 June 2025 11:14:38 -0400 (0:00:00.032) 0:00:15.015 *********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1749827678.2170444, "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-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 13 June 2025 11:14:38 -0400 (0:00:00.287) 0:00:15.303 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 13 June 2025 11:14:39 -0400 (0:00:00.294) 0:00:15.597 *********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004258", "end": "2025-06-13 11:14:39.504004", "rc": 0, "start": "2025-06-13 11:14:39.499746" } 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-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 13 June 2025 11:14:39 -0400 (0:00:00.357) 0:00:15.955 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 13 June 2025 11:14:39 -0400 (0:00:00.040) 0:00:15.996 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 13 June 2025 11:14:40 -0400 (0:00:00.403) 0:00:16.400 *********** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 13 June 2025 11:14:40 -0400 (0:00:00.278) 0:00:16.678 *********** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 13 June 2025 11:14:40 -0400 (0:00:00.563) 0:00:17.242 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 13 June 2025 11:14:40 -0400 (0:00:00.034) 0:00:17.276 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 13 June 2025 11:14:40 -0400 (0:00:00.031) 0:00:17.307 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 13 June 2025 11:14:40 -0400 (0:00:00.029) 0:00:17.337 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:70 Friday 13 June 2025 11:14:40 -0400 (0:00:00.030) 0:00:17.368 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:66 Friday 13 June 2025 11:14:41 -0400 (0:00:00.035) 0:00:17.403 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:70 Friday 13 June 2025 11:14:41 -0400 (0:00:00.032) 0:00:17.436 *********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Mount selinux mountpoint back to system /sys/fs/selinux] ***************** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:74 Friday 13 June 2025 11:14:41 -0400 (0:00:00.039) 0:00:17.475 *********** [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.004052", "end": "2025-06-13 11:14:41.354780", "rc": 0, "start": "2025-06-13 11:14:41.350728" } TASK [Switch back to enforcing] ************************************************ task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:81 Friday 13 June 2025 11:14:41 -0400 (0:00:00.318) 0:00:17.794 *********** ok: [managed-node1] => { "changed": false, "cmd": [ "setenforce", "1" ], "delta": "0:00:00.009443", "end": "2025-06-13 11:14:41.629316", "rc": 0, "start": "2025-06-13 11:14:41.619873" } TASK [Gather facts again] ****************************************************** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:84 Friday 13 June 2025 11:14:41 -0400 (0:00:00.287) 0:00:18.082 *********** ok: [managed-node1] TASK [Check SELinux config mode] *********************************************** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:86 Friday 13 June 2025 11:14:42 -0400 (0:00:00.566) 0:00:18.649 *********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Restore original /etc/selinux/config] ************************************ task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:94 Friday 13 June 2025 11:14:42 -0400 (0:00:00.025) 0:00:18.674 *********** changed: [managed-node1] => { "changed": true, "checksum": "fe4ed0aa93618472e1004b6f68ae1b0733485fc5", "dest": "/etc/selinux/config", "gid": 0, "group": "root", "md5sum": "ff8d2663b88f1a20c8489fdf152e6b31", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_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-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:101 Friday 13 June 2025 11:14:42 -0400 (0:00:00.291) 0:00:18.965 *********** changed: [managed-node1] => { "changed": true, "path": "/etc/selinux/config.test_selinux_disabled", "state": "absent" } TASK [Remove Linux System Roles SELinux User] ********************************** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:106 Friday 13 June 2025 11:14:43 -0400 (0:00:00.500) 0:00:19.466 *********** changed: [managed-node1] => { "changed": true, "force": false, "name": "sar-user", "remove": true, "state": "absent" } TASK [Include role to purge everything] **************************************** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:112 Friday 13 June 2025 11:14:43 -0400 (0:00:00.402) 0:00:19.868 *********** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 13 June 2025 11:14:43 -0400 (0:00:00.087) 0:00:19.956 *********** included: /tmp/collections-GCe/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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 13 June 2025 11:14:43 -0400 (0:00:00.039) 0:00:19.995 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 13 June 2025 11:14:43 -0400 (0:00:00.043) 0:00:20.039 *********** included: /tmp/collections-GCe/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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Friday 13 June 2025 11:14:43 -0400 (0:00:00.073) 0:00:20.113 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Friday 13 June 2025 11:14:43 -0400 (0:00:00.032) 0:00:20.145 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Friday 13 June 2025 11:14:43 -0400 (0:00:00.030) 0:00:20.176 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Friday 13 June 2025 11:14:43 -0400 (0:00:00.030) 0:00:20.207 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Friday 13 June 2025 11:14:43 -0400 (0:00:00.031) 0:00:20.238 *********** 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" ] } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Friday 13 June 2025 11:14:44 -0400 (0:00:00.671) 0:00:20.910 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Friday 13 June 2025 11:14:44 -0400 (0:00:00.022) 0:00:20.932 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Friday 13 June 2025 11:14:44 -0400 (0:00:00.023) 0:00:20.955 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:67 Friday 13 June 2025 11:14:44 -0400 (0:00:00.029) 0:00:20.985 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:81 Friday 13 June 2025 11:14:44 -0400 (0:00:00.027) 0:00:21.013 *********** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:86 Friday 13 June 2025 11:14:44 -0400 (0:00:00.033) 0:00:21.047 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:91 Friday 13 June 2025 11:14:44 -0400 (0:00:00.029) 0:00:21.077 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:98 Friday 13 June 2025 11:14:44 -0400 (0:00:00.040) 0:00:21.117 *********** ok: [managed-node1] TASK [fedora.linux_system_roles.selinux : Run systemctl] *********************** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:8 Friday 13 June 2025 11:14:45 -0400 (0:00:00.514) 0:00:21.631 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Require installed systemd] *********** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:15 Friday 13 June 2025 11:14:45 -0400 (0:00:00.021) 0:00:21.653 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:20 Friday 13 June 2025 11:14:45 -0400 (0:00:00.021) 0:00:21.674 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:29 Friday 13 June 2025 11:14:45 -0400 (0:00:00.020) 0:00:21.695 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Friday 13 June 2025 11:14:45 -0400 (0:00:00.385) 0:00:22.080 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Friday 13 June 2025 11:14:45 -0400 (0:00:00.028) 0:00:22.109 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Friday 13 June 2025 11:14:45 -0400 (0:00:00.033) 0:00:22.143 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:70 Friday 13 June 2025 11:14:45 -0400 (0:00:00.040) 0:00:22.183 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:77 Friday 13 June 2025 11:14:45 -0400 (0:00:00.023) 0:00:22.207 *********** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:82 Friday 13 June 2025 11:14:45 -0400 (0:00:00.029) 0:00:22.236 *********** 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.594302", "end": "2025-06-13 11:14:46.676625", "rc": 0, "start": "2025-06-13 11:14:46.082323" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:90 Friday 13 June 2025 11:14:46 -0400 (0:00:00.881) 0:00:23.118 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:95 Friday 13 June 2025 11:14:46 -0400 (0:00:00.031) 0:00:23.149 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:100 Friday 13 June 2025 11:14:46 -0400 (0:00:00.031) 0:00:23.181 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:105 Friday 13 June 2025 11:14:46 -0400 (0:00:00.030) 0:00:23.212 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:110 Friday 13 June 2025 11:14:46 -0400 (0:00:00.026) 0:00:23.238 *********** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:121 Friday 13 June 2025 11:14:46 -0400 (0:00:00.024) 0:00:23.262 *********** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:134 Friday 13 June 2025 11:14:46 -0400 (0:00:00.025) 0:00:23.288 *********** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:146 Friday 13 June 2025 11:14:46 -0400 (0:00:00.025) 0:00:23.313 *********** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:159 Friday 13 June 2025 11:14:46 -0400 (0:00:00.026) 0:00:23.339 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:162 Friday 13 June 2025 11:14:49 -0400 (0:00:02.778) 0:00:26.117 *********** 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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:175 Friday 13 June 2025 11:14:49 -0400 (0:00:00.043) 0:00:26.161 *********** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:183 Friday 13 June 2025 11:14:49 -0400 (0:00:00.070) 0:00:26.231 *********** RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Friday 13 June 2025 11:14:49 -0400 (0:00:00.020) 0:00:26.251 *********** changed: [managed-node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.813974", "end": "2025-06-13 11:14:51.924197", "rc": 0, "start": "2025-06-13 11:14:50.110223" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Friday 13 June 2025 11:14:51 -0400 (0:00:02.114) 0:00:28.365 *********** changed: [managed-node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.825203", "end": "2025-06-13 11:14:54.051989", "rc": 0, "start": "2025-06-13 11:14:52.226786" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Friday 13 June 2025 11:14:54 -0400 (0:00:02.125) 0:00:30.491 *********** changed: [managed-node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.822852", "end": "2025-06-13 11:14:56.174666", "rc": 0, "start": "2025-06-13 11:14:54.351814" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=58 changed=11 unreachable=0 failed=0 skipped=67 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.9.27", "end_time": "2025-06-13T15:14:41.000821Z", "host": "managed-node1", "message": "Reboot is required to apply changes. Re-execute the role after boot.", "start_time": "2025-06-13T15:14:40.975342Z", "task_name": "Fail if reboot is required", "task_path": "/tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:70" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Friday 13 June 2025 11:14:56 -0400 (0:00:02.125) 0:00:32.617 *********** =============================================================================== Add some mapping -------------------------------------------------------- 3.00s /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:30 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 2.78s /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:159 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.13s /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.13s /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.11s /tmp/collections-GCe/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-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:82 Gathering Facts --------------------------------------------------------- 0.85s /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:2 fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.85s /tmp/collections-GCe/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.79s /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.67s /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.63s /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Ensure findmnt ---------------------------------------------------------- 0.62s /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:29 Add a Linux System Roles SELinux User ----------------------------------- 0.59s /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:26 Upload testing /etc/selinux/config -------------------------------------- 0.58s /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:41 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.57s /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather facts again ------------------------------------------------------ 0.57s /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:84 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.56s /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.selinux : Refresh facts ----------------------- 0.56s /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:98 fedora.linux_system_roles.selinux : Refresh facts ----------------------- 0.54s /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:98 fedora.linux_system_roles.selinux : Refresh facts ----------------------- 0.51s /tmp/collections-GCe/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:98