Formatting '/cache/centos-6.qcow2c.snap', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=8589934592 backing_file=/cache/centos-6.qcow2c 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/tmp5i68utq7 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: centos-6_setup.yml *************************************************** 2 plays in /cache/centos-6_setup.yml PLAY [Change repos to use vault] *********************************************** META: ran handlers TASK [fix yum repos to use vault.centos.org] *********************************** task path: /cache/centos-6_setup.yml:5 Wednesday 06 July 2022 07:00:32 +0000 (0:00:00.018) 0:00:00.019 ******** changed: [/cache/centos-6.qcow2c.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/centos-6_setup.yml:11 Wednesday 06 July 2022 07:00:33 +0000 (0:00:00.672) 0:00:00.691 ******** [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [Create EPEL 6 repo] ****************************************************** task path: /cache/centos-6_setup.yml:15 Wednesday 06 July 2022 07:00:34 +0000 (0:00:01.065) 0:00:01.756 ******** skipping: [/cache/centos-6.qcow2c.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/centos-6_setup.yml:25 Wednesday 06 July 2022 07:00:34 +0000 (0:00:00.023) 0:00:01.780 ******** changed: [/cache/centos-6.qcow2c.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/centos-6_setup.yml:31 Wednesday 06 July 2022 07:00:42 +0000 (0:00:08.500) 0:00:10.280 ******** skipping: [/cache/centos-6.qcow2c.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/centos-6_setup.yml:37 Wednesday 06 July 2022 07:00:42 +0000 (0:00:00.021) 0:00:10.302 ******** skipping: [/cache/centos-6.qcow2c.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/centos-6_setup.yml:45 Wednesday 06 July 2022 07:00:42 +0000 (0:00:00.022) 0:00:10.324 ******** skipping: [/cache/centos-6.qcow2c.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/centos-6.qcow2c.snap : ok=3 changed=2 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Wednesday 06 July 2022 07:00:42 +0000 (0:00:00.037) 0:00:10.361 ******** =============================================================================== Create yum cache -------------------------------------------------------- 8.50s /cache/centos-6_setup.yml:25 -------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.07s /cache/centos-6_setup.yml:11 -------------------------------------------------- fix yum repos to use vault.centos.org ----------------------------------- 0.67s /cache/centos-6_setup.yml:5 --------------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.04s /cache/centos-6_setup.yml:45 -------------------------------------------------- Create EPEL 6 repo ------------------------------------------------------ 0.02s /cache/centos-6_setup.yml:15 -------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/centos-6_setup.yml:37 -------------------------------------------------- Create dnf cache -------------------------------------------------------- 0.02s /cache/centos-6_setup.yml:31 -------------------------------------------------- PLAYBOOK: setup-snapshot.yml *************************************************** 1 plays in /tmp/tmpe719gz_9/tests/setup-snapshot.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpe719gz_9/tests/setup-snapshot.yml:1 Wednesday 06 July 2022 07:00:43 +0000 (0:00:00.014) 0:00:10.375 ******** ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [Set ansible_facts and install packages] ********************************** task path: /tmp/tmpe719gz_9/tests/setup-snapshot.yml:3 Wednesday 06 July 2022 07:00:43 +0000 (0:00:00.709) 0:00:11.085 ******** TASK [linux-system-roles.selinux : Ensure ansible_facts used by role] ********** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Wednesday 06 July 2022 07:00:43 +0000 (0:00:00.036) 0:00:11.122 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Wednesday 06 July 2022 07:00:43 +0000 (0:00:00.038) 0:00:11.160 ******** ok: [/cache/centos-6.qcow2c.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/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Wednesday 06 July 2022 07:00:46 +0000 (0:00:02.557) 0:00:13.718 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 Wednesday 06 July 2022 07:00:46 +0000 (0:00:00.025) 0:00:13.743 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:29 Wednesday 06 July 2022 07:00:46 +0000 (0:00:00.037) 0:00:13.781 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/centos-6.qcow2c.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=5 changed=2 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 Wednesday 06 July 2022 07:00:46 +0000 (0:00:00.053) 0:00:13.834 ******** =============================================================================== Create yum cache -------------------------------------------------------- 8.50s /cache/centos-6_setup.yml:25 -------------------------------------------------- linux-system-roles.selinux : Install SELinux python2 tools -------------- 2.56s /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Gathering Facts --------------------------------------------------------- 1.07s /cache/centos-6_setup.yml:11 -------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.71s /tmp/tmpe719gz_9/tests/setup-snapshot.yml:1 ----------------------------------- fix yum repos to use vault.centos.org ----------------------------------- 0.67s /cache/centos-6_setup.yml:5 --------------------------------------------------- linux-system-roles.selinux : Install SELinux tool semanage -------------- 0.05s /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:29 linux-system-roles.selinux : Ensure ansible_facts used by role ---------- 0.04s /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Disable EPEL 8 ---------------------------------------------------------- 0.04s /cache/centos-6_setup.yml:45 -------------------------------------------------- linux-system-roles.selinux : refresh facts ------------------------------ 0.04s /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 Set ansible_facts and install packages ---------------------------------- 0.04s /tmp/tmpe719gz_9/tests/setup-snapshot.yml:3 ----------------------------------- linux-system-roles.selinux : Install SELinux python3 tools -------------- 0.03s /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Create EPEL 6 repo ------------------------------------------------------ 0.02s /cache/centos-6_setup.yml:15 -------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/centos-6_setup.yml:37 -------------------------------------------------- Create dnf cache -------------------------------------------------------- 0.02s /cache/centos-6_setup.yml:31 -------------------------------------------------- PLAYBOOK: centos-6_post_setup.yml ********************************************** 1 plays in /cache/centos-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/centos-6_post_setup.yml:5 Wednesday 06 July 2022 07:00:46 +0000 (0:00:00.021) 0:00:13.855 ******** changed: [/cache/centos-6.qcow2c.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/centos-6_post_setup.yml:8 Wednesday 06 July 2022 07:00:46 +0000 (0:00:00.306) 0:00:14.162 ******** changed: [/cache/centos-6.qcow2c.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/centos-6.qcow2c.snap : ok=7 changed=4 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 Wednesday 06 July 2022 07:00:47 +0000 (0:00:00.431) 0:00:14.594 ******** =============================================================================== Create yum cache -------------------------------------------------------- 8.50s /cache/centos-6_setup.yml:25 -------------------------------------------------- linux-system-roles.selinux : Install SELinux python2 tools -------------- 2.56s /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Gathering Facts --------------------------------------------------------- 1.07s /cache/centos-6_setup.yml:11 -------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.71s /tmp/tmpe719gz_9/tests/setup-snapshot.yml:1 ----------------------------------- fix yum repos to use vault.centos.org ----------------------------------- 0.67s /cache/centos-6_setup.yml:5 --------------------------------------------------- shutdown guest ---------------------------------------------------------- 0.43s /cache/centos-6_post_setup.yml:8 ---------------------------------------------- force sync of filesystems - ensure setup changes are made to snapshot --- 0.31s /cache/centos-6_post_setup.yml:5 ---------------------------------------------- linux-system-roles.selinux : Install SELinux tool semanage -------------- 0.05s /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:29 linux-system-roles.selinux : Ensure ansible_facts used by role ---------- 0.04s /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Disable EPEL 8 ---------------------------------------------------------- 0.04s /cache/centos-6_setup.yml:45 -------------------------------------------------- linux-system-roles.selinux : refresh facts ------------------------------ 0.04s /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 Set ansible_facts and install packages ---------------------------------- 0.04s /tmp/tmpe719gz_9/tests/setup-snapshot.yml:3 ----------------------------------- linux-system-roles.selinux : Install SELinux python3 tools -------------- 0.03s /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Create EPEL 6 repo ------------------------------------------------------ 0.02s /cache/centos-6_setup.yml:15 -------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/centos-6_setup.yml:37 -------------------------------------------------- Create dnf cache -------------------------------------------------------- 0.02s /cache/centos-6_setup.yml:31 -------------------------------------------------- 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/tmp5i68utq7 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/tmpe719gz_9/tests/set_selinux_variables.yml statically imported: /tmp/tmpe719gz_9/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/tmpe719gz_9/tests/tests_all_purge.yml PLAY [Test that selinux_all_purge drops local modifications, defaults to no] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpe719gz_9/tests/tests_all_purge.yml:1 Wednesday 06 July 2022 07:01:33 +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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmpe719gz_9/tests/tests_all_purge.yml:13 Wednesday 06 July 2022 07:01:34 +0000 (0:00:01.126) 0:00:01.139 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add a Linux System Roles SELinux User] *********************************** task path: /tmp/tmpe719gz_9/tests/tests_all_purge.yml:22 Wednesday 06 July 2022 07:01:34 +0000 (0:00:00.080) 0:00:01.220 ******** changed: [/cache/centos-6.qcow2c.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/tmpe719gz_9/tests/tests_all_purge.yml:27 Wednesday 06 July 2022 07:01:34 +0000 (0:00:00.543) 0:00:01.763 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": "set -euo pipefail\necho -e -n \"boolean -m --on samba_enable_home_dirs\nport -a -p tcp -t ssh_port_t 22100\nfcontext -a -t user_home_dir_t /tmp/test_dir\nlogin -a -s staff_u sar-user\n\" | /usr/sbin/semanage -i -", "delta": "0:00:24.681094", "end": "2022-07-06 07:01:58.602066", "rc": 0, "start": "2022-07-06 07:01:33.920972" } TASK [Apply role with defaults, should not drop local modifications] *********** task path: /tmp/tmpe719gz_9/tests/tests_all_purge.yml:33 Wednesday 06 July 2022 07:01:59 +0000 (0:00:25.101) 0:00:26.865 ******** 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/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 Wednesday 06 July 2022 07:01:59 +0000 (0:00:00.100) 0:00:26.966 ******** included: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml for /cache/centos-6.qcow2c.snap TASK [linux-system-roles.selinux : Ensure ansible_facts used by role] ********** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Wednesday 06 July 2022 07:02:00 +0000 (0:00:00.035) 0:00:27.001 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Wednesday 06 July 2022 07:02:00 +0000 (0:00:00.037) 0:00:27.039 ******** ok: [/cache/centos-6.qcow2c.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/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Wednesday 06 July 2022 07:02:00 +0000 (0:00:00.811) 0:00:27.850 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 Wednesday 06 July 2022 07:02:00 +0000 (0:00:00.025) 0:00:27.876 ******** ok: [/cache/centos-6.qcow2c.snap] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:29 Wednesday 06 July 2022 07:02:01 +0000 (0:00:00.695) 0:00:28.572 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:5 Wednesday 06 July 2022 07:02:01 +0000 (0:00:00.033) 0:00:28.606 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:13 Wednesday 06 July 2022 07:02:01 +0000 (0:00:00.020) 0:00:28.626 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set selinux_reboot_required] **************** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:20 Wednesday 06 July 2022 07:02:01 +0000 (0:00:00.020) 0:00:28.646 ******** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:26 Wednesday 06 July 2022 07:02:01 +0000 (0:00:00.044) 0:00:28.691 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:31 Wednesday 06 July 2022 07:02:01 +0000 (0:00:00.019) 0:00:28.710 ******** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:36 Wednesday 06 July 2022 07:02:01 +0000 (0:00:00.019) 0:00:28.730 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:43 Wednesday 06 July 2022 07:02:01 +0000 (0:00:00.029) 0:00:28.760 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:47 Wednesday 06 July 2022 07:02:01 +0000 (0:00:00.034) 0:00:28.794 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:51 Wednesday 06 July 2022 07:02:01 +0000 (0:00:00.034) 0:00:28.829 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:55 Wednesday 06 July 2022 07:02:01 +0000 (0:00:00.034) 0:00:28.863 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:59 Wednesday 06 July 2022 07:02:01 +0000 (0:00:00.032) 0:00:28.895 ******** TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:66 Wednesday 06 July 2022 07:02:01 +0000 (0:00:00.020) 0:00:28.916 ******** TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:75 Wednesday 06 July 2022 07:02:01 +0000 (0:00:00.020) 0:00:28.936 ******** TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:81 Wednesday 06 July 2022 07:02:01 +0000 (0:00:00.019) 0:00:28.955 ******** TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:89 Wednesday 06 July 2022 07:02:01 +0000 (0:00:00.019) 0:00:28.975 ******** TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:97 Wednesday 06 July 2022 07:02:02 +0000 (0:00:00.019) 0:00:28.995 ******** TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:107 Wednesday 06 July 2022 07:02:02 +0000 (0:00:00.021) 0:00:29.016 ******** ok: [/cache/centos-6.qcow2c.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/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:110 Wednesday 06 July 2022 07:02:03 +0000 (0:00:01.208) 0:00:30.224 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmpe719gz_9/tests/set_selinux_variables.yml:2 Wednesday 06 July 2022 07:02:03 +0000 (0:00:00.053) 0:00:30.278 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmpe719gz_9/tests/set_selinux_variables.yml:10 Wednesday 06 July 2022 07:02:03 +0000 (0:00:00.039) 0:00:30.317 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "boolean", "-l", "-n", "-C" ], "delta": "0:00:02.485288", "end": "2022-07-06 07:02:04.898691", "rc": 0, "start": "2022-07-06 07:02:02.413403" } STDOUT: samba_enable_home_dirs (on , on) Allow samba to share users home directories. TASK [Get local modifications - port] ****************************************** task path: /tmp/tmpe719gz_9/tests/set_selinux_variables.yml:14 Wednesday 06 July 2022 07:02:06 +0000 (0:00:02.802) 0:00:33.120 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "port", "-l", "-n", "-C" ], "delta": "0:00:02.569996", "end": "2022-07-06 07:02:07.753386", "rc": 0, "start": "2022-07-06 07:02:05.183390" } STDOUT: ssh_port_t tcp 22100 TASK [Get local modifications - login] ***************************************** task path: /tmp/tmpe719gz_9/tests/set_selinux_variables.yml:18 Wednesday 06 July 2022 07:02:08 +0000 (0:00:02.854) 0:00:35.975 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "login", "-l", "-n", "-C" ], "delta": "0:00:02.519877", "end": "2022-07-06 07:02:10.583137", "rc": 0, "start": "2022-07-06 07:02:08.063260" } STDOUT: sar-user staff_u s0-s0:c0.c1023 TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmpe719gz_9/tests/set_selinux_variables.yml:22 Wednesday 06 July 2022 07:02:11 +0000 (0:00:02.829) 0:00:38.804 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "fcontext", "-l", "-n", "-C" ], "delta": "0:00:02.503798", "end": "2022-07-06 07:02:13.374394", "rc": 0, "start": "2022-07-06 07:02:10.870596" } 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/tmpe719gz_9/tests/tests_all_purge.yml:40 Wednesday 06 July 2022 07:02:14 +0000 (0:00:02.792) 0:00:41.596 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are not empty - port] *********************** task path: /tmp/tmpe719gz_9/tests/tests_all_purge.yml:43 Wednesday 06 July 2022 07:02:14 +0000 (0:00:00.049) 0:00:41.646 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are not empty - login] ********************** task path: /tmp/tmpe719gz_9/tests/tests_all_purge.yml:46 Wednesday 06 July 2022 07:02:14 +0000 (0:00:00.049) 0:00:41.695 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are not empty - fcontext] ******************* task path: /tmp/tmpe719gz_9/tests/tests_all_purge.yml:49 Wednesday 06 July 2022 07:02:14 +0000 (0:00:00.049) 0:00:41.745 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Apply the role to drop local modifications] ****************************** task path: /tmp/tmpe719gz_9/tests/tests_all_purge.yml:53 Wednesday 06 July 2022 07:02:14 +0000 (0:00:00.057) 0:00:41.802 ******** 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/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 Wednesday 06 July 2022 07:02:14 +0000 (0:00:00.060) 0:00:41.863 ******** included: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml for /cache/centos-6.qcow2c.snap TASK [linux-system-roles.selinux : Ensure ansible_facts used by role] ********** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Wednesday 06 July 2022 07:02:14 +0000 (0:00:00.038) 0:00:41.901 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Wednesday 06 July 2022 07:02:14 +0000 (0:00:00.043) 0:00:41.945 ******** ok: [/cache/centos-6.qcow2c.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/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Wednesday 06 July 2022 07:02:15 +0000 (0:00:00.476) 0:00:42.421 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 Wednesday 06 July 2022 07:02:15 +0000 (0:00:00.027) 0:00:42.449 ******** ok: [/cache/centos-6.qcow2c.snap] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:29 Wednesday 06 July 2022 07:02:16 +0000 (0:00:00.694) 0:00:43.144 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:5 Wednesday 06 July 2022 07:02:16 +0000 (0:00:00.046) 0:00:43.190 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:13 Wednesday 06 July 2022 07:02:16 +0000 (0:00:00.026) 0:00:43.216 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set selinux_reboot_required] **************** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:20 Wednesday 06 July 2022 07:02:16 +0000 (0:00:00.026) 0:00:43.243 ******** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:26 Wednesday 06 July 2022 07:02:16 +0000 (0:00:00.050) 0:00:43.293 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:31 Wednesday 06 July 2022 07:02:16 +0000 (0:00:00.023) 0:00:43.316 ******** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:36 Wednesday 06 July 2022 07:02:16 +0000 (0:00:00.022) 0:00:43.339 ******** NOTIFIED HANDLER linux-system-roles.selinux : Reload SELinux policy for /cache/centos-6.qcow2c.snap NOTIFIED HANDLER linux-system-roles.selinux : Reload SELinux policy for /cache/centos-6.qcow2c.snap changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:23.160122", "end": "2022-07-06 07:02:38.575481", "rc": 0, "start": "2022-07-06 07:02:15.415359" } TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:43 Wednesday 06 July 2022 07:02:39 +0000 (0:00:23.506) 0:01:06.846 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:47 Wednesday 06 July 2022 07:02:39 +0000 (0:00:00.046) 0:01:06.892 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:51 Wednesday 06 July 2022 07:02:39 +0000 (0:00:00.042) 0:01:06.935 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:55 Wednesday 06 July 2022 07:02:39 +0000 (0:00:00.044) 0:01:06.980 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:59 Wednesday 06 July 2022 07:02:40 +0000 (0:00:00.042) 0:01:07.022 ******** TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:66 Wednesday 06 July 2022 07:02:40 +0000 (0:00:00.026) 0:01:07.048 ******** TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:75 Wednesday 06 July 2022 07:02:40 +0000 (0:00:00.031) 0:01:07.080 ******** TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:81 Wednesday 06 July 2022 07:02:40 +0000 (0:00:00.056) 0:01:07.136 ******** TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:89 Wednesday 06 July 2022 07:02:40 +0000 (0:00:00.026) 0:01:07.162 ******** TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:97 Wednesday 06 July 2022 07:02:40 +0000 (0:00:00.033) 0:01:07.196 ******** TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:107 Wednesday 06 July 2022 07:02:40 +0000 (0:00:00.036) 0:01:07.233 ******** ok: [/cache/centos-6.qcow2c.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/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:110 Wednesday 06 July 2022 07:02:41 +0000 (0:00:01.133) 0:01:08.366 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmpe719gz_9/tests/set_selinux_variables.yml:2 Wednesday 06 July 2022 07:02:41 +0000 (0:00:00.058) 0:01:08.425 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmpe719gz_9/tests/set_selinux_variables.yml:10 Wednesday 06 July 2022 07:02:41 +0000 (0:00:00.040) 0:01:08.465 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "boolean", "-l", "-n", "-C" ], "delta": "0:00:02.383266", "end": "2022-07-06 07:02:42.912330", "rc": 0, "start": "2022-07-06 07:02:40.529064" } TASK [Get local modifications - port] ****************************************** task path: /tmp/tmpe719gz_9/tests/set_selinux_variables.yml:14 Wednesday 06 July 2022 07:02:44 +0000 (0:00:02.668) 0:01:11.134 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "port", "-l", "-n", "-C" ], "delta": "0:00:02.721020", "end": "2022-07-06 07:02:45.922050", "rc": 0, "start": "2022-07-06 07:02:43.201030" } TASK [Get local modifications - login] ***************************************** task path: /tmp/tmpe719gz_9/tests/set_selinux_variables.yml:18 Wednesday 06 July 2022 07:02:47 +0000 (0:00:03.009) 0:01:14.143 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "login", "-l", "-n", "-C" ], "delta": "0:00:02.504803", "end": "2022-07-06 07:02:48.703304", "rc": 0, "start": "2022-07-06 07:02:46.198501" } TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmpe719gz_9/tests/set_selinux_variables.yml:22 Wednesday 06 July 2022 07:02:49 +0000 (0:00:02.782) 0:01:16.925 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "fcontext", "-l", "-n", "-C" ], "delta": "0:00:02.649510", "end": "2022-07-06 07:02:51.675179", "rc": 0, "start": "2022-07-06 07:02:49.025669" } TASK [Check if local modifications are empty - booleans] *********************** task path: /tmp/tmpe719gz_9/tests/tests_all_purge.yml:62 Wednesday 06 July 2022 07:02:52 +0000 (0:00:02.969) 0:01:19.895 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are empty - port] *************************** task path: /tmp/tmpe719gz_9/tests/tests_all_purge.yml:65 Wednesday 06 July 2022 07:02:52 +0000 (0:00:00.046) 0:01:19.942 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are empty - login] ************************** task path: /tmp/tmpe719gz_9/tests/tests_all_purge.yml:68 Wednesday 06 July 2022 07:02:52 +0000 (0:00:00.046) 0:01:19.988 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are empty - fcontext] *********************** task path: /tmp/tmpe719gz_9/tests/tests_all_purge.yml:71 Wednesday 06 July 2022 07:02:53 +0000 (0:00:00.051) 0:01:20.040 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Remove Linux System Roles SELinux User] ********************************** task path: /tmp/tmpe719gz_9/tests/tests_all_purge.yml:75 Wednesday 06 July 2022 07:02:53 +0000 (0:00:00.047) 0:01:20.087 ******** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "force": false, "name": "sar-user", "remove": true, "state": "absent" } RUNNING HANDLER [linux-system-roles.selinux : Reload SELinux policy] *********** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/handlers/main.yml:1 Wednesday 06 July 2022 07:02:53 +0000 (0:00:00.450) 0:01:20.538 ******** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:02.258560", "end": "2022-07-06 07:02:54.855443", "rc": 0, "start": "2022-07-06 07:02:52.596883" } RUNNING HANDLER [linux-system-roles.selinux : Reload SELinux policy] *********** task path: /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/handlers/main.yml:1 Wednesday 06 July 2022 07:02:56 +0000 (0:00:02.569) 0:01:23.107 ******** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:02.244246", "end": "2022-07-06 07:02:57.475021", "rc": 0, "start": "2022-07-06 07:02:55.230775" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=33 changed=5 unreachable=0 failed=0 skipped=40 rescued=0 ignored=0 Wednesday 06 July 2022 07:02:58 +0000 (0:00:02.642) 0:01:25.750 ******** =============================================================================== Add some mapping ------------------------------------------------------- 25.10s /tmp/tmpe719gz_9/tests/tests_all_purge.yml:27 --------------------------------- linux-system-roles.selinux : Drop all local modifications -------------- 23.51s /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:36 ----- Get local modifications - port ------------------------------------------ 3.01s /tmp/tmpe719gz_9/tests/set_selinux_variables.yml:14 --------------------------- Get local modifications - fcontext -------------------------------------- 2.97s /tmp/tmpe719gz_9/tests/set_selinux_variables.yml:22 --------------------------- Get local modifications - port ------------------------------------------ 2.85s /tmp/tmpe719gz_9/tests/set_selinux_variables.yml:14 --------------------------- Get local modifications - login ----------------------------------------- 2.83s /tmp/tmpe719gz_9/tests/set_selinux_variables.yml:18 --------------------------- Get local modifications - boolean --------------------------------------- 2.80s /tmp/tmpe719gz_9/tests/set_selinux_variables.yml:10 --------------------------- Get local modifications - fcontext -------------------------------------- 2.79s /tmp/tmpe719gz_9/tests/set_selinux_variables.yml:22 --------------------------- Get local modifications - login ----------------------------------------- 2.78s /tmp/tmpe719gz_9/tests/set_selinux_variables.yml:18 --------------------------- Get local modifications - boolean --------------------------------------- 2.67s /tmp/tmpe719gz_9/tests/set_selinux_variables.yml:10 --------------------------- linux-system-roles.selinux : Reload SELinux policy ---------------------- 2.64s /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/handlers/main.yml:1 --- linux-system-roles.selinux : Reload SELinux policy ---------------------- 2.57s /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/handlers/main.yml:1 --- linux-system-roles.selinux : Get SELinux modules facts ------------------ 1.21s /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:107 ---- linux-system-roles.selinux : Get SELinux modules facts ------------------ 1.13s /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/main.yml:107 ---- Gathering Facts --------------------------------------------------------- 1.13s /tmp/tmpe719gz_9/tests/tests_all_purge.yml:1 ---------------------------------- linux-system-roles.selinux : Install SELinux python2 tools -------------- 0.81s /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 linux-system-roles.selinux : refresh facts ------------------------------ 0.70s /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 linux-system-roles.selinux : refresh facts ------------------------------ 0.69s /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 Add a Linux System Roles SELinux User ----------------------------------- 0.54s /tmp/tmpe719gz_9/tests/tests_all_purge.yml:22 --------------------------------- linux-system-roles.selinux : Install SELinux python2 tools -------------- 0.48s /tmp/tmpe719gz_9/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 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/tmp5i68utq7 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/tmplusv0qgq/tests/selinux/set_selinux_variables.yml statically imported: /tmp/tmplusv0qgq/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/tmplusv0qgq/tests/selinux/tests_all_purge.yml PLAY [Test that selinux_all_purge drops local modifications, defaults to no] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmplusv0qgq/tests/selinux/tests_all_purge.yml:1 Wednesday 06 July 2022 07:22:12 +0000 (0:00:00.013) 0:00:00.013 ******** [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmplusv0qgq/tests/selinux/tests_all_purge.yml:13 Wednesday 06 July 2022 07:22:13 +0000 (0:00:01.134) 0:00:01.147 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Add a Linux System Roles SELinux User] *********************************** task path: /tmp/tmplusv0qgq/tests/selinux/tests_all_purge.yml:20 Wednesday 06 July 2022 07:22:13 +0000 (0:00:00.057) 0:00:01.205 ******** changed: [/cache/centos-6.qcow2c.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/tmplusv0qgq/tests/selinux/tests_all_purge.yml:25 Wednesday 06 July 2022 07:22:13 +0000 (0:00:00.547) 0:00:01.753 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": "set -euo pipefail\necho -e -n \"boolean -m --on samba_enable_home_dirs\nport -a -p tcp -t ssh_port_t 22100\nfcontext -a -t user_home_dir_t /tmp/test_dir\nlogin -a -s staff_u sar-user\n\" | /usr/sbin/semanage -i -", "delta": "0:00:25.067593", "end": "2022-07-06 07:22:39.044573", "rc": 0, "start": "2022-07-06 07:22:13.976980" } TASK [Apply role with defaults, should not drop local modifications] *********** task path: /tmp/tmplusv0qgq/tests/selinux/tests_all_purge.yml:31 Wednesday 06 July 2022 07:22:39 +0000 (0:00:25.484) 0:00:27.237 ******** 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/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Wednesday 06 July 2022 07:22:39 +0000 (0:00:00.112) 0:00:27.350 ******** included: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/centos-6.qcow2c.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Wednesday 06 July 2022 07:22:39 +0000 (0:00:00.035) 0:00:27.385 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Wednesday 06 July 2022 07:22:39 +0000 (0:00:00.034) 0:00:27.420 ******** ok: [/cache/centos-6.qcow2c.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/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Wednesday 06 July 2022 07:22:40 +0000 (0:00:00.779) 0:00:28.200 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Wednesday 06 July 2022 07:22:40 +0000 (0:00:00.027) 0:00:28.227 ******** ok: [/cache/centos-6.qcow2c.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Wednesday 06 July 2022 07:22:41 +0000 (0:00:00.699) 0:00:28.926 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Wednesday 06 July 2022 07:22:41 +0000 (0:00:00.036) 0:00:28.963 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Wednesday 06 July 2022 07:22:41 +0000 (0:00:00.022) 0:00:28.986 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Wednesday 06 July 2022 07:22:41 +0000 (0:00:00.024) 0:00:29.010 ******** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Wednesday 06 July 2022 07:22:41 +0000 (0:00:00.051) 0:00:29.061 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:28 Wednesday 06 July 2022 07:22:41 +0000 (0:00:00.023) 0:00:29.084 ******** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Wednesday 06 July 2022 07:22:41 +0000 (0:00:00.023) 0:00:29.108 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Wednesday 06 July 2022 07:22:41 +0000 (0:00:00.036) 0:00:29.145 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 Wednesday 06 July 2022 07:22:41 +0000 (0:00:00.035) 0:00:29.180 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Wednesday 06 July 2022 07:22:41 +0000 (0:00:00.037) 0:00:29.218 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Wednesday 06 July 2022 07:22:41 +0000 (0:00:00.034) 0:00:29.252 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Wednesday 06 July 2022 07:22:41 +0000 (0:00:00.035) 0:00:29.288 ******** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Wednesday 06 July 2022 07:22:41 +0000 (0:00:00.021) 0:00:29.309 ******** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Wednesday 06 July 2022 07:22:41 +0000 (0:00:00.022) 0:00:29.331 ******** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:78 Wednesday 06 July 2022 07:22:41 +0000 (0:00:00.021) 0:00:29.353 ******** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 Wednesday 06 July 2022 07:22:41 +0000 (0:00:00.022) 0:00:29.376 ******** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 Wednesday 06 July 2022 07:22:41 +0000 (0:00:00.022) 0:00:29.399 ******** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Wednesday 06 July 2022 07:22:41 +0000 (0:00:00.021) 0:00:29.420 ******** ok: [/cache/centos-6.qcow2c.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/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Wednesday 06 July 2022 07:22:42 +0000 (0:00:01.209) 0:00:30.629 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmplusv0qgq/tests/selinux/set_selinux_variables.yml:2 Wednesday 06 July 2022 07:22:42 +0000 (0:00:00.050) 0:00:30.680 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmplusv0qgq/tests/selinux/set_selinux_variables.yml:8 Wednesday 06 July 2022 07:22:42 +0000 (0:00:00.037) 0:00:30.718 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "boolean", "-l", "-n", "-C" ], "delta": "0:00:02.559377", "end": "2022-07-06 07:22:45.405325", "rc": 0, "start": "2022-07-06 07:22:42.845948" } STDOUT: samba_enable_home_dirs (on , on) Allow samba to share users home directories. TASK [Get local modifications - port] ****************************************** task path: /tmp/tmplusv0qgq/tests/selinux/set_selinux_variables.yml:12 Wednesday 06 July 2022 07:22:45 +0000 (0:00:02.826) 0:00:33.544 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "port", "-l", "-n", "-C" ], "delta": "0:00:02.614730", "end": "2022-07-06 07:22:48.297897", "rc": 0, "start": "2022-07-06 07:22:45.683167" } STDOUT: ssh_port_t tcp 22100 TASK [Get local modifications - login] ***************************************** task path: /tmp/tmplusv0qgq/tests/selinux/set_selinux_variables.yml:16 Wednesday 06 July 2022 07:22:48 +0000 (0:00:02.893) 0:00:36.437 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "login", "-l", "-n", "-C" ], "delta": "0:00:02.426709", "end": "2022-07-06 07:22:51.043781", "rc": 0, "start": "2022-07-06 07:22:48.617072" } STDOUT: sar-user staff_u s0-s0:c0.c1023 TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmplusv0qgq/tests/selinux/set_selinux_variables.yml:20 Wednesday 06 July 2022 07:22:51 +0000 (0:00:02.745) 0:00:39.183 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "fcontext", "-l", "-n", "-C" ], "delta": "0:00:02.510043", "end": "2022-07-06 07:22:53.954815", "rc": 0, "start": "2022-07-06 07:22:51.444772" } 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/tmplusv0qgq/tests/selinux/tests_all_purge.yml:38 Wednesday 06 July 2022 07:22:54 +0000 (0:00:02.912) 0:00:42.095 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are not empty - port] *********************** task path: /tmp/tmplusv0qgq/tests/selinux/tests_all_purge.yml:41 Wednesday 06 July 2022 07:22:54 +0000 (0:00:00.048) 0:00:42.144 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are not empty - login] ********************** task path: /tmp/tmplusv0qgq/tests/selinux/tests_all_purge.yml:44 Wednesday 06 July 2022 07:22:54 +0000 (0:00:00.051) 0:00:42.195 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are not empty - fcontext] ******************* task path: /tmp/tmplusv0qgq/tests/selinux/tests_all_purge.yml:47 Wednesday 06 July 2022 07:22:54 +0000 (0:00:00.045) 0:00:42.241 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Apply the role to drop local modifications] ****************************** task path: /tmp/tmplusv0qgq/tests/selinux/tests_all_purge.yml:51 Wednesday 06 July 2022 07:22:54 +0000 (0:00:00.047) 0:00:42.289 ******** 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/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Wednesday 06 July 2022 07:22:54 +0000 (0:00:00.068) 0:00:42.358 ******** included: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/centos-6.qcow2c.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Wednesday 06 July 2022 07:22:54 +0000 (0:00:00.042) 0:00:42.401 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Wednesday 06 July 2022 07:22:54 +0000 (0:00:00.043) 0:00:42.444 ******** ok: [/cache/centos-6.qcow2c.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/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Wednesday 06 July 2022 07:22:55 +0000 (0:00:00.555) 0:00:42.999 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Wednesday 06 July 2022 07:22:55 +0000 (0:00:00.029) 0:00:43.029 ******** ok: [/cache/centos-6.qcow2c.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Wednesday 06 July 2022 07:22:55 +0000 (0:00:00.678) 0:00:43.707 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Wednesday 06 July 2022 07:22:55 +0000 (0:00:00.039) 0:00:43.747 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Wednesday 06 July 2022 07:22:55 +0000 (0:00:00.026) 0:00:43.774 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Wednesday 06 July 2022 07:22:56 +0000 (0:00:00.026) 0:00:43.801 ******** ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Wednesday 06 July 2022 07:22:56 +0000 (0:00:00.061) 0:00:43.862 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:28 Wednesday 06 July 2022 07:22:56 +0000 (0:00:00.032) 0:00:43.895 ******** skipping: [/cache/centos-6.qcow2c.snap] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Wednesday 06 July 2022 07:22:56 +0000 (0:00:00.028) 0:00:43.923 ******** NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for /cache/centos-6.qcow2c.snap NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for /cache/centos-6.qcow2c.snap changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:23.319993", "end": "2022-07-06 07:23:19.415908", "rc": 0, "start": "2022-07-06 07:22:56.095915" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Wednesday 06 July 2022 07:23:19 +0000 (0:00:23.674) 0:01:07.598 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 Wednesday 06 July 2022 07:23:19 +0000 (0:00:00.037) 0:01:07.636 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Wednesday 06 July 2022 07:23:19 +0000 (0:00:00.037) 0:01:07.673 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Wednesday 06 July 2022 07:23:19 +0000 (0:00:00.036) 0:01:07.710 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Wednesday 06 July 2022 07:23:19 +0000 (0:00:00.035) 0:01:07.746 ******** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Wednesday 06 July 2022 07:23:19 +0000 (0:00:00.025) 0:01:07.771 ******** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Wednesday 06 July 2022 07:23:20 +0000 (0:00:00.025) 0:01:07.797 ******** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:78 Wednesday 06 July 2022 07:23:20 +0000 (0:00:00.026) 0:01:07.823 ******** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 Wednesday 06 July 2022 07:23:20 +0000 (0:00:00.026) 0:01:07.850 ******** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 Wednesday 06 July 2022 07:23:20 +0000 (0:00:00.090) 0:01:07.941 ******** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Wednesday 06 July 2022 07:23:20 +0000 (0:00:00.025) 0:01:07.966 ******** ok: [/cache/centos-6.qcow2c.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/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Wednesday 06 July 2022 07:23:21 +0000 (0:00:01.110) 0:01:09.077 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmplusv0qgq/tests/selinux/set_selinux_variables.yml:2 Wednesday 06 July 2022 07:23:21 +0000 (0:00:00.051) 0:01:09.128 ******** skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmplusv0qgq/tests/selinux/set_selinux_variables.yml:8 Wednesday 06 July 2022 07:23:21 +0000 (0:00:00.036) 0:01:09.165 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "boolean", "-l", "-n", "-C" ], "delta": "0:00:02.721733", "end": "2022-07-06 07:23:24.022157", "rc": 0, "start": "2022-07-06 07:23:21.300424" } TASK [Get local modifications - port] ****************************************** task path: /tmp/tmplusv0qgq/tests/selinux/set_selinux_variables.yml:12 Wednesday 06 July 2022 07:23:24 +0000 (0:00:02.997) 0:01:12.163 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "port", "-l", "-n", "-C" ], "delta": "0:00:02.715449", "end": "2022-07-06 07:23:27.014629", "rc": 0, "start": "2022-07-06 07:23:24.299180" } TASK [Get local modifications - login] ***************************************** task path: /tmp/tmplusv0qgq/tests/selinux/set_selinux_variables.yml:16 Wednesday 06 July 2022 07:23:27 +0000 (0:00:02.992) 0:01:15.155 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "login", "-l", "-n", "-C" ], "delta": "0:00:02.690883", "end": "2022-07-06 07:23:29.993073", "rc": 0, "start": "2022-07-06 07:23:27.302190" } TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmplusv0qgq/tests/selinux/set_selinux_variables.yml:20 Wednesday 06 July 2022 07:23:30 +0000 (0:00:02.978) 0:01:18.134 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "fcontext", "-l", "-n", "-C" ], "delta": "0:00:03.045389", "end": "2022-07-06 07:23:33.300649", "rc": 0, "start": "2022-07-06 07:23:30.255260" } TASK [Check if local modifications are empty - booleans] *********************** task path: /tmp/tmplusv0qgq/tests/selinux/tests_all_purge.yml:60 Wednesday 06 July 2022 07:23:33 +0000 (0:00:03.309) 0:01:21.444 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are empty - port] *************************** task path: /tmp/tmplusv0qgq/tests/selinux/tests_all_purge.yml:63 Wednesday 06 July 2022 07:23:33 +0000 (0:00:00.047) 0:01:21.491 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are empty - login] ************************** task path: /tmp/tmplusv0qgq/tests/selinux/tests_all_purge.yml:66 Wednesday 06 July 2022 07:23:33 +0000 (0:00:00.071) 0:01:21.563 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are empty - fcontext] *********************** task path: /tmp/tmplusv0qgq/tests/selinux/tests_all_purge.yml:69 Wednesday 06 July 2022 07:23:33 +0000 (0:00:00.098) 0:01:21.661 ******** ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Remove Linux System Roles SELinux User] ********************************** task path: /tmp/tmplusv0qgq/tests/selinux/tests_all_purge.yml:73 Wednesday 06 July 2022 07:23:33 +0000 (0:00:00.047) 0:01:21.709 ******** changed: [/cache/centos-6.qcow2c.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/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:1 Wednesday 06 July 2022 07:23:34 +0000 (0:00:00.449) 0:01:22.159 ******** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:02.223592", "end": "2022-07-06 07:23:36.552782", "rc": 0, "start": "2022-07-06 07:23:34.329190" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:1 Wednesday 06 July 2022 07:23:36 +0000 (0:00:02.567) 0:01:24.726 ******** changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:02.201879", "end": "2022-07-06 07:23:39.161546", "rc": 0, "start": "2022-07-06 07:23:36.959667" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=33 changed=5 unreachable=0 failed=0 skipped=40 rescued=0 ignored=0 Wednesday 06 July 2022 07:23:39 +0000 (0:00:02.618) 0:01:27.344 ******** =============================================================================== Add some mapping ------------------------------------------------------- 25.48s /tmp/tmplusv0qgq/tests/selinux/tests_all_purge.yml:25 ------------------------- fedora.linux_system_roles.selinux : Drop all local modifications ------- 23.67s /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Get local modifications - fcontext -------------------------------------- 3.31s /tmp/tmplusv0qgq/tests/selinux/set_selinux_variables.yml:20 ------------------- Get local modifications - boolean --------------------------------------- 3.00s /tmp/tmplusv0qgq/tests/selinux/set_selinux_variables.yml:8 -------------------- Get local modifications - port ------------------------------------------ 2.99s /tmp/tmplusv0qgq/tests/selinux/set_selinux_variables.yml:12 ------------------- Get local modifications - login ----------------------------------------- 2.98s /tmp/tmplusv0qgq/tests/selinux/set_selinux_variables.yml:16 ------------------- Get local modifications - fcontext -------------------------------------- 2.91s /tmp/tmplusv0qgq/tests/selinux/set_selinux_variables.yml:20 ------------------- Get local modifications - port ------------------------------------------ 2.89s /tmp/tmplusv0qgq/tests/selinux/set_selinux_variables.yml:12 ------------------- Get local modifications - boolean --------------------------------------- 2.83s /tmp/tmplusv0qgq/tests/selinux/set_selinux_variables.yml:8 -------------------- Get local modifications - login ----------------------------------------- 2.75s /tmp/tmplusv0qgq/tests/selinux/set_selinux_variables.yml:16 ------------------- fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.62s /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:1 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.57s /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:1 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 1.21s /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Gathering Facts --------------------------------------------------------- 1.13s /tmp/tmplusv0qgq/tests/selinux/tests_all_purge.yml:1 -------------------------- fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 1.11s /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.78s /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 fedora.linux_system_roles.selinux : refresh facts ----------------------- 0.70s /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 fedora.linux_system_roles.selinux : refresh facts ----------------------- 0.68s /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.56s /tmp/tmp5i68utq7/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Add a Linux System Roles SELinux User ----------------------------------- 0.55s /tmp/tmplusv0qgq/tests/selinux/tests_all_purge.yml:20 -------------------------