Formatting '/cache/rhel-6.qcow2.snap', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=10737418240 backing_file=/cache/rhel-6.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16 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/tmpeqs_o7xx 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: rhel-6_setup.yml ***************************************************** 2 plays in /cache/rhel-6_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-6_setup.yml:5 Thursday 07 July 2022 20:56:06 +0000 (0:00:00.017) 0:00:00.017 ********* changed: [/cache/rhel-6.qcow2.snap] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-6.qcow2.snap] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY [Set up host for test playbooks] ****************************************** TASK [Gathering Facts] ********************************************************* task path: /cache/rhel-6_setup.yml:18 Thursday 07 July 2022 20:56:07 +0000 (0:00:00.871) 0:00:00.889 ********* [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [Create EPEL 6 repo] ****************************************************** task path: /cache/rhel-6_setup.yml:22 Thursday 07 July 2022 20:56:08 +0000 (0:00:00.969) 0:00:01.859 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Create yum cache] ******************************************************** task path: /cache/rhel-6_setup.yml:32 Thursday 07 July 2022 20:56:08 +0000 (0:00:00.022) 0:00:01.881 ********* changed: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Create dnf cache] ******************************************************** task path: /cache/rhel-6_setup.yml:38 Thursday 07 July 2022 20:56:11 +0000 (0:00:03.727) 0:00:05.609 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Disable EPEL 7] ********************************************************** task path: /cache/rhel-6_setup.yml:44 Thursday 07 July 2022 20:56:11 +0000 (0:00:00.021) 0:00:05.631 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Disable EPEL 8] ********************************************************** task path: /cache/rhel-6_setup.yml:52 Thursday 07 July 2022 20:56:11 +0000 (0:00:00.022) 0:00:05.653 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=3 changed=2 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Thursday 07 July 2022 20:56:11 +0000 (0:00:00.031) 0:00:05.685 ********* =============================================================================== Create yum cache -------------------------------------------------------- 3.73s /cache/rhel-6_setup.yml:32 ---------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.97s /cache/rhel-6_setup.yml:18 ---------------------------------------------------- set up internal repositories -------------------------------------------- 0.87s /cache/rhel-6_setup.yml:5 ----------------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/rhel-6_setup.yml:52 ---------------------------------------------------- Create EPEL 6 repo ------------------------------------------------------ 0.02s /cache/rhel-6_setup.yml:22 ---------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/rhel-6_setup.yml:44 ---------------------------------------------------- Create dnf cache -------------------------------------------------------- 0.02s /cache/rhel-6_setup.yml:38 ---------------------------------------------------- PLAYBOOK: setup-snapshot.yml *************************************************** 1 plays in /tmp/tmp4z99x4v3/tests/setup-snapshot.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp4z99x4v3/tests/setup-snapshot.yml:1 Thursday 07 July 2022 20:56:11 +0000 (0:00:00.012) 0:00:05.697 ********* ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [Set ansible_facts and install packages] ********************************** task path: /tmp/tmp4z99x4v3/tests/setup-snapshot.yml:3 Thursday 07 July 2022 20:56:12 +0000 (0:00:00.752) 0:00:06.450 ********* TASK [linux-system-roles.selinux : Ensure ansible_facts used by role] ********** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Thursday 07 July 2022 20:56:12 +0000 (0:00:00.037) 0:00:06.487 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Thursday 07 July 2022 20:56:12 +0000 (0:00:00.036) 0:00:06.523 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.0.94-7.el6.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.0.83-30.1.el6_8.x86_64 providing policycoreutils-python is already installed" ] } TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Thursday 07 July 2022 20:56:15 +0000 (0:00:02.425) 0:00:08.948 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 Thursday 07 July 2022 20:56:15 +0000 (0:00:00.026) 0:00:08.975 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:29 Thursday 07 July 2022 20:56:15 +0000 (0:00:00.033) 0:00:09.009 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-6.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=5 changed=2 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 Thursday 07 July 2022 20:56:15 +0000 (0:00:00.050) 0:00:09.060 ********* =============================================================================== Create yum cache -------------------------------------------------------- 3.73s /cache/rhel-6_setup.yml:32 ---------------------------------------------------- linux-system-roles.selinux : Install SELinux python2 tools -------------- 2.43s /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Gathering Facts --------------------------------------------------------- 0.97s /cache/rhel-6_setup.yml:18 ---------------------------------------------------- set up internal repositories -------------------------------------------- 0.87s /cache/rhel-6_setup.yml:5 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.75s /tmp/tmp4z99x4v3/tests/setup-snapshot.yml:1 ----------------------------------- linux-system-roles.selinux : Install SELinux tool semanage -------------- 0.05s /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:29 Set ansible_facts and install packages ---------------------------------- 0.04s /tmp/tmp4z99x4v3/tests/setup-snapshot.yml:3 ----------------------------------- linux-system-roles.selinux : Ensure ansible_facts used by role ---------- 0.04s /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 linux-system-roles.selinux : refresh facts ------------------------------ 0.03s /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/rhel-6_setup.yml:52 ---------------------------------------------------- linux-system-roles.selinux : Install SELinux python3 tools -------------- 0.03s /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Create EPEL 6 repo ------------------------------------------------------ 0.02s /cache/rhel-6_setup.yml:22 ---------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/rhel-6_setup.yml:44 ---------------------------------------------------- Create dnf cache -------------------------------------------------------- 0.02s /cache/rhel-6_setup.yml:38 ---------------------------------------------------- PLAYBOOK: rhel-6_post_setup.yml ************************************************ 1 plays in /cache/rhel-6_post_setup.yml PLAY [Post setup - these happen last] ****************************************** META: ran handlers TASK [force sync of filesystems - ensure setup changes are made to snapshot] *** task path: /cache/rhel-6_post_setup.yml:5 Thursday 07 July 2022 20:56:15 +0000 (0:00:00.021) 0:00:09.081 ********* changed: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [shutdown guest] ********************************************************** task path: /cache/rhel-6_post_setup.yml:8 Thursday 07 July 2022 20:56:15 +0000 (0:00:00.314) 0:00:09.396 ********* changed: [/cache/rhel-6.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=7 changed=4 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 Thursday 07 July 2022 20:56:16 +0000 (0:00:00.381) 0:00:09.777 ********* =============================================================================== Create yum cache -------------------------------------------------------- 3.73s /cache/rhel-6_setup.yml:32 ---------------------------------------------------- linux-system-roles.selinux : Install SELinux python2 tools -------------- 2.43s /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Gathering Facts --------------------------------------------------------- 0.97s /cache/rhel-6_setup.yml:18 ---------------------------------------------------- set up internal repositories -------------------------------------------- 0.87s /cache/rhel-6_setup.yml:5 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.75s /tmp/tmp4z99x4v3/tests/setup-snapshot.yml:1 ----------------------------------- shutdown guest ---------------------------------------------------------- 0.38s /cache/rhel-6_post_setup.yml:8 ------------------------------------------------ force sync of filesystems - ensure setup changes are made to snapshot --- 0.31s /cache/rhel-6_post_setup.yml:5 ------------------------------------------------ linux-system-roles.selinux : Install SELinux tool semanage -------------- 0.05s /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:29 Set ansible_facts and install packages ---------------------------------- 0.04s /tmp/tmp4z99x4v3/tests/setup-snapshot.yml:3 ----------------------------------- linux-system-roles.selinux : Ensure ansible_facts used by role ---------- 0.04s /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 linux-system-roles.selinux : refresh facts ------------------------------ 0.03s /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/rhel-6_setup.yml:52 ---------------------------------------------------- linux-system-roles.selinux : Install SELinux python3 tools -------------- 0.03s /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Create EPEL 6 repo ------------------------------------------------------ 0.02s /cache/rhel-6_setup.yml:22 ---------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/rhel-6_setup.yml:44 ---------------------------------------------------- Create dnf cache -------------------------------------------------------- 0.02s /cache/rhel-6_setup.yml:38 ---------------------------------------------------- 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/tmpeqs_o7xx 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 statically imported: /tmp/tmp4z99x4v3/tests/set_selinux_variables.yml statically imported: /tmp/tmp4z99x4v3/tests/set_selinux_variables.yml 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_all_purge.yml ************************************************** 1 plays in /tmp/tmp4z99x4v3/tests/tests_all_purge.yml PLAY [Test that selinux_all_purge drops local modifications, defaults to no] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp4z99x4v3/tests/tests_all_purge.yml:1 Thursday 07 July 2022 20:57:06 +0000 (0:00:00.012) 0:00:00.012 ********* [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmp4z99x4v3/tests/tests_all_purge.yml:13 Thursday 07 July 2022 20:57:07 +0000 (0:00:01.081) 0:00:01.093 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add a Linux System Roles SELinux User] *********************************** task path: /tmp/tmp4z99x4v3/tests/tests_all_purge.yml:22 Thursday 07 July 2022 20:57:07 +0000 (0:00:00.058) 0:00:01.152 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "comment": "Linux System Roles SELinux User", "create_home": true, "group": 501, "home": "/home/sar-user", "name": "sar-user", "shell": "/bin/bash", "state": "present", "system": false, "uid": 501 } TASK [Add some mapping] ******************************************************** task path: /tmp/tmp4z99x4v3/tests/tests_all_purge.yml:27 Thursday 07 July 2022 20:57:08 +0000 (0:00:00.591) 0:00:01.744 ********* ok: [/cache/rhel-6.qcow2.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:24.266843", "end": "2022-07-07 16:57:32.499479", "rc": 0, "start": "2022-07-07 16:57:08.232636" } TASK [Apply role with defaults, should not drop local modifications] *********** task path: /tmp/tmp4z99x4v3/tests/tests_all_purge.yml:33 Thursday 07 July 2022 20:57:33 +0000 (0:00:24.830) 0:00:26.574 ********* 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 [linux-system-roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 Thursday 07 July 2022 20:57:33 +0000 (0:00:00.109) 0:00:26.683 ********* included: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml for /cache/rhel-6.qcow2.snap TASK [linux-system-roles.selinux : Ensure ansible_facts used by role] ********** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Thursday 07 July 2022 20:57:33 +0000 (0:00:00.032) 0:00:26.716 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Thursday 07 July 2022 20:57:33 +0000 (0:00:00.034) 0:00:26.750 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.0.94-7.el6.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.0.83-30.1.el6_8.x86_64 providing policycoreutils-python is already installed" ] } TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Thursday 07 July 2022 20:57:34 +0000 (0:00:00.892) 0:00:27.643 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 Thursday 07 July 2022 20:57:34 +0000 (0:00:00.025) 0:00:27.668 ********* ok: [/cache/rhel-6.qcow2.snap] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:29 Thursday 07 July 2022 20:57:35 +0000 (0:00:00.705) 0:00:28.373 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:5 Thursday 07 July 2022 20:57:35 +0000 (0:00:00.035) 0:00:28.409 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:13 Thursday 07 July 2022 20:57:35 +0000 (0:00:00.023) 0:00:28.432 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set selinux_reboot_required] **************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:20 Thursday 07 July 2022 20:57:35 +0000 (0:00:00.021) 0:00:28.454 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:26 Thursday 07 July 2022 20:57:35 +0000 (0:00:00.045) 0:00:28.499 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:31 Thursday 07 July 2022 20:57:35 +0000 (0:00:00.021) 0:00:28.521 ********* skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:36 Thursday 07 July 2022 20:57:35 +0000 (0:00:00.020) 0:00:28.541 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:43 Thursday 07 July 2022 20:57:35 +0000 (0:00:00.031) 0:00:28.573 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:47 Thursday 07 July 2022 20:57:35 +0000 (0:00:00.030) 0:00:28.604 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:51 Thursday 07 July 2022 20:57:35 +0000 (0:00:00.030) 0:00:28.635 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:55 Thursday 07 July 2022 20:57:35 +0000 (0:00:00.030) 0:00:28.666 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:59 Thursday 07 July 2022 20:57:35 +0000 (0:00:00.033) 0:00:28.699 ********* TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:66 Thursday 07 July 2022 20:57:35 +0000 (0:00:00.019) 0:00:28.718 ********* TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:75 Thursday 07 July 2022 20:57:35 +0000 (0:00:00.019) 0:00:28.738 ********* TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:81 Thursday 07 July 2022 20:57:35 +0000 (0:00:00.018) 0:00:28.757 ********* TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:89 Thursday 07 July 2022 20:57:35 +0000 (0:00:00.018) 0:00:28.776 ********* TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:97 Thursday 07 July 2022 20:57:35 +0000 (0:00:00.018) 0:00:28.795 ********* TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:107 Thursday 07 July 2022 20:57:35 +0000 (0:00:00.020) 0:00:28.815 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "0": "enabled" }, "accountsd": { "0": "enabled" }, "ada": { "0": "enabled" }, "afs": { "0": "enabled" }, "aiccu": { "0": "enabled" }, "aide": { "0": "enabled" }, "amanda": { "0": "enabled" }, "amtu": { "0": "enabled" }, "antivirus": { "0": "enabled" }, "apache": { "0": "enabled" }, "apcupsd": { "0": "enabled" }, "arpwatch": { "0": "enabled" }, "asterisk": { "0": "enabled" }, "audioentropy": { "0": "enabled" }, "automount": { "0": "enabled" }, "avahi": { "0": "enabled" }, "awstats": { "0": "enabled" }, "bacula": { "0": "enabled" }, "bcfg2": { "0": "enabled" }, "bind": { "0": "enabled" }, "bitlbee": { "0": "enabled" }, "bluetooth": { "0": "enabled" }, "boinc": { "0": "enabled" }, "bugzilla": { "0": "enabled" }, "cachefilesd": { "0": "enabled" }, "calamaris": { "0": "enabled" }, "canna": { "0": "enabled" }, "ccs": { "0": "enabled" }, "cdrecord": { "0": "enabled" }, "certmaster": { "0": "enabled" }, "certmonger": { "0": "enabled" }, "certwatch": { "0": "enabled" }, "cfengine": { "0": "enabled" }, "cgroup": { "0": "enabled" }, "chrome": { "0": "enabled" }, "chronyd": { "0": "enabled" }, "cinder": { "0": "enabled" }, "cipe": { "0": "enabled" }, "clogd": { "0": "enabled" }, "cloudform": { "0": "enabled" }, "cmirrord": { "0": "enabled" }, "cobbler": { "0": "enabled" }, "collectd": { "0": "enabled" }, "comsat": { "0": "enabled" }, "condor": { "0": "enabled" }, "conman": { "0": "enabled" }, "consolekit": { "0": "enabled" }, "courier": { "0": "enabled" }, "cpufreqselector": { "0": "enabled" }, "ctdbd": { "0": "enabled" }, "cups": { "0": "enabled" }, "cvs": { "0": "enabled" }, "cyphesis": { "0": "enabled" }, "cyrus": { "0": "enabled" }, "daemontools": { "0": "enabled" }, "dbskk": { "0": "enabled" }, "dcc": { "0": "enabled" }, "ddclient": { "0": "enabled" }, "denyhosts": { "0": "enabled" }, "devicekit": { "0": "enabled" }, "dhcp": { "0": "enabled" }, "dictd": { "0": "enabled" }, "dirsrv": { "0": "enabled" }, "dirsrv-admin": { "0": "enabled" }, "dnsmasq": { "0": "enabled" }, "dovecot": { "0": "enabled" }, "drbd": { "0": "enabled" }, "dspam": { "0": "enabled" }, "ethereal": { "0": "enabled" }, "execmem": { "0": "enabled" }, "exim": { "0": "enabled" }, "fail2ban": { "0": "enabled" }, "fcoemon": { "0": "enabled" }, "fetchmail": { "0": "enabled" }, "finger": { "0": "enabled" }, "firewallgui": { "0": "enabled" }, "fprintd": { "0": "enabled" }, "freeipmi": { "0": "enabled" }, "ftp": { "0": "enabled" }, "games": { "0": "enabled" }, "git": { "0": "enabled" }, "gitosis": { "0": "enabled" }, "glance": { "0": "enabled" }, "glusterd": { "0": "enabled" }, "gnome": { "0": "enabled" }, "gnomeclock": { "0": "enabled" }, "gpg": { "0": "enabled" }, "gpm": { "0": "enabled" }, "gpsd": { "0": "enabled" }, "guest": { "0": "enabled" }, "hal": { "0": "enabled" }, "hddtemp": { "0": "enabled" }, "howl": { "0": "enabled" }, "hypervkvp": { "0": "enabled" }, "icecast": { "0": "enabled" }, "inn": { "0": "enabled" }, "ipsec": { "0": "enabled" }, "irc": { "0": "enabled" }, "iscsi": { "0": "enabled" }, "isns": { "0": "enabled" }, "jabber": { "0": "enabled" }, "java": { "0": "enabled" }, "kdump": { "0": "enabled" }, "kdumpgui": { "0": "enabled" }, "keepalived": { "0": "enabled" }, "kerberos": { "0": "enabled" }, "kerneloops": { "0": "enabled" }, "keystone": { "0": "enabled" }, "kismet": { "0": "enabled" }, "ksmtuned": { "0": "enabled" }, "ktalk": { "0": "enabled" }, "l2tpd": { "0": "enabled" }, "ldap": { "0": "enabled" }, "likewise": { "0": "enabled" }, "linuxptp": { "0": "enabled" }, "lircd": { "0": "enabled" }, "livecd": { "0": "enabled" }, "lldpad": { "0": "enabled" }, "lockdev": { "0": "enabled" }, "logadm": { "0": "enabled" }, "lpd": { "0": "enabled" }, "lsm": { "0": "enabled" }, "mailman": { "0": "enabled" }, "matahari": { "0": "enabled" }, "mediawiki": { "0": "enabled" }, "memcached": { "0": "enabled" }, "milter": { "0": "enabled" }, "mip6d": { "0": "enabled" }, "mirrormanager": { "0": "enabled" }, "modemmanager": { "0": "enabled" }, "mono": { "0": "enabled" }, "mozilla": { "0": "enabled" }, "mpd": { "0": "enabled" }, "mplayer": { "0": "enabled" }, "mrtg": { "0": "enabled" }, "munin": { "0": "enabled" }, "mysql": { "0": "enabled" }, "nagios": { "0": "enabled" }, "namespace": { "0": "enabled" }, "ncftool": { "0": "enabled" }, "netlabel": { "0": "enabled" }, "nis": { "0": "enabled" }, "nova": { "0": "enabled" }, "nslcd": { "0": "enabled" }, "nsplugin": { "0": "enabled" }, "ntop": { "0": "enabled" }, "ntp": { "0": "enabled" }, "numad": { "0": "enabled" }, "nut": { "0": "enabled" }, "nx": { "0": "enabled" }, "oddjob": { "0": "enabled" }, "openct": { "0": "enabled" }, "openhpid": { "0": "enabled" }, "openoffice": { "0": "enabled" }, "openshift": { "0": "enabled" }, "openshift-origin": { "0": "enabled" }, "openvpn": { "0": "enabled" }, "openvswitch": { "0": "enabled" }, "openwsman": { "0": "enabled" }, "oracleasm": { "0": "enabled" }, "osad": { "0": "enabled" }, "pads": { "0": "enabled" }, "passenger": { "0": "enabled" }, "pcp": { "0": "enabled" }, "pcscd": { "0": "enabled" }, "pegasus": { "0": "enabled" }, "permissivedomains": { "0": "enabled" }, "pingd": { "0": "enabled" }, "piranha": { "0": "enabled" }, "pkcsslotd": { "0": "enabled" }, "plymouthd": { "0": "enabled" }, "podsleuth": { "0": "enabled" }, "policykit": { "0": "enabled" }, "portmap": { "0": "enabled" }, "portreserve": { "0": "enabled" }, "postfix": { "0": "enabled" }, "postgresql": { "0": "enabled" }, "postgrey": { "0": "enabled" }, "ppp": { "0": "enabled" }, "prelude": { "0": "enabled" }, "privoxy": { "0": "enabled" }, "procmail": { "0": "enabled" }, "psad": { "0": "enabled" }, "ptchown": { "0": "enabled" }, "publicfile": { "0": "enabled" }, "pulseaudio": { "0": "enabled" }, "puppet": { "0": "enabled" }, "pyzor": { "0": "enabled" }, "qemu": { "0": "enabled" }, "qmail": { "0": "enabled" }, "qpidd": { "0": "enabled" }, "quantum": { "0": "enabled" }, "radius": { "0": "enabled" }, "radvd": { "0": "enabled" }, "razor": { "0": "enabled" }, "rdisc": { "0": "enabled" }, "redis": { "0": "enabled" }, "remotelogin": { "0": "enabled" }, "rhcs": { "0": "enabled" }, "rhev": { "0": "enabled" }, "rhgb": { "0": "enabled" }, "rhnsd": { "0": "enabled" }, "rhsmcertd": { "0": "enabled" }, "ricci": { "0": "enabled" }, "rlogin": { "0": "enabled" }, "roundup": { "0": "enabled" }, "rpcbind": { "0": "enabled" }, "rshd": { "0": "enabled" }, "rssh": { "0": "enabled" }, "rsync": { "0": "enabled" }, "rtas": { "0": "enabled" }, "rtkit": { "0": "enabled" }, "rwho": { "0": "enabled" }, "samba": { "0": "enabled" }, "sambagui": { "0": "enabled" }, "sandbox": { "0": "enabled" }, "sanlock": { "0": "enabled" }, "sasl": { "0": "enabled" }, "sblim": { "0": "enabled" }, "screen": { "0": "enabled" }, "sectoolm": { "0": "enabled" }, "sensord": { "0": "enabled" }, "seunshare": { "0": "enabled" }, "sge": { "0": "enabled" }, "shutdown": { "0": "enabled" }, "slocate": { "0": "enabled" }, "slpd": { "0": "enabled" }, "smartmon": { "0": "enabled" }, "smokeping": { "0": "enabled" }, "smoltclient": { "0": "enabled" }, "smstools": { "0": "enabled" }, "snmp": { "0": "enabled" }, "snort": { "0": "enabled" }, "sosreport": { "0": "enabled" }, "soundserver": { "0": "enabled" }, "spamassassin": { "0": "enabled" }, "squid": { "0": "enabled" }, "sssd": { "0": "enabled" }, "staff": { "0": "enabled" }, "stapserver": { "0": "enabled" }, "stunnel": { "0": "enabled" }, "svnserve": { "0": "enabled" }, "swift": { "0": "enabled" }, "sysadm_secadm": { "0": "enabled" }, "sysstat": { "0": "enabled" }, "tcpd": { "0": "enabled" }, "telepathy": { "0": "enabled" }, "telnet": { "0": "enabled" }, "tftp": { "0": "enabled" }, "tgtd": { "0": "enabled" }, "tmpreaper": { "0": "enabled" }, "tomcat": { "0": "enabled" }, "tor": { "0": "enabled" }, "tuned": { "0": "enabled" }, "tvtime": { "0": "enabled" }, "ulogd": { "0": "enabled" }, "uml": { "0": "enabled" }, "unconfined": { "0": "enabled" }, "unconfineduser": { "0": "enabled" }, "unlabelednet": { "0": "enabled" }, "unprivuser": { "0": "enabled" }, "usbmodules": { "0": "enabled" }, "usbmuxd": { "0": "enabled" }, "userhelper": { "0": "enabled" }, "usernetctl": { "0": "enabled" }, "uucp": { "0": "enabled" }, "uuidd": { "0": "enabled" }, "varnishd": { "0": "enabled" }, "vdagent": { "0": "enabled" }, "vhostmd": { "0": "enabled" }, "virt": { "0": "enabled" }, "vmware": { "0": "enabled" }, "vpn": { "0": "enabled" }, "w3c": { "0": "enabled" }, "watchdog": { "0": "enabled" }, "wdmd": { "0": "enabled" }, "webadm": { "0": "enabled" }, "webalizer": { "0": "enabled" }, "wine": { "0": "enabled" }, "xen": { "0": "enabled" }, "xfs": { "0": "enabled" }, "xguest": { "0": "enabled" }, "zabbix": { "0": "enabled" }, "zarafa": { "0": "enabled" }, "zebra": { "0": "enabled" }, "zosremote": { "0": "enabled" } }, "selinux_priorities": false }, "changed": false } TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:110 Thursday 07 July 2022 20:57:36 +0000 (0:00:01.188) 0:00:30.003 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmp4z99x4v3/tests/set_selinux_variables.yml:2 Thursday 07 July 2022 20:57:36 +0000 (0:00:00.049) 0:00:30.053 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmp4z99x4v3/tests/set_selinux_variables.yml:10 Thursday 07 July 2022 20:57:36 +0000 (0:00:00.036) 0:00:30.089 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "boolean", "-l", "-n", "-C" ], "delta": "0:00:02.655050", "end": "2022-07-07 16:57:38.985106", "rc": 0, "start": "2022-07-07 16:57:36.330056" } STDOUT: samba_enable_home_dirs (on , on) Allow samba to share users home directories. TASK [Get local modifications - port] ****************************************** task path: /tmp/tmp4z99x4v3/tests/set_selinux_variables.yml:14 Thursday 07 July 2022 20:57:39 +0000 (0:00:02.919) 0:00:33.008 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "port", "-l", "-n", "-C" ], "delta": "0:00:02.734152", "end": "2022-07-07 16:57:41.976845", "rc": 0, "start": "2022-07-07 16:57:39.242693" } STDOUT: ssh_port_t tcp 22100 TASK [Get local modifications - login] ***************************************** task path: /tmp/tmp4z99x4v3/tests/set_selinux_variables.yml:18 Thursday 07 July 2022 20:57:42 +0000 (0:00:03.018) 0:00:36.027 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "login", "-l", "-n", "-C" ], "delta": "0:00:02.727057", "end": "2022-07-07 16:57:44.995392", "rc": 0, "start": "2022-07-07 16:57:42.268335" } STDOUT: sar-user staff_u s0-s0:c0.c1023 TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmp4z99x4v3/tests/set_selinux_variables.yml:22 Thursday 07 July 2022 20:57:45 +0000 (0:00:02.997) 0:00:39.024 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "fcontext", "-l", "-n", "-C" ], "delta": "0:00:02.552016", "end": "2022-07-07 16:57:47.824372", "rc": 0, "start": "2022-07-07 16:57:45.272356" } STDOUT: /tmp/test_dir all files system_u:object_r:user_home_dir_t:s0 TASK [Check if local modifications are not empty - booleans] ******************* task path: /tmp/tmp4z99x4v3/tests/tests_all_purge.yml:40 Thursday 07 July 2022 20:57:48 +0000 (0:00:02.828) 0:00:41.853 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are not empty - port] *********************** task path: /tmp/tmp4z99x4v3/tests/tests_all_purge.yml:43 Thursday 07 July 2022 20:57:48 +0000 (0:00:00.046) 0:00:41.899 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are not empty - login] ********************** task path: /tmp/tmp4z99x4v3/tests/tests_all_purge.yml:46 Thursday 07 July 2022 20:57:48 +0000 (0:00:00.048) 0:00:41.947 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are not empty - fcontext] ******************* task path: /tmp/tmp4z99x4v3/tests/tests_all_purge.yml:49 Thursday 07 July 2022 20:57:48 +0000 (0:00:00.044) 0:00:41.992 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Apply the role to drop local modifications] ****************************** task path: /tmp/tmp4z99x4v3/tests/tests_all_purge.yml:53 Thursday 07 July 2022 20:57:48 +0000 (0:00:00.046) 0:00:42.039 ********* 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 [linux-system-roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 Thursday 07 July 2022 20:57:48 +0000 (0:00:00.057) 0:00:42.096 ********* included: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml for /cache/rhel-6.qcow2.snap TASK [linux-system-roles.selinux : Ensure ansible_facts used by role] ********** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Thursday 07 July 2022 20:57:48 +0000 (0:00:00.036) 0:00:42.133 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Thursday 07 July 2022 20:57:48 +0000 (0:00:00.038) 0:00:42.171 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.0.94-7.el6.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.0.83-30.1.el6_8.x86_64 providing policycoreutils-python is already installed" ] } TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Thursday 07 July 2022 20:57:49 +0000 (0:00:00.483) 0:00:42.655 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 Thursday 07 July 2022 20:57:49 +0000 (0:00:00.027) 0:00:42.683 ********* ok: [/cache/rhel-6.qcow2.snap] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:29 Thursday 07 July 2022 20:57:50 +0000 (0:00:00.678) 0:00:43.361 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:5 Thursday 07 July 2022 20:57:50 +0000 (0:00:00.039) 0:00:43.400 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:13 Thursday 07 July 2022 20:57:50 +0000 (0:00:00.025) 0:00:43.426 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set selinux_reboot_required] **************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:20 Thursday 07 July 2022 20:57:50 +0000 (0:00:00.025) 0:00:43.451 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:26 Thursday 07 July 2022 20:57:50 +0000 (0:00:00.051) 0:00:43.503 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:31 Thursday 07 July 2022 20:57:50 +0000 (0:00:00.024) 0:00:43.527 ********* skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:36 Thursday 07 July 2022 20:57:50 +0000 (0:00:00.024) 0:00:43.552 ********* NOTIFIED HANDLER linux-system-roles.selinux : Reload SELinux policy for /cache/rhel-6.qcow2.snap NOTIFIED HANDLER linux-system-roles.selinux : Reload SELinux policy for /cache/rhel-6.qcow2.snap changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:23.395000", "end": "2022-07-07 16:58:13.196410", "rc": 0, "start": "2022-07-07 16:57:49.801410" } TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:43 Thursday 07 July 2022 20:58:14 +0000 (0:00:23.730) 0:01:07.282 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:47 Thursday 07 July 2022 20:58:14 +0000 (0:00:00.036) 0:01:07.319 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:51 Thursday 07 July 2022 20:58:14 +0000 (0:00:00.038) 0:01:07.358 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:55 Thursday 07 July 2022 20:58:14 +0000 (0:00:00.035) 0:01:07.393 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:59 Thursday 07 July 2022 20:58:14 +0000 (0:00:00.036) 0:01:07.429 ********* TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:66 Thursday 07 July 2022 20:58:14 +0000 (0:00:00.023) 0:01:07.453 ********* TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:75 Thursday 07 July 2022 20:58:14 +0000 (0:00:00.022) 0:01:07.476 ********* TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:81 Thursday 07 July 2022 20:58:14 +0000 (0:00:00.022) 0:01:07.499 ********* TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:89 Thursday 07 July 2022 20:58:14 +0000 (0:00:00.052) 0:01:07.551 ********* TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:97 Thursday 07 July 2022 20:58:14 +0000 (0:00:00.023) 0:01:07.574 ********* TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:107 Thursday 07 July 2022 20:58:14 +0000 (0:00:00.022) 0:01:07.597 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "0": "enabled" }, "accountsd": { "0": "enabled" }, "ada": { "0": "enabled" }, "afs": { "0": "enabled" }, "aiccu": { "0": "enabled" }, "aide": { "0": "enabled" }, "amanda": { "0": "enabled" }, "amtu": { "0": "enabled" }, "antivirus": { "0": "enabled" }, "apache": { "0": "enabled" }, "apcupsd": { "0": "enabled" }, "arpwatch": { "0": "enabled" }, "asterisk": { "0": "enabled" }, "audioentropy": { "0": "enabled" }, "automount": { "0": "enabled" }, "avahi": { "0": "enabled" }, "awstats": { "0": "enabled" }, "bacula": { "0": "enabled" }, "bcfg2": { "0": "enabled" }, "bind": { "0": "enabled" }, "bitlbee": { "0": "enabled" }, "bluetooth": { "0": "enabled" }, "boinc": { "0": "enabled" }, "bugzilla": { "0": "enabled" }, "cachefilesd": { "0": "enabled" }, "calamaris": { "0": "enabled" }, "canna": { "0": "enabled" }, "ccs": { "0": "enabled" }, "cdrecord": { "0": "enabled" }, "certmaster": { "0": "enabled" }, "certmonger": { "0": "enabled" }, "certwatch": { "0": "enabled" }, "cfengine": { "0": "enabled" }, "cgroup": { "0": "enabled" }, "chrome": { "0": "enabled" }, "chronyd": { "0": "enabled" }, "cinder": { "0": "enabled" }, "cipe": { "0": "enabled" }, "clogd": { "0": "enabled" }, "cloudform": { "0": "enabled" }, "cmirrord": { "0": "enabled" }, "cobbler": { "0": "enabled" }, "collectd": { "0": "enabled" }, "comsat": { "0": "enabled" }, "condor": { "0": "enabled" }, "conman": { "0": "enabled" }, "consolekit": { "0": "enabled" }, "courier": { "0": "enabled" }, "cpufreqselector": { "0": "enabled" }, "ctdbd": { "0": "enabled" }, "cups": { "0": "enabled" }, "cvs": { "0": "enabled" }, "cyphesis": { "0": "enabled" }, "cyrus": { "0": "enabled" }, "daemontools": { "0": "enabled" }, "dbskk": { "0": "enabled" }, "dcc": { "0": "enabled" }, "ddclient": { "0": "enabled" }, "denyhosts": { "0": "enabled" }, "devicekit": { "0": "enabled" }, "dhcp": { "0": "enabled" }, "dictd": { "0": "enabled" }, "dirsrv": { "0": "enabled" }, "dirsrv-admin": { "0": "enabled" }, "dnsmasq": { "0": "enabled" }, "dovecot": { "0": "enabled" }, "drbd": { "0": "enabled" }, "dspam": { "0": "enabled" }, "ethereal": { "0": "enabled" }, "execmem": { "0": "enabled" }, "exim": { "0": "enabled" }, "fail2ban": { "0": "enabled" }, "fcoemon": { "0": "enabled" }, "fetchmail": { "0": "enabled" }, "finger": { "0": "enabled" }, "firewallgui": { "0": "enabled" }, "fprintd": { "0": "enabled" }, "freeipmi": { "0": "enabled" }, "ftp": { "0": "enabled" }, "games": { "0": "enabled" }, "git": { "0": "enabled" }, "gitosis": { "0": "enabled" }, "glance": { "0": "enabled" }, "glusterd": { "0": "enabled" }, "gnome": { "0": "enabled" }, "gnomeclock": { "0": "enabled" }, "gpg": { "0": "enabled" }, "gpm": { "0": "enabled" }, "gpsd": { "0": "enabled" }, "guest": { "0": "enabled" }, "hal": { "0": "enabled" }, "hddtemp": { "0": "enabled" }, "howl": { "0": "enabled" }, "hypervkvp": { "0": "enabled" }, "icecast": { "0": "enabled" }, "inn": { "0": "enabled" }, "ipsec": { "0": "enabled" }, "irc": { "0": "enabled" }, "iscsi": { "0": "enabled" }, "isns": { "0": "enabled" }, "jabber": { "0": "enabled" }, "java": { "0": "enabled" }, "kdump": { "0": "enabled" }, "kdumpgui": { "0": "enabled" }, "keepalived": { "0": "enabled" }, "kerberos": { "0": "enabled" }, "kerneloops": { "0": "enabled" }, "keystone": { "0": "enabled" }, "kismet": { "0": "enabled" }, "ksmtuned": { "0": "enabled" }, "ktalk": { "0": "enabled" }, "l2tpd": { "0": "enabled" }, "ldap": { "0": "enabled" }, "likewise": { "0": "enabled" }, "linuxptp": { "0": "enabled" }, "lircd": { "0": "enabled" }, "livecd": { "0": "enabled" }, "lldpad": { "0": "enabled" }, "lockdev": { "0": "enabled" }, "logadm": { "0": "enabled" }, "lpd": { "0": "enabled" }, "lsm": { "0": "enabled" }, "mailman": { "0": "enabled" }, "matahari": { "0": "enabled" }, "mediawiki": { "0": "enabled" }, "memcached": { "0": "enabled" }, "milter": { "0": "enabled" }, "mip6d": { "0": "enabled" }, "mirrormanager": { "0": "enabled" }, "modemmanager": { "0": "enabled" }, "mono": { "0": "enabled" }, "mozilla": { "0": "enabled" }, "mpd": { "0": "enabled" }, "mplayer": { "0": "enabled" }, "mrtg": { "0": "enabled" }, "munin": { "0": "enabled" }, "mysql": { "0": "enabled" }, "nagios": { "0": "enabled" }, "namespace": { "0": "enabled" }, "ncftool": { "0": "enabled" }, "netlabel": { "0": "enabled" }, "nis": { "0": "enabled" }, "nova": { "0": "enabled" }, "nslcd": { "0": "enabled" }, "nsplugin": { "0": "enabled" }, "ntop": { "0": "enabled" }, "ntp": { "0": "enabled" }, "numad": { "0": "enabled" }, "nut": { "0": "enabled" }, "nx": { "0": "enabled" }, "oddjob": { "0": "enabled" }, "openct": { "0": "enabled" }, "openhpid": { "0": "enabled" }, "openoffice": { "0": "enabled" }, "openshift": { "0": "enabled" }, "openshift-origin": { "0": "enabled" }, "openvpn": { "0": "enabled" }, "openvswitch": { "0": "enabled" }, "openwsman": { "0": "enabled" }, "oracleasm": { "0": "enabled" }, "osad": { "0": "enabled" }, "pads": { "0": "enabled" }, "passenger": { "0": "enabled" }, "pcp": { "0": "enabled" }, "pcscd": { "0": "enabled" }, "pegasus": { "0": "enabled" }, "permissivedomains": { "0": "enabled" }, "pingd": { "0": "enabled" }, "piranha": { "0": "enabled" }, "pkcsslotd": { "0": "enabled" }, "plymouthd": { "0": "enabled" }, "podsleuth": { "0": "enabled" }, "policykit": { "0": "enabled" }, "portmap": { "0": "enabled" }, "portreserve": { "0": "enabled" }, "postfix": { "0": "enabled" }, "postgresql": { "0": "enabled" }, "postgrey": { "0": "enabled" }, "ppp": { "0": "enabled" }, "prelude": { "0": "enabled" }, "privoxy": { "0": "enabled" }, "procmail": { "0": "enabled" }, "psad": { "0": "enabled" }, "ptchown": { "0": "enabled" }, "publicfile": { "0": "enabled" }, "pulseaudio": { "0": "enabled" }, "puppet": { "0": "enabled" }, "pyzor": { "0": "enabled" }, "qemu": { "0": "enabled" }, "qmail": { "0": "enabled" }, "qpidd": { "0": "enabled" }, "quantum": { "0": "enabled" }, "radius": { "0": "enabled" }, "radvd": { "0": "enabled" }, "razor": { "0": "enabled" }, "rdisc": { "0": "enabled" }, "redis": { "0": "enabled" }, "remotelogin": { "0": "enabled" }, "rhcs": { "0": "enabled" }, "rhev": { "0": "enabled" }, "rhgb": { "0": "enabled" }, "rhnsd": { "0": "enabled" }, "rhsmcertd": { "0": "enabled" }, "ricci": { "0": "enabled" }, "rlogin": { "0": "enabled" }, "roundup": { "0": "enabled" }, "rpcbind": { "0": "enabled" }, "rshd": { "0": "enabled" }, "rssh": { "0": "enabled" }, "rsync": { "0": "enabled" }, "rtas": { "0": "enabled" }, "rtkit": { "0": "enabled" }, "rwho": { "0": "enabled" }, "samba": { "0": "enabled" }, "sambagui": { "0": "enabled" }, "sandbox": { "0": "enabled" }, "sanlock": { "0": "enabled" }, "sasl": { "0": "enabled" }, "sblim": { "0": "enabled" }, "screen": { "0": "enabled" }, "sectoolm": { "0": "enabled" }, "sensord": { "0": "enabled" }, "seunshare": { "0": "enabled" }, "sge": { "0": "enabled" }, "shutdown": { "0": "enabled" }, "slocate": { "0": "enabled" }, "slpd": { "0": "enabled" }, "smartmon": { "0": "enabled" }, "smokeping": { "0": "enabled" }, "smoltclient": { "0": "enabled" }, "smstools": { "0": "enabled" }, "snmp": { "0": "enabled" }, "snort": { "0": "enabled" }, "sosreport": { "0": "enabled" }, "soundserver": { "0": "enabled" }, "spamassassin": { "0": "enabled" }, "squid": { "0": "enabled" }, "sssd": { "0": "enabled" }, "staff": { "0": "enabled" }, "stapserver": { "0": "enabled" }, "stunnel": { "0": "enabled" }, "svnserve": { "0": "enabled" }, "swift": { "0": "enabled" }, "sysadm_secadm": { "0": "enabled" }, "sysstat": { "0": "enabled" }, "tcpd": { "0": "enabled" }, "telepathy": { "0": "enabled" }, "telnet": { "0": "enabled" }, "tftp": { "0": "enabled" }, "tgtd": { "0": "enabled" }, "tmpreaper": { "0": "enabled" }, "tomcat": { "0": "enabled" }, "tor": { "0": "enabled" }, "tuned": { "0": "enabled" }, "tvtime": { "0": "enabled" }, "ulogd": { "0": "enabled" }, "uml": { "0": "enabled" }, "unconfined": { "0": "enabled" }, "unconfineduser": { "0": "enabled" }, "unlabelednet": { "0": "enabled" }, "unprivuser": { "0": "enabled" }, "usbmodules": { "0": "enabled" }, "usbmuxd": { "0": "enabled" }, "userhelper": { "0": "enabled" }, "usernetctl": { "0": "enabled" }, "uucp": { "0": "enabled" }, "uuidd": { "0": "enabled" }, "varnishd": { "0": "enabled" }, "vdagent": { "0": "enabled" }, "vhostmd": { "0": "enabled" }, "virt": { "0": "enabled" }, "vmware": { "0": "enabled" }, "vpn": { "0": "enabled" }, "w3c": { "0": "enabled" }, "watchdog": { "0": "enabled" }, "wdmd": { "0": "enabled" }, "webadm": { "0": "enabled" }, "webalizer": { "0": "enabled" }, "wine": { "0": "enabled" }, "xen": { "0": "enabled" }, "xfs": { "0": "enabled" }, "xguest": { "0": "enabled" }, "zabbix": { "0": "enabled" }, "zarafa": { "0": "enabled" }, "zebra": { "0": "enabled" }, "zosremote": { "0": "enabled" } }, "selinux_priorities": false }, "changed": false } TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:110 Thursday 07 July 2022 20:58:15 +0000 (0:00:01.094) 0:01:08.691 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmp4z99x4v3/tests/set_selinux_variables.yml:2 Thursday 07 July 2022 20:58:15 +0000 (0:00:00.049) 0:01:08.741 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmp4z99x4v3/tests/set_selinux_variables.yml:10 Thursday 07 July 2022 20:58:15 +0000 (0:00:00.046) 0:01:08.787 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "boolean", "-l", "-n", "-C" ], "delta": "0:00:02.818395", "end": "2022-07-07 16:58:17.856877", "rc": 0, "start": "2022-07-07 16:58:15.038482" } TASK [Get local modifications - port] ****************************************** task path: /tmp/tmp4z99x4v3/tests/set_selinux_variables.yml:14 Thursday 07 July 2022 20:58:18 +0000 (0:00:03.098) 0:01:11.885 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "port", "-l", "-n", "-C" ], "delta": "0:00:02.846795", "end": "2022-07-07 16:58:20.975889", "rc": 0, "start": "2022-07-07 16:58:18.129094" } TASK [Get local modifications - login] ***************************************** task path: /tmp/tmp4z99x4v3/tests/set_selinux_variables.yml:18 Thursday 07 July 2022 20:58:21 +0000 (0:00:03.118) 0:01:15.004 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "login", "-l", "-n", "-C" ], "delta": "0:00:02.907235", "end": "2022-07-07 16:58:24.161908", "rc": 0, "start": "2022-07-07 16:58:21.254673" } TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmp4z99x4v3/tests/set_selinux_variables.yml:22 Thursday 07 July 2022 20:58:24 +0000 (0:00:03.190) 0:01:18.194 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "fcontext", "-l", "-n", "-C" ], "delta": "0:00:02.731806", "end": "2022-07-07 16:58:27.177934", "rc": 0, "start": "2022-07-07 16:58:24.446128" } TASK [Check if local modifications are empty - booleans] *********************** task path: /tmp/tmp4z99x4v3/tests/tests_all_purge.yml:62 Thursday 07 July 2022 20:58:27 +0000 (0:00:03.011) 0:01:21.206 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are empty - port] *************************** task path: /tmp/tmp4z99x4v3/tests/tests_all_purge.yml:65 Thursday 07 July 2022 20:58:28 +0000 (0:00:00.050) 0:01:21.257 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are empty - login] ************************** task path: /tmp/tmp4z99x4v3/tests/tests_all_purge.yml:68 Thursday 07 July 2022 20:58:28 +0000 (0:00:00.089) 0:01:21.346 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are empty - fcontext] *********************** task path: /tmp/tmp4z99x4v3/tests/tests_all_purge.yml:71 Thursday 07 July 2022 20:58:28 +0000 (0:00:00.082) 0:01:21.429 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Remove Linux System Roles SELinux User] ********************************** task path: /tmp/tmp4z99x4v3/tests/tests_all_purge.yml:75 Thursday 07 July 2022 20:58:28 +0000 (0:00:00.085) 0:01:21.514 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "force": false, "name": "sar-user", "remove": true, "state": "absent" } RUNNING HANDLER [linux-system-roles.selinux : Reload SELinux policy] *********** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/handlers/main.yml:1 Thursday 07 July 2022 20:58:28 +0000 (0:00:00.503) 0:01:22.018 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:02.169502", "end": "2022-07-07 16:58:30.448099", "rc": 0, "start": "2022-07-07 16:58:28.278597" } RUNNING HANDLER [linux-system-roles.selinux : Reload SELinux policy] *********** task path: /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/handlers/main.yml:1 Thursday 07 July 2022 20:58:31 +0000 (0:00:02.496) 0:01:24.514 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:02.230843", "end": "2022-07-07 16:58:33.050208", "rc": 0, "start": "2022-07-07 16:58:30.819365" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=33 changed=5 unreachable=0 failed=0 skipped=40 rescued=0 ignored=0 Thursday 07 July 2022 20:58:33 +0000 (0:00:02.611) 0:01:27.126 ********* =============================================================================== Add some mapping ------------------------------------------------------- 24.83s /tmp/tmp4z99x4v3/tests/tests_all_purge.yml:27 --------------------------------- linux-system-roles.selinux : Drop all local modifications -------------- 23.73s /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:36 ----- Get local modifications - login ----------------------------------------- 3.19s /tmp/tmp4z99x4v3/tests/set_selinux_variables.yml:18 --------------------------- Get local modifications - port ------------------------------------------ 3.12s /tmp/tmp4z99x4v3/tests/set_selinux_variables.yml:14 --------------------------- Get local modifications - boolean --------------------------------------- 3.10s /tmp/tmp4z99x4v3/tests/set_selinux_variables.yml:10 --------------------------- Get local modifications - port ------------------------------------------ 3.02s /tmp/tmp4z99x4v3/tests/set_selinux_variables.yml:14 --------------------------- Get local modifications - fcontext -------------------------------------- 3.01s /tmp/tmp4z99x4v3/tests/set_selinux_variables.yml:22 --------------------------- Get local modifications - login ----------------------------------------- 3.00s /tmp/tmp4z99x4v3/tests/set_selinux_variables.yml:18 --------------------------- Get local modifications - boolean --------------------------------------- 2.92s /tmp/tmp4z99x4v3/tests/set_selinux_variables.yml:10 --------------------------- Get local modifications - fcontext -------------------------------------- 2.83s /tmp/tmp4z99x4v3/tests/set_selinux_variables.yml:22 --------------------------- linux-system-roles.selinux : Reload SELinux policy ---------------------- 2.61s /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/handlers/main.yml:1 --- linux-system-roles.selinux : Reload SELinux policy ---------------------- 2.50s /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/handlers/main.yml:1 --- linux-system-roles.selinux : Get SELinux modules facts ------------------ 1.19s /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:107 ---- linux-system-roles.selinux : Get SELinux modules facts ------------------ 1.09s /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/main.yml:107 ---- Gathering Facts --------------------------------------------------------- 1.08s /tmp/tmp4z99x4v3/tests/tests_all_purge.yml:1 ---------------------------------- linux-system-roles.selinux : Install SELinux python2 tools -------------- 0.89s /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 linux-system-roles.selinux : refresh facts ------------------------------ 0.71s /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 linux-system-roles.selinux : refresh facts ------------------------------ 0.68s /tmp/tmp4z99x4v3/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 Add a Linux System Roles SELinux User ----------------------------------- 0.59s /tmp/tmp4z99x4v3/tests/tests_all_purge.yml:22 --------------------------------- Remove Linux System Roles SELinux User ---------------------------------- 0.50s /tmp/tmp4z99x4v3/tests/tests_all_purge.yml:75 --------------------------------- 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/tmpeqs_o7xx 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 statically imported: /tmp/tmp8_8zezr9/tests/selinux/set_selinux_variables.yml statically imported: /tmp/tmp8_8zezr9/tests/selinux/set_selinux_variables.yml 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_all_purge.yml ************************************************** 1 plays in /tmp/tmp8_8zezr9/tests/selinux/tests_all_purge.yml PLAY [Test that selinux_all_purge drops local modifications, defaults to no] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp8_8zezr9/tests/selinux/tests_all_purge.yml:1 Thursday 07 July 2022 21:18:16 +0000 (0:00:00.012) 0:00:00.012 ********* [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/rhel-6.qcow2.snap] META: ran handlers TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmp8_8zezr9/tests/selinux/tests_all_purge.yml:13 Thursday 07 July 2022 21:18:17 +0000 (0:00:01.098) 0:00:01.111 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add a Linux System Roles SELinux User] *********************************** task path: /tmp/tmp8_8zezr9/tests/selinux/tests_all_purge.yml:20 Thursday 07 July 2022 21:18:17 +0000 (0:00:00.036) 0:00:01.148 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "comment": "Linux System Roles SELinux User", "create_home": true, "group": 501, "home": "/home/sar-user", "name": "sar-user", "shell": "/bin/bash", "state": "present", "system": false, "uid": 501 } TASK [Add some mapping] ******************************************************** task path: /tmp/tmp8_8zezr9/tests/selinux/tests_all_purge.yml:25 Thursday 07 July 2022 21:18:17 +0000 (0:00:00.556) 0:00:01.704 ********* ok: [/cache/rhel-6.qcow2.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:24.274298", "end": "2022-07-07 17:18:41.790210", "rc": 0, "start": "2022-07-07 17:18:17.515912" } TASK [Apply role with defaults, should not drop local modifications] *********** task path: /tmp/tmp8_8zezr9/tests/selinux/tests_all_purge.yml:31 Thursday 07 July 2022 21:18:42 +0000 (0:00:24.713) 0:00:26.418 ********* 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/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Thursday 07 July 2022 21:18:42 +0000 (0:00:00.114) 0:00:26.532 ********* included: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/rhel-6.qcow2.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Thursday 07 July 2022 21:18:42 +0000 (0:00:00.036) 0:00:26.568 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Thursday 07 July 2022 21:18:42 +0000 (0:00:00.036) 0:00:26.605 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.0.94-7.el6.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.0.83-30.1.el6_8.x86_64 providing policycoreutils-python is already installed" ] } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Thursday 07 July 2022 21:18:43 +0000 (0:00:00.924) 0:00:27.529 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Thursday 07 July 2022 21:18:43 +0000 (0:00:00.026) 0:00:27.556 ********* ok: [/cache/rhel-6.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Thursday 07 July 2022 21:18:44 +0000 (0:00:00.699) 0:00:28.255 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Thursday 07 July 2022 21:18:44 +0000 (0:00:00.038) 0:00:28.294 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Thursday 07 July 2022 21:18:44 +0000 (0:00:00.027) 0:00:28.321 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Thursday 07 July 2022 21:18:44 +0000 (0:00:00.023) 0:00:28.345 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Thursday 07 July 2022 21:18:44 +0000 (0:00:00.048) 0:00:28.393 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:28 Thursday 07 July 2022 21:18:44 +0000 (0:00:00.023) 0:00:28.416 ********* skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Thursday 07 July 2022 21:18:44 +0000 (0:00:00.026) 0:00:28.442 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Thursday 07 July 2022 21:18:44 +0000 (0:00:00.037) 0:00:28.480 ********* skipping: [/cache/rhel-6.qcow2.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/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 Thursday 07 July 2022 21:18:44 +0000 (0:00:00.033) 0:00:28.513 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Thursday 07 July 2022 21:18:44 +0000 (0:00:00.035) 0:00:28.549 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Thursday 07 July 2022 21:18:44 +0000 (0:00:00.036) 0:00:28.585 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Thursday 07 July 2022 21:18:44 +0000 (0:00:00.034) 0:00:28.620 ********* TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Thursday 07 July 2022 21:18:44 +0000 (0:00:00.026) 0:00:28.647 ********* TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Thursday 07 July 2022 21:18:44 +0000 (0:00:00.024) 0:00:28.671 ********* TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:78 Thursday 07 July 2022 21:18:44 +0000 (0:00:00.024) 0:00:28.696 ********* TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 Thursday 07 July 2022 21:18:44 +0000 (0:00:00.022) 0:00:28.718 ********* TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 Thursday 07 July 2022 21:18:45 +0000 (0:00:00.023) 0:00:28.741 ********* TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Thursday 07 July 2022 21:18:45 +0000 (0:00:00.023) 0:00:28.765 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "0": "enabled" }, "accountsd": { "0": "enabled" }, "ada": { "0": "enabled" }, "afs": { "0": "enabled" }, "aiccu": { "0": "enabled" }, "aide": { "0": "enabled" }, "amanda": { "0": "enabled" }, "amtu": { "0": "enabled" }, "antivirus": { "0": "enabled" }, "apache": { "0": "enabled" }, "apcupsd": { "0": "enabled" }, "arpwatch": { "0": "enabled" }, "asterisk": { "0": "enabled" }, "audioentropy": { "0": "enabled" }, "automount": { "0": "enabled" }, "avahi": { "0": "enabled" }, "awstats": { "0": "enabled" }, "bacula": { "0": "enabled" }, "bcfg2": { "0": "enabled" }, "bind": { "0": "enabled" }, "bitlbee": { "0": "enabled" }, "bluetooth": { "0": "enabled" }, "boinc": { "0": "enabled" }, "bugzilla": { "0": "enabled" }, "cachefilesd": { "0": "enabled" }, "calamaris": { "0": "enabled" }, "canna": { "0": "enabled" }, "ccs": { "0": "enabled" }, "cdrecord": { "0": "enabled" }, "certmaster": { "0": "enabled" }, "certmonger": { "0": "enabled" }, "certwatch": { "0": "enabled" }, "cfengine": { "0": "enabled" }, "cgroup": { "0": "enabled" }, "chrome": { "0": "enabled" }, "chronyd": { "0": "enabled" }, "cinder": { "0": "enabled" }, "cipe": { "0": "enabled" }, "clogd": { "0": "enabled" }, "cloudform": { "0": "enabled" }, "cmirrord": { "0": "enabled" }, "cobbler": { "0": "enabled" }, "collectd": { "0": "enabled" }, "comsat": { "0": "enabled" }, "condor": { "0": "enabled" }, "conman": { "0": "enabled" }, "consolekit": { "0": "enabled" }, "courier": { "0": "enabled" }, "cpufreqselector": { "0": "enabled" }, "ctdbd": { "0": "enabled" }, "cups": { "0": "enabled" }, "cvs": { "0": "enabled" }, "cyphesis": { "0": "enabled" }, "cyrus": { "0": "enabled" }, "daemontools": { "0": "enabled" }, "dbskk": { "0": "enabled" }, "dcc": { "0": "enabled" }, "ddclient": { "0": "enabled" }, "denyhosts": { "0": "enabled" }, "devicekit": { "0": "enabled" }, "dhcp": { "0": "enabled" }, "dictd": { "0": "enabled" }, "dirsrv": { "0": "enabled" }, "dirsrv-admin": { "0": "enabled" }, "dnsmasq": { "0": "enabled" }, "dovecot": { "0": "enabled" }, "drbd": { "0": "enabled" }, "dspam": { "0": "enabled" }, "ethereal": { "0": "enabled" }, "execmem": { "0": "enabled" }, "exim": { "0": "enabled" }, "fail2ban": { "0": "enabled" }, "fcoemon": { "0": "enabled" }, "fetchmail": { "0": "enabled" }, "finger": { "0": "enabled" }, "firewallgui": { "0": "enabled" }, "fprintd": { "0": "enabled" }, "freeipmi": { "0": "enabled" }, "ftp": { "0": "enabled" }, "games": { "0": "enabled" }, "git": { "0": "enabled" }, "gitosis": { "0": "enabled" }, "glance": { "0": "enabled" }, "glusterd": { "0": "enabled" }, "gnome": { "0": "enabled" }, "gnomeclock": { "0": "enabled" }, "gpg": { "0": "enabled" }, "gpm": { "0": "enabled" }, "gpsd": { "0": "enabled" }, "guest": { "0": "enabled" }, "hal": { "0": "enabled" }, "hddtemp": { "0": "enabled" }, "howl": { "0": "enabled" }, "hypervkvp": { "0": "enabled" }, "icecast": { "0": "enabled" }, "inn": { "0": "enabled" }, "ipsec": { "0": "enabled" }, "irc": { "0": "enabled" }, "iscsi": { "0": "enabled" }, "isns": { "0": "enabled" }, "jabber": { "0": "enabled" }, "java": { "0": "enabled" }, "kdump": { "0": "enabled" }, "kdumpgui": { "0": "enabled" }, "keepalived": { "0": "enabled" }, "kerberos": { "0": "enabled" }, "kerneloops": { "0": "enabled" }, "keystone": { "0": "enabled" }, "kismet": { "0": "enabled" }, "ksmtuned": { "0": "enabled" }, "ktalk": { "0": "enabled" }, "l2tpd": { "0": "enabled" }, "ldap": { "0": "enabled" }, "likewise": { "0": "enabled" }, "linuxptp": { "0": "enabled" }, "lircd": { "0": "enabled" }, "livecd": { "0": "enabled" }, "lldpad": { "0": "enabled" }, "lockdev": { "0": "enabled" }, "logadm": { "0": "enabled" }, "lpd": { "0": "enabled" }, "lsm": { "0": "enabled" }, "mailman": { "0": "enabled" }, "matahari": { "0": "enabled" }, "mediawiki": { "0": "enabled" }, "memcached": { "0": "enabled" }, "milter": { "0": "enabled" }, "mip6d": { "0": "enabled" }, "mirrormanager": { "0": "enabled" }, "modemmanager": { "0": "enabled" }, "mono": { "0": "enabled" }, "mozilla": { "0": "enabled" }, "mpd": { "0": "enabled" }, "mplayer": { "0": "enabled" }, "mrtg": { "0": "enabled" }, "munin": { "0": "enabled" }, "mysql": { "0": "enabled" }, "nagios": { "0": "enabled" }, "namespace": { "0": "enabled" }, "ncftool": { "0": "enabled" }, "netlabel": { "0": "enabled" }, "nis": { "0": "enabled" }, "nova": { "0": "enabled" }, "nslcd": { "0": "enabled" }, "nsplugin": { "0": "enabled" }, "ntop": { "0": "enabled" }, "ntp": { "0": "enabled" }, "numad": { "0": "enabled" }, "nut": { "0": "enabled" }, "nx": { "0": "enabled" }, "oddjob": { "0": "enabled" }, "openct": { "0": "enabled" }, "openhpid": { "0": "enabled" }, "openoffice": { "0": "enabled" }, "openshift": { "0": "enabled" }, "openshift-origin": { "0": "enabled" }, "openvpn": { "0": "enabled" }, "openvswitch": { "0": "enabled" }, "openwsman": { "0": "enabled" }, "oracleasm": { "0": "enabled" }, "osad": { "0": "enabled" }, "pads": { "0": "enabled" }, "passenger": { "0": "enabled" }, "pcp": { "0": "enabled" }, "pcscd": { "0": "enabled" }, "pegasus": { "0": "enabled" }, "permissivedomains": { "0": "enabled" }, "pingd": { "0": "enabled" }, "piranha": { "0": "enabled" }, "pkcsslotd": { "0": "enabled" }, "plymouthd": { "0": "enabled" }, "podsleuth": { "0": "enabled" }, "policykit": { "0": "enabled" }, "portmap": { "0": "enabled" }, "portreserve": { "0": "enabled" }, "postfix": { "0": "enabled" }, "postgresql": { "0": "enabled" }, "postgrey": { "0": "enabled" }, "ppp": { "0": "enabled" }, "prelude": { "0": "enabled" }, "privoxy": { "0": "enabled" }, "procmail": { "0": "enabled" }, "psad": { "0": "enabled" }, "ptchown": { "0": "enabled" }, "publicfile": { "0": "enabled" }, "pulseaudio": { "0": "enabled" }, "puppet": { "0": "enabled" }, "pyzor": { "0": "enabled" }, "qemu": { "0": "enabled" }, "qmail": { "0": "enabled" }, "qpidd": { "0": "enabled" }, "quantum": { "0": "enabled" }, "radius": { "0": "enabled" }, "radvd": { "0": "enabled" }, "razor": { "0": "enabled" }, "rdisc": { "0": "enabled" }, "redis": { "0": "enabled" }, "remotelogin": { "0": "enabled" }, "rhcs": { "0": "enabled" }, "rhev": { "0": "enabled" }, "rhgb": { "0": "enabled" }, "rhnsd": { "0": "enabled" }, "rhsmcertd": { "0": "enabled" }, "ricci": { "0": "enabled" }, "rlogin": { "0": "enabled" }, "roundup": { "0": "enabled" }, "rpcbind": { "0": "enabled" }, "rshd": { "0": "enabled" }, "rssh": { "0": "enabled" }, "rsync": { "0": "enabled" }, "rtas": { "0": "enabled" }, "rtkit": { "0": "enabled" }, "rwho": { "0": "enabled" }, "samba": { "0": "enabled" }, "sambagui": { "0": "enabled" }, "sandbox": { "0": "enabled" }, "sanlock": { "0": "enabled" }, "sasl": { "0": "enabled" }, "sblim": { "0": "enabled" }, "screen": { "0": "enabled" }, "sectoolm": { "0": "enabled" }, "sensord": { "0": "enabled" }, "seunshare": { "0": "enabled" }, "sge": { "0": "enabled" }, "shutdown": { "0": "enabled" }, "slocate": { "0": "enabled" }, "slpd": { "0": "enabled" }, "smartmon": { "0": "enabled" }, "smokeping": { "0": "enabled" }, "smoltclient": { "0": "enabled" }, "smstools": { "0": "enabled" }, "snmp": { "0": "enabled" }, "snort": { "0": "enabled" }, "sosreport": { "0": "enabled" }, "soundserver": { "0": "enabled" }, "spamassassin": { "0": "enabled" }, "squid": { "0": "enabled" }, "sssd": { "0": "enabled" }, "staff": { "0": "enabled" }, "stapserver": { "0": "enabled" }, "stunnel": { "0": "enabled" }, "svnserve": { "0": "enabled" }, "swift": { "0": "enabled" }, "sysadm_secadm": { "0": "enabled" }, "sysstat": { "0": "enabled" }, "tcpd": { "0": "enabled" }, "telepathy": { "0": "enabled" }, "telnet": { "0": "enabled" }, "tftp": { "0": "enabled" }, "tgtd": { "0": "enabled" }, "tmpreaper": { "0": "enabled" }, "tomcat": { "0": "enabled" }, "tor": { "0": "enabled" }, "tuned": { "0": "enabled" }, "tvtime": { "0": "enabled" }, "ulogd": { "0": "enabled" }, "uml": { "0": "enabled" }, "unconfined": { "0": "enabled" }, "unconfineduser": { "0": "enabled" }, "unlabelednet": { "0": "enabled" }, "unprivuser": { "0": "enabled" }, "usbmodules": { "0": "enabled" }, "usbmuxd": { "0": "enabled" }, "userhelper": { "0": "enabled" }, "usernetctl": { "0": "enabled" }, "uucp": { "0": "enabled" }, "uuidd": { "0": "enabled" }, "varnishd": { "0": "enabled" }, "vdagent": { "0": "enabled" }, "vhostmd": { "0": "enabled" }, "virt": { "0": "enabled" }, "vmware": { "0": "enabled" }, "vpn": { "0": "enabled" }, "w3c": { "0": "enabled" }, "watchdog": { "0": "enabled" }, "wdmd": { "0": "enabled" }, "webadm": { "0": "enabled" }, "webalizer": { "0": "enabled" }, "wine": { "0": "enabled" }, "xen": { "0": "enabled" }, "xfs": { "0": "enabled" }, "xguest": { "0": "enabled" }, "zabbix": { "0": "enabled" }, "zarafa": { "0": "enabled" }, "zebra": { "0": "enabled" }, "zosremote": { "0": "enabled" } }, "selinux_priorities": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : include_tasks] *********************** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Thursday 07 July 2022 21:18:46 +0000 (0:00:01.187) 0:00:29.952 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmp8_8zezr9/tests/selinux/set_selinux_variables.yml:2 Thursday 07 July 2022 21:18:46 +0000 (0:00:00.080) 0:00:30.033 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmp8_8zezr9/tests/selinux/set_selinux_variables.yml:8 Thursday 07 July 2022 21:18:46 +0000 (0:00:00.038) 0:00:30.071 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "boolean", "-l", "-n", "-C" ], "delta": "0:00:02.781530", "end": "2022-07-07 17:18:48.561334", "rc": 0, "start": "2022-07-07 17:18:45.779804" } STDOUT: samba_enable_home_dirs (on , on) Allow samba to share users home directories. TASK [Get local modifications - port] ****************************************** task path: /tmp/tmp8_8zezr9/tests/selinux/set_selinux_variables.yml:12 Thursday 07 July 2022 21:18:49 +0000 (0:00:03.062) 0:00:33.134 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "port", "-l", "-n", "-C" ], "delta": "0:00:02.781793", "end": "2022-07-07 17:18:51.617738", "rc": 0, "start": "2022-07-07 17:18:48.835945" } STDOUT: ssh_port_t tcp 22100 TASK [Get local modifications - login] ***************************************** task path: /tmp/tmp8_8zezr9/tests/selinux/set_selinux_variables.yml:16 Thursday 07 July 2022 21:18:52 +0000 (0:00:03.056) 0:00:36.190 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "login", "-l", "-n", "-C" ], "delta": "0:00:02.921089", "end": "2022-07-07 17:18:54.815092", "rc": 0, "start": "2022-07-07 17:18:51.894003" } STDOUT: sar-user staff_u s0-s0:c0.c1023 TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmp8_8zezr9/tests/selinux/set_selinux_variables.yml:20 Thursday 07 July 2022 21:18:55 +0000 (0:00:03.199) 0:00:39.390 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "fcontext", "-l", "-n", "-C" ], "delta": "0:00:02.487771", "end": "2022-07-07 17:18:57.586720", "rc": 0, "start": "2022-07-07 17:18:55.098949" } STDOUT: /tmp/test_dir all files system_u:object_r:user_home_dir_t:s0 TASK [Check if local modifications are not empty - booleans] ******************* task path: /tmp/tmp8_8zezr9/tests/selinux/tests_all_purge.yml:38 Thursday 07 July 2022 21:18:58 +0000 (0:00:02.781) 0:00:42.171 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are not empty - port] *********************** task path: /tmp/tmp8_8zezr9/tests/selinux/tests_all_purge.yml:41 Thursday 07 July 2022 21:18:58 +0000 (0:00:00.047) 0:00:42.219 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are not empty - login] ********************** task path: /tmp/tmp8_8zezr9/tests/selinux/tests_all_purge.yml:44 Thursday 07 July 2022 21:18:58 +0000 (0:00:00.047) 0:00:42.267 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are not empty - fcontext] ******************* task path: /tmp/tmp8_8zezr9/tests/selinux/tests_all_purge.yml:47 Thursday 07 July 2022 21:18:58 +0000 (0:00:00.049) 0:00:42.317 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Apply the role to drop local modifications] ****************************** task path: /tmp/tmp8_8zezr9/tests/selinux/tests_all_purge.yml:51 Thursday 07 July 2022 21:18:58 +0000 (0:00:00.047) 0:00:42.365 ********* 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/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Thursday 07 July 2022 21:18:58 +0000 (0:00:00.065) 0:00:42.430 ********* included: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/rhel-6.qcow2.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Thursday 07 July 2022 21:18:58 +0000 (0:00:00.066) 0:00:42.496 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Thursday 07 July 2022 21:18:58 +0000 (0:00:00.040) 0:00:42.537 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.0.94-7.el6.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.0.83-30.1.el6_8.x86_64 providing policycoreutils-python is already installed" ] } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Thursday 07 July 2022 21:18:59 +0000 (0:00:00.516) 0:00:43.054 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Thursday 07 July 2022 21:18:59 +0000 (0:00:00.028) 0:00:43.082 ********* ok: [/cache/rhel-6.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Thursday 07 July 2022 21:19:00 +0000 (0:00:00.682) 0:00:43.764 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Thursday 07 July 2022 21:19:00 +0000 (0:00:00.039) 0:00:43.804 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Thursday 07 July 2022 21:19:00 +0000 (0:00:00.025) 0:00:43.829 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Thursday 07 July 2022 21:19:00 +0000 (0:00:00.025) 0:00:43.855 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Thursday 07 July 2022 21:19:00 +0000 (0:00:00.052) 0:00:43.907 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:28 Thursday 07 July 2022 21:19:00 +0000 (0:00:00.025) 0:00:43.932 ********* skipping: [/cache/rhel-6.qcow2.snap] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Thursday 07 July 2022 21:19:00 +0000 (0:00:00.034) 0:00:43.967 ********* NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for /cache/rhel-6.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for /cache/rhel-6.qcow2.snap changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:24.231289", "end": "2022-07-07 17:19:23.927072", "rc": 0, "start": "2022-07-07 17:18:59.695783" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Thursday 07 July 2022 21:19:24 +0000 (0:00:24.590) 0:01:08.557 ********* skipping: [/cache/rhel-6.qcow2.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/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 Thursday 07 July 2022 21:19:24 +0000 (0:00:00.041) 0:01:08.599 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Thursday 07 July 2022 21:19:24 +0000 (0:00:00.039) 0:01:08.638 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Thursday 07 July 2022 21:19:24 +0000 (0:00:00.037) 0:01:08.676 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Thursday 07 July 2022 21:19:24 +0000 (0:00:00.035) 0:01:08.712 ********* TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Thursday 07 July 2022 21:19:25 +0000 (0:00:00.051) 0:01:08.764 ********* TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Thursday 07 July 2022 21:19:25 +0000 (0:00:00.024) 0:01:08.789 ********* TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:78 Thursday 07 July 2022 21:19:25 +0000 (0:00:00.023) 0:01:08.813 ********* TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 Thursday 07 July 2022 21:19:25 +0000 (0:00:00.022) 0:01:08.835 ********* TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 Thursday 07 July 2022 21:19:25 +0000 (0:00:00.021) 0:01:08.856 ********* TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Thursday 07 July 2022 21:19:25 +0000 (0:00:00.024) 0:01:08.880 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "0": "enabled" }, "accountsd": { "0": "enabled" }, "ada": { "0": "enabled" }, "afs": { "0": "enabled" }, "aiccu": { "0": "enabled" }, "aide": { "0": "enabled" }, "amanda": { "0": "enabled" }, "amtu": { "0": "enabled" }, "antivirus": { "0": "enabled" }, "apache": { "0": "enabled" }, "apcupsd": { "0": "enabled" }, "arpwatch": { "0": "enabled" }, "asterisk": { "0": "enabled" }, "audioentropy": { "0": "enabled" }, "automount": { "0": "enabled" }, "avahi": { "0": "enabled" }, "awstats": { "0": "enabled" }, "bacula": { "0": "enabled" }, "bcfg2": { "0": "enabled" }, "bind": { "0": "enabled" }, "bitlbee": { "0": "enabled" }, "bluetooth": { "0": "enabled" }, "boinc": { "0": "enabled" }, "bugzilla": { "0": "enabled" }, "cachefilesd": { "0": "enabled" }, "calamaris": { "0": "enabled" }, "canna": { "0": "enabled" }, "ccs": { "0": "enabled" }, "cdrecord": { "0": "enabled" }, "certmaster": { "0": "enabled" }, "certmonger": { "0": "enabled" }, "certwatch": { "0": "enabled" }, "cfengine": { "0": "enabled" }, "cgroup": { "0": "enabled" }, "chrome": { "0": "enabled" }, "chronyd": { "0": "enabled" }, "cinder": { "0": "enabled" }, "cipe": { "0": "enabled" }, "clogd": { "0": "enabled" }, "cloudform": { "0": "enabled" }, "cmirrord": { "0": "enabled" }, "cobbler": { "0": "enabled" }, "collectd": { "0": "enabled" }, "comsat": { "0": "enabled" }, "condor": { "0": "enabled" }, "conman": { "0": "enabled" }, "consolekit": { "0": "enabled" }, "courier": { "0": "enabled" }, "cpufreqselector": { "0": "enabled" }, "ctdbd": { "0": "enabled" }, "cups": { "0": "enabled" }, "cvs": { "0": "enabled" }, "cyphesis": { "0": "enabled" }, "cyrus": { "0": "enabled" }, "daemontools": { "0": "enabled" }, "dbskk": { "0": "enabled" }, "dcc": { "0": "enabled" }, "ddclient": { "0": "enabled" }, "denyhosts": { "0": "enabled" }, "devicekit": { "0": "enabled" }, "dhcp": { "0": "enabled" }, "dictd": { "0": "enabled" }, "dirsrv": { "0": "enabled" }, "dirsrv-admin": { "0": "enabled" }, "dnsmasq": { "0": "enabled" }, "dovecot": { "0": "enabled" }, "drbd": { "0": "enabled" }, "dspam": { "0": "enabled" }, "ethereal": { "0": "enabled" }, "execmem": { "0": "enabled" }, "exim": { "0": "enabled" }, "fail2ban": { "0": "enabled" }, "fcoemon": { "0": "enabled" }, "fetchmail": { "0": "enabled" }, "finger": { "0": "enabled" }, "firewallgui": { "0": "enabled" }, "fprintd": { "0": "enabled" }, "freeipmi": { "0": "enabled" }, "ftp": { "0": "enabled" }, "games": { "0": "enabled" }, "git": { "0": "enabled" }, "gitosis": { "0": "enabled" }, "glance": { "0": "enabled" }, "glusterd": { "0": "enabled" }, "gnome": { "0": "enabled" }, "gnomeclock": { "0": "enabled" }, "gpg": { "0": "enabled" }, "gpm": { "0": "enabled" }, "gpsd": { "0": "enabled" }, "guest": { "0": "enabled" }, "hal": { "0": "enabled" }, "hddtemp": { "0": "enabled" }, "howl": { "0": "enabled" }, "hypervkvp": { "0": "enabled" }, "icecast": { "0": "enabled" }, "inn": { "0": "enabled" }, "ipsec": { "0": "enabled" }, "irc": { "0": "enabled" }, "iscsi": { "0": "enabled" }, "isns": { "0": "enabled" }, "jabber": { "0": "enabled" }, "java": { "0": "enabled" }, "kdump": { "0": "enabled" }, "kdumpgui": { "0": "enabled" }, "keepalived": { "0": "enabled" }, "kerberos": { "0": "enabled" }, "kerneloops": { "0": "enabled" }, "keystone": { "0": "enabled" }, "kismet": { "0": "enabled" }, "ksmtuned": { "0": "enabled" }, "ktalk": { "0": "enabled" }, "l2tpd": { "0": "enabled" }, "ldap": { "0": "enabled" }, "likewise": { "0": "enabled" }, "linuxptp": { "0": "enabled" }, "lircd": { "0": "enabled" }, "livecd": { "0": "enabled" }, "lldpad": { "0": "enabled" }, "lockdev": { "0": "enabled" }, "logadm": { "0": "enabled" }, "lpd": { "0": "enabled" }, "lsm": { "0": "enabled" }, "mailman": { "0": "enabled" }, "matahari": { "0": "enabled" }, "mediawiki": { "0": "enabled" }, "memcached": { "0": "enabled" }, "milter": { "0": "enabled" }, "mip6d": { "0": "enabled" }, "mirrormanager": { "0": "enabled" }, "modemmanager": { "0": "enabled" }, "mono": { "0": "enabled" }, "mozilla": { "0": "enabled" }, "mpd": { "0": "enabled" }, "mplayer": { "0": "enabled" }, "mrtg": { "0": "enabled" }, "munin": { "0": "enabled" }, "mysql": { "0": "enabled" }, "nagios": { "0": "enabled" }, "namespace": { "0": "enabled" }, "ncftool": { "0": "enabled" }, "netlabel": { "0": "enabled" }, "nis": { "0": "enabled" }, "nova": { "0": "enabled" }, "nslcd": { "0": "enabled" }, "nsplugin": { "0": "enabled" }, "ntop": { "0": "enabled" }, "ntp": { "0": "enabled" }, "numad": { "0": "enabled" }, "nut": { "0": "enabled" }, "nx": { "0": "enabled" }, "oddjob": { "0": "enabled" }, "openct": { "0": "enabled" }, "openhpid": { "0": "enabled" }, "openoffice": { "0": "enabled" }, "openshift": { "0": "enabled" }, "openshift-origin": { "0": "enabled" }, "openvpn": { "0": "enabled" }, "openvswitch": { "0": "enabled" }, "openwsman": { "0": "enabled" }, "oracleasm": { "0": "enabled" }, "osad": { "0": "enabled" }, "pads": { "0": "enabled" }, "passenger": { "0": "enabled" }, "pcp": { "0": "enabled" }, "pcscd": { "0": "enabled" }, "pegasus": { "0": "enabled" }, "permissivedomains": { "0": "enabled" }, "pingd": { "0": "enabled" }, "piranha": { "0": "enabled" }, "pkcsslotd": { "0": "enabled" }, "plymouthd": { "0": "enabled" }, "podsleuth": { "0": "enabled" }, "policykit": { "0": "enabled" }, "portmap": { "0": "enabled" }, "portreserve": { "0": "enabled" }, "postfix": { "0": "enabled" }, "postgresql": { "0": "enabled" }, "postgrey": { "0": "enabled" }, "ppp": { "0": "enabled" }, "prelude": { "0": "enabled" }, "privoxy": { "0": "enabled" }, "procmail": { "0": "enabled" }, "psad": { "0": "enabled" }, "ptchown": { "0": "enabled" }, "publicfile": { "0": "enabled" }, "pulseaudio": { "0": "enabled" }, "puppet": { "0": "enabled" }, "pyzor": { "0": "enabled" }, "qemu": { "0": "enabled" }, "qmail": { "0": "enabled" }, "qpidd": { "0": "enabled" }, "quantum": { "0": "enabled" }, "radius": { "0": "enabled" }, "radvd": { "0": "enabled" }, "razor": { "0": "enabled" }, "rdisc": { "0": "enabled" }, "redis": { "0": "enabled" }, "remotelogin": { "0": "enabled" }, "rhcs": { "0": "enabled" }, "rhev": { "0": "enabled" }, "rhgb": { "0": "enabled" }, "rhnsd": { "0": "enabled" }, "rhsmcertd": { "0": "enabled" }, "ricci": { "0": "enabled" }, "rlogin": { "0": "enabled" }, "roundup": { "0": "enabled" }, "rpcbind": { "0": "enabled" }, "rshd": { "0": "enabled" }, "rssh": { "0": "enabled" }, "rsync": { "0": "enabled" }, "rtas": { "0": "enabled" }, "rtkit": { "0": "enabled" }, "rwho": { "0": "enabled" }, "samba": { "0": "enabled" }, "sambagui": { "0": "enabled" }, "sandbox": { "0": "enabled" }, "sanlock": { "0": "enabled" }, "sasl": { "0": "enabled" }, "sblim": { "0": "enabled" }, "screen": { "0": "enabled" }, "sectoolm": { "0": "enabled" }, "sensord": { "0": "enabled" }, "seunshare": { "0": "enabled" }, "sge": { "0": "enabled" }, "shutdown": { "0": "enabled" }, "slocate": { "0": "enabled" }, "slpd": { "0": "enabled" }, "smartmon": { "0": "enabled" }, "smokeping": { "0": "enabled" }, "smoltclient": { "0": "enabled" }, "smstools": { "0": "enabled" }, "snmp": { "0": "enabled" }, "snort": { "0": "enabled" }, "sosreport": { "0": "enabled" }, "soundserver": { "0": "enabled" }, "spamassassin": { "0": "enabled" }, "squid": { "0": "enabled" }, "sssd": { "0": "enabled" }, "staff": { "0": "enabled" }, "stapserver": { "0": "enabled" }, "stunnel": { "0": "enabled" }, "svnserve": { "0": "enabled" }, "swift": { "0": "enabled" }, "sysadm_secadm": { "0": "enabled" }, "sysstat": { "0": "enabled" }, "tcpd": { "0": "enabled" }, "telepathy": { "0": "enabled" }, "telnet": { "0": "enabled" }, "tftp": { "0": "enabled" }, "tgtd": { "0": "enabled" }, "tmpreaper": { "0": "enabled" }, "tomcat": { "0": "enabled" }, "tor": { "0": "enabled" }, "tuned": { "0": "enabled" }, "tvtime": { "0": "enabled" }, "ulogd": { "0": "enabled" }, "uml": { "0": "enabled" }, "unconfined": { "0": "enabled" }, "unconfineduser": { "0": "enabled" }, "unlabelednet": { "0": "enabled" }, "unprivuser": { "0": "enabled" }, "usbmodules": { "0": "enabled" }, "usbmuxd": { "0": "enabled" }, "userhelper": { "0": "enabled" }, "usernetctl": { "0": "enabled" }, "uucp": { "0": "enabled" }, "uuidd": { "0": "enabled" }, "varnishd": { "0": "enabled" }, "vdagent": { "0": "enabled" }, "vhostmd": { "0": "enabled" }, "virt": { "0": "enabled" }, "vmware": { "0": "enabled" }, "vpn": { "0": "enabled" }, "w3c": { "0": "enabled" }, "watchdog": { "0": "enabled" }, "wdmd": { "0": "enabled" }, "webadm": { "0": "enabled" }, "webalizer": { "0": "enabled" }, "wine": { "0": "enabled" }, "xen": { "0": "enabled" }, "xfs": { "0": "enabled" }, "xguest": { "0": "enabled" }, "zabbix": { "0": "enabled" }, "zarafa": { "0": "enabled" }, "zebra": { "0": "enabled" }, "zosremote": { "0": "enabled" } }, "selinux_priorities": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : include_tasks] *********************** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Thursday 07 July 2022 21:19:26 +0000 (0:00:01.066) 0:01:09.947 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmp8_8zezr9/tests/selinux/set_selinux_variables.yml:2 Thursday 07 July 2022 21:19:26 +0000 (0:00:00.054) 0:01:10.001 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmp8_8zezr9/tests/selinux/set_selinux_variables.yml:8 Thursday 07 July 2022 21:19:26 +0000 (0:00:00.038) 0:01:10.040 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "boolean", "-l", "-n", "-C" ], "delta": "0:00:02.663804", "end": "2022-07-07 17:19:28.414374", "rc": 0, "start": "2022-07-07 17:19:25.750570" } TASK [Get local modifications - port] ****************************************** task path: /tmp/tmp8_8zezr9/tests/selinux/set_selinux_variables.yml:12 Thursday 07 July 2022 21:19:29 +0000 (0:00:02.951) 0:01:12.992 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "port", "-l", "-n", "-C" ], "delta": "0:00:02.874532", "end": "2022-07-07 17:19:31.570180", "rc": 0, "start": "2022-07-07 17:19:28.695648" } TASK [Get local modifications - login] ***************************************** task path: /tmp/tmp8_8zezr9/tests/selinux/set_selinux_variables.yml:16 Thursday 07 July 2022 21:19:32 +0000 (0:00:03.155) 0:01:16.147 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "login", "-l", "-n", "-C" ], "delta": "0:00:02.702465", "end": "2022-07-07 17:19:34.561900", "rc": 0, "start": "2022-07-07 17:19:31.859435" } TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmp8_8zezr9/tests/selinux/set_selinux_variables.yml:20 Thursday 07 July 2022 21:19:35 +0000 (0:00:02.990) 0:01:19.137 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "fcontext", "-l", "-n", "-C" ], "delta": "0:00:02.476501", "end": "2022-07-07 17:19:37.314021", "rc": 0, "start": "2022-07-07 17:19:34.837520" } TASK [Check if local modifications are empty - booleans] *********************** task path: /tmp/tmp8_8zezr9/tests/selinux/tests_all_purge.yml:60 Thursday 07 July 2022 21:19:38 +0000 (0:00:02.750) 0:01:21.888 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are empty - port] *************************** task path: /tmp/tmp8_8zezr9/tests/selinux/tests_all_purge.yml:63 Thursday 07 July 2022 21:19:38 +0000 (0:00:00.076) 0:01:21.965 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are empty - login] ************************** task path: /tmp/tmp8_8zezr9/tests/selinux/tests_all_purge.yml:66 Thursday 07 July 2022 21:19:38 +0000 (0:00:00.108) 0:01:22.073 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are empty - fcontext] *********************** task path: /tmp/tmp8_8zezr9/tests/selinux/tests_all_purge.yml:69 Thursday 07 July 2022 21:19:38 +0000 (0:00:00.046) 0:01:22.120 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Remove Linux System Roles SELinux User] ********************************** task path: /tmp/tmp8_8zezr9/tests/selinux/tests_all_purge.yml:73 Thursday 07 July 2022 21:19:38 +0000 (0:00:00.049) 0:01:22.169 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "force": false, "name": "sar-user", "remove": true, "state": "absent" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:1 Thursday 07 July 2022 21:19:38 +0000 (0:00:00.469) 0:01:22.638 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:02.186084", "end": "2022-07-07 17:19:40.545440", "rc": 0, "start": "2022-07-07 17:19:38.359356" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:1 Thursday 07 July 2022 21:19:41 +0000 (0:00:02.508) 0:01:25.146 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:02.179050", "end": "2022-07-07 17:19:43.083215", "rc": 0, "start": "2022-07-07 17:19:40.904165" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=33 changed=5 unreachable=0 failed=0 skipped=40 rescued=0 ignored=0 Thursday 07 July 2022 21:19:43 +0000 (0:00:02.544) 0:01:27.691 ********* =============================================================================== Add some mapping ------------------------------------------------------- 24.71s /tmp/tmp8_8zezr9/tests/selinux/tests_all_purge.yml:25 ------------------------- fedora.linux_system_roles.selinux : Drop all local modifications ------- 24.59s /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Get local modifications - login ----------------------------------------- 3.20s /tmp/tmp8_8zezr9/tests/selinux/set_selinux_variables.yml:16 ------------------- Get local modifications - port ------------------------------------------ 3.16s /tmp/tmp8_8zezr9/tests/selinux/set_selinux_variables.yml:12 ------------------- Get local modifications - boolean --------------------------------------- 3.06s /tmp/tmp8_8zezr9/tests/selinux/set_selinux_variables.yml:8 -------------------- Get local modifications - port ------------------------------------------ 3.06s /tmp/tmp8_8zezr9/tests/selinux/set_selinux_variables.yml:12 ------------------- Get local modifications - login ----------------------------------------- 2.99s /tmp/tmp8_8zezr9/tests/selinux/set_selinux_variables.yml:16 ------------------- Get local modifications - boolean --------------------------------------- 2.95s /tmp/tmp8_8zezr9/tests/selinux/set_selinux_variables.yml:8 -------------------- Get local modifications - fcontext -------------------------------------- 2.78s /tmp/tmp8_8zezr9/tests/selinux/set_selinux_variables.yml:20 ------------------- Get local modifications - fcontext -------------------------------------- 2.75s /tmp/tmp8_8zezr9/tests/selinux/set_selinux_variables.yml:20 ------------------- fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.55s /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:1 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.51s /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:1 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 1.19s /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmp8_8zezr9/tests/selinux/tests_all_purge.yml:1 -------------------------- fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 1.07s /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.92s /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 fedora.linux_system_roles.selinux : refresh facts ----------------------- 0.70s /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 fedora.linux_system_roles.selinux : refresh facts ----------------------- 0.68s /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Add a Linux System Roles SELinux User ----------------------------------- 0.56s /tmp/tmp8_8zezr9/tests/selinux/tests_all_purge.yml:20 ------------------------- fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.52s /tmp/tmpeqs_o7xx/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7