ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmp0nkw2v14 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', 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_selinux_disabled.yml ******************************************* 1 plays in /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml PLAY [Ensure the default is targeted, enforcing, without local modifications] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:1 Wednesday 06 July 2022 07:09:52 +0000 (0:00:00.012) 0:00:00.012 ******** [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:16 Wednesday 06 July 2022 07:09:54 +0000 (0:00:02.026) 0:00:02.039 ******** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add a Linux System Roles SELinux User] *********************************** task path: /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:23 Wednesday 06 July 2022 07:09:54 +0000 (0:00:00.034) 0:00:02.073 ******** [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "comment": "Linux System Roles SELinux User", "create_home": true, "group": 1001, "home": "/home/sar-user", "name": "sar-user", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1001 } STDERR: useradd: warning: the home directory already exists. Not copying any file from skel directory into it. Creating mailbox file: File exists TASK [Add some mapping] ******************************************************** task path: /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:27 Wednesday 06 July 2022 07:09:56 +0000 (0:00:01.259) 0:00:03.332 ******** [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information ok: [/cache/centos-7.qcow2c.snap] => { "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.730646", "end": "2022-07-06 07:09:59.865215", "rc": 0, "start": "2022-07-06 07:09:57.134569" } TASK [Backup original /etc/selinux/config] ************************************* task path: /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:32 Wednesday 06 July 2022 07:09:59 +0000 (0:00:03.919) 0:00:07.251 ******** [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information changed: [/cache/centos-7.qcow2c.snap] => { "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/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:38 Wednesday 06 July 2022 07:10:01 +0000 (0:00:01.185) 0:00:08.437 ******** [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information changed: [/cache/centos-7.qcow2c.snap] => { "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-1657091401.3431692-165746-33808657387203/source", "state": "file", "uid": 0 } TASK [Switch to permissive to allow login when selinuxfs is not mounted] ******* task path: /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:43 Wednesday 06 July 2022 07:10:03 +0000 (0:00:02.081) 0:00:10.519 ******** [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "setenforce", "0" ], "delta": "0:00:00.004899", "end": "2022-07-06 07:10:04.209610", "rc": 0, "start": "2022-07-06 07:10:04.204711" } TASK [Get selinuxfs mountpoint] ************************************************ task path: /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:47 Wednesday 06 July 2022 07:10:04 +0000 (0:00:01.045) 0:00:11.565 ******** [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "findmnt -n -t selinuxfs --output=target", "delta": "0:00:00.007595", "end": "2022-07-06 07:10:05.233438", "rc": 0, "start": "2022-07-06 07:10:05.225843" } STDOUT: /sys/fs/selinux TASK [Umount /sys/fs/selinux to emulate SELinux disabled system # noqa 303] *** task path: /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:51 Wednesday 06 July 2022 07:10:05 +0000 (0:00:01.029) 0:00:12.594 ******** [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "umount", "-l", "/sys/fs/selinux" ], "delta": "0:00:00.010733", "end": "2022-07-06 07:10:06.278154", "rc": 0, "start": "2022-07-06 07:10:06.267421" } TASK [include_role : fedora.linux_system_roles.selinux] ************************ task path: /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:57 Wednesday 06 July 2022 07:10:06 +0000 (0:00:00.929) 0:00:13.523 ******** 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 redirecting (type: modules) ansible.builtin.sefcontext to community.general.sefcontext redirecting (type: modules) community.general.sefcontext to community.general.system.sefcontext redirecting (type: modules) ansible.builtin.seport to community.general.seport redirecting (type: modules) community.general.seport to community.general.system.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin redirecting (type: modules) community.general.selogin to community.general.system.selogin TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Wednesday 06 July 2022 07:10:06 +0000 (0:00:00.106) 0:00:13.630 ******** included: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Wednesday 06 July 2022 07:10:06 +0000 (0:00:00.033) 0:00:13.664 ******** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Wednesday 06 July 2022 07:10:06 +0000 (0:00:00.033) 0:00:13.697 ******** [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information ok: [/cache/centos-7.qcow2c.snap] => { "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/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Wednesday 06 July 2022 07:10:07 +0000 (0:00:00.709) 0:00:14.407 ******** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Wednesday 06 July 2022 07:10:07 +0000 (0:00:00.025) 0:00:14.432 ******** [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Wednesday 06 July 2022 07:10:07 +0000 (0:00:00.690) 0:00:15.122 ******** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Wednesday 06 July 2022 07:10:07 +0000 (0:00:00.034) 0:00:15.157 ******** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Wednesday 06 July 2022 07:10:07 +0000 (0:00:00.019) 0:00:15.176 ******** redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information [WARNING]: Reboot is required to set SELinux state to 'enforcing' changed: [/cache/centos-7.qcow2c.snap] => { "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/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Wednesday 06 July 2022 07:10:08 +0000 (0:00:00.609) 0:00:15.786 ******** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "selinux_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Wednesday 06 July 2022 07:10:08 +0000 (0:00:00.047) 0:00:15.833 ******** fatal: [/cache/centos-7.qcow2c.snap]: 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/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:60 Wednesday 06 July 2022 07:10:08 +0000 (0:00:00.033) 0:00:15.866 ******** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "test_selinux_reboot_required": true }, "changed": false } TASK [check that the role has failed and set the correct variable] ************* task path: /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:64 Wednesday 06 July 2022 07:10:08 +0000 (0:00:00.029) 0:00:15.896 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Mount /sys/fs/selinux back to system] ************************************ task path: /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:68 Wednesday 06 July 2022 07:10:08 +0000 (0:00:00.032) 0:00:15.929 ******** [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "mount", "-t", "selinuxfs", "selinuxfs", "/sys/fs/selinux" ], "delta": "0:00:00.005516", "end": "2022-07-06 07:10:08.995618", "rc": 0, "start": "2022-07-06 07:10:08.990102" } TASK [Switch back to enforcing] ************************************************ task path: /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:72 Wednesday 06 July 2022 07:10:09 +0000 (0:00:00.425) 0:00:16.355 ******** [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "setenforce", "1" ], "delta": "0:00:00.011708", "end": "2022-07-06 07:10:10.046330", "rc": 0, "start": "2022-07-06 07:10:10.034622" } TASK [Gather facts again] ****************************************************** task path: /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:75 Wednesday 06 July 2022 07:10:10 +0000 (0:00:01.070) 0:00:17.425 ******** [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information ok: [/cache/centos-7.qcow2c.snap] TASK [Check SELinux config mode] *********************************************** task path: /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:77 Wednesday 06 July 2022 07:10:11 +0000 (0:00:01.436) 0:00:18.861 ******** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Restore original /etc/selinux/config] ************************************ task path: /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:85 Wednesday 06 July 2022 07:10:11 +0000 (0:00:00.030) 0:00:18.892 ******** [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information changed: [/cache/centos-7.qcow2c.snap] => { "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/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:92 Wednesday 06 July 2022 07:10:12 +0000 (0:00:01.046) 0:00:19.938 ******** [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "path": "/etc/selinux/config.test_selinux_disabled", "state": "absent" } TASK [Remove Linux System Roles SELinux User] ********************************** task path: /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:97 Wednesday 06 July 2022 07:10:13 +0000 (0:00:01.174) 0:00:21.112 ******** [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "force": false, "name": "sar-user", "remove": true, "state": "absent" } TASK [include_role : fedora.linux_system_roles.selinux] ************************ task path: /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:103 Wednesday 06 July 2022 07:10:14 +0000 (0:00:01.131) 0:00:22.243 ******** 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 redirecting (type: modules) ansible.builtin.sefcontext to community.general.sefcontext redirecting (type: modules) community.general.sefcontext to community.general.system.sefcontext redirecting (type: modules) ansible.builtin.seport to community.general.seport redirecting (type: modules) community.general.seport to community.general.system.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin redirecting (type: modules) community.general.selogin to community.general.system.selogin TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Wednesday 06 July 2022 07:10:15 +0000 (0:00:00.045) 0:00:22.288 ******** included: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Wednesday 06 July 2022 07:10:15 +0000 (0:00:00.031) 0:00:22.320 ******** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Wednesday 06 July 2022 07:10:15 +0000 (0:00:00.031) 0:00:22.352 ******** [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information ok: [/cache/centos-7.qcow2c.snap] => { "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/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Wednesday 06 July 2022 07:10:16 +0000 (0:00:01.230) 0:00:23.582 ******** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Wednesday 06 July 2022 07:10:16 +0000 (0:00:00.023) 0:00:23.605 ******** [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information ok: [/cache/centos-7.qcow2c.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Wednesday 06 July 2022 07:10:17 +0000 (0:00:01.452) 0:00:25.058 ******** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Wednesday 06 July 2022 07:10:17 +0000 (0:00:00.032) 0:00:25.090 ******** redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information ok: [/cache/centos-7.qcow2c.snap] => { "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/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Wednesday 06 July 2022 07:10:18 +0000 (0:00:01.113) 0:00:26.203 ******** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Wednesday 06 July 2022 07:10:18 +0000 (0:00:00.021) 0:00:26.224 ******** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Wednesday 06 July 2022 07:10:19 +0000 (0:00:00.074) 0:00:26.299 ******** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:28 Wednesday 06 July 2022 07:10:19 +0000 (0:00:00.020) 0:00:26.319 ******** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Wednesday 06 July 2022 07:10:19 +0000 (0:00:00.020) 0:00:26.340 ******** [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for /cache/centos-7.qcow2c.snap NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for /cache/centos-7.qcow2c.snap changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:00.775022", "end": "2022-07-06 07:10:20.816449", "rc": 0, "start": "2022-07-06 07:10:20.041427" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Wednesday 06 July 2022 07:10:20 +0000 (0:00:01.844) 0:00:28.184 ******** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 Wednesday 06 July 2022 07:10:20 +0000 (0:00:00.031) 0:00:28.216 ******** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Wednesday 06 July 2022 07:10:20 +0000 (0:00:00.031) 0:00:28.247 ******** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Wednesday 06 July 2022 07:10:21 +0000 (0:00:00.032) 0:00:28.280 ******** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Wednesday 06 July 2022 07:10:21 +0000 (0:00:00.031) 0:00:28.312 ******** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Wednesday 06 July 2022 07:10:21 +0000 (0:00:00.020) 0:00:28.332 ******** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Wednesday 06 July 2022 07:10:21 +0000 (0:00:00.019) 0:00:28.352 ******** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:78 Wednesday 06 July 2022 07:10:21 +0000 (0:00:00.019) 0:00:28.371 ******** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 Wednesday 06 July 2022 07:10:21 +0000 (0:00:00.020) 0:00:28.391 ******** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 Wednesday 06 July 2022 07:10:21 +0000 (0:00:00.018) 0:00:28.410 ******** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Wednesday 06 July 2022 07:10:21 +0000 (0:00:00.021) 0:00:28.431 ******** [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgdcbxd": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "container": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "games": { "100": "enabled" }, "ganesha": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : include_tasks] *********************** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Wednesday 06 July 2022 07:10:24 +0000 (0:00:03.413) 0:00:31.844 ******** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/centos-7.qcow2c.snap RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:1 Wednesday 06 July 2022 07:10:24 +0000 (0:00:00.079) 0:00:31.924 ******** [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.972745", "end": "2022-07-06 07:10:27.604628", "rc": 0, "start": "2022-07-06 07:10:25.631883" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:1 Wednesday 06 July 2022 07:10:27 +0000 (0:00:03.060) 0:00:34.984 ******** [WARNING]: sftp transfer mechanism failed on [127.0.0.3]. Use ANSIBLE_DEBUG=1 to see detailed information changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.962553", "end": "2022-07-06 07:10:30.655932", "rc": 0, "start": "2022-07-06 07:10:28.693379" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=31 changed=10 unreachable=0 failed=0 skipped=22 rescued=1 ignored=0 Wednesday 06 July 2022 07:10:30 +0000 (0:00:03.060) 0:00:38.044 ******** =============================================================================== Add some mapping -------------------------------------------------------- 3.92s /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:27 ------------------ fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 3.41s /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 3.06s /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:1 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 3.06s /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:1 Upload testing /etc/selinux/config -------------------------------------- 2.08s /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:38 ------------------ Gathering Facts --------------------------------------------------------- 2.03s /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:1 ------------------- fedora.linux_system_roles.selinux : Drop all local modifications -------- 1.84s /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 fedora.linux_system_roles.selinux : refresh facts ----------------------- 1.45s /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Gather facts again ------------------------------------------------------ 1.44s /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:75 ------------------ Add a Linux System Roles SELinux User ----------------------------------- 1.26s /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:23 ------------------ fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 1.23s /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Backup original /etc/selinux/config ------------------------------------- 1.19s /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:32 ------------------ Remove /etc/selinux/config backup --------------------------------------- 1.17s /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:92 ------------------ Remove Linux System Roles SELinux User ---------------------------------- 1.13s /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:97 ------------------ fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled --- 1.11s /tmp/tmp0nkw2v14/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Switch back to enforcing ------------------------------------------------ 1.07s /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:72 ------------------ Restore original /etc/selinux/config ------------------------------------ 1.05s /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:85 ------------------ Switch to permissive to allow login when selinuxfs is not mounted ------- 1.05s /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:43 ------------------ Get selinuxfs mountpoint ------------------------------------------------ 1.03s /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:47 ------------------ Umount /sys/fs/selinux to emulate SELinux disabled system # noqa 303 --- 0.93s /tmp/tmpf06ir3be/tests/selinux/tests_selinux_disabled.yml:51 ------------------