ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles statically imported: /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml statically imported: /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml statically imported: /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml statically imported: /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml 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_login.yml ****************************************************** 1 plays in /tmp/collections-fTR/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-fTR/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_login.yml:2 Saturday 08 November 2025 15:19:38 -0500 (0:00:00.025) 0:00:00.025 ***** ok: [managed-node1] META: ran handlers TASK [Add a System Api Roles SELinux User] ************************************* task path: /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_login.yml:5 Saturday 08 November 2025 15:19:39 -0500 (0:00:00.851) 0:00:00.876 ***** 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-fTR/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_login.yml:10 Saturday 08 November 2025 15:19:39 -0500 (0:00:00.527) 0:00:01.404 ***** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 08 November 2025 15:19:39 -0500 (0:00:00.082) 0:00:01.486 ***** included: /tmp/collections-fTR/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-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Saturday 08 November 2025 15:19:39 -0500 (0:00:00.016) 0:00:01.503 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Saturday 08 November 2025 15:19:39 -0500 (0:00:00.035) 0:00:01.539 ***** included: /tmp/collections-fTR/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-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Saturday 08 November 2025 15:19:39 -0500 (0:00:00.025) 0:00:01.564 ***** 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-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Saturday 08 November 2025 15:19:40 -0500 (0:00:00.411) 0:00:01.976 ***** 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-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Saturday 08 November 2025 15:19:40 -0500 (0:00:00.038) 0:00:02.015 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Saturday 08 November 2025 15:19:40 -0500 (0:00:00.351) 0:00:02.366 ***** 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-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Saturday 08 November 2025 15:19:40 -0500 (0:00:00.043) 0:00:02.409 ***** 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-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Saturday 08 November 2025 15:19:40 -0500 (0:00:00.040) 0:00:02.450 ***** 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-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Saturday 08 November 2025 15:19:43 -0500 (0:00:02.592) 0:00:05.043 ***** 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-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Saturday 08 November 2025 15:19:43 -0500 (0:00:00.037) 0:00:05.080 ***** 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-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:67 Saturday 08 November 2025 15:19:45 -0500 (0:00:02.444) 0:00:07.525 ***** 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-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:81 Saturday 08 November 2025 15:19:48 -0500 (0:00:02.444) 0:00:09.970 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:86 Saturday 08 November 2025 15:19:48 -0500 (0:00:00.035) 0:00:10.006 ***** 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-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:91 Saturday 08 November 2025 15:19:48 -0500 (0:00:00.034) 0:00:10.040 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:98 Saturday 08 November 2025 15:19:48 -0500 (0:00:00.035) 0:00:10.076 ***** ok: [managed-node1] TASK [fedora.linux_system_roles.selinux : Run systemctl] *********************** task path: /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:8 Saturday 08 November 2025 15:19:49 -0500 (0:00:00.601) 0:00:10.678 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.006947", "end": "2025-11-08 15:19:49.461016", "failed_when_result": false, "rc": 0, "start": "2025-11-08 15:19:49.454069" } STDOUT: running TASK [fedora.linux_system_roles.selinux : Require installed systemd] *********** task path: /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:15 Saturday 08 November 2025 15:19:49 -0500 (0:00:00.495) 0:00:11.173 ***** 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-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:20 Saturday 08 November 2025 15:19:49 -0500 (0:00:00.036) 0:00:11.210 ***** 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-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:29 Saturday 08 November 2025 15:19:49 -0500 (0:00:00.037) 0:00:11.248 ***** 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-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Saturday 08 November 2025 15:19:49 -0500 (0:00:00.037) 0:00:11.285 ***** 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-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Saturday 08 November 2025 15:19:49 -0500 (0:00:00.033) 0:00:11.319 ***** 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-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Saturday 08 November 2025 15:19:49 -0500 (0:00:00.036) 0:00:11.355 ***** 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-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:70 Saturday 08 November 2025 15:19:49 -0500 (0:00:00.037) 0:00:11.393 ***** 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-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:77 Saturday 08 November 2025 15:19:49 -0500 (0:00:00.011) 0:00:11.404 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:82 Saturday 08 November 2025 15:19:49 -0500 (0:00:00.033) 0:00:11.438 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:90 Saturday 08 November 2025 15:19:49 -0500 (0:00:00.033) 0:00:11.471 ***** 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-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:95 Saturday 08 November 2025 15:19:49 -0500 (0:00:00.033) 0:00:11.505 ***** 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-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:100 Saturday 08 November 2025 15:19:49 -0500 (0:00:00.032) 0:00:11.538 ***** 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-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:105 Saturday 08 November 2025 15:19:49 -0500 (0:00:00.032) 0:00:11.570 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "login", "-D" ], "delta": "0:00:00.794931", "end": "2025-11-08 15:19:50.995862", "rc": 0, "start": "2025-11-08 15:19:50.200931" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:110 Saturday 08 November 2025 15:19:51 -0500 (0:00:01.141) 0:00:12.712 ***** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:121 Saturday 08 November 2025 15:19:51 -0500 (0:00:00.036) 0:00:12.748 ***** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:134 Saturday 08 November 2025 15:19:51 -0500 (0:00:00.036) 0:00:12.785 ***** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:146 Saturday 08 November 2025 15:19:51 -0500 (0:00:00.034) 0:00:12.820 ***** 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-1762633191.2201684-13560-60310531540761/AnsiballZ_selogin.py", line 102, in _ansiballz_main() File "/root/.ansible/tmp/ansible-tmp-1762633191.2201684-13560-60310531540761/AnsiballZ_selogin.py", line 94, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "/root/.ansible/tmp/ansible-tmp-1762633191.2201684-13560-60310531540761/AnsiballZ_selogin.py", line 40, in invoke_module runpy.run_module(mod_name='ansible_collections.community.general.plugins.modules.selogin', init_globals=None, 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_2vdp1u8d/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.20 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.9.27", "end_time": "2025-11-08T20:19:51.612871+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:51.156361+00:00Z", "task_name": "Set linux user to SELinux user mapping", "task_path": "/tmp/collections-fTR/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:51 -0500 (0:00:00.462) 0:00:13.282 ***** =============================================================================== fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 2.59s /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 fedora.linux_system_roles.selinux : Ensure grubby used to modify selinux kernel parameter --- 2.44s /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 fedora.linux_system_roles.selinux : Install SELinux tool semanage ------- 2.44s /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:67 fedora.linux_system_roles.selinux : Purge all SELinux login local modifications --- 1.14s /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:105 Gathering Facts --------------------------------------------------------- 0.85s /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_login.yml:2 fedora.linux_system_roles.selinux : Refresh facts ----------------------- 0.60s /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:98 Add a System Api Roles SELinux User ------------------------------------- 0.53s /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_login.yml:5 fedora.linux_system_roles.selinux : Run systemctl ----------------------- 0.50s /tmp/collections-fTR/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.46s /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:146 fedora.linux_system_roles.selinux : Check if system is ostree ----------- 0.41s /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin --- 0.35s /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Initial changes --------------------------------------------------------- 0.08s /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_login.yml:10 fedora.linux_system_roles.selinux : Set flag if transactional-update exists --- 0.04s /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.04s /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 fedora.linux_system_roles.selinux : Set flag to indicate system is ostree --- 0.04s /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Add or remove selinux=0 from args as needed ----------------------------- 0.04s /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 fedora.linux_system_roles.selinux : Set flag to indicate that systemd runtime operations are available --- 0.04s /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:20 fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled --- 0.04s /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:29 fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 0.04s /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 fedora.linux_system_roles.selinux : Set SELinux file contexts ----------- 0.04s /tmp/collections-fTR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:121 -- Logs begin at Sat 2025-11-08 15:12:23 EST, end at Sat 2025-11-08 15:19:51 EST. -- Nov 08 15:19:37 managed-node1 sshd[24332]: Accepted publickey for root from 10.31.42.167 port 41370 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Nov 08 15:19:37 managed-node1 systemd-logind[598]: 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 24332. Nov 08 15:19:37 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:37 managed-node1 sshd[24332]: pam_unix(sshd:session): session opened for user root by (uid=0) Nov 08 15:19:37 managed-node1 sshd[24335]: Received disconnect from 10.31.42.167 port 41370:11: disconnected by user Nov 08 15:19:37 managed-node1 sshd[24335]: Disconnected from user root 10.31.42.167 port 41370 Nov 08 15:19:37 managed-node1 sshd[24332]: pam_unix(sshd:session): session closed for user root Nov 08 15:19:37 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:37 managed-node1 systemd-logind[598]: Session 14 logged out. Waiting for processes to exit. Nov 08 15:19:37 managed-node1 systemd-logind[598]: 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:37 managed-node1 sshd[24356]: Accepted publickey for root from 10.31.42.167 port 41378 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Nov 08 15:19:37 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:37 managed-node1 systemd-logind[598]: 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 24356. Nov 08 15:19:37 managed-node1 sshd[24356]: pam_unix(sshd:session): session opened for user root by (uid=0) Nov 08 15:19:37 managed-node1 sshd[24359]: Received disconnect from 10.31.42.167 port 41378:11: disconnected by user Nov 08 15:19:37 managed-node1 sshd[24359]: Disconnected from user root 10.31.42.167 port 41378 Nov 08 15:19:37 managed-node1 sshd[24356]: pam_unix(sshd:session): session closed for user root Nov 08 15:19:37 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:37 managed-node1 systemd-logind[598]: Session 15 logged out. Waiting for processes to exit. Nov 08 15:19:37 managed-node1 systemd-logind[598]: 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:38 managed-node1 platform-python[24521]: ansible-setup Invoked with gather_subset=['all'] gather_timeout=10 filter=* fact_path=/etc/ansible/facts.d Nov 08 15:19:39 managed-node1 platform-python[24669]: 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 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 Nov 08 15:19:39 managed-node1 useradd[24673]: new group: name=sar-user, GID=1000 Nov 08 15:19:39 managed-node1 useradd[24673]: new user: name=sar-user, UID=1000, GID=1000, home=/home/sar-user, shell=/bin/bash Nov 08 15:19:40 managed-node1 platform-python[24801]: ansible-stat Invoked with path=/run/ostree-booted follow=False get_md5=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Nov 08 15:19:40 managed-node1 platform-python[24924]: ansible-stat Invoked with path=/sbin/transactional-update follow=False get_md5=False get_checksum=True get_mime=True get_attributes=True checksum_algorithm=sha1 Nov 08 15:19:41 managed-node1 platform-python[25047]: ansible-dnf Invoked with name=['python3-libselinux', 'python3-policycoreutils'] state=present allow_downgrade=False autoremove=False bugfix=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 lock_timeout=30 conf_file=None disable_excludes=None download_dir=None list=None releasever=None Nov 08 15:19:43 managed-node1 platform-python[25170]: ansible-dnf Invoked with name=['grubby'] state=present allow_downgrade=False autoremove=False bugfix=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 lock_timeout=30 conf_file=None disable_excludes=None download_dir=None list=None releasever=None Nov 08 15:19:46 managed-node1 platform-python[25293]: ansible-dnf Invoked with name=['policycoreutils-python-utils'] state=present allow_downgrade=False autoremove=False bugfix=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 lock_timeout=30 conf_file=None disable_excludes=None download_dir=None list=None releasever=None Nov 08 15:19:48 managed-node1 platform-python[25416]: ansible-setup Invoked with filter=ansible_selinux gather_subset=['all'] gather_timeout=10 fact_path=/etc/ansible/facts.d Nov 08 15:19:49 managed-node1 platform-python[25564]: ansible-command Invoked with _raw_params=systemctl is-system-running warn=True _uses_shell=False stdin_add_newline=True strip_empty_ends=True argv=None chdir=None executable=None creates=None removes=None stdin=None Nov 08 15:19:50 managed-node1 platform-python[25688]: ansible-command Invoked with _raw_params=/usr/sbin/semanage login -D warn=True _uses_shell=False stdin_add_newline=True strip_empty_ends=True argv=None chdir=None executable=None creates=None removes=None stdin=None Nov 08 15:19:51 managed-node1 sshd[25833]: Accepted publickey for root from 10.31.42.167 port 33426 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Nov 08 15:19:51 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:51 managed-node1 systemd-logind[598]: 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 25833. Nov 08 15:19:51 managed-node1 sshd[25833]: pam_unix(sshd:session): session opened for user root by (uid=0) Nov 08 15:19:51 managed-node1 sshd[25836]: Received disconnect from 10.31.42.167 port 33426:11: disconnected by user Nov 08 15:19:51 managed-node1 sshd[25836]: Disconnected from user root 10.31.42.167 port 33426 Nov 08 15:19:51 managed-node1 sshd[25833]: pam_unix(sshd:session): session closed for user root Nov 08 15:19:51 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:51 managed-node1 systemd-logind[598]: Session 16 logged out. Waiting for processes to exit. Nov 08 15:19:51 managed-node1 systemd-logind[598]: 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:51 managed-node1 sshd[25857]: Accepted publickey for root from 10.31.42.167 port 33442 ssh2: RSA SHA256:9j1blwt3wcrRiGYZQ7ZGu9axm3cDklH6/z4c+Ee8CzE Nov 08 15:19:51 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:51 managed-node1 systemd-logind[598]: 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 25857. Nov 08 15:19:51 managed-node1 sshd[25857]: pam_unix(sshd:session): session opened for user root by (uid=0)