ansible-playbook [core 2.16.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-Xhq executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles statically imported: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml statically imported: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml statically imported: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml statically imported: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml Skipping callback 'debug', 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 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_login.yml ****************************************************** 1 plays in /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_login.yml PLAY [Check if selinux role sets SELinux login mappings] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_login.yml:2 Saturday 08 November 2025 15:19:04 -0500 (0:00:00.018) 0:00:00.018 ***** ok: [managed-node1] TASK [Add a System Api Roles SELinux User] ************************************* task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_login.yml:5 Saturday 08 November 2025 15:19:05 -0500 (0:00:01.047) 0:00:01.066 ***** changed: [managed-node1] => { "changed": true, "comment": "System Api 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 [Initial changes] ********************************************************* task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_login.yml:10 Saturday 08 November 2025 15:19:06 -0500 (0:00:00.556) 0:00:01.622 ***** [WARNING]: Collection community.general does not support Ansible version 2.16.14 redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.seboolean to ansible.posix.seboolean TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 08 November 2025 15:19:06 -0500 (0:00:00.072) 0:00:01.695 ***** included: /tmp/collections-Xhq/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-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Saturday 08 November 2025 15:19:06 -0500 (0:00:00.018) 0:00:01.713 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__selinux_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Saturday 08 November 2025 15:19:06 -0500 (0:00:00.040) 0:00:01.753 ***** included: /tmp/collections-Xhq/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-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Saturday 08 November 2025 15:19:06 -0500 (0:00:00.037) 0:00:01.791 ***** 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-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Saturday 08 November 2025 15:19:06 -0500 (0:00:00.478) 0:00:02.270 ***** 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-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Saturday 08 November 2025 15:19:06 -0500 (0:00:00.023) 0:00:02.293 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Saturday 08 November 2025 15:19:07 -0500 (0:00:00.312) 0:00:02.606 ***** 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-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Saturday 08 November 2025 15:19:07 -0500 (0:00:00.022) 0:00:02.629 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_python_version is version('3', '<')", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Saturday 08 November 2025 15:19:07 -0500 (0:00:00.016) 0:00:02.645 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-libselinux python3-policycoreutils TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Saturday 08 November 2025 15:19:09 -0500 (0:00:02.665) 0:00:05.311 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_os_family == \"Suse\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure grubby used to modify selinux kernel parameter] *** task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Saturday 08 November 2025 15:19:09 -0500 (0:00:00.018) 0:00:05.329 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:67 Saturday 08 November 2025 15:19:12 -0500 (0:00:02.425) 0:00:07.754 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: policycoreutils-python-utils TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:81 Saturday 08 November 2025 15:19:14 -0500 (0:00:02.437) 0:00:10.192 ***** skipping: [managed-node1] => { "false_condition": "__selinux_is_transactional | d(false)" } TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:86 Saturday 08 November 2025 15:19:14 -0500 (0:00:00.035) 0:00:10.228 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__selinux_is_transactional | d(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-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:91 Saturday 08 November 2025 15:19:14 -0500 (0:00:00.034) 0:00:10.262 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__selinux_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:98 Saturday 08 November 2025 15:19:14 -0500 (0:00:00.034) 0:00:10.297 ***** ok: [managed-node1] TASK [fedora.linux_system_roles.selinux : Run systemctl] *********************** task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:8 Saturday 08 November 2025 15:19:15 -0500 (0:00:00.740) 0:00:11.038 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.006795", "end": "2025-11-08 15:19:15.876700", "failed_when_result": false, "rc": 0, "start": "2025-11-08 15:19:15.869905" } STDOUT: running TASK [fedora.linux_system_roles.selinux : Require installed systemd] *********** task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:15 Saturday 08 November 2025 15:19:15 -0500 (0:00:00.447) 0:00:11.485 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "\"No such file or directory\" in __is_system_running.msg | d(\"\")", "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-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:20 Saturday 08 November 2025 15:19:15 -0500 (0:00:00.037) 0:00:11.523 ***** 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-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:29 Saturday 08 November 2025 15:19:15 -0500 (0:00:00.022) 0:00:11.545 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "(not selinux_state is none and selinux_state | length > 0) or (not selinux_policy is none and selinux_policy | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Saturday 08 November 2025 15:19:16 -0500 (0:00:00.037) 0:00:11.583 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_selinux.status == \"disabled\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Saturday 08 November 2025 15:19:16 -0500 (0:00:00.013) 0:00:11.596 ***** 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-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Saturday 08 November 2025 15:19:16 -0500 (0:00:00.038) 0:00:11.635 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __update_kernel_param", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:70 Saturday 08 November 2025 15:19:16 -0500 (0:00:00.019) 0:00:11.654 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "selinux_reboot_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:77 Saturday 08 November 2025 15:19:16 -0500 (0:00:00.014) 0:00:11.669 ***** skipping: [managed-node1] => { "false_condition": "ansible_selinux.status == \"disabled\"" } TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:82 Saturday 08 November 2025 15:19:16 -0500 (0:00:00.014) 0:00:11.683 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "selinux_all_purge | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:90 Saturday 08 November 2025 15:19:16 -0500 (0:00:00.039) 0:00:11.723 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "selinux_booleans_purge | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:95 Saturday 08 November 2025 15:19:16 -0500 (0:00:00.036) 0:00:11.759 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "selinux_fcontexts_purge | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:100 Saturday 08 November 2025 15:19:16 -0500 (0:00:00.047) 0:00:11.807 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "selinux_ports_purge | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:105 Saturday 08 November 2025 15:19:16 -0500 (0:00:00.045) 0:00:11.853 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "login", "-D" ], "delta": "0:00:00.795059", "end": "2025-11-08 15:19:17.396122", "rc": 0, "start": "2025-11-08 15:19:16.601063" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:110 Saturday 08 November 2025 15:19:17 -0500 (0:00:01.150) 0:00:13.003 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:121 Saturday 08 November 2025 15:19:17 -0500 (0:00:00.013) 0:00:13.016 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:134 Saturday 08 November 2025 15:19:17 -0500 (0:00:00.018) 0:00:13.034 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:146 Saturday 08 November 2025 15:19:17 -0500 (0:00:00.013) 0:00:13.048 ***** An exception occurred during task execution. To see the full traceback, use -vvv. The error was: SyntaxError: future feature annotations is not defined failed: [managed-node1] (item={'login': 'sar-user', 'seuser': 'staff_u', 'serange': 's0-s0:c0.c1023', 'state': 'present'}) => { "__selinux_item": { "login": "sar-user", "serange": "s0-s0:c0.c1023", "seuser": "staff_u", "state": "present" }, "ansible_loop_var": "__selinux_item", "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDOUT: Traceback (most recent call last): File "/root/.ansible/tmp/ansible-tmp-1762633157.553954-12689-7393010898907/AnsiballZ_selogin.py", line 107, in _ansiballz_main() File "/root/.ansible/tmp/ansible-tmp-1762633157.553954-12689-7393010898907/AnsiballZ_selogin.py", line 99, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "/root/.ansible/tmp/ansible-tmp-1762633157.553954-12689-7393010898907/AnsiballZ_selogin.py", line 48, in invoke_module run_name='__main__', alter_sys=True) File "/usr/lib64/python3.6/runpy.py", line 201, in run_module mod_name, mod_spec, code = _get_module_details(mod_name) File "/usr/lib64/python3.6/runpy.py", line 128, in _get_module_details spec = importlib.util.find_spec(mod_name) File "/usr/lib64/python3.6/importlib/util.py", line 89, in find_spec return _find_spec(fullname, parent.__path__) File "", line 894, in _find_spec File "", line 1157, in find_spec File "", line 1131, in _get_spec File "", line 1112, in _legacy_get_spec File "", line 441, in spec_from_loader File "", line 544, in spec_from_file_location File "/tmp/ansible_community.general.selogin_payload_ixuvjf79/ansible_community.general.selogin_payload.zip/ansible_collections/community/general/plugins/modules/selogin.py", line 7 SyntaxError: future feature annotations is not defined MODULE_STDERR: Shared connection to 10.31.43.226 closed. PLAY RECAP ********************************************************************* managed-node1 : ok=16 changed=2 unreachable=0 failed=1 skipped=19 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.16.14", "end_time": "2025-11-08T20:19:17.925159+00:00Z", "host": "managed-node1", "loop_item": { "login": "sar-user", "serange": "s0-s0:c0.c1023", "seuser": "staff_u", "state": "present" }, "loop_label": "", "loop_var": "__selinux_item", "message": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1, "start_time": "2025-11-08T20:19:17.486859+00:00Z", "task_name": "Set linux user to SELinux user mapping", "task_path": "/tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:146" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 08 November 2025 15:19:17 -0500 (0:00:00.440) 0:00:13.488 ***** =============================================================================== fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 2.67s /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 fedora.linux_system_roles.selinux : Install SELinux tool semanage ------- 2.44s /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:67 fedora.linux_system_roles.selinux : Ensure grubby used to modify selinux kernel parameter --- 2.43s /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 fedora.linux_system_roles.selinux : Purge all SELinux login local modifications --- 1.15s /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:105 Gathering Facts --------------------------------------------------------- 1.05s /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_login.yml:2 fedora.linux_system_roles.selinux : Refresh facts ----------------------- 0.74s /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:98 Add a System Api Roles SELinux User ------------------------------------- 0.56s /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_login.yml:5 fedora.linux_system_roles.selinux : Check if system is ostree ----------- 0.48s /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 fedora.linux_system_roles.selinux : Run systemctl ----------------------- 0.45s /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:8 fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping --- 0.44s /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:146 fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin --- 0.31s /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Initial changes --------------------------------------------------------- 0.07s /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_login.yml:10 fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications --- 0.05s /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:95 fedora.linux_system_roles.selinux : Purge all SELinux port local modifications --- 0.05s /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:100 fedora.linux_system_roles.selinux : Ensure ansible_facts used by role --- 0.04s /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 fedora.linux_system_roles.selinux : Drop all local modifications -------- 0.04s /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:82 fedora.linux_system_roles.selinux : Set selinux_reboot_required --------- 0.04s /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 fedora.linux_system_roles.selinux : Ensure SELinux packages ------------- 0.04s /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled --- 0.04s /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:29 fedora.linux_system_roles.selinux : Require installed systemd ----------- 0.04s /tmp/collections-Xhq/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:15 -- Logs begin at Sat 2025-11-08 15:12:19 EST, end at Sat 2025-11-08 15:19:18 EST. -- Nov 08 15:19:03 managed-node1 sshd[24214]: Accepted publickey for root from 10.31.40.7 port 49034 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Nov 08 15:19:03 managed-node1 systemd[1]: Started Session 14 of user root. -- Subject: Unit session-14.scope has finished start-up -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Unit session-14.scope has finished starting up. -- -- The start-up result is done. Nov 08 15:19:03 managed-node1 systemd-logind[587]: New session 14 of user root. -- Subject: A new session 14 has been created for user root -- Defined-By: systemd -- Support: https://access.redhat.com/support -- Documentation: https://www.freedesktop.org/wiki/Software/systemd/multiseat -- -- A new session with the ID 14 has been created for the user root. -- -- The leading process of the session is 24214. Nov 08 15:19:03 managed-node1 sshd[24214]: pam_unix(sshd:session): session opened for user root by (uid=0) Nov 08 15:19:03 managed-node1 sshd[24217]: Received disconnect from 10.31.40.7 port 49034:11: disconnected by user Nov 08 15:19:03 managed-node1 sshd[24217]: Disconnected from user root 10.31.40.7 port 49034 Nov 08 15:19:03 managed-node1 sshd[24214]: pam_unix(sshd:session): session closed for user root Nov 08 15:19:03 managed-node1 systemd[1]: session-14.scope: Succeeded. -- Subject: Unit succeeded -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- The unit session-14.scope has successfully entered the 'dead' state. Nov 08 15:19:03 managed-node1 systemd-logind[587]: Session 14 logged out. Waiting for processes to exit. Nov 08 15:19:03 managed-node1 systemd-logind[587]: Removed session 14. -- Subject: Session 14 has been terminated -- Defined-By: systemd -- Support: https://access.redhat.com/support -- Documentation: https://www.freedesktop.org/wiki/Software/systemd/multiseat -- -- A session with the ID 14 has been terminated. Nov 08 15:19:03 managed-node1 sshd[24238]: Accepted publickey for root from 10.31.40.7 port 49048 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Nov 08 15:19:03 managed-node1 systemd[1]: Started Session 15 of user root. -- Subject: Unit session-15.scope has finished start-up -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Unit session-15.scope has finished starting up. -- -- The start-up result is done. Nov 08 15:19:03 managed-node1 systemd-logind[587]: New session 15 of user root. -- Subject: A new session 15 has been created for user root -- Defined-By: systemd -- Support: https://access.redhat.com/support -- Documentation: https://www.freedesktop.org/wiki/Software/systemd/multiseat -- -- A new session with the ID 15 has been created for the user root. -- -- The leading process of the session is 24238. Nov 08 15:19:03 managed-node1 sshd[24238]: pam_unix(sshd:session): session opened for user root by (uid=0) Nov 08 15:19:03 managed-node1 sshd[24241]: Received disconnect from 10.31.40.7 port 49048:11: disconnected by user Nov 08 15:19:03 managed-node1 sshd[24241]: Disconnected from user root 10.31.40.7 port 49048 Nov 08 15:19:03 managed-node1 sshd[24238]: pam_unix(sshd:session): session closed for user root Nov 08 15:19:03 managed-node1 systemd[1]: session-15.scope: Succeeded. -- Subject: Unit succeeded -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- The unit session-15.scope has successfully entered the 'dead' state. Nov 08 15:19:03 managed-node1 systemd-logind[587]: Session 15 logged out. Waiting for processes to exit. Nov 08 15:19:03 managed-node1 systemd-logind[587]: Removed session 15. -- Subject: Session 15 has been terminated -- Defined-By: systemd -- Support: https://access.redhat.com/support -- Documentation: https://www.freedesktop.org/wiki/Software/systemd/multiseat -- -- A session with the ID 15 has been terminated. Nov 08 15:19:05 managed-node1 platform-python[24403]: ansible-ansible.legacy.setup Invoked with gather_subset=['all'] gather_timeout=10 filter=[] fact_path=/etc/ansible/facts.d Nov 08 15:19:05 managed-node1 platform-python[24555]: ansible-user Invoked with comment=System Api Roles SELinux User name=sar-user state=present non_unique=False force=False remove=False create_home=True system=False move_home=False append=False ssh_key_bits=0 ssh_key_type=rsa ssh_key_comment=ansible-generated on managed-node1 update_password=always uid=None group=None groups=None home=None shell=None password=NOT_LOGGING_PARAMETER login_class=None password_expire_max=None password_expire_min=None password_expire_warn=None hidden=None seuser=None skeleton=None generate_ssh_key=None ssh_key_file=None ssh_key_passphrase=NOT_LOGGING_PARAMETER expires=None password_lock=None local=None profile=None authorization=None role=None umask=None Nov 08 15:19:05 managed-node1 useradd[24560]: new group: name=sar-user, GID=1000 Nov 08 15:19:05 managed-node1 useradd[24560]: new user: name=sar-user, UID=1000, GID=1000, home=/home/sar-user, shell=/bin/bash Nov 08 15:19:06 managed-node1 platform-python[24688]: ansible-stat Invoked with path=/run/ostree-booted follow=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Nov 08 15:19:07 managed-node1 platform-python[24811]: ansible-stat Invoked with path=/sbin/transactional-update follow=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Nov 08 15:19:07 managed-node1 platform-python[24934]: ansible-ansible.legacy.dnf Invoked with name=['python3-libselinux', 'python3-policycoreutils'] state=present allow_downgrade=False autoremove=False bugfix=False cacheonly=False disable_gpg_check=False disable_plugin=[] disablerepo=[] download_only=False enable_plugin=[] enablerepo=[] exclude=[] installroot=/ install_repoquery=True install_weak_deps=True security=False skip_broken=False update_cache=False update_only=False validate_certs=True sslverify=True lock_timeout=30 allowerasing=False nobest=False use_backend=auto conf_file=None disable_excludes=None download_dir=None list=None releasever=None Nov 08 15:19:10 managed-node1 platform-python[25058]: ansible-ansible.legacy.dnf Invoked with name=['grubby'] state=present allow_downgrade=False autoremove=False bugfix=False cacheonly=False disable_gpg_check=False disable_plugin=[] disablerepo=[] download_only=False enable_plugin=[] enablerepo=[] exclude=[] installroot=/ install_repoquery=True install_weak_deps=True security=False skip_broken=False update_cache=False update_only=False validate_certs=True sslverify=True lock_timeout=30 allowerasing=False nobest=False use_backend=auto conf_file=None disable_excludes=None download_dir=None list=None releasever=None Nov 08 15:19:12 managed-node1 platform-python[25182]: ansible-ansible.legacy.dnf Invoked with name=['policycoreutils-python-utils'] state=present allow_downgrade=False autoremove=False bugfix=False cacheonly=False disable_gpg_check=False disable_plugin=[] disablerepo=[] download_only=False enable_plugin=[] enablerepo=[] exclude=[] installroot=/ install_repoquery=True install_weak_deps=True security=False skip_broken=False update_cache=False update_only=False validate_certs=True sslverify=True lock_timeout=30 allowerasing=False nobest=False use_backend=auto conf_file=None disable_excludes=None download_dir=None list=None releasever=None Nov 08 15:19:15 managed-node1 platform-python[25306]: ansible-setup Invoked with filter=['ansible_selinux'] gather_subset=['all'] gather_timeout=10 fact_path=/etc/ansible/facts.d Nov 08 15:19:15 managed-node1 platform-python[25458]: ansible-ansible.legacy.command Invoked with _raw_params=systemctl is-system-running _uses_shell=False expand_argument_vars=True stdin_add_newline=True strip_empty_ends=True argv=None chdir=None executable=None creates=None removes=None stdin=None Nov 08 15:19:16 managed-node1 platform-python[25582]: ansible-ansible.legacy.command Invoked with _raw_params=/usr/sbin/semanage login -D _uses_shell=False expand_argument_vars=True stdin_add_newline=True strip_empty_ends=True argv=None chdir=None executable=None creates=None removes=None stdin=None Nov 08 15:19:18 managed-node1 sshd[25727]: Accepted publickey for root from 10.31.40.7 port 34660 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Nov 08 15:19:18 managed-node1 systemd[1]: Started Session 16 of user root. -- Subject: Unit session-16.scope has finished start-up -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Unit session-16.scope has finished starting up. -- -- The start-up result is done. Nov 08 15:19:18 managed-node1 systemd-logind[587]: New session 16 of user root. -- Subject: A new session 16 has been created for user root -- Defined-By: systemd -- Support: https://access.redhat.com/support -- Documentation: https://www.freedesktop.org/wiki/Software/systemd/multiseat -- -- A new session with the ID 16 has been created for the user root. -- -- The leading process of the session is 25727. Nov 08 15:19:18 managed-node1 sshd[25727]: pam_unix(sshd:session): session opened for user root by (uid=0) Nov 08 15:19:18 managed-node1 sshd[25730]: Received disconnect from 10.31.40.7 port 34660:11: disconnected by user Nov 08 15:19:18 managed-node1 sshd[25730]: Disconnected from user root 10.31.40.7 port 34660 Nov 08 15:19:18 managed-node1 sshd[25727]: pam_unix(sshd:session): session closed for user root Nov 08 15:19:18 managed-node1 systemd[1]: session-16.scope: Succeeded. -- Subject: Unit succeeded -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- The unit session-16.scope has successfully entered the 'dead' state. Nov 08 15:19:18 managed-node1 systemd-logind[587]: Session 16 logged out. Waiting for processes to exit. Nov 08 15:19:18 managed-node1 systemd-logind[587]: Removed session 16. -- Subject: Session 16 has been terminated -- Defined-By: systemd -- Support: https://access.redhat.com/support -- Documentation: https://www.freedesktop.org/wiki/Software/systemd/multiseat -- -- A session with the ID 16 has been terminated. Nov 08 15:19:18 managed-node1 sshd[25751]: Accepted publickey for root from 10.31.40.7 port 34676 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Nov 08 15:19:18 managed-node1 systemd[1]: Started Session 17 of user root. -- Subject: Unit session-17.scope has finished start-up -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Unit session-17.scope has finished starting up. -- -- The start-up result is done. Nov 08 15:19:18 managed-node1 systemd-logind[587]: New session 17 of user root. -- Subject: A new session 17 has been created for user root -- Defined-By: systemd -- Support: https://access.redhat.com/support -- Documentation: https://www.freedesktop.org/wiki/Software/systemd/multiseat -- -- A new session with the ID 17 has been created for the user root. -- -- The leading process of the session is 25751. Nov 08 15:19:18 managed-node1 sshd[25751]: pam_unix(sshd:session): session opened for user root by (uid=0)