ansible-galaxy [core 2.12.4] 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 = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-galaxy python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Starting galaxy collection install process [WARNING]: The specified collections path '/tmp/tmpt6yp2lym' is not part of the configured Ansible collections paths '/root/.ansible/collections:/usr/share/ansible/collections'. The installed collection won't be picked up in an Ansible run. [WARNING]: Collection at '/tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles' does not have a MANIFEST.json file, nor has it galaxy.yml: cannot detect version. Process install dependency map Starting collection install process Downloading https://galaxy.ansible.com/download/ansible-posix-1.3.0.tar.gz to /root/.ansible/tmp/ansible-local-2199569b28xq1g/tmpdivuxjgj/ansible-posix-1.3.0-twn88c59 Installing 'ansible.posix:1.3.0' to '/tmp/tmpt6yp2lym/ansible_collections/ansible/posix' ansible.posix:1.3.0 was installed successfully Downloading https://galaxy.ansible.com/download/community-general-4.8.0.tar.gz to /root/.ansible/tmp/ansible-local-2199569b28xq1g/tmpdivuxjgj/community-general-4.8.0-jzrn4mt1 Installing 'community.general:4.8.0' to '/tmp/tmpt6yp2lym/ansible_collections/community/general' community.general:4.8.0 was installed successfully Formatting '/cache/fedora-34.qcow2.snap', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=4294967296 backing_file=/cache/fedora-34.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16 ansible-playbook [core 2.12.4] 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/tmpt6yp2lym executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] 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: fedora-34_setup.yml ************************************************** 1 plays in /cache/fedora-34_setup.yml PLAY [Set up host for test playbooks] ****************************************** TASK [Gathering Facts] ********************************************************* task path: /cache/fedora-34_setup.yml:1 Friday 06 May 2022 16:46:19 +0000 (0:00:00.009) 0:00:00.009 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [Create EPEL 34 repo] ***************************************************** task path: /cache/fedora-34_setup.yml:5 Friday 06 May 2022 16:46:20 +0000 (0:00:01.174) 0:00:01.183 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Create yum cache] ******************************************************** task path: /cache/fedora-34_setup.yml:15 Friday 06 May 2022 16:46:20 +0000 (0:00:00.016) 0:00:01.199 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Create dnf cache] ******************************************************** task path: /cache/fedora-34_setup.yml:21 Friday 06 May 2022 16:46:20 +0000 (0:00:00.015) 0:00:01.215 ************ changed: [/cache/fedora-34.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Disable EPEL 7] ********************************************************** task path: /cache/fedora-34_setup.yml:27 Friday 06 May 2022 16:47:06 +0000 (0:00:46.186) 0:00:47.402 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Disable EPEL 8] ********************************************************** task path: /cache/fedora-34_setup.yml:35 Friday 06 May 2022 16:47:06 +0000 (0:00:00.021) 0:00:47.423 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=2 changed=1 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Friday 06 May 2022 16:47:06 +0000 (0:00:00.020) 0:00:47.444 ************ =============================================================================== Create dnf cache ------------------------------------------------------- 46.19s /cache/fedora-34_setup.yml:21 ------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.17s /cache/fedora-34_setup.yml:1 -------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/fedora-34_setup.yml:27 ------------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.02s /cache/fedora-34_setup.yml:35 ------------------------------------------------- Create EPEL 34 repo ----------------------------------------------------- 0.02s /cache/fedora-34_setup.yml:5 -------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/fedora-34_setup.yml:15 ------------------------------------------------- PLAYBOOK: setup-snapshot.yml *************************************************** 1 plays in /tmp/tmpgklozic4/tests/setup-snapshot.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpgklozic4/tests/setup-snapshot.yml:1 Friday 06 May 2022 16:47:06 +0000 (0:00:00.012) 0:00:47.456 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [Set ansible_facts and install packages] ********************************** task path: /tmp/tmpgklozic4/tests/setup-snapshot.yml:3 Friday 06 May 2022 16:47:07 +0000 (0:00:00.752) 0:00:48.209 ************ TASK [linux-system-roles.selinux : Ensure ansible_facts used by role] ********** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:47:07 +0000 (0:00:00.025) 0:00:48.234 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Friday 06 May 2022 16:47:07 +0000 (0:00:00.488) 0:00:48.723 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Friday 06 May 2022 16:47:07 +0000 (0:00:00.019) 0:00:48.742 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 Friday 06 May 2022 16:47:10 +0000 (0:00:02.389) 0:00:51.132 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:29 Friday 06 May 2022 16:47:10 +0000 (0:00:00.026) 0:00:51.158 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: policycoreutils-python-utils-3.2-1.fc34.noarch" ] } META: role_complete for /cache/fedora-34.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=6 changed=2 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Friday 06 May 2022 16:47:12 +0000 (0:00:02.514) 0:00:53.673 ************ =============================================================================== Create dnf cache ------------------------------------------------------- 46.19s /cache/fedora-34_setup.yml:21 ------------------------------------------------- linux-system-roles.selinux : Install SELinux tool semanage -------------- 2.51s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:29 linux-system-roles.selinux : Install SELinux python3 tools -------------- 2.39s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Gathering Facts --------------------------------------------------------- 1.17s /cache/fedora-34_setup.yml:1 -------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.75s /tmp/tmpgklozic4/tests/setup-snapshot.yml:1 ----------------------------------- linux-system-roles.selinux : Ensure ansible_facts used by role ---------- 0.49s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 linux-system-roles.selinux : refresh facts ------------------------------ 0.03s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 Set ansible_facts and install packages ---------------------------------- 0.03s /tmp/tmpgklozic4/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/fedora-34_setup.yml:27 ------------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.02s /cache/fedora-34_setup.yml:35 ------------------------------------------------- linux-system-roles.selinux : Install SELinux python2 tools -------------- 0.02s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Create EPEL 34 repo ----------------------------------------------------- 0.02s /cache/fedora-34_setup.yml:5 -------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/fedora-34_setup.yml:15 ------------------------------------------------- PLAYBOOK: fedora-34_post_setup.yml ********************************************* 1 plays in /cache/fedora-34_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/fedora-34_post_setup.yml:5 Friday 06 May 2022 16:47:12 +0000 (0:00:00.011) 0:00:53.685 ************ changed: [/cache/fedora-34.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [shutdown guest] ********************************************************** task path: /cache/fedora-34_post_setup.yml:8 Friday 06 May 2022 16:47:13 +0000 (0:00:00.425) 0:00:54.110 ************ changed: [/cache/fedora-34.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=8 changed=4 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Friday 06 May 2022 16:47:13 +0000 (0:00:00.512) 0:00:54.622 ************ =============================================================================== Create dnf cache ------------------------------------------------------- 46.19s /cache/fedora-34_setup.yml:21 ------------------------------------------------- linux-system-roles.selinux : Install SELinux tool semanage -------------- 2.51s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:29 linux-system-roles.selinux : Install SELinux python3 tools -------------- 2.39s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Gathering Facts --------------------------------------------------------- 1.17s /cache/fedora-34_setup.yml:1 -------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.75s /tmp/tmpgklozic4/tests/setup-snapshot.yml:1 ----------------------------------- shutdown guest ---------------------------------------------------------- 0.51s /cache/fedora-34_post_setup.yml:8 --------------------------------------------- linux-system-roles.selinux : Ensure ansible_facts used by role ---------- 0.49s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 force sync of filesystems - ensure setup changes are made to snapshot --- 0.43s /cache/fedora-34_post_setup.yml:5 --------------------------------------------- linux-system-roles.selinux : refresh facts ------------------------------ 0.03s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 Set ansible_facts and install packages ---------------------------------- 0.03s /tmp/tmpgklozic4/tests/setup-snapshot.yml:3 ----------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/fedora-34_setup.yml:27 ------------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.02s /cache/fedora-34_setup.yml:35 ------------------------------------------------- linux-system-roles.selinux : Install SELinux python2 tools -------------- 0.02s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Create EPEL 34 repo ----------------------------------------------------- 0.02s /cache/fedora-34_setup.yml:5 -------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/fedora-34_setup.yml:15 ------------------------------------------------- ansible-playbook [core 2.12.4] 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/tmpt6yp2lym executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file statically imported: /tmp/tmpgklozic4/tests/set_selinux_variables.yml statically imported: /tmp/tmpgklozic4/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/tmpgklozic4/tests/tests_all_purge.yml PLAY [Test that selinux_all_purge drops local modifications, defaults to no] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpgklozic4/tests/tests_all_purge.yml:1 Friday 06 May 2022 16:47:55 +0000 (0:00:00.009) 0:00:00.009 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmpgklozic4/tests/tests_all_purge.yml:12 Friday 06 May 2022 16:47:56 +0000 (0:00:01.123) 0:00:01.132 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Add a Linux System Roles SELinux User] *********************************** task path: /tmp/tmpgklozic4/tests/tests_all_purge.yml:21 Friday 06 May 2022 16:47:59 +0000 (0:00:02.677) 0:00:03.810 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "comment": "Linux System Roles SELinux User", "create_home": true, "group": 1001, "home": "/home/sar-user", "name": "sar-user", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1001 } TASK [Add some mapping] ******************************************************** task path: /tmp/tmpgklozic4/tests/tests_all_purge.yml:26 Friday 06 May 2022 16:48:00 +0000 (0:00:00.862) 0:00:04.673 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\necho -e -n \"boolean -m --on samba_enable_home_dirs\nport -a -p tcp -t ssh_port_t 22100\nfcontext -a -t user_home_dir_t /tmp/test_dir\nlogin -a -s staff_u sar-user\n\" | /usr/sbin/semanage -i -", "delta": "0:00:08.871733", "end": "2022-05-06 16:48:08.367172", "rc": 0, "start": "2022-05-06 16:47:59.495439" } TASK [Apply role with defaults, should not drop local modifications] *********** task path: /tmp/tmpgklozic4/tests/tests_all_purge.yml:32 Friday 06 May 2022 16:48:09 +0000 (0:00:09.365) 0:00:14.038 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [linux-system-roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 Friday 06 May 2022 16:48:09 +0000 (0:00:00.052) 0:00:14.091 ************ included: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.selinux : Ensure ansible_facts used by role] ********** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:48:09 +0000 (0:00:00.022) 0:00:14.113 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Friday 06 May 2022 16:48:09 +0000 (0:00:00.485) 0:00:14.599 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Friday 06 May 2022 16:48:09 +0000 (0:00:00.020) 0:00:14.619 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 Friday 06 May 2022 16:48:12 +0000 (0:00:02.295) 0:00:16.914 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:29 Friday 06 May 2022 16:48:13 +0000 (0:00:00.739) 0:00:17.654 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:5 Friday 06 May 2022 16:48:14 +0000 (0:00:01.962) 0:00:19.617 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:13 Friday 06 May 2022 16:48:15 +0000 (0:00:00.020) 0:00:19.637 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set selinux_reboot_required] **************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:20 Friday 06 May 2022 16:48:15 +0000 (0:00:00.017) 0:00:19.654 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:26 Friday 06 May 2022 16:48:15 +0000 (0:00:00.033) 0:00:19.687 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:31 Friday 06 May 2022 16:48:15 +0000 (0:00:00.016) 0:00:19.704 ************ skipping: [/cache/fedora-34.qcow2.snap] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:36 Friday 06 May 2022 16:48:15 +0000 (0:00:00.018) 0:00:19.723 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:43 Friday 06 May 2022 16:48:15 +0000 (0:00:00.030) 0:00:19.754 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:47 Friday 06 May 2022 16:48:15 +0000 (0:00:00.030) 0:00:19.784 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:51 Friday 06 May 2022 16:48:15 +0000 (0:00:00.028) 0:00:19.813 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:55 Friday 06 May 2022 16:48:15 +0000 (0:00:00.027) 0:00:19.840 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:59 Friday 06 May 2022 16:48:15 +0000 (0:00:00.034) 0:00:19.875 ************ TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:66 Friday 06 May 2022 16:48:15 +0000 (0:00:00.015) 0:00:19.891 ************ TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:75 Friday 06 May 2022 16:48:15 +0000 (0:00:00.015) 0:00:19.906 ************ TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:81 Friday 06 May 2022 16:48:15 +0000 (0:00:00.015) 0:00:19.921 ************ TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:89 Friday 06 May 2022 16:48:15 +0000 (0:00:00.017) 0:00:19.939 ************ TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:97 Friday 06 May 2022 16:48:15 +0000 (0:00:00.016) 0:00:19.955 ************ TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:107 Friday 06 May 2022 16:48:15 +0000 (0:00:00.015) 0:00:19.971 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:110 Friday 06 May 2022 16:48:15 +0000 (0:00:00.526) 0:00:20.497 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmpgklozic4/tests/set_selinux_variables.yml:2 Friday 06 May 2022 16:48:15 +0000 (0:00:00.077) 0:00:20.575 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmpgklozic4/tests/set_selinux_variables.yml:10 Friday 06 May 2022 16:48:17 +0000 (0:00:02.007) 0:00:22.582 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "boolean", "-l", "-n", "-C" ], "delta": "0:00:00.241617", "end": "2022-05-06 16:48:17.512620", "rc": 0, "start": "2022-05-06 16:48:17.271003" } STDOUT: samba_enable_home_dirs (on , on) Allow samba to enable home dirs TASK [Get local modifications - port] ****************************************** task path: /tmp/tmpgklozic4/tests/set_selinux_variables.yml:14 Friday 06 May 2022 16:48:18 +0000 (0:00:00.583) 0:00:23.165 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "port", "-l", "-n", "-C" ], "delta": "0:00:00.275447", "end": "2022-05-06 16:48:18.139173", "rc": 0, "start": "2022-05-06 16:48:17.863726" } STDOUT: ssh_port_t tcp 22100 TASK [Get local modifications - login] ***************************************** task path: /tmp/tmpgklozic4/tests/set_selinux_variables.yml:18 Friday 06 May 2022 16:48:19 +0000 (0:00:00.626) 0:00:23.792 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "login", "-l", "-n", "-C" ], "delta": "0:00:00.230475", "end": "2022-05-06 16:48:18.709061", "rc": 0, "start": "2022-05-06 16:48:18.478586" } STDOUT: sar-user staff_u s0-s0:c0.c1023 * TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmpgklozic4/tests/set_selinux_variables.yml:22 Friday 06 May 2022 16:48:19 +0000 (0:00:00.569) 0:00:24.362 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "fcontext", "-l", "-n", "-C" ], "delta": "0:00:00.282698", "end": "2022-05-06 16:48:19.337230", "rc": 0, "start": "2022-05-06 16:48:19.054532" } 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/tmpgklozic4/tests/tests_all_purge.yml:39 Friday 06 May 2022 16:48:20 +0000 (0:00:00.630) 0:00:24.993 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are not empty - port] *********************** task path: /tmp/tmpgklozic4/tests/tests_all_purge.yml:42 Friday 06 May 2022 16:48:20 +0000 (0:00:00.036) 0:00:25.030 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are not empty - login] ********************** task path: /tmp/tmpgklozic4/tests/tests_all_purge.yml:45 Friday 06 May 2022 16:48:20 +0000 (0:00:00.037) 0:00:25.068 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are not empty - fcontext] ******************* task path: /tmp/tmpgklozic4/tests/tests_all_purge.yml:48 Friday 06 May 2022 16:48:20 +0000 (0:00:00.035) 0:00:25.104 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Apply the role to drop local modifications] ****************************** task path: /tmp/tmpgklozic4/tests/tests_all_purge.yml:52 Friday 06 May 2022 16:48:20 +0000 (0:00:00.036) 0:00:25.140 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [linux-system-roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 Friday 06 May 2022 16:48:20 +0000 (0:00:00.054) 0:00:25.194 ************ included: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.selinux : Ensure ansible_facts used by role] ********** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:48:20 +0000 (0:00:00.069) 0:00:25.264 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Friday 06 May 2022 16:48:21 +0000 (0:00:00.512) 0:00:25.776 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Friday 06 May 2022 16:48:21 +0000 (0:00:00.027) 0:00:25.804 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.selinux : refresh facts] ****************************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 Friday 06 May 2022 16:48:23 +0000 (0:00:02.064) 0:00:27.868 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.selinux : Install SELinux tool semanage] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:29 Friday 06 May 2022 16:48:23 +0000 (0:00:00.761) 0:00:28.629 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.selinux : Set permanent SELinux state if enabled] ***** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:5 Friday 06 May 2022 16:48:26 +0000 (0:00:02.183) 0:00:30.813 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set permanent SELinux state if disabled] **** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:13 Friday 06 May 2022 16:48:26 +0000 (0:00:00.022) 0:00:30.836 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set selinux_reboot_required] **************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:20 Friday 06 May 2022 16:48:26 +0000 (0:00:00.021) 0:00:30.857 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [linux-system-roles.selinux : Fail if reboot is required] ***************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:26 Friday 06 May 2022 16:48:26 +0000 (0:00:00.042) 0:00:30.900 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Warn if SELinux is disabled] **************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:31 Friday 06 May 2022 16:48:26 +0000 (0:00:00.024) 0:00:30.925 ************ skipping: [/cache/fedora-34.qcow2.snap] => {} TASK [linux-system-roles.selinux : Drop all local modifications] *************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:36 Friday 06 May 2022 16:48:26 +0000 (0:00:00.021) 0:00:30.946 ************ NOTIFIED HANDLER linux-system-roles.selinux : Reload SELinux policy for /cache/fedora-34.qcow2.snap NOTIFIED HANDLER linux-system-roles.selinux : Reload SELinux policy for /cache/fedora-34.qcow2.snap changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:01.074466", "end": "2022-05-06 16:48:26.768313", "rc": 0, "start": "2022-05-06 16:48:25.693847" } TASK [linux-system-roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:43 Friday 06 May 2022 16:48:27 +0000 (0:00:01.483) 0:00:32.429 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:47 Friday 06 May 2022 16:48:27 +0000 (0:00:00.035) 0:00:32.465 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:51 Friday 06 May 2022 16:48:27 +0000 (0:00:00.035) 0:00:32.501 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:55 Friday 06 May 2022 16:48:27 +0000 (0:00:00.034) 0:00:32.535 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Set SELinux booleans] *********************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:59 Friday 06 May 2022 16:48:27 +0000 (0:00:00.034) 0:00:32.569 ************ TASK [linux-system-roles.selinux : Set SELinux file contexts] ****************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:66 Friday 06 May 2022 16:48:27 +0000 (0:00:00.021) 0:00:32.591 ************ TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:75 Friday 06 May 2022 16:48:27 +0000 (0:00:00.021) 0:00:32.612 ************ TASK [linux-system-roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:81 Friday 06 May 2022 16:48:27 +0000 (0:00:00.020) 0:00:32.633 ************ TASK [linux-system-roles.selinux : Set an SELinux label on a port] ************* task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:89 Friday 06 May 2022 16:48:28 +0000 (0:00:00.020) 0:00:32.653 ************ TASK [linux-system-roles.selinux : Set linux user to SELinux user mapping] ***** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:97 Friday 06 May 2022 16:48:28 +0000 (0:00:00.021) 0:00:32.675 ************ TASK [linux-system-roles.selinux : Get SELinux modules facts] ****************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:107 Friday 06 May 2022 16:48:28 +0000 (0:00:00.021) 0:00:32.697 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [linux-system-roles.selinux : include_tasks] ****************************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:110 Friday 06 May 2022 16:48:28 +0000 (0:00:00.431) 0:00:33.128 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmpgklozic4/tests/set_selinux_variables.yml:2 Friday 06 May 2022 16:48:28 +0000 (0:00:00.046) 0:00:33.175 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmpgklozic4/tests/set_selinux_variables.yml:10 Friday 06 May 2022 16:48:30 +0000 (0:00:02.117) 0:00:35.293 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "boolean", "-l", "-n", "-C" ], "delta": "0:00:00.238569", "end": "2022-05-06 16:48:30.243422", "rc": 0, "start": "2022-05-06 16:48:30.004853" } TASK [Get local modifications - port] ****************************************** task path: /tmp/tmpgklozic4/tests/set_selinux_variables.yml:14 Friday 06 May 2022 16:48:31 +0000 (0:00:00.607) 0:00:35.901 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "port", "-l", "-n", "-C" ], "delta": "0:00:00.280621", "end": "2022-05-06 16:48:30.890010", "rc": 0, "start": "2022-05-06 16:48:30.609389" } TASK [Get local modifications - login] ***************************************** task path: /tmp/tmpgklozic4/tests/set_selinux_variables.yml:18 Friday 06 May 2022 16:48:31 +0000 (0:00:00.649) 0:00:36.550 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "login", "-l", "-n", "-C" ], "delta": "0:00:00.230330", "end": "2022-05-06 16:48:31.478687", "rc": 0, "start": "2022-05-06 16:48:31.248357" } TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmpgklozic4/tests/set_selinux_variables.yml:22 Friday 06 May 2022 16:48:32 +0000 (0:00:00.587) 0:00:37.137 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "fcontext", "-l", "-n", "-C" ], "delta": "0:00:00.282516", "end": "2022-05-06 16:48:32.130389", "rc": 0, "start": "2022-05-06 16:48:31.847873" } TASK [Check if local modifications are empty - booleans] *********************** task path: /tmp/tmpgklozic4/tests/tests_all_purge.yml:61 Friday 06 May 2022 16:48:33 +0000 (0:00:00.651) 0:00:37.789 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are empty - port] *************************** task path: /tmp/tmpgklozic4/tests/tests_all_purge.yml:64 Friday 06 May 2022 16:48:33 +0000 (0:00:00.035) 0:00:37.824 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are empty - login] ************************** task path: /tmp/tmpgklozic4/tests/tests_all_purge.yml:67 Friday 06 May 2022 16:48:33 +0000 (0:00:00.043) 0:00:37.868 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check if local modifications are empty - fcontext] *********************** task path: /tmp/tmpgklozic4/tests/tests_all_purge.yml:70 Friday 06 May 2022 16:48:33 +0000 (0:00:00.040) 0:00:37.909 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Remove Linux System Roles SELinux User] ********************************** task path: /tmp/tmpgklozic4/tests/tests_all_purge.yml:74 Friday 06 May 2022 16:48:33 +0000 (0:00:00.041) 0:00:37.950 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "force": false, "name": "sar-user", "remove": true, "state": "absent" } RUNNING HANDLER [linux-system-roles.selinux : Reload SELinux policy] *********** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/handlers/main.yml:1 Friday 06 May 2022 16:48:33 +0000 (0:00:00.676) 0:00:38.627 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:00.070074", "end": "2022-05-06 16:48:33.405576", "rc": 0, "start": "2022-05-06 16:48:33.335502" } RUNNING HANDLER [linux-system-roles.selinux : Reload SELinux policy] *********** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/handlers/main.yml:1 Friday 06 May 2022 16:48:34 +0000 (0:00:00.427) 0:00:39.055 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:00.072663", "end": "2022-05-06 16:48:33.848145", "rc": 0, "start": "2022-05-06 16:48:33.775482" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=40 changed=5 unreachable=0 failed=0 skipped=33 rescued=0 ignored=0 Friday 06 May 2022 16:48:34 +0000 (0:00:00.454) 0:00:39.509 ************ =============================================================================== Add some mapping -------------------------------------------------------- 9.37s /tmp/tmpgklozic4/tests/tests_all_purge.yml:26 --------------------------------- Ensure SELinux tool semanage -------------------------------------------- 2.68s /tmp/tmpgklozic4/tests/tests_all_purge.yml:12 --------------------------------- linux-system-roles.selinux : Install SELinux python3 tools -------------- 2.30s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 linux-system-roles.selinux : Install SELinux tool semanage -------------- 2.18s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:29 Ensure SELinux tool semanage -------------------------------------------- 2.12s /tmp/tmpgklozic4/tests/set_selinux_variables.yml:2 ---------------------------- linux-system-roles.selinux : Install SELinux python3 tools -------------- 2.06s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Ensure SELinux tool semanage -------------------------------------------- 2.01s /tmp/tmpgklozic4/tests/set_selinux_variables.yml:2 ---------------------------- linux-system-roles.selinux : Install SELinux tool semanage -------------- 1.96s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:29 linux-system-roles.selinux : Drop all local modifications --------------- 1.48s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:36 ----- Gathering Facts --------------------------------------------------------- 1.12s /tmp/tmpgklozic4/tests/tests_all_purge.yml:1 ---------------------------------- Add a Linux System Roles SELinux User ----------------------------------- 0.86s /tmp/tmpgklozic4/tests/tests_all_purge.yml:21 --------------------------------- linux-system-roles.selinux : refresh facts ------------------------------ 0.76s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 linux-system-roles.selinux : refresh facts ------------------------------ 0.74s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:24 Remove Linux System Roles SELinux User ---------------------------------- 0.68s /tmp/tmpgklozic4/tests/tests_all_purge.yml:74 --------------------------------- Get local modifications - fcontext -------------------------------------- 0.65s /tmp/tmpgklozic4/tests/set_selinux_variables.yml:22 --------------------------- Get local modifications - port ------------------------------------------ 0.65s /tmp/tmpgklozic4/tests/set_selinux_variables.yml:14 --------------------------- Get local modifications - fcontext -------------------------------------- 0.63s /tmp/tmpgklozic4/tests/set_selinux_variables.yml:22 --------------------------- Get local modifications - port ------------------------------------------ 0.63s /tmp/tmpgklozic4/tests/set_selinux_variables.yml:14 --------------------------- Get local modifications - boolean --------------------------------------- 0.61s /tmp/tmpgklozic4/tests/set_selinux_variables.yml:10 --------------------------- Get local modifications - login ----------------------------------------- 0.59s /tmp/tmpgklozic4/tests/set_selinux_variables.yml:18 --------------------------- ansible-galaxy [core 2.12.4] 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 = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-galaxy python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Starting galaxy collection install process [WARNING]: The specified collections path '/tmp/tmpt6yp2lym' is not part of the configured Ansible collections paths '/root/.ansible/collections:/usr/share/ansible/collections'. The installed collection won't be picked up in an Ansible run. [WARNING]: Collection at '/tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles' does not have a MANIFEST.json file, nor has it galaxy.yml: cannot detect version. Nothing to do. All requested collections are already installed. If you want to reinstall them, consider using `--force`. ansible-playbook [core 2.12.4] 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/tmpt6yp2lym executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_all_transitions.yml ******************************************** 1 plays in /tmp/tmpgklozic4/tests/tests_all_transitions.yml PLAY [Test all the possible selinux_state transitions] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpgklozic4/tests/tests_all_transitions.yml:1 Friday 06 May 2022 16:48:46 +0000 (0:00:00.028) 0:00:00.028 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [save config] ************************************************************* task path: /tmp/tmpgklozic4/tests/tests_all_transitions.yml:13 Friday 06 May 2022 16:48:47 +0000 (0:00:01.145) 0:00:01.173 ************ included: /tmp/tmpgklozic4/tests/selinux_config_save.yml for /cache/fedora-34.qcow2.snap TASK [Backup original /etc/selinux/config] ************************************* task path: /tmp/tmpgklozic4/tests/selinux_config_save.yml:1 Friday 06 May 2022 16:48:47 +0000 (0:00:00.019) 0:00:01.193 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "fe28c32d576c2b84ba06b17892b705cb1f5f2514", "dest": "/etc/selinux/config.test_selinux_save", "gid": 0, "group": "root", "md5sum": "1e5bcf0ec876d9ee86a4693dce912d28", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:selinux_config_t:s0", "size": 1187, "src": "/etc/selinux/config", "state": "file", "uid": 0 } TASK [test all the possible state transitions] ********************************* task path: /tmp/tmpgklozic4/tests/tests_all_transitions.yml:16 Friday 06 May 2022 16:48:47 +0000 (0:00:00.514) 0:00:01.707 ************ included: /tmp/tmpgklozic4/tests/selinux_test_transitions.yml for /cache/fedora-34.qcow2.snap => (item=['permissive', 'permissive']) included: /tmp/tmpgklozic4/tests/selinux_test_transitions.yml for /cache/fedora-34.qcow2.snap => (item=['permissive', 'enforcing']) included: /tmp/tmpgklozic4/tests/selinux_test_transitions.yml for /cache/fedora-34.qcow2.snap => (item=['permissive', 'disabled']) included: /tmp/tmpgklozic4/tests/selinux_test_transitions.yml for /cache/fedora-34.qcow2.snap => (item=['enforcing', 'permissive']) included: /tmp/tmpgklozic4/tests/selinux_test_transitions.yml for /cache/fedora-34.qcow2.snap => (item=['enforcing', 'enforcing']) included: /tmp/tmpgklozic4/tests/selinux_test_transitions.yml for /cache/fedora-34.qcow2.snap => (item=['enforcing', 'disabled']) included: /tmp/tmpgklozic4/tests/selinux_test_transitions.yml for /cache/fedora-34.qcow2.snap => (item=['disabled', 'permissive']) included: /tmp/tmpgklozic4/tests/selinux_test_transitions.yml for /cache/fedora-34.qcow2.snap => (item=['disabled', 'enforcing']) included: /tmp/tmpgklozic4/tests/selinux_test_transitions.yml for /cache/fedora-34.qcow2.snap => (item=['disabled', 'disabled']) TASK [display transition name] ************************************************* task path: /tmp/tmpgklozic4/tests/selinux_test_transitions.yml:1 Friday 06 May 2022 16:48:47 +0000 (0:00:00.082) 0:00:01.790 ************ ok: [/cache/fedora-34.qcow2.snap] => {} MSG: testing transition permissive -> permissive TASK [setup the initial state] ************************************************* task path: /tmp/tmpgklozic4/tests/selinux_test_transitions.yml:6 Friday 06 May 2022 16:48:47 +0000 (0:00:00.021) 0:00:01.811 ************ included: /tmp/tmpgklozic4/tests/selinux_apply_reboot.yml for /cache/fedora-34.qcow2.snap TASK [include_role : linux-system-roles.selinux] ******************************* task path: /tmp/tmpgklozic4/tests/selinux_apply_reboot.yml:3 Friday 06 May 2022 16:48:47 +0000 (0:00:00.022) 0:00:01.834 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [linux-system-roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 Friday 06 May 2022 16:48:47 +0000 (0:00:00.048) 0:00:01.882 ************ included: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.selinux : Ensure ansible_facts used by role] ********** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:48:48 +0000 (0:00:00.027) 0:00:01.910 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Friday 06 May 2022 16:48:48 +0000 (0:00:00.517) 0:00:02.427 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Friday 06 May 2022 16:48:48 +0000 (0:00:00.022) 0:00:02.449 ************ An exception occurred during task execution. To see the full traceback, use -vvv. The error was: Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => { "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDOUT: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 98, in _try_lock old_pid = int(old_pid) ValueError: invalid literal for int() with base 10: b'\x00\x00\x00\x00' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/.ansible/tmp/ansible-tmp-1651855728.60082-220971-262103818723823/AnsiballZ_dnf.py", line 107, in _ansiballz_main() File "/root/.ansible/tmp/ansible-tmp-1651855728.60082-220971-262103818723823/AnsiballZ_dnf.py", line 99, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "/root/.ansible/tmp/ansible-tmp-1651855728.60082-220971-262103818723823/AnsiballZ_dnf.py", line 47, in invoke_module runpy.run_module(mod_name='ansible.modules.dnf', init_globals=dict(_module_fqn='ansible.modules.dnf', _modlib_path=modlib_path), File "/usr/lib64/python3.9/runpy.py", line 210, in run_module return _run_module_code(code, init_globals, run_name, mod_spec) File "/usr/lib64/python3.9/runpy.py", line 97, in _run_module_code _run_code(code, mod_globals, init_globals, File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/tmp/ansible_ansible.legacy.dnf_payload_d6_8_8vi/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1427, in File "/tmp/ansible_ansible.legacy.dnf_payload_d6_8_8vi/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1416, in main File "/tmp/ansible_ansible.legacy.dnf_payload_d6_8_8vi/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1382, in run File "/tmp/ansible_ansible.legacy.dnf_payload_d6_8_8vi/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 720, in _base File "/usr/lib/python3.9/site-packages/dnf/base.py", line 381, in fill_sack with lock: File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 131, in __enter__ pid = self._try_lock(my_pid) File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 104, in _try_lock raise LockError(msg) dnf.exceptions.LockError: Malformed lock file found: /var/cache/dnf/metadata_lock.pid. Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. MODULE_STDERR: Shared connection to 127.0.0.3 closed. TASK [handle errors] *********************************************************** task path: /tmp/tmpgklozic4/tests/selinux_apply_reboot.yml:7 Friday 06 May 2022 16:48:49 +0000 (0:00:01.003) 0:00:03.453 ************ fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => {} MSG: The conditional check 'not selinux_reboot_required' failed. The error was: error while evaluating conditional (not selinux_reboot_required): 'selinux_reboot_required' is undefined The error appears to be in '/tmp/tmpgklozic4/tests/selinux_apply_reboot.yml': line 7, column 7, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: # Fail if failed for a different reason than selinux_reboot_required. - name: handle errors ^ here PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=16 changed=1 unreachable=0 failed=1 skipped=1 rescued=1 ignored=0 Friday 06 May 2022 16:48:49 +0000 (0:00:00.015) 0:00:03.468 ************ =============================================================================== Gathering Facts --------------------------------------------------------- 1.15s /tmp/tmpgklozic4/tests/tests_all_transitions.yml:1 ---------------------------- linux-system-roles.selinux : Install SELinux python3 tools -------------- 1.00s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 linux-system-roles.selinux : Ensure ansible_facts used by role ---------- 0.52s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Backup original /etc/selinux/config ------------------------------------- 0.51s /tmp/tmpgklozic4/tests/selinux_config_save.yml:1 ------------------------------ test all the possible state transitions --------------------------------- 0.08s /tmp/tmpgklozic4/tests/tests_all_transitions.yml:16 --------------------------- include_role : linux-system-roles.selinux ------------------------------- 0.05s /tmp/tmpgklozic4/tests/selinux_apply_reboot.yml:3 ----------------------------- linux-system-roles.selinux : Set ansible_facts required by role and install packages --- 0.03s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 ------ setup the initial state ------------------------------------------------- 0.02s /tmp/tmpgklozic4/tests/selinux_test_transitions.yml:6 ------------------------- linux-system-roles.selinux : Install SELinux python2 tools -------------- 0.02s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 display transition name ------------------------------------------------- 0.02s /tmp/tmpgklozic4/tests/selinux_test_transitions.yml:1 ------------------------- save config ------------------------------------------------------------- 0.02s /tmp/tmpgklozic4/tests/tests_all_transitions.yml:13 --------------------------- handle errors ----------------------------------------------------------- 0.02s /tmp/tmpgklozic4/tests/selinux_apply_reboot.yml:7 ----------------------------- ansible-galaxy [core 2.12.4] 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 = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-galaxy python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Starting galaxy collection install process [WARNING]: The specified collections path '/tmp/tmpt6yp2lym' is not part of the configured Ansible collections paths '/root/.ansible/collections:/usr/share/ansible/collections'. The installed collection won't be picked up in an Ansible run. [WARNING]: Collection at '/tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles' does not have a MANIFEST.json file, nor has it galaxy.yml: cannot detect version. Nothing to do. All requested collections are already installed. If you want to reinstall them, consider using `--force`. ansible-playbook [core 2.12.4] 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/tmpt6yp2lym executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file statically imported: /tmp/tmpgklozic4/tests/set_selinux_variables.yml statically imported: /tmp/tmpgklozic4/tests/set_selinux_variables.yml statically imported: /tmp/tmpgklozic4/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_boolean.yml **************************************************** 1 plays in /tmp/tmpgklozic4/tests/tests_boolean.yml PLAY [Check if selinux role sets SELinux booleans] ***************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpgklozic4/tests/tests_boolean.yml:1 Friday 06 May 2022 16:49:00 +0000 (0:00:00.009) 0:00:00.009 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [initial changes] ********************************************************* task path: /tmp/tmpgklozic4/tests/tests_boolean.yml:6 Friday 06 May 2022 16:49:01 +0000 (0:00:01.125) 0:00:01.135 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [linux-system-roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 Friday 06 May 2022 16:49:02 +0000 (0:00:00.077) 0:00:01.212 ************ included: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.selinux : Ensure ansible_facts used by role] ********** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:49:02 +0000 (0:00:00.023) 0:00:01.235 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Friday 06 May 2022 16:49:02 +0000 (0:00:00.500) 0:00:01.736 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Friday 06 May 2022 16:49:02 +0000 (0:00:00.019) 0:00:01.756 ************ An exception occurred during task execution. To see the full traceback, use -vvv. The error was: Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => { "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDOUT: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 98, in _try_lock old_pid = int(old_pid) ValueError: invalid literal for int() with base 10: b'\x00\x00\x00\x00' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/.ansible/tmp/ansible-tmp-1651855742.6502655-221085-137546498227755/AnsiballZ_dnf.py", line 107, in _ansiballz_main() File "/root/.ansible/tmp/ansible-tmp-1651855742.6502655-221085-137546498227755/AnsiballZ_dnf.py", line 99, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "/root/.ansible/tmp/ansible-tmp-1651855742.6502655-221085-137546498227755/AnsiballZ_dnf.py", line 47, in invoke_module runpy.run_module(mod_name='ansible.modules.dnf', init_globals=dict(_module_fqn='ansible.modules.dnf', _modlib_path=modlib_path), File "/usr/lib64/python3.9/runpy.py", line 210, in run_module return _run_module_code(code, init_globals, run_name, mod_spec) File "/usr/lib64/python3.9/runpy.py", line 97, in _run_module_code _run_code(code, mod_globals, init_globals, File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/tmp/ansible_ansible.legacy.dnf_payload_csjhn4w5/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1427, in File "/tmp/ansible_ansible.legacy.dnf_payload_csjhn4w5/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1416, in main File "/tmp/ansible_ansible.legacy.dnf_payload_csjhn4w5/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1382, in run File "/tmp/ansible_ansible.legacy.dnf_payload_csjhn4w5/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 720, in _base File "/usr/lib/python3.9/site-packages/dnf/base.py", line 381, in fill_sack with lock: File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 131, in __enter__ pid = self._try_lock(my_pid) File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 104, in _try_lock raise LockError(msg) dnf.exceptions.LockError: Malformed lock file found: /var/cache/dnf/metadata_lock.pid. Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. MODULE_STDERR: Shared connection to 127.0.0.3 closed. PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=3 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0 Friday 06 May 2022 16:49:03 +0000 (0:00:00.951) 0:00:02.707 ************ =============================================================================== Gathering Facts --------------------------------------------------------- 1.13s /tmp/tmpgklozic4/tests/tests_boolean.yml:1 ------------------------------------ linux-system-roles.selinux : Install SELinux python3 tools -------------- 0.95s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 linux-system-roles.selinux : Ensure ansible_facts used by role ---------- 0.50s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 initial changes --------------------------------------------------------- 0.08s /tmp/tmpgklozic4/tests/tests_boolean.yml:6 ------------------------------------ linux-system-roles.selinux : Set ansible_facts required by role and install packages --- 0.02s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 ------ linux-system-roles.selinux : Install SELinux python2 tools -------------- 0.02s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 ansible-galaxy [core 2.12.4] 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 = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-galaxy python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Starting galaxy collection install process [WARNING]: The specified collections path '/tmp/tmpt6yp2lym' is not part of the configured Ansible collections paths '/root/.ansible/collections:/usr/share/ansible/collections'. The installed collection won't be picked up in an Ansible run. [WARNING]: Collection at '/tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles' does not have a MANIFEST.json file, nor has it galaxy.yml: cannot detect version. Nothing to do. All requested collections are already installed. If you want to reinstall them, consider using `--force`. ansible-playbook [core 2.12.4] 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/tmpt6yp2lym executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin 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_default.yml **************************************************** 1 plays in /tmp/tmpgklozic4/tests/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** META: ran handlers TASK [linux-system-roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 Friday 06 May 2022 16:49:14 +0000 (0:00:00.013) 0:00:00.013 ************ included: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.selinux : Ensure ansible_facts used by role] ********** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:49:14 +0000 (0:00:00.017) 0:00:00.031 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Friday 06 May 2022 16:49:15 +0000 (0:00:00.867) 0:00:00.898 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Friday 06 May 2022 16:49:15 +0000 (0:00:00.019) 0:00:00.918 ************ An exception occurred during task execution. To see the full traceback, use -vvv. The error was: Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => { "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDOUT: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 98, in _try_lock old_pid = int(old_pid) ValueError: invalid literal for int() with base 10: b'\x00\x00\x00\x00' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/.ansible/tmp/ansible-tmp-1651855755.6718419-221192-196347950897178/AnsiballZ_dnf.py", line 107, in _ansiballz_main() File "/root/.ansible/tmp/ansible-tmp-1651855755.6718419-221192-196347950897178/AnsiballZ_dnf.py", line 99, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "/root/.ansible/tmp/ansible-tmp-1651855755.6718419-221192-196347950897178/AnsiballZ_dnf.py", line 47, in invoke_module runpy.run_module(mod_name='ansible.modules.dnf', init_globals=dict(_module_fqn='ansible.modules.dnf', _modlib_path=modlib_path), File "/usr/lib64/python3.9/runpy.py", line 210, in run_module return _run_module_code(code, init_globals, run_name, mod_spec) File "/usr/lib64/python3.9/runpy.py", line 97, in _run_module_code _run_code(code, mod_globals, init_globals, File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/tmp/ansible_ansible.legacy.dnf_payload_q4jkmmlh/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1427, in File "/tmp/ansible_ansible.legacy.dnf_payload_q4jkmmlh/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1416, in main File "/tmp/ansible_ansible.legacy.dnf_payload_q4jkmmlh/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1382, in run File "/tmp/ansible_ansible.legacy.dnf_payload_q4jkmmlh/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 720, in _base File "/usr/lib/python3.9/site-packages/dnf/base.py", line 381, in fill_sack with lock: File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 131, in __enter__ pid = self._try_lock(my_pid) File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 104, in _try_lock raise LockError(msg) dnf.exceptions.LockError: Malformed lock file found: /var/cache/dnf/metadata_lock.pid. Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. MODULE_STDERR: Shared connection to 127.0.0.3 closed. PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=2 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0 Friday 06 May 2022 16:49:16 +0000 (0:00:01.024) 0:00:01.942 ************ =============================================================================== linux-system-roles.selinux : Install SELinux python3 tools -------------- 1.02s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 linux-system-roles.selinux : Ensure ansible_facts used by role ---------- 0.87s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 linux-system-roles.selinux : Install SELinux python2 tools -------------- 0.02s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 linux-system-roles.selinux : Set ansible_facts required by role and install packages --- 0.02s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 ------ ansible-galaxy [core 2.12.4] 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 = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-galaxy python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Starting galaxy collection install process [WARNING]: The specified collections path '/tmp/tmpt6yp2lym' is not part of the configured Ansible collections paths '/root/.ansible/collections:/usr/share/ansible/collections'. The installed collection won't be picked up in an Ansible run. [WARNING]: Collection at '/tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles' does not have a MANIFEST.json file, nor has it galaxy.yml: cannot detect version. Nothing to do. All requested collections are already installed. If you want to reinstall them, consider using `--force`. ansible-playbook [core 2.12.4] 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/tmpt6yp2lym executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin 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_default_vars.yml *********************************************** 1 plays in /tmp/tmpgklozic4/tests/tests_default_vars.yml PLAY [Ensure that the role declares all parameters in defaults] **************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpgklozic4/tests/tests_default_vars.yml:1 Friday 06 May 2022 16:49:27 +0000 (0:00:00.010) 0:00:00.010 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [linux-system-roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 Friday 06 May 2022 16:49:29 +0000 (0:00:01.124) 0:00:01.135 ************ included: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.selinux : Ensure ansible_facts used by role] ********** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:49:29 +0000 (0:00:00.021) 0:00:01.156 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Friday 06 May 2022 16:49:29 +0000 (0:00:00.029) 0:00:01.186 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Friday 06 May 2022 16:49:29 +0000 (0:00:00.020) 0:00:01.206 ************ An exception occurred during task execution. To see the full traceback, use -vvv. The error was: Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => { "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDOUT: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 98, in _try_lock old_pid = int(old_pid) ValueError: invalid literal for int() with base 10: b'\x00\x00\x00\x00' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/.ansible/tmp/ansible-tmp-1651855769.2049623-221289-36426881429978/AnsiballZ_dnf.py", line 107, in _ansiballz_main() File "/root/.ansible/tmp/ansible-tmp-1651855769.2049623-221289-36426881429978/AnsiballZ_dnf.py", line 99, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "/root/.ansible/tmp/ansible-tmp-1651855769.2049623-221289-36426881429978/AnsiballZ_dnf.py", line 47, in invoke_module runpy.run_module(mod_name='ansible.modules.dnf', init_globals=dict(_module_fqn='ansible.modules.dnf', _modlib_path=modlib_path), File "/usr/lib64/python3.9/runpy.py", line 210, in run_module return _run_module_code(code, init_globals, run_name, mod_spec) File "/usr/lib64/python3.9/runpy.py", line 97, in _run_module_code _run_code(code, mod_globals, init_globals, File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/tmp/ansible_ansible.legacy.dnf_payload_1htejsef/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1427, in File "/tmp/ansible_ansible.legacy.dnf_payload_1htejsef/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1416, in main File "/tmp/ansible_ansible.legacy.dnf_payload_1htejsef/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1382, in run File "/tmp/ansible_ansible.legacy.dnf_payload_1htejsef/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 720, in _base File "/usr/lib/python3.9/site-packages/dnf/base.py", line 381, in fill_sack with lock: File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 131, in __enter__ pid = self._try_lock(my_pid) File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 104, in _try_lock raise LockError(msg) dnf.exceptions.LockError: Malformed lock file found: /var/cache/dnf/metadata_lock.pid. Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. MODULE_STDERR: Shared connection to 127.0.0.3 closed. PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Friday 06 May 2022 16:49:30 +0000 (0:00:00.964) 0:00:02.170 ************ =============================================================================== Gathering Facts --------------------------------------------------------- 1.12s /tmp/tmpgklozic4/tests/tests_default_vars.yml:1 ------------------------------- linux-system-roles.selinux : Install SELinux python3 tools -------------- 0.96s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 linux-system-roles.selinux : Ensure ansible_facts used by role ---------- 0.03s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 linux-system-roles.selinux : Set ansible_facts required by role and install packages --- 0.02s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 ------ linux-system-roles.selinux : Install SELinux python2 tools -------------- 0.02s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 ansible-galaxy [core 2.12.4] 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 = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-galaxy python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Starting galaxy collection install process [WARNING]: The specified collections path '/tmp/tmpt6yp2lym' is not part of the configured Ansible collections paths '/root/.ansible/collections:/usr/share/ansible/collections'. The installed collection won't be picked up in an Ansible run. [WARNING]: Collection at '/tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles' does not have a MANIFEST.json file, nor has it galaxy.yml: cannot detect version. Nothing to do. All requested collections are already installed. If you want to reinstall them, consider using `--force`. ansible-playbook [core 2.12.4] 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/tmpt6yp2lym executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file statically imported: /tmp/tmpgklozic4/tests/set_selinux_variables.yml statically imported: /tmp/tmpgklozic4/tests/set_selinux_variables.yml statically imported: /tmp/tmpgklozic4/tests/set_selinux_variables.yml statically imported: /tmp/tmpgklozic4/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_fcontext.yml *************************************************** 1 plays in /tmp/tmpgklozic4/tests/tests_fcontext.yml PLAY [Check if selinux role sets SELinux fcontext mappings] ******************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpgklozic4/tests/tests_fcontext.yml:1 Friday 06 May 2022 16:49:41 +0000 (0:00:00.009) 0:00:00.009 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [initial changes] ********************************************************* task path: /tmp/tmpgklozic4/tests/tests_fcontext.yml:7 Friday 06 May 2022 16:49:42 +0000 (0:00:01.115) 0:00:01.124 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [linux-system-roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 Friday 06 May 2022 16:49:43 +0000 (0:00:00.073) 0:00:01.198 ************ included: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.selinux : Ensure ansible_facts used by role] ********** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:49:43 +0000 (0:00:00.023) 0:00:01.221 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Friday 06 May 2022 16:49:43 +0000 (0:00:00.532) 0:00:01.754 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Friday 06 May 2022 16:49:43 +0000 (0:00:00.021) 0:00:01.776 ************ An exception occurred during task execution. To see the full traceback, use -vvv. The error was: Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => { "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDOUT: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 98, in _try_lock old_pid = int(old_pid) ValueError: invalid literal for int() with base 10: b'\x00\x00\x00\x00' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/.ansible/tmp/ansible-tmp-1651855783.6476421-221402-117578221417733/AnsiballZ_dnf.py", line 107, in _ansiballz_main() File "/root/.ansible/tmp/ansible-tmp-1651855783.6476421-221402-117578221417733/AnsiballZ_dnf.py", line 99, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "/root/.ansible/tmp/ansible-tmp-1651855783.6476421-221402-117578221417733/AnsiballZ_dnf.py", line 47, in invoke_module runpy.run_module(mod_name='ansible.modules.dnf', init_globals=dict(_module_fqn='ansible.modules.dnf', _modlib_path=modlib_path), File "/usr/lib64/python3.9/runpy.py", line 210, in run_module return _run_module_code(code, init_globals, run_name, mod_spec) File "/usr/lib64/python3.9/runpy.py", line 97, in _run_module_code _run_code(code, mod_globals, init_globals, File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/tmp/ansible_ansible.legacy.dnf_payload_c_ebg2sg/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1427, in File "/tmp/ansible_ansible.legacy.dnf_payload_c_ebg2sg/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1416, in main File "/tmp/ansible_ansible.legacy.dnf_payload_c_ebg2sg/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1382, in run File "/tmp/ansible_ansible.legacy.dnf_payload_c_ebg2sg/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 720, in _base File "/usr/lib/python3.9/site-packages/dnf/base.py", line 381, in fill_sack with lock: File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 131, in __enter__ pid = self._try_lock(my_pid) File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 104, in _try_lock raise LockError(msg) dnf.exceptions.LockError: Malformed lock file found: /var/cache/dnf/metadata_lock.pid. Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. MODULE_STDERR: Shared connection to 127.0.0.3 closed. PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=3 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0 Friday 06 May 2022 16:49:44 +0000 (0:00:01.011) 0:00:02.787 ************ =============================================================================== Gathering Facts --------------------------------------------------------- 1.12s /tmp/tmpgklozic4/tests/tests_fcontext.yml:1 ----------------------------------- linux-system-roles.selinux : Install SELinux python3 tools -------------- 1.01s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 linux-system-roles.selinux : Ensure ansible_facts used by role ---------- 0.53s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 initial changes --------------------------------------------------------- 0.07s /tmp/tmpgklozic4/tests/tests_fcontext.yml:7 ----------------------------------- linux-system-roles.selinux : Set ansible_facts required by role and install packages --- 0.02s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 ------ linux-system-roles.selinux : Install SELinux python2 tools -------------- 0.02s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 ansible-galaxy [core 2.12.4] 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 = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-galaxy python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Starting galaxy collection install process [WARNING]: The specified collections path '/tmp/tmpt6yp2lym' is not part of the configured Ansible collections paths '/root/.ansible/collections:/usr/share/ansible/collections'. The installed collection won't be picked up in an Ansible run. [WARNING]: Collection at '/tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles' does not have a MANIFEST.json file, nor has it galaxy.yml: cannot detect version. Nothing to do. All requested collections are already installed. If you want to reinstall them, consider using `--force`. ansible-playbook [core 2.12.4] 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/tmpt6yp2lym executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file statically imported: /tmp/tmpgklozic4/tests/set_selinux_variables.yml statically imported: /tmp/tmpgklozic4/tests/set_selinux_variables.yml statically imported: /tmp/tmpgklozic4/tests/set_selinux_variables.yml statically imported: /tmp/tmpgklozic4/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_login.yml ****************************************************** 1 plays in /tmp/tmpgklozic4/tests/tests_login.yml PLAY [Check if selinux role sets SELinux login mappings] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpgklozic4/tests/tests_login.yml:1 Friday 06 May 2022 16:49:56 +0000 (0:00:00.009) 0:00:00.009 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [Add a System Api Roles SELinux User] ************************************* task path: /tmp/tmpgklozic4/tests/tests_login.yml:6 Friday 06 May 2022 16:49:58 +0000 (0:00:01.099) 0:00:01.108 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "comment": "System Api Roles SELinux User", "create_home": true, "group": 1001, "home": "/home/sar-user", "name": "sar-user", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1001 } TASK [initial changes] ********************************************************* task path: /tmp/tmpgklozic4/tests/tests_login.yml:11 Friday 06 May 2022 16:49:58 +0000 (0:00:00.820) 0:00:01.929 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [linux-system-roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 Friday 06 May 2022 16:49:58 +0000 (0:00:00.054) 0:00:01.984 ************ included: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.selinux : Ensure ansible_facts used by role] ********** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:49:58 +0000 (0:00:00.022) 0:00:02.007 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Friday 06 May 2022 16:49:58 +0000 (0:00:00.027) 0:00:02.034 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Friday 06 May 2022 16:49:58 +0000 (0:00:00.017) 0:00:02.052 ************ An exception occurred during task execution. To see the full traceback, use -vvv. The error was: Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => { "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDOUT: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 98, in _try_lock old_pid = int(old_pid) ValueError: invalid literal for int() with base 10: b'\x00\x00\x00\x00' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/.ansible/tmp/ansible-tmp-1651855798.9946504-221516-200839605878185/AnsiballZ_dnf.py", line 107, in _ansiballz_main() File "/root/.ansible/tmp/ansible-tmp-1651855798.9946504-221516-200839605878185/AnsiballZ_dnf.py", line 99, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "/root/.ansible/tmp/ansible-tmp-1651855798.9946504-221516-200839605878185/AnsiballZ_dnf.py", line 47, in invoke_module runpy.run_module(mod_name='ansible.modules.dnf', init_globals=dict(_module_fqn='ansible.modules.dnf', _modlib_path=modlib_path), File "/usr/lib64/python3.9/runpy.py", line 210, in run_module return _run_module_code(code, init_globals, run_name, mod_spec) File "/usr/lib64/python3.9/runpy.py", line 97, in _run_module_code _run_code(code, mod_globals, init_globals, File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/tmp/ansible_ansible.legacy.dnf_payload_x77i55l3/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1427, in File "/tmp/ansible_ansible.legacy.dnf_payload_x77i55l3/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1416, in main File "/tmp/ansible_ansible.legacy.dnf_payload_x77i55l3/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1382, in run File "/tmp/ansible_ansible.legacy.dnf_payload_x77i55l3/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 720, in _base File "/usr/lib/python3.9/site-packages/dnf/base.py", line 381, in fill_sack with lock: File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 131, in __enter__ pid = self._try_lock(my_pid) File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 104, in _try_lock raise LockError(msg) dnf.exceptions.LockError: Malformed lock file found: /var/cache/dnf/metadata_lock.pid. Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. MODULE_STDERR: Shared connection to 127.0.0.3 closed. PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=3 changed=1 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Friday 06 May 2022 16:49:59 +0000 (0:00:00.963) 0:00:03.016 ************ =============================================================================== Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmpgklozic4/tests/tests_login.yml:1 -------------------------------------- linux-system-roles.selinux : Install SELinux python3 tools -------------- 0.96s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Add a System Api Roles SELinux User ------------------------------------- 0.82s /tmp/tmpgklozic4/tests/tests_login.yml:6 -------------------------------------- initial changes --------------------------------------------------------- 0.05s /tmp/tmpgklozic4/tests/tests_login.yml:11 ------------------------------------- linux-system-roles.selinux : Ensure ansible_facts used by role ---------- 0.03s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 linux-system-roles.selinux : Set ansible_facts required by role and install packages --- 0.02s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 ------ linux-system-roles.selinux : Install SELinux python2 tools -------------- 0.02s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 ansible-galaxy [core 2.12.4] 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 = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-galaxy python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Starting galaxy collection install process [WARNING]: The specified collections path '/tmp/tmpt6yp2lym' is not part of the configured Ansible collections paths '/root/.ansible/collections:/usr/share/ansible/collections'. The installed collection won't be picked up in an Ansible run. [WARNING]: Collection at '/tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles' does not have a MANIFEST.json file, nor has it galaxy.yml: cannot detect version. Nothing to do. All requested collections are already installed. If you want to reinstall them, consider using `--force`. ansible-playbook [core 2.12.4] 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/tmpt6yp2lym executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file statically imported: /tmp/tmpgklozic4/tests/set_selinux_variables.yml statically imported: /tmp/tmpgklozic4/tests/set_selinux_variables.yml statically imported: /tmp/tmpgklozic4/tests/set_selinux_variables.yml statically imported: /tmp/tmpgklozic4/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_port.yml ******************************************************* 1 plays in /tmp/tmpgklozic4/tests/tests_port.yml PLAY [Check if selinux role sets SELinux port mapping] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpgklozic4/tests/tests_port.yml:1 Friday 06 May 2022 16:50:11 +0000 (0:00:00.009) 0:00:00.009 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [initial changes] ********************************************************* task path: /tmp/tmpgklozic4/tests/tests_port.yml:6 Friday 06 May 2022 16:50:12 +0000 (0:00:01.089) 0:00:01.098 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [linux-system-roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 Friday 06 May 2022 16:50:12 +0000 (0:00:00.070) 0:00:01.169 ************ included: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.selinux : Ensure ansible_facts used by role] ********** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:50:12 +0000 (0:00:00.022) 0:00:01.192 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Friday 06 May 2022 16:50:12 +0000 (0:00:00.512) 0:00:01.704 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Friday 06 May 2022 16:50:12 +0000 (0:00:00.024) 0:00:01.728 ************ An exception occurred during task execution. To see the full traceback, use -vvv. The error was: Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => { "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDOUT: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 98, in _try_lock old_pid = int(old_pid) ValueError: invalid literal for int() with base 10: b'\x00\x00\x00\x00' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/.ansible/tmp/ansible-tmp-1651855812.8727238-221626-39924710959539/AnsiballZ_dnf.py", line 107, in _ansiballz_main() File "/root/.ansible/tmp/ansible-tmp-1651855812.8727238-221626-39924710959539/AnsiballZ_dnf.py", line 99, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "/root/.ansible/tmp/ansible-tmp-1651855812.8727238-221626-39924710959539/AnsiballZ_dnf.py", line 47, in invoke_module runpy.run_module(mod_name='ansible.modules.dnf', init_globals=dict(_module_fqn='ansible.modules.dnf', _modlib_path=modlib_path), File "/usr/lib64/python3.9/runpy.py", line 210, in run_module return _run_module_code(code, init_globals, run_name, mod_spec) File "/usr/lib64/python3.9/runpy.py", line 97, in _run_module_code _run_code(code, mod_globals, init_globals, File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/tmp/ansible_ansible.legacy.dnf_payload_yvgyfbl5/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1427, in File "/tmp/ansible_ansible.legacy.dnf_payload_yvgyfbl5/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1416, in main File "/tmp/ansible_ansible.legacy.dnf_payload_yvgyfbl5/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1382, in run File "/tmp/ansible_ansible.legacy.dnf_payload_yvgyfbl5/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 720, in _base File "/usr/lib/python3.9/site-packages/dnf/base.py", line 381, in fill_sack with lock: File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 131, in __enter__ pid = self._try_lock(my_pid) File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 104, in _try_lock raise LockError(msg) dnf.exceptions.LockError: Malformed lock file found: /var/cache/dnf/metadata_lock.pid. Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. MODULE_STDERR: Shared connection to 127.0.0.3 closed. PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=3 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0 Friday 06 May 2022 16:50:13 +0000 (0:00:00.993) 0:00:02.722 ************ =============================================================================== Gathering Facts --------------------------------------------------------- 1.09s /tmp/tmpgklozic4/tests/tests_port.yml:1 --------------------------------------- linux-system-roles.selinux : Install SELinux python3 tools -------------- 0.99s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 linux-system-roles.selinux : Ensure ansible_facts used by role ---------- 0.51s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 initial changes --------------------------------------------------------- 0.07s /tmp/tmpgklozic4/tests/tests_port.yml:6 --------------------------------------- linux-system-roles.selinux : Install SELinux python2 tools -------------- 0.02s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 linux-system-roles.selinux : Set ansible_facts required by role and install packages --- 0.02s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 ------ ansible-galaxy [core 2.12.4] 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 = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-galaxy python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Starting galaxy collection install process [WARNING]: The specified collections path '/tmp/tmpt6yp2lym' is not part of the configured Ansible collections paths '/root/.ansible/collections:/usr/share/ansible/collections'. The installed collection won't be picked up in an Ansible run. [WARNING]: Collection at '/tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles' does not have a MANIFEST.json file, nor has it galaxy.yml: cannot detect version. Nothing to do. All requested collections are already installed. If you want to reinstall them, consider using `--force`. ansible-playbook [core 2.12.4] 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/tmpt6yp2lym executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_selinux_disabled.yml ******************************************* 1 plays in /tmp/tmpgklozic4/tests/tests_selinux_disabled.yml PLAY [Ensure the default is targeted, enforcing, without local modifications] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpgklozic4/tests/tests_selinux_disabled.yml:1 Friday 06 May 2022 16:50:25 +0000 (0:00:00.008) 0:00:00.008 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmpgklozic4/tests/tests_selinux_disabled.yml:15 Friday 06 May 2022 16:50:26 +0000 (0:00:01.117) 0:00:01.126 ************ An exception occurred during task execution. To see the full traceback, use -vvv. The error was: Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => { "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDOUT: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 98, in _try_lock old_pid = int(old_pid) ValueError: invalid literal for int() with base 10: b'\x00\x00\x00\x00' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/.ansible/tmp/ansible-tmp-1651855826.241829-221722-44622026272092/AnsiballZ_dnf.py", line 107, in _ansiballz_main() File "/root/.ansible/tmp/ansible-tmp-1651855826.241829-221722-44622026272092/AnsiballZ_dnf.py", line 99, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "/root/.ansible/tmp/ansible-tmp-1651855826.241829-221722-44622026272092/AnsiballZ_dnf.py", line 47, in invoke_module runpy.run_module(mod_name='ansible.modules.dnf', init_globals=dict(_module_fqn='ansible.modules.dnf', _modlib_path=modlib_path), File "/usr/lib64/python3.9/runpy.py", line 210, in run_module return _run_module_code(code, init_globals, run_name, mod_spec) File "/usr/lib64/python3.9/runpy.py", line 97, in _run_module_code _run_code(code, mod_globals, init_globals, File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/tmp/ansible_ansible.legacy.dnf_payload_i3kkmvhr/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1427, in File "/tmp/ansible_ansible.legacy.dnf_payload_i3kkmvhr/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1416, in main File "/tmp/ansible_ansible.legacy.dnf_payload_i3kkmvhr/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1382, in run File "/tmp/ansible_ansible.legacy.dnf_payload_i3kkmvhr/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 720, in _base File "/usr/lib/python3.9/site-packages/dnf/base.py", line 381, in fill_sack with lock: File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 131, in __enter__ pid = self._try_lock(my_pid) File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 104, in _try_lock raise LockError(msg) dnf.exceptions.LockError: Malformed lock file found: /var/cache/dnf/metadata_lock.pid. Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. MODULE_STDERR: Shared connection to 127.0.0.3 closed. PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 Friday 06 May 2022 16:50:27 +0000 (0:00:00.958) 0:00:02.084 ************ =============================================================================== Gathering Facts --------------------------------------------------------- 1.12s /tmp/tmpgklozic4/tests/tests_selinux_disabled.yml:1 --------------------------- Ensure SELinux tool semanage -------------------------------------------- 0.96s /tmp/tmpgklozic4/tests/tests_selinux_disabled.yml:15 -------------------------- ansible-galaxy [core 2.12.4] 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 = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-galaxy python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Starting galaxy collection install process [WARNING]: The specified collections path '/tmp/tmpt6yp2lym' is not part of the configured Ansible collections paths '/root/.ansible/collections:/usr/share/ansible/collections'. The installed collection won't be picked up in an Ansible run. [WARNING]: Collection at '/tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles' does not have a MANIFEST.json file, nor has it galaxy.yml: cannot detect version. Nothing to do. All requested collections are already installed. If you want to reinstall them, consider using `--force`. ansible-playbook [core 2.12.4] 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/tmpt6yp2lym executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_selinux_modules.yml ******************************************** 1 plays in /tmp/tmpgklozic4/tests/tests_selinux_modules.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpgklozic4/tests/tests_selinux_modules.yml:2 Friday 06 May 2022 16:50:37 +0000 (0:00:00.009) 0:00:00.009 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [execute the role] ******************************************************** task path: /tmp/tmpgklozic4/tests/tests_selinux_modules.yml:21 Friday 06 May 2022 16:50:38 +0000 (0:00:01.095) 0:00:01.104 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [linux-system-roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 Friday 06 May 2022 16:50:38 +0000 (0:00:00.088) 0:00:01.193 ************ included: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [linux-system-roles.selinux : Ensure ansible_facts used by role] ********** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:50:38 +0000 (0:00:00.041) 0:00:01.234 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [linux-system-roles.selinux : Install SELinux python2 tools] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 Friday 06 May 2022 16:50:39 +0000 (0:00:00.490) 0:00:01.724 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.selinux : Install SELinux python3 tools] ************** task path: /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 Friday 06 May 2022 16:50:39 +0000 (0:00:00.034) 0:00:01.758 ************ An exception occurred during task execution. To see the full traceback, use -vvv. The error was: Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => { "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDOUT: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 98, in _try_lock old_pid = int(old_pid) ValueError: invalid literal for int() with base 10: b'\x00\x00\x00\x00' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/.ansible/tmp/ansible-tmp-1651855839.4333694-221825-247496006978809/AnsiballZ_dnf.py", line 107, in _ansiballz_main() File "/root/.ansible/tmp/ansible-tmp-1651855839.4333694-221825-247496006978809/AnsiballZ_dnf.py", line 99, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "/root/.ansible/tmp/ansible-tmp-1651855839.4333694-221825-247496006978809/AnsiballZ_dnf.py", line 47, in invoke_module runpy.run_module(mod_name='ansible.modules.dnf', init_globals=dict(_module_fqn='ansible.modules.dnf', _modlib_path=modlib_path), File "/usr/lib64/python3.9/runpy.py", line 210, in run_module return _run_module_code(code, init_globals, run_name, mod_spec) File "/usr/lib64/python3.9/runpy.py", line 97, in _run_module_code _run_code(code, mod_globals, init_globals, File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/tmp/ansible_ansible.legacy.dnf_payload_ei5coq27/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1427, in File "/tmp/ansible_ansible.legacy.dnf_payload_ei5coq27/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1416, in main File "/tmp/ansible_ansible.legacy.dnf_payload_ei5coq27/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1382, in run File "/tmp/ansible_ansible.legacy.dnf_payload_ei5coq27/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 720, in _base File "/usr/lib/python3.9/site-packages/dnf/base.py", line 381, in fill_sack with lock: File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 131, in __enter__ pid = self._try_lock(my_pid) File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 104, in _try_lock raise LockError(msg) dnf.exceptions.LockError: Malformed lock file found: /var/cache/dnf/metadata_lock.pid. Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. MODULE_STDERR: Shared connection to 127.0.0.3 closed. TASK [Cleanup modules] ********************************************************* task path: /tmp/tmpgklozic4/tests/tests_selinux_modules.yml:28 Friday 06 May 2022 16:50:40 +0000 (0:00:01.003) 0:00:02.762 ************ failed: [/cache/fedora-34.qcow2.snap] (item=semodule -r linux-system-roles-selinux-test-a) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "semodule", "-r", "linux-system-roles-selinux-test-a" ], "delta": "0:00:00.629439", "end": "2022-05-06 16:50:41.080565", "item": "semodule -r linux-system-roles-selinux-test-a", "rc": 1, "start": "2022-05-06 16:50:40.451126" } STDERR: libsemanage.semanage_direct_remove_key: Unable to remove module linux-system-roles-selinux-test-a at priority 400. (No such file or directory). semodule: Failed! MSG: non-zero return code failed: [/cache/fedora-34.qcow2.snap] (item=semodule -X 500 -r linux-system-roles-selinux-test-b) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "semodule", "-X", "500", "-r", "linux-system-roles-selinux-test-b" ], "delta": "0:00:00.117595", "end": "2022-05-06 16:50:41.557077", "item": "semodule -X 500 -r linux-system-roles-selinux-test-b", "rc": 1, "start": "2022-05-06 16:50:41.439482" } STDERR: libsemanage.semanage_direct_remove_key: Unable to remove module linux-system-roles-selinux-test-b at priority 500. (No such file or directory). semodule: Failed! MSG: non-zero return code failed: [/cache/fedora-34.qcow2.snap] (item=semodule -X 600 -r linux-system-roles-selinux-test-c) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "semodule", "-X", "600", "-r", "linux-system-roles-selinux-test-c" ], "delta": "0:00:00.107801", "end": "2022-05-06 16:50:42.022300", "item": "semodule -X 600 -r linux-system-roles-selinux-test-c", "rc": 1, "start": "2022-05-06 16:50:41.914499" } STDERR: libsemanage.semanage_direct_remove_key: Unable to remove module linux-system-roles-selinux-test-c at priority 600. (No such file or directory). semodule: Failed! MSG: non-zero return code ...ignoring TASK [linux-system-roles.selinux failed] *************************************** task path: /tmp/tmpgklozic4/tests/tests_selinux_modules.yml:35 Friday 06 May 2022 16:50:42 +0000 (0:00:02.086) 0:00:04.849 ************ fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => { "changed": false } MSG: linux-system-roles.selinux failed PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=4 changed=1 unreachable=0 failed=1 skipped=1 rescued=1 ignored=1 Friday 06 May 2022 16:50:42 +0000 (0:00:00.028) 0:00:04.877 ************ =============================================================================== Cleanup modules --------------------------------------------------------- 2.09s /tmp/tmpgklozic4/tests/tests_selinux_modules.yml:28 --------------------------- Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmpgklozic4/tests/tests_selinux_modules.yml:2 ---------------------------- linux-system-roles.selinux : Install SELinux python3 tools -------------- 1.00s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:16 linux-system-roles.selinux : Ensure ansible_facts used by role ---------- 0.49s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:2 execute the role -------------------------------------------------------- 0.09s /tmp/tmpgklozic4/tests/tests_selinux_modules.yml:21 --------------------------- linux-system-roles.selinux : Set ansible_facts required by role and install packages --- 0.04s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/main.yml:2 ------ linux-system-roles.selinux : Install SELinux python2 tools -------------- 0.03s /tmp/tmpgklozic4/tests/roles/linux-system-roles.selinux/tasks/set_facts_packages.yml:8 linux-system-roles.selinux failed --------------------------------------- 0.03s /tmp/tmpgklozic4/tests/tests_selinux_modules.yml:35 --------------------------- ansible-galaxy [core 2.12.4] 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 = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-galaxy python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Starting galaxy collection install process [WARNING]: The specified collections path '/tmp/tmpt6yp2lym' is not part of the configured Ansible collections paths '/root/.ansible/collections:/usr/share/ansible/collections'. The installed collection won't be picked up in an Ansible run. [WARNING]: Collection at '/tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles' does not have a MANIFEST.json file, nor has it galaxy.yml: cannot detect version. Nothing to do. All requested collections are already installed. If you want to reinstall them, consider using `--force`. ansible-playbook [core 2.12.4] 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/tmpt6yp2lym executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file statically imported: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml statically imported: /tmp/tmp3epeskya/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/tmp3epeskya/tests/selinux/tests_all_purge.yml PLAY [Test that selinux_all_purge drops local modifications, defaults to no] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp3epeskya/tests/selinux/tests_all_purge.yml:1 Friday 06 May 2022 16:50:54 +0000 (0:00:00.008) 0:00:00.008 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_all_purge.yml:12 Friday 06 May 2022 16:50:55 +0000 (0:00:01.103) 0:00:01.112 ************ An exception occurred during task execution. To see the full traceback, use -vvv. The error was: Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => { "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDOUT: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 98, in _try_lock old_pid = int(old_pid) ValueError: invalid literal for int() with base 10: b'\x00\x00\x00\x00' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/.ansible/tmp/ansible-tmp-1651855855.4161716-221961-165569563268853/AnsiballZ_dnf.py", line 107, in _ansiballz_main() File "/root/.ansible/tmp/ansible-tmp-1651855855.4161716-221961-165569563268853/AnsiballZ_dnf.py", line 99, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "/root/.ansible/tmp/ansible-tmp-1651855855.4161716-221961-165569563268853/AnsiballZ_dnf.py", line 47, in invoke_module runpy.run_module(mod_name='ansible.modules.dnf', init_globals=dict(_module_fqn='ansible.modules.dnf', _modlib_path=modlib_path), File "/usr/lib64/python3.9/runpy.py", line 210, in run_module return _run_module_code(code, init_globals, run_name, mod_spec) File "/usr/lib64/python3.9/runpy.py", line 97, in _run_module_code _run_code(code, mod_globals, init_globals, File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/tmp/ansible_ansible.legacy.dnf_payload_o9rdjlsl/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1427, in File "/tmp/ansible_ansible.legacy.dnf_payload_o9rdjlsl/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1416, in main File "/tmp/ansible_ansible.legacy.dnf_payload_o9rdjlsl/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1382, in run File "/tmp/ansible_ansible.legacy.dnf_payload_o9rdjlsl/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 720, in _base File "/usr/lib/python3.9/site-packages/dnf/base.py", line 381, in fill_sack with lock: File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 131, in __enter__ pid = self._try_lock(my_pid) File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 104, in _try_lock raise LockError(msg) dnf.exceptions.LockError: Malformed lock file found: /var/cache/dnf/metadata_lock.pid. Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. MODULE_STDERR: Shared connection to 127.0.0.3 closed. PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 Friday 06 May 2022 16:50:56 +0000 (0:00:00.980) 0:00:02.093 ************ =============================================================================== Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmp3epeskya/tests/selinux/tests_all_purge.yml:1 -------------------------- Ensure SELinux tool semanage -------------------------------------------- 0.98s /tmp/tmp3epeskya/tests/selinux/tests_all_purge.yml:12 ------------------------- ansible-galaxy [core 2.12.4] 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 = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-galaxy python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Starting galaxy collection install process [WARNING]: The specified collections path '/tmp/tmpt6yp2lym' is not part of the configured Ansible collections paths '/root/.ansible/collections:/usr/share/ansible/collections'. The installed collection won't be picked up in an Ansible run. [WARNING]: Collection at '/tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles' does not have a MANIFEST.json file, nor has it galaxy.yml: cannot detect version. Nothing to do. All requested collections are already installed. If you want to reinstall them, consider using `--force`. ansible-playbook [core 2.12.4] 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/tmpt6yp2lym executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_all_transitions.yml ******************************************** 1 plays in /tmp/tmp3epeskya/tests/selinux/tests_all_transitions.yml PLAY [Test all the possible selinux_state transitions] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp3epeskya/tests/selinux/tests_all_transitions.yml:1 Friday 06 May 2022 16:51:07 +0000 (0:00:00.027) 0:00:00.027 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [save config] ************************************************************* task path: /tmp/tmp3epeskya/tests/selinux/tests_all_transitions.yml:13 Friday 06 May 2022 16:51:08 +0000 (0:00:01.095) 0:00:01.123 ************ included: /tmp/tmp3epeskya/tests/selinux/selinux_config_save.yml for /cache/fedora-34.qcow2.snap TASK [Backup original /etc/selinux/config] ************************************* task path: /tmp/tmp3epeskya/tests/selinux/selinux_config_save.yml:1 Friday 06 May 2022 16:51:08 +0000 (0:00:00.017) 0:00:01.141 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "fe28c32d576c2b84ba06b17892b705cb1f5f2514", "dest": "/etc/selinux/config.test_selinux_save", "gid": 0, "group": "root", "md5sum": "1e5bcf0ec876d9ee86a4693dce912d28", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:selinux_config_t:s0", "size": 1187, "src": "/etc/selinux/config", "state": "file", "uid": 0 } TASK [test all the possible state transitions] ********************************* task path: /tmp/tmp3epeskya/tests/selinux/tests_all_transitions.yml:16 Friday 06 May 2022 16:51:09 +0000 (0:00:00.467) 0:00:01.608 ************ included: /tmp/tmp3epeskya/tests/selinux/selinux_test_transitions.yml for /cache/fedora-34.qcow2.snap => (item=['permissive', 'permissive']) included: /tmp/tmp3epeskya/tests/selinux/selinux_test_transitions.yml for /cache/fedora-34.qcow2.snap => (item=['permissive', 'enforcing']) included: /tmp/tmp3epeskya/tests/selinux/selinux_test_transitions.yml for /cache/fedora-34.qcow2.snap => (item=['permissive', 'disabled']) included: /tmp/tmp3epeskya/tests/selinux/selinux_test_transitions.yml for /cache/fedora-34.qcow2.snap => (item=['enforcing', 'permissive']) included: /tmp/tmp3epeskya/tests/selinux/selinux_test_transitions.yml for /cache/fedora-34.qcow2.snap => (item=['enforcing', 'enforcing']) included: /tmp/tmp3epeskya/tests/selinux/selinux_test_transitions.yml for /cache/fedora-34.qcow2.snap => (item=['enforcing', 'disabled']) included: /tmp/tmp3epeskya/tests/selinux/selinux_test_transitions.yml for /cache/fedora-34.qcow2.snap => (item=['disabled', 'permissive']) included: /tmp/tmp3epeskya/tests/selinux/selinux_test_transitions.yml for /cache/fedora-34.qcow2.snap => (item=['disabled', 'enforcing']) included: /tmp/tmp3epeskya/tests/selinux/selinux_test_transitions.yml for /cache/fedora-34.qcow2.snap => (item=['disabled', 'disabled']) TASK [display transition name] ************************************************* task path: /tmp/tmp3epeskya/tests/selinux/selinux_test_transitions.yml:1 Friday 06 May 2022 16:51:09 +0000 (0:00:00.079) 0:00:01.688 ************ ok: [/cache/fedora-34.qcow2.snap] => {} MSG: testing transition permissive -> permissive TASK [setup the initial state] ************************************************* task path: /tmp/tmp3epeskya/tests/selinux/selinux_test_transitions.yml:5 Friday 06 May 2022 16:51:09 +0000 (0:00:00.018) 0:00:01.707 ************ included: /tmp/tmp3epeskya/tests/selinux/selinux_apply_reboot.yml for /cache/fedora-34.qcow2.snap TASK [include_role : fedora.linux_system_roles.selinux] ************************ task path: /tmp/tmp3epeskya/tests/selinux/selinux_apply_reboot.yml:3 Friday 06 May 2022 16:51:09 +0000 (0:00:00.019) 0:00:01.726 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 06 May 2022 16:51:09 +0000 (0:00:00.049) 0:00:01.776 ************ included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:51:09 +0000 (0:00:00.028) 0:00:01.804 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 06 May 2022 16:51:09 +0000 (0:00:00.483) 0:00:02.288 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Friday 06 May 2022 16:51:10 +0000 (0:00:00.020) 0:00:02.308 ************ An exception occurred during task execution. To see the full traceback, use -vvv. The error was: Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => { "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDOUT: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 98, in _try_lock old_pid = int(old_pid) ValueError: invalid literal for int() with base 10: b'\x00\x00\x00\x00' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/.ansible/tmp/ansible-tmp-1651855870.0615668-222105-9707742096584/AnsiballZ_dnf.py", line 107, in _ansiballz_main() File "/root/.ansible/tmp/ansible-tmp-1651855870.0615668-222105-9707742096584/AnsiballZ_dnf.py", line 99, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "/root/.ansible/tmp/ansible-tmp-1651855870.0615668-222105-9707742096584/AnsiballZ_dnf.py", line 47, in invoke_module runpy.run_module(mod_name='ansible.modules.dnf', init_globals=dict(_module_fqn='ansible.modules.dnf', _modlib_path=modlib_path), File "/usr/lib64/python3.9/runpy.py", line 210, in run_module return _run_module_code(code, init_globals, run_name, mod_spec) File "/usr/lib64/python3.9/runpy.py", line 97, in _run_module_code _run_code(code, mod_globals, init_globals, File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/tmp/ansible_ansible.legacy.dnf_payload_lezn7bh9/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1427, in File "/tmp/ansible_ansible.legacy.dnf_payload_lezn7bh9/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1416, in main File "/tmp/ansible_ansible.legacy.dnf_payload_lezn7bh9/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1382, in run File "/tmp/ansible_ansible.legacy.dnf_payload_lezn7bh9/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 720, in _base File "/usr/lib/python3.9/site-packages/dnf/base.py", line 381, in fill_sack with lock: File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 131, in __enter__ pid = self._try_lock(my_pid) File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 104, in _try_lock raise LockError(msg) dnf.exceptions.LockError: Malformed lock file found: /var/cache/dnf/metadata_lock.pid. Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. MODULE_STDERR: Shared connection to 127.0.0.3 closed. TASK [handle errors] *********************************************************** task path: /tmp/tmp3epeskya/tests/selinux/selinux_apply_reboot.yml:7 Friday 06 May 2022 16:51:10 +0000 (0:00:00.927) 0:00:03.235 ************ fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => {} MSG: The conditional check 'not selinux_reboot_required' failed. The error was: error while evaluating conditional (not selinux_reboot_required): 'selinux_reboot_required' is undefined The error appears to be in '/tmp/tmp3epeskya/tests/selinux/selinux_apply_reboot.yml': line 7, column 7, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: # Fail if failed for a different reason than selinux_reboot_required. - name: handle errors ^ here PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=16 changed=1 unreachable=0 failed=1 skipped=1 rescued=1 ignored=0 Friday 06 May 2022 16:51:10 +0000 (0:00:00.014) 0:00:03.249 ************ =============================================================================== Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmp3epeskya/tests/selinux/tests_all_transitions.yml:1 -------------------- fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 0.93s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 fedora.linux_system_roles.selinux : Ensure ansible_facts used by role --- 0.48s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Backup original /etc/selinux/config ------------------------------------- 0.47s /tmp/tmp3epeskya/tests/selinux/selinux_config_save.yml:1 ---------------------- test all the possible state transitions --------------------------------- 0.08s /tmp/tmp3epeskya/tests/selinux/tests_all_transitions.yml:16 ------------------- include_role : fedora.linux_system_roles.selinux ------------------------ 0.05s /tmp/tmp3epeskya/tests/selinux/selinux_apply_reboot.yml:3 --------------------- fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages --- 0.03s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.02s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 setup the initial state ------------------------------------------------- 0.02s /tmp/tmp3epeskya/tests/selinux/selinux_test_transitions.yml:5 ----------------- display transition name ------------------------------------------------- 0.02s /tmp/tmp3epeskya/tests/selinux/selinux_test_transitions.yml:1 ----------------- save config ------------------------------------------------------------- 0.02s /tmp/tmp3epeskya/tests/selinux/tests_all_transitions.yml:13 ------------------- handle errors ----------------------------------------------------------- 0.01s /tmp/tmp3epeskya/tests/selinux/selinux_apply_reboot.yml:7 --------------------- ansible-galaxy [core 2.12.4] 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 = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-galaxy python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Starting galaxy collection install process [WARNING]: The specified collections path '/tmp/tmpt6yp2lym' is not part of the configured Ansible collections paths '/root/.ansible/collections:/usr/share/ansible/collections'. The installed collection won't be picked up in an Ansible run. [WARNING]: Collection at '/tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles' does not have a MANIFEST.json file, nor has it galaxy.yml: cannot detect version. Nothing to do. All requested collections are already installed. If you want to reinstall them, consider using `--force`. ansible-playbook [core 2.12.4] 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/tmpt6yp2lym executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file statically imported: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml statically imported: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml statically imported: /tmp/tmp3epeskya/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_boolean.yml **************************************************** 1 plays in /tmp/tmp3epeskya/tests/selinux/tests_boolean.yml PLAY [Check if selinux role sets SELinux booleans] ***************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp3epeskya/tests/selinux/tests_boolean.yml:1 Friday 06 May 2022 16:51:22 +0000 (0:00:00.008) 0:00:00.008 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [initial changes] ********************************************************* task path: /tmp/tmp3epeskya/tests/selinux/tests_boolean.yml:6 Friday 06 May 2022 16:51:23 +0000 (0:00:01.122) 0:00:01.131 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 06 May 2022 16:51:23 +0000 (0:00:00.081) 0:00:01.212 ************ included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:51:23 +0000 (0:00:00.026) 0:00:01.239 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 06 May 2022 16:51:24 +0000 (0:00:00.489) 0:00:01.729 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Friday 06 May 2022 16:51:24 +0000 (0:00:00.022) 0:00:01.751 ************ An exception occurred during task execution. To see the full traceback, use -vvv. The error was: Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => { "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDOUT: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 98, in _try_lock old_pid = int(old_pid) ValueError: invalid literal for int() with base 10: b'\x00\x00\x00\x00' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/.ansible/tmp/ansible-tmp-1651855884.4097779-222222-163028262186452/AnsiballZ_dnf.py", line 107, in _ansiballz_main() File "/root/.ansible/tmp/ansible-tmp-1651855884.4097779-222222-163028262186452/AnsiballZ_dnf.py", line 99, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "/root/.ansible/tmp/ansible-tmp-1651855884.4097779-222222-163028262186452/AnsiballZ_dnf.py", line 47, in invoke_module runpy.run_module(mod_name='ansible.modules.dnf', init_globals=dict(_module_fqn='ansible.modules.dnf', _modlib_path=modlib_path), File "/usr/lib64/python3.9/runpy.py", line 210, in run_module return _run_module_code(code, init_globals, run_name, mod_spec) File "/usr/lib64/python3.9/runpy.py", line 97, in _run_module_code _run_code(code, mod_globals, init_globals, File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/tmp/ansible_ansible.legacy.dnf_payload_ennvdrs1/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1427, in File "/tmp/ansible_ansible.legacy.dnf_payload_ennvdrs1/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1416, in main File "/tmp/ansible_ansible.legacy.dnf_payload_ennvdrs1/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1382, in run File "/tmp/ansible_ansible.legacy.dnf_payload_ennvdrs1/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 720, in _base File "/usr/lib/python3.9/site-packages/dnf/base.py", line 381, in fill_sack with lock: File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 131, in __enter__ pid = self._try_lock(my_pid) File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 104, in _try_lock raise LockError(msg) dnf.exceptions.LockError: Malformed lock file found: /var/cache/dnf/metadata_lock.pid. Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. MODULE_STDERR: Shared connection to 127.0.0.3 closed. PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=3 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0 Friday 06 May 2022 16:51:25 +0000 (0:00:00.958) 0:00:02.710 ************ =============================================================================== Gathering Facts --------------------------------------------------------- 1.12s /tmp/tmp3epeskya/tests/selinux/tests_boolean.yml:1 ---------------------------- fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 0.96s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 fedora.linux_system_roles.selinux : Ensure ansible_facts used by role --- 0.49s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 initial changes --------------------------------------------------------- 0.08s /tmp/tmp3epeskya/tests/selinux/tests_boolean.yml:6 ---------------------------- fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages --- 0.03s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.02s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 ansible-galaxy [core 2.12.4] 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 = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-galaxy python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Starting galaxy collection install process [WARNING]: The specified collections path '/tmp/tmpt6yp2lym' is not part of the configured Ansible collections paths '/root/.ansible/collections:/usr/share/ansible/collections'. The installed collection won't be picked up in an Ansible run. [WARNING]: Collection at '/tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles' does not have a MANIFEST.json file, nor has it galaxy.yml: cannot detect version. Nothing to do. All requested collections are already installed. If you want to reinstall them, consider using `--force`. ansible-playbook [core 2.12.4] 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/tmpt6yp2lym executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin 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_default.yml **************************************************** 1 plays in /tmp/tmp3epeskya/tests/selinux/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** META: ran handlers TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 06 May 2022 16:51:37 +0000 (0:00:00.014) 0:00:00.014 ************ included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:51:37 +0000 (0:00:00.019) 0:00:00.034 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 06 May 2022 16:51:37 +0000 (0:00:00.834) 0:00:00.869 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Friday 06 May 2022 16:51:38 +0000 (0:00:00.019) 0:00:00.888 ************ An exception occurred during task execution. To see the full traceback, use -vvv. The error was: Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => { "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDOUT: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 98, in _try_lock old_pid = int(old_pid) ValueError: invalid literal for int() with base 10: b'\x00\x00\x00\x00' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/.ansible/tmp/ansible-tmp-1651855898.060689-222315-194936457396864/AnsiballZ_dnf.py", line 107, in _ansiballz_main() File "/root/.ansible/tmp/ansible-tmp-1651855898.060689-222315-194936457396864/AnsiballZ_dnf.py", line 99, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "/root/.ansible/tmp/ansible-tmp-1651855898.060689-222315-194936457396864/AnsiballZ_dnf.py", line 47, in invoke_module runpy.run_module(mod_name='ansible.modules.dnf', init_globals=dict(_module_fqn='ansible.modules.dnf', _modlib_path=modlib_path), File "/usr/lib64/python3.9/runpy.py", line 210, in run_module return _run_module_code(code, init_globals, run_name, mod_spec) File "/usr/lib64/python3.9/runpy.py", line 97, in _run_module_code _run_code(code, mod_globals, init_globals, File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/tmp/ansible_ansible.legacy.dnf_payload_omh429qt/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1427, in File "/tmp/ansible_ansible.legacy.dnf_payload_omh429qt/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1416, in main File "/tmp/ansible_ansible.legacy.dnf_payload_omh429qt/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1382, in run File "/tmp/ansible_ansible.legacy.dnf_payload_omh429qt/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 720, in _base File "/usr/lib/python3.9/site-packages/dnf/base.py", line 381, in fill_sack with lock: File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 131, in __enter__ pid = self._try_lock(my_pid) File "/usr/lib/python3.9/site-packages/dnf/lock.py", line 104, in _try_lock raise LockError(msg) dnf.exceptions.LockError: Malformed lock file found: /var/cache/dnf/metadata_lock.pid. Ensure no other dnf/yum process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf. MODULE_STDERR: Shared connection to 127.0.0.3 closed. PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=2 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0 Friday 06 May 2022 16:51:38 +0000 (0:00:00.942) 0:00:01.831 ************ =============================================================================== fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 0.94s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 fedora.linux_system_roles.selinux : Ensure ansible_facts used by role --- 0.83s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages --- 0.02s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.02s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 ansible-galaxy [core 2.12.4] 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 = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-galaxy python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Starting galaxy collection install process [WARNING]: The specified collections path '/tmp/tmpt6yp2lym' is not part of the configured Ansible collections paths '/root/.ansible/collections:/usr/share/ansible/collections'. The installed collection won't be picked up in an Ansible run. [WARNING]: Collection at '/tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles' does not have a MANIFEST.json file, nor has it galaxy.yml: cannot detect version. Nothing to do. All requested collections are already installed. If you want to reinstall them, consider using `--force`. ansible-playbook [core 2.12.4] 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/tmpt6yp2lym executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin 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_default_vars.yml *********************************************** 1 plays in /tmp/tmp3epeskya/tests/selinux/tests_default_vars.yml PLAY [Ensure that the role declares all parameters in defaults] **************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp3epeskya/tests/selinux/tests_default_vars.yml:1 Friday 06 May 2022 16:51:50 +0000 (0:00:00.011) 0:00:00.011 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 06 May 2022 16:51:51 +0000 (0:00:01.141) 0:00:01.152 ************ included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:51:51 +0000 (0:00:00.023) 0:00:01.176 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 06 May 2022 16:51:51 +0000 (0:00:00.030) 0:00:01.207 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Friday 06 May 2022 16:51:51 +0000 (0:00:00.020) 0:00:01.227 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Friday 06 May 2022 16:51:54 +0000 (0:00:02.472) 0:00:03.700 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Friday 06 May 2022 16:51:55 +0000 (0:00:00.795) 0:00:04.496 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 06 May 2022 16:51:57 +0000 (0:00:02.057) 0:00:06.554 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Friday 06 May 2022 16:51:57 +0000 (0:00:00.018) 0:00:06.572 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Friday 06 May 2022 16:51:57 +0000 (0:00:00.017) 0:00:06.590 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Friday 06 May 2022 16:51:57 +0000 (0:00:00.032) 0:00:06.622 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:28 Friday 06 May 2022 16:51:57 +0000 (0:00:00.017) 0:00:06.639 ************ skipping: [/cache/fedora-34.qcow2.snap] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Friday 06 May 2022 16:51:57 +0000 (0:00:00.017) 0:00:06.657 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Friday 06 May 2022 16:51:57 +0000 (0:00:00.028) 0:00:06.686 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 Friday 06 May 2022 16:51:57 +0000 (0:00:00.028) 0:00:06.715 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 06 May 2022 16:51:57 +0000 (0:00:00.028) 0:00:06.744 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Friday 06 May 2022 16:51:57 +0000 (0:00:00.032) 0:00:06.776 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Friday 06 May 2022 16:51:57 +0000 (0:00:00.029) 0:00:06.806 ************ TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 06 May 2022 16:51:57 +0000 (0:00:00.017) 0:00:06.824 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Friday 06 May 2022 16:51:57 +0000 (0:00:00.017) 0:00:06.842 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:78 Friday 06 May 2022 16:51:57 +0000 (0:00:00.016) 0:00:06.858 ************ TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 Friday 06 May 2022 16:51:57 +0000 (0:00:00.016) 0:00:06.875 ************ TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 Friday 06 May 2022 16:51:57 +0000 (0:00:00.016) 0:00:06.891 ************ TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Friday 06 May 2022 16:51:57 +0000 (0:00:00.016) 0:00:06.908 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : include_tasks] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Friday 06 May 2022 16:51:58 +0000 (0:00:00.772) 0:00:07.681 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Assert that the role declares all parameters in defaults] **************** task path: /tmp/tmp3epeskya/tests/selinux/tests_default_vars.yml:7 Friday 06 May 2022 16:51:58 +0000 (0:00:00.061) 0:00:07.743 ************ ok: [/cache/fedora-34.qcow2.snap] => (item=selinux_state) => { "ansible_loop_var": "item", "changed": false, "item": "selinux_state" } MSG: All assertions passed ok: [/cache/fedora-34.qcow2.snap] => (item=selinux_policy) => { "ansible_loop_var": "item", "changed": false, "item": "selinux_policy" } MSG: All assertions passed ok: [/cache/fedora-34.qcow2.snap] => (item=selinux_booleans) => { "ansible_loop_var": "item", "changed": false, "item": "selinux_booleans" } MSG: All assertions passed ok: [/cache/fedora-34.qcow2.snap] => (item=selinux_fcontexts) => { "ansible_loop_var": "item", "changed": false, "item": "selinux_fcontexts" } MSG: All assertions passed ok: [/cache/fedora-34.qcow2.snap] => (item=selinux_logins) => { "ansible_loop_var": "item", "changed": false, "item": "selinux_logins" } MSG: All assertions passed ok: [/cache/fedora-34.qcow2.snap] => (item=selinux_ports) => { "ansible_loop_var": "item", "changed": false, "item": "selinux_ports" } MSG: All assertions passed ok: [/cache/fedora-34.qcow2.snap] => (item=selinux_restore_dirs) => { "ansible_loop_var": "item", "changed": false, "item": "selinux_restore_dirs" } MSG: All assertions passed ok: [/cache/fedora-34.qcow2.snap] => (item=selinux_all_purge) => { "ansible_loop_var": "item", "changed": false, "item": "selinux_all_purge" } MSG: All assertions passed ok: [/cache/fedora-34.qcow2.snap] => (item=selinux_booleans_purge) => { "ansible_loop_var": "item", "changed": false, "item": "selinux_booleans_purge" } MSG: All assertions passed ok: [/cache/fedora-34.qcow2.snap] => (item=selinux_fcontexts_purge) => { "ansible_loop_var": "item", "changed": false, "item": "selinux_fcontexts_purge" } MSG: All assertions passed ok: [/cache/fedora-34.qcow2.snap] => (item=selinux_ports_purge) => { "ansible_loop_var": "item", "changed": false, "item": "selinux_ports_purge" } MSG: All assertions passed ok: [/cache/fedora-34.qcow2.snap] => (item=selinux_logins_purge) => { "ansible_loop_var": "item", "changed": false, "item": "selinux_logins_purge" } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=8 changed=0 unreachable=0 failed=0 skipped=18 rescued=0 ignored=0 Friday 06 May 2022 16:51:58 +0000 (0:00:00.086) 0:00:07.829 ************ =============================================================================== fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 2.47s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 fedora.linux_system_roles.selinux : Install SELinux tool semanage ------- 2.06s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Gathering Facts --------------------------------------------------------- 1.14s /tmp/tmp3epeskya/tests/selinux/tests_default_vars.yml:1 ----------------------- fedora.linux_system_roles.selinux : refresh facts ----------------------- 0.80s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 0.77s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Assert that the role declares all parameters in defaults ---------------- 0.09s /tmp/tmp3epeskya/tests/selinux/tests_default_vars.yml:7 ----------------------- fedora.linux_system_roles.selinux : include_tasks ----------------------- 0.06s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 fedora.linux_system_roles.selinux : Purge all SELinux port local modifications --- 0.03s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 fedora.linux_system_roles.selinux : Set selinux_reboot_required --------- 0.03s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 fedora.linux_system_roles.selinux : Ensure ansible_facts used by role --- 0.03s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 fedora.linux_system_roles.selinux : Purge all SELinux login local modifications --- 0.03s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 fedora.linux_system_roles.selinux : Drop all local modifications -------- 0.03s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications --- 0.03s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications --- 0.03s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages --- 0.02s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.02s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled --- 0.02s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 fedora.linux_system_roles.selinux : Warn if SELinux is disabled --------- 0.02s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:28 fedora.linux_system_roles.selinux : Set SELinux booleans ---------------- 0.02s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 fedora.linux_system_roles.selinux : Set SELinux file contexts ----------- 0.02s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 ansible-galaxy [core 2.12.4] 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 = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-galaxy python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Starting galaxy collection install process [WARNING]: The specified collections path '/tmp/tmpt6yp2lym' is not part of the configured Ansible collections paths '/root/.ansible/collections:/usr/share/ansible/collections'. The installed collection won't be picked up in an Ansible run. [WARNING]: Collection at '/tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles' does not have a MANIFEST.json file, nor has it galaxy.yml: cannot detect version. Nothing to do. All requested collections are already installed. If you want to reinstall them, consider using `--force`. ansible-playbook [core 2.12.4] 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/tmpt6yp2lym executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file statically imported: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml statically imported: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml statically imported: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml statically imported: /tmp/tmp3epeskya/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_fcontext.yml *************************************************** 1 plays in /tmp/tmp3epeskya/tests/selinux/tests_fcontext.yml PLAY [Check if selinux role sets SELinux fcontext mappings] ******************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp3epeskya/tests/selinux/tests_fcontext.yml:1 Friday 06 May 2022 16:52:09 +0000 (0:00:00.009) 0:00:00.009 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [initial changes] ********************************************************* task path: /tmp/tmp3epeskya/tests/selinux/tests_fcontext.yml:7 Friday 06 May 2022 16:52:10 +0000 (0:00:01.097) 0:00:01.106 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 06 May 2022 16:52:10 +0000 (0:00:00.083) 0:00:01.190 ************ included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:52:10 +0000 (0:00:00.027) 0:00:01.217 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 06 May 2022 16:52:10 +0000 (0:00:00.030) 0:00:01.248 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Friday 06 May 2022 16:52:10 +0000 (0:00:00.020) 0:00:01.269 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Friday 06 May 2022 16:52:13 +0000 (0:00:02.509) 0:00:03.779 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Friday 06 May 2022 16:52:14 +0000 (0:00:00.740) 0:00:04.519 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 06 May 2022 16:52:16 +0000 (0:00:01.980) 0:00:06.500 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Friday 06 May 2022 16:52:16 +0000 (0:00:00.018) 0:00:06.519 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Friday 06 May 2022 16:52:16 +0000 (0:00:00.017) 0:00:06.536 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Friday 06 May 2022 16:52:16 +0000 (0:00:00.034) 0:00:06.571 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:28 Friday 06 May 2022 16:52:16 +0000 (0:00:00.017) 0:00:06.589 ************ skipping: [/cache/fedora-34.qcow2.snap] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Friday 06 May 2022 16:52:16 +0000 (0:00:00.016) 0:00:06.606 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Friday 06 May 2022 16:52:16 +0000 (0:00:00.028) 0:00:06.634 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 Friday 06 May 2022 16:52:16 +0000 (0:00:00.028) 0:00:06.663 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "fcontext", "-D" ], "delta": "0:00:06.758359", "end": "2022-05-06 16:52:22.951262", "rc": 0, "start": "2022-05-06 16:52:16.192903" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 06 May 2022 16:52:23 +0000 (0:00:07.263) 0:00:13.927 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Friday 06 May 2022 16:52:23 +0000 (0:00:00.032) 0:00:13.959 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Friday 06 May 2022 16:52:23 +0000 (0:00:00.031) 0:00:13.991 ************ TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 06 May 2022 16:52:23 +0000 (0:00:00.019) 0:00:14.010 ************ redirecting (type: modules) ansible.builtin.sefcontext to community.general.sefcontext changed: [/cache/fedora-34.qcow2.snap] => (item={'target': '/tmp/test_dir1(/.*)?', 'setype': 'user_home_dir_t', 'ftype': 'd'}) => { "ansible_loop_var": "item", "changed": true, "ftype": "d", "item": { "ftype": "d", "setype": "user_home_dir_t", "target": "/tmp/test_dir1(/.*)?" }, "serange": "s0", "setype": "user_home_dir_t", "seuser": "system_u", "state": "present", "target": "/tmp/test_dir1(/.*)?" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Friday 06 May 2022 16:52:24 +0000 (0:00:01.273) 0:00:15.284 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:78 Friday 06 May 2022 16:52:24 +0000 (0:00:00.018) 0:00:15.302 ************ TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 Friday 06 May 2022 16:52:24 +0000 (0:00:00.018) 0:00:15.321 ************ TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 Friday 06 May 2022 16:52:24 +0000 (0:00:00.018) 0:00:15.339 ************ TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Friday 06 May 2022 16:52:24 +0000 (0:00:00.018) 0:00:15.357 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : include_tasks] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Friday 06 May 2022 16:52:25 +0000 (0:00:00.506) 0:00:15.863 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 Friday 06 May 2022 16:52:25 +0000 (0:00:00.044) 0:00:15.908 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:8 Friday 06 May 2022 16:52:27 +0000 (0:00:01.998) 0:00:17.907 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "boolean", "-l", "-n", "-C" ], "delta": "0:00:00.235351", "end": "2022-05-06 16:52:27.568465", "rc": 0, "start": "2022-05-06 16:52:27.333114" } TASK [Get local modifications - port] ****************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:12 Friday 06 May 2022 16:52:28 +0000 (0:00:00.629) 0:00:18.536 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "port", "-l", "-n", "-C" ], "delta": "0:00:00.271777", "end": "2022-05-06 16:52:28.194445", "rc": 0, "start": "2022-05-06 16:52:27.922668" } TASK [Get local modifications - login] ***************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:16 Friday 06 May 2022 16:52:28 +0000 (0:00:00.629) 0:00:19.165 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "login", "-l", "-n", "-C" ], "delta": "0:00:00.229963", "end": "2022-05-06 16:52:28.776901", "rc": 0, "start": "2022-05-06 16:52:28.546938" } TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:20 Friday 06 May 2022 16:52:29 +0000 (0:00:00.584) 0:00:19.749 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "fcontext", "-l", "-n", "-C" ], "delta": "0:00:00.281987", "end": "2022-05-06 16:52:29.431418", "rc": 0, "start": "2022-05-06 16:52:29.149431" } STDOUT: /tmp/test_dir1(/.*)? directory system_u:object_r:user_home_dir_t:s0 TASK [save state after initial changes and before other changes] *************** task path: /tmp/tmp3epeskya/tests/selinux/tests_fcontext.yml:18 Friday 06 May 2022 16:52:30 +0000 (0:00:00.650) 0:00:20.400 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "fcontext_before": "/tmp/test_dir1(/.*)? directory system_u:object_r:user_home_dir_t:s0 " }, "changed": false } TASK [Check if there are SELinux fcontext mapping changes] ********************* task path: /tmp/tmp3epeskya/tests/selinux/tests_fcontext.yml:22 Friday 06 May 2022 16:52:30 +0000 (0:00:00.023) 0:00:20.423 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [subsequent changes] ****************************************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_fcontext.yml:26 Friday 06 May 2022 16:52:30 +0000 (0:00:00.036) 0:00:20.460 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 06 May 2022 16:52:30 +0000 (0:00:00.062) 0:00:20.523 ************ included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:52:30 +0000 (0:00:00.033) 0:00:20.556 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 06 May 2022 16:52:30 +0000 (0:00:00.038) 0:00:20.594 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Friday 06 May 2022 16:52:30 +0000 (0:00:00.025) 0:00:20.620 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Friday 06 May 2022 16:52:32 +0000 (0:00:01.959) 0:00:22.579 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Friday 06 May 2022 16:52:32 +0000 (0:00:00.775) 0:00:23.354 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 06 May 2022 16:52:34 +0000 (0:00:01.927) 0:00:25.282 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Friday 06 May 2022 16:52:34 +0000 (0:00:00.022) 0:00:25.305 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Friday 06 May 2022 16:52:34 +0000 (0:00:00.022) 0:00:25.327 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Friday 06 May 2022 16:52:34 +0000 (0:00:00.038) 0:00:25.365 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:28 Friday 06 May 2022 16:52:35 +0000 (0:00:00.021) 0:00:25.387 ************ skipping: [/cache/fedora-34.qcow2.snap] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Friday 06 May 2022 16:52:35 +0000 (0:00:00.021) 0:00:25.408 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Friday 06 May 2022 16:52:35 +0000 (0:00:00.033) 0:00:25.441 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 Friday 06 May 2022 16:52:35 +0000 (0:00:00.034) 0:00:25.476 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 06 May 2022 16:52:35 +0000 (0:00:00.033) 0:00:25.509 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Friday 06 May 2022 16:52:35 +0000 (0:00:00.033) 0:00:25.543 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Friday 06 May 2022 16:52:35 +0000 (0:00:00.034) 0:00:25.577 ************ TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 06 May 2022 16:52:35 +0000 (0:00:00.021) 0:00:25.598 ************ redirecting (type: modules) ansible.builtin.sefcontext to community.general.sefcontext changed: [/cache/fedora-34.qcow2.snap] => (item={'target': '/tmp/test_dir2(/.*)?', 'setype': 'user_home_dir_t', 'ftype': 'd'}) => { "ansible_loop_var": "item", "changed": true, "ftype": "d", "item": { "ftype": "d", "setype": "user_home_dir_t", "target": "/tmp/test_dir2(/.*)?" }, "serange": "s0", "setype": "user_home_dir_t", "seuser": "system_u", "state": "present", "target": "/tmp/test_dir2(/.*)?" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Friday 06 May 2022 16:52:36 +0000 (0:00:01.115) 0:00:26.713 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:78 Friday 06 May 2022 16:52:36 +0000 (0:00:00.021) 0:00:26.734 ************ TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 Friday 06 May 2022 16:52:36 +0000 (0:00:00.021) 0:00:26.756 ************ TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 Friday 06 May 2022 16:52:36 +0000 (0:00:00.020) 0:00:26.776 ************ TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Friday 06 May 2022 16:52:36 +0000 (0:00:00.062) 0:00:26.839 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : include_tasks] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Friday 06 May 2022 16:52:36 +0000 (0:00:00.434) 0:00:27.273 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 Friday 06 May 2022 16:52:36 +0000 (0:00:00.043) 0:00:27.316 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:8 Friday 06 May 2022 16:52:38 +0000 (0:00:01.951) 0:00:29.268 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "boolean", "-l", "-n", "-C" ], "delta": "0:00:00.236344", "end": "2022-05-06 16:52:38.875707", "rc": 0, "start": "2022-05-06 16:52:38.639363" } TASK [Get local modifications - port] ****************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:12 Friday 06 May 2022 16:52:39 +0000 (0:00:00.576) 0:00:29.845 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "port", "-l", "-n", "-C" ], "delta": "0:00:00.331165", "end": "2022-05-06 16:52:39.552386", "rc": 0, "start": "2022-05-06 16:52:39.221221" } TASK [Get local modifications - login] ***************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:16 Friday 06 May 2022 16:52:40 +0000 (0:00:00.677) 0:00:30.522 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "login", "-l", "-n", "-C" ], "delta": "0:00:00.221096", "end": "2022-05-06 16:52:40.135098", "rc": 0, "start": "2022-05-06 16:52:39.914002" } TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:20 Friday 06 May 2022 16:52:40 +0000 (0:00:00.581) 0:00:31.104 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "fcontext", "-l", "-n", "-C" ], "delta": "0:00:00.273893", "end": "2022-05-06 16:52:40.743116", "rc": 0, "start": "2022-05-06 16:52:40.469223" } STDOUT: /tmp/test_dir1(/.*)? directory system_u:object_r:user_home_dir_t:s0 /tmp/test_dir2(/.*)? directory system_u:object_r:user_home_dir_t:s0 TASK [save state after other changes] ****************************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_fcontext.yml:37 Friday 06 May 2022 16:52:41 +0000 (0:00:00.604) 0:00:31.709 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "fcontext_after": "/tmp/test_dir1(/.*)? directory system_u:object_r:user_home_dir_t:s0 \n/tmp/test_dir2(/.*)? directory system_u:object_r:user_home_dir_t:s0 " }, "changed": false } TASK [Check if there are SELinux fcontext mapping changes] ********************* task path: /tmp/tmp3epeskya/tests/selinux/tests_fcontext.yml:41 Friday 06 May 2022 16:52:41 +0000 (0:00:00.020) 0:00:31.730 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [revert subsequent changes] *********************************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_fcontext.yml:45 Friday 06 May 2022 16:52:41 +0000 (0:00:00.020) 0:00:31.750 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 06 May 2022 16:52:41 +0000 (0:00:00.092) 0:00:31.842 ************ included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:52:41 +0000 (0:00:00.031) 0:00:31.874 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 06 May 2022 16:52:41 +0000 (0:00:00.034) 0:00:31.909 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Friday 06 May 2022 16:52:41 +0000 (0:00:00.023) 0:00:31.932 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Friday 06 May 2022 16:52:43 +0000 (0:00:01.914) 0:00:33.846 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Friday 06 May 2022 16:52:44 +0000 (0:00:00.742) 0:00:34.589 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 06 May 2022 16:52:46 +0000 (0:00:01.899) 0:00:36.489 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Friday 06 May 2022 16:52:46 +0000 (0:00:00.022) 0:00:36.511 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Friday 06 May 2022 16:52:46 +0000 (0:00:00.021) 0:00:36.533 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Friday 06 May 2022 16:52:46 +0000 (0:00:00.039) 0:00:36.572 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:28 Friday 06 May 2022 16:52:46 +0000 (0:00:00.019) 0:00:36.592 ************ skipping: [/cache/fedora-34.qcow2.snap] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Friday 06 May 2022 16:52:46 +0000 (0:00:00.029) 0:00:36.622 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Friday 06 May 2022 16:52:46 +0000 (0:00:00.039) 0:00:36.661 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 Friday 06 May 2022 16:52:46 +0000 (0:00:00.034) 0:00:36.696 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 06 May 2022 16:52:46 +0000 (0:00:00.033) 0:00:36.729 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Friday 06 May 2022 16:52:46 +0000 (0:00:00.035) 0:00:36.764 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Friday 06 May 2022 16:52:46 +0000 (0:00:00.037) 0:00:36.802 ************ TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 06 May 2022 16:52:46 +0000 (0:00:00.022) 0:00:36.824 ************ redirecting (type: modules) ansible.builtin.sefcontext to community.general.sefcontext changed: [/cache/fedora-34.qcow2.snap] => (item={'target': '/tmp/test_dir2(/.*)?', 'setype': 'user_home_dir_t', 'ftype': 'd', 'state': 'absent'}) => { "ansible_loop_var": "item", "changed": true, "ftype": "d", "item": { "ftype": "d", "setype": "user_home_dir_t", "state": "absent", "target": "/tmp/test_dir2(/.*)?" }, "setype": "user_home_dir_t", "state": "absent", "target": "/tmp/test_dir2(/.*)?" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Friday 06 May 2022 16:52:47 +0000 (0:00:01.158) 0:00:37.982 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:78 Friday 06 May 2022 16:52:47 +0000 (0:00:00.021) 0:00:38.003 ************ TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 Friday 06 May 2022 16:52:47 +0000 (0:00:00.019) 0:00:38.023 ************ TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 Friday 06 May 2022 16:52:47 +0000 (0:00:00.019) 0:00:38.042 ************ TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Friday 06 May 2022 16:52:47 +0000 (0:00:00.018) 0:00:38.061 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : include_tasks] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Friday 06 May 2022 16:52:48 +0000 (0:00:00.391) 0:00:38.452 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 Friday 06 May 2022 16:52:48 +0000 (0:00:00.043) 0:00:38.496 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:8 Friday 06 May 2022 16:52:49 +0000 (0:00:01.877) 0:00:40.374 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "boolean", "-l", "-n", "-C" ], "delta": "0:00:00.223174", "end": "2022-05-06 16:52:49.970289", "rc": 0, "start": "2022-05-06 16:52:49.747115" } TASK [Get local modifications - port] ****************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:12 Friday 06 May 2022 16:52:50 +0000 (0:00:00.566) 0:00:40.940 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "port", "-l", "-n", "-C" ], "delta": "0:00:00.281956", "end": "2022-05-06 16:52:50.606586", "rc": 0, "start": "2022-05-06 16:52:50.324630" } TASK [Get local modifications - login] ***************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:16 Friday 06 May 2022 16:52:51 +0000 (0:00:00.637) 0:00:41.578 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "login", "-l", "-n", "-C" ], "delta": "0:00:00.235139", "end": "2022-05-06 16:52:51.190443", "rc": 0, "start": "2022-05-06 16:52:50.955304" } TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:20 Friday 06 May 2022 16:52:51 +0000 (0:00:00.583) 0:00:42.161 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "fcontext", "-l", "-n", "-C" ], "delta": "0:00:00.288400", "end": "2022-05-06 16:52:51.833487", "rc": 0, "start": "2022-05-06 16:52:51.545087" } STDOUT: /tmp/test_dir1(/.*)? directory system_u:object_r:user_home_dir_t:s0 TASK [save state after reverting other changes] ******************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_fcontext.yml:56 Friday 06 May 2022 16:52:52 +0000 (0:00:00.643) 0:00:42.805 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "fcontext_after": "/tmp/test_dir1(/.*)? directory system_u:object_r:user_home_dir_t:s0 " }, "changed": false } TASK [Check if SELinux fcontext mapping is as before] ************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_fcontext.yml:60 Friday 06 May 2022 16:52:52 +0000 (0:00:00.022) 0:00:42.828 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_role : fedora.linux_system_roles.selinux] ************************ task path: /tmp/tmp3epeskya/tests/selinux/tests_fcontext.yml:64 Friday 06 May 2022 16:52:52 +0000 (0:00:00.022) 0:00:42.850 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 06 May 2022 16:52:52 +0000 (0:00:00.111) 0:00:42.961 ************ included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:52:52 +0000 (0:00:00.034) 0:00:42.995 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 06 May 2022 16:52:52 +0000 (0:00:00.037) 0:00:43.033 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Friday 06 May 2022 16:52:52 +0000 (0:00:00.026) 0:00:43.059 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Friday 06 May 2022 16:52:54 +0000 (0:00:01.936) 0:00:44.996 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Friday 06 May 2022 16:52:55 +0000 (0:00:00.748) 0:00:45.744 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 06 May 2022 16:52:57 +0000 (0:00:01.929) 0:00:47.674 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Friday 06 May 2022 16:52:57 +0000 (0:00:00.022) 0:00:47.697 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Friday 06 May 2022 16:52:57 +0000 (0:00:00.021) 0:00:47.718 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Friday 06 May 2022 16:52:57 +0000 (0:00:00.036) 0:00:47.754 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:28 Friday 06 May 2022 16:52:57 +0000 (0:00:00.019) 0:00:47.774 ************ skipping: [/cache/fedora-34.qcow2.snap] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Friday 06 May 2022 16:52:57 +0000 (0:00:00.018) 0:00:47.792 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Friday 06 May 2022 16:52:57 +0000 (0:00:00.033) 0:00:47.826 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 Friday 06 May 2022 16:52:57 +0000 (0:00:00.031) 0:00:47.858 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "fcontext", "-D" ], "delta": "0:00:00.787143", "end": "2022-05-06 16:52:58.046370", "rc": 0, "start": "2022-05-06 16:52:57.259227" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 06 May 2022 16:52:58 +0000 (0:00:01.166) 0:00:49.024 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Friday 06 May 2022 16:52:58 +0000 (0:00:00.037) 0:00:49.062 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Friday 06 May 2022 16:52:58 +0000 (0:00:00.035) 0:00:49.097 ************ TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 06 May 2022 16:52:58 +0000 (0:00:00.024) 0:00:49.122 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Friday 06 May 2022 16:52:58 +0000 (0:00:00.021) 0:00:49.143 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:78 Friday 06 May 2022 16:52:58 +0000 (0:00:00.021) 0:00:49.164 ************ TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 Friday 06 May 2022 16:52:58 +0000 (0:00:00.019) 0:00:49.184 ************ TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 Friday 06 May 2022 16:52:58 +0000 (0:00:00.022) 0:00:49.206 ************ TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Friday 06 May 2022 16:52:58 +0000 (0:00:00.021) 0:00:49.228 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : include_tasks] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Friday 06 May 2022 16:52:59 +0000 (0:00:00.392) 0:00:49.621 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 Friday 06 May 2022 16:52:59 +0000 (0:00:00.046) 0:00:49.667 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:8 Friday 06 May 2022 16:53:01 +0000 (0:00:01.948) 0:00:51.616 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "boolean", "-l", "-n", "-C" ], "delta": "0:00:00.226598", "end": "2022-05-06 16:53:01.215043", "rc": 0, "start": "2022-05-06 16:53:00.988445" } TASK [Get local modifications - port] ****************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:12 Friday 06 May 2022 16:53:01 +0000 (0:00:00.567) 0:00:52.183 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "port", "-l", "-n", "-C" ], "delta": "0:00:00.272422", "end": "2022-05-06 16:53:01.835358", "rc": 0, "start": "2022-05-06 16:53:01.562936" } TASK [Get local modifications - login] ***************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:16 Friday 06 May 2022 16:53:02 +0000 (0:00:00.626) 0:00:52.809 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "login", "-l", "-n", "-C" ], "delta": "0:00:00.231400", "end": "2022-05-06 16:53:02.424711", "rc": 0, "start": "2022-05-06 16:53:02.193311" } TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:20 Friday 06 May 2022 16:53:03 +0000 (0:00:00.587) 0:00:53.396 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "fcontext", "-l", "-n", "-C" ], "delta": "0:00:00.281456", "end": "2022-05-06 16:53:03.068870", "rc": 0, "start": "2022-05-06 16:53:02.787414" } TASK [Check if there are no SELinux fcontext mapping changes] ****************** task path: /tmp/tmp3epeskya/tests/selinux/tests_fcontext.yml:72 Friday 06 May 2022 16:53:03 +0000 (0:00:00.645) 0:00:54.042 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=57 changed=5 unreachable=0 failed=0 skipped=67 rescued=0 ignored=0 Friday 06 May 2022 16:53:03 +0000 (0:00:00.093) 0:00:54.135 ************ =============================================================================== fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications --- 7.26s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 2.51s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Ensure SELinux tool semanage -------------------------------------------- 2.00s /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 -------------------- fedora.linux_system_roles.selinux : Install SELinux tool semanage ------- 1.98s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 1.96s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Ensure SELinux tool semanage -------------------------------------------- 1.95s /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 -------------------- Ensure SELinux tool semanage -------------------------------------------- 1.95s /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 -------------------- fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 1.94s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 fedora.linux_system_roles.selinux : Install SELinux tool semanage ------- 1.93s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 fedora.linux_system_roles.selinux : Install SELinux tool semanage ------- 1.93s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 1.91s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 fedora.linux_system_roles.selinux : Install SELinux tool semanage ------- 1.90s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Ensure SELinux tool semanage -------------------------------------------- 1.88s /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 -------------------- fedora.linux_system_roles.selinux : Set SELinux file contexts ----------- 1.27s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications --- 1.17s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 fedora.linux_system_roles.selinux : Set SELinux file contexts ----------- 1.16s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 fedora.linux_system_roles.selinux : Set SELinux file contexts ----------- 1.12s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmp3epeskya/tests/selinux/tests_fcontext.yml:1 --------------------------- fedora.linux_system_roles.selinux : refresh facts ----------------------- 0.78s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 fedora.linux_system_roles.selinux : refresh facts ----------------------- 0.75s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 ansible-galaxy [core 2.12.4] 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 = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-galaxy python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Starting galaxy collection install process [WARNING]: The specified collections path '/tmp/tmpt6yp2lym' is not part of the configured Ansible collections paths '/root/.ansible/collections:/usr/share/ansible/collections'. The installed collection won't be picked up in an Ansible run. [WARNING]: Collection at '/tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles' does not have a MANIFEST.json file, nor has it galaxy.yml: cannot detect version. Nothing to do. All requested collections are already installed. If you want to reinstall them, consider using `--force`. ansible-playbook [core 2.12.4] 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/tmpt6yp2lym executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file statically imported: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml statically imported: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml statically imported: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml statically imported: /tmp/tmp3epeskya/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_login.yml ****************************************************** 1 plays in /tmp/tmp3epeskya/tests/selinux/tests_login.yml PLAY [Check if selinux role sets SELinux login mappings] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp3epeskya/tests/selinux/tests_login.yml:1 Friday 06 May 2022 16:53:14 +0000 (0:00:00.009) 0:00:00.009 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [Add a System Api Roles SELinux User] ************************************* task path: /tmp/tmp3epeskya/tests/selinux/tests_login.yml:6 Friday 06 May 2022 16:53:15 +0000 (0:00:01.114) 0:00:01.123 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "comment": "System Api Roles SELinux User", "create_home": true, "group": 1001, "home": "/home/sar-user", "name": "sar-user", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1001 } TASK [initial changes] ********************************************************* task path: /tmp/tmp3epeskya/tests/selinux/tests_login.yml:11 Friday 06 May 2022 16:53:16 +0000 (0:00:00.829) 0:00:01.953 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 06 May 2022 16:53:16 +0000 (0:00:00.058) 0:00:02.012 ************ included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:53:16 +0000 (0:00:00.024) 0:00:02.036 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 06 May 2022 16:53:16 +0000 (0:00:00.504) 0:00:02.541 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Friday 06 May 2022 16:53:16 +0000 (0:00:00.020) 0:00:02.562 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Friday 06 May 2022 16:53:19 +0000 (0:00:02.627) 0:00:05.189 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Friday 06 May 2022 16:53:21 +0000 (0:00:01.732) 0:00:06.922 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 06 May 2022 16:53:23 +0000 (0:00:01.963) 0:00:08.885 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Friday 06 May 2022 16:53:23 +0000 (0:00:00.019) 0:00:08.904 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Friday 06 May 2022 16:53:23 +0000 (0:00:00.019) 0:00:08.923 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Friday 06 May 2022 16:53:23 +0000 (0:00:00.035) 0:00:08.958 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:28 Friday 06 May 2022 16:53:23 +0000 (0:00:00.017) 0:00:08.976 ************ skipping: [/cache/fedora-34.qcow2.snap] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Friday 06 May 2022 16:53:23 +0000 (0:00:00.026) 0:00:09.003 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Friday 06 May 2022 16:53:23 +0000 (0:00:00.038) 0:00:09.042 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 Friday 06 May 2022 16:53:23 +0000 (0:00:00.032) 0:00:09.075 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 06 May 2022 16:53:23 +0000 (0:00:00.032) 0:00:09.107 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Friday 06 May 2022 16:53:23 +0000 (0:00:00.036) 0:00:09.143 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "login", "-D" ], "delta": "0:00:07.202281", "end": "2022-05-06 16:53:29.966871", "rc": 0, "start": "2022-05-06 16:53:22.764590" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Friday 06 May 2022 16:53:31 +0000 (0:00:07.722) 0:00:16.865 ************ TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 06 May 2022 16:53:31 +0000 (0:00:00.017) 0:00:16.883 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Friday 06 May 2022 16:53:31 +0000 (0:00:00.016) 0:00:16.900 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:78 Friday 06 May 2022 16:53:31 +0000 (0:00:00.016) 0:00:16.916 ************ TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 Friday 06 May 2022 16:53:31 +0000 (0:00:00.015) 0:00:16.932 ************ TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 Friday 06 May 2022 16:53:31 +0000 (0:00:00.016) 0:00:16.948 ************ redirecting (type: modules) ansible.builtin.selogin to community.general.selogin changed: [/cache/fedora-34.qcow2.snap] => (item={'login': 'sar-user', 'seuser': 'staff_u', 'serange': 's0-s0:c0.c1023', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": true, "item": { "login": "sar-user", "serange": "s0-s0:c0.c1023", "seuser": "staff_u", "state": "present" }, "login": "sar-user", "serange": "s0-s0:c0.c1023", "seuser": "staff_u", "state": "present" } NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Friday 06 May 2022 16:53:32 +0000 (0:00:01.252) 0:00:18.200 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : include_tasks] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Friday 06 May 2022 16:53:33 +0000 (0:00:00.615) 0:00:18.816 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 Friday 06 May 2022 16:53:33 +0000 (0:00:00.074) 0:00:18.891 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:8 Friday 06 May 2022 16:53:35 +0000 (0:00:02.226) 0:00:21.118 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "boolean", "-l", "-n", "-C" ], "delta": "0:00:00.235094", "end": "2022-05-06 16:53:34.828754", "rc": 0, "start": "2022-05-06 16:53:34.593660" } TASK [Get local modifications - port] ****************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:12 Friday 06 May 2022 16:53:35 +0000 (0:00:00.597) 0:00:21.715 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "port", "-l", "-n", "-C" ], "delta": "0:00:00.299636", "end": "2022-05-06 16:53:35.472062", "rc": 0, "start": "2022-05-06 16:53:35.172426" } TASK [Get local modifications - login] ***************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:16 Friday 06 May 2022 16:53:36 +0000 (0:00:00.647) 0:00:22.363 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "login", "-l", "-n", "-C" ], "delta": "0:00:00.245639", "end": "2022-05-06 16:53:36.075431", "rc": 0, "start": "2022-05-06 16:53:35.829792" } STDOUT: sar-user staff_u s0-s0:c0.c1023 * TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:20 Friday 06 May 2022 16:53:37 +0000 (0:00:00.605) 0:00:22.968 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "fcontext", "-l", "-n", "-C" ], "delta": "0:00:00.286893", "end": "2022-05-06 16:53:36.723958", "rc": 0, "start": "2022-05-06 16:53:36.437065" } TASK [save state after initial changes and before other changes] *************** task path: /tmp/tmp3epeskya/tests/selinux/tests_login.yml:22 Friday 06 May 2022 16:53:37 +0000 (0:00:00.645) 0:00:23.614 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "login_before": "sar-user staff_u s0-s0:c0.c1023 *" }, "changed": false } TASK [Check if there are SELinux login mapping changes] ************************ task path: /tmp/tmp3epeskya/tests/selinux/tests_login.yml:26 Friday 06 May 2022 16:53:37 +0000 (0:00:00.024) 0:00:23.638 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [subsequent changes] ****************************************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_login.yml:30 Friday 06 May 2022 16:53:37 +0000 (0:00:00.035) 0:00:23.673 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 06 May 2022 16:53:37 +0000 (0:00:00.060) 0:00:23.734 ************ included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:53:37 +0000 (0:00:00.031) 0:00:23.766 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 06 May 2022 16:53:38 +0000 (0:00:00.512) 0:00:24.278 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Friday 06 May 2022 16:53:38 +0000 (0:00:00.023) 0:00:24.302 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Friday 06 May 2022 16:53:40 +0000 (0:00:02.297) 0:00:26.599 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Friday 06 May 2022 16:53:41 +0000 (0:00:00.795) 0:00:27.395 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 06 May 2022 16:53:43 +0000 (0:00:02.145) 0:00:29.540 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Friday 06 May 2022 16:53:43 +0000 (0:00:00.022) 0:00:29.563 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Friday 06 May 2022 16:53:43 +0000 (0:00:00.022) 0:00:29.586 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Friday 06 May 2022 16:53:43 +0000 (0:00:00.036) 0:00:29.622 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:28 Friday 06 May 2022 16:53:43 +0000 (0:00:00.019) 0:00:29.642 ************ skipping: [/cache/fedora-34.qcow2.snap] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Friday 06 May 2022 16:53:43 +0000 (0:00:00.019) 0:00:29.662 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Friday 06 May 2022 16:53:43 +0000 (0:00:00.030) 0:00:29.693 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 Friday 06 May 2022 16:53:43 +0000 (0:00:00.032) 0:00:29.725 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 06 May 2022 16:53:43 +0000 (0:00:00.034) 0:00:29.759 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Friday 06 May 2022 16:53:43 +0000 (0:00:00.032) 0:00:29.791 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Friday 06 May 2022 16:53:44 +0000 (0:00:00.036) 0:00:29.827 ************ TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 06 May 2022 16:53:44 +0000 (0:00:00.024) 0:00:29.852 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Friday 06 May 2022 16:53:44 +0000 (0:00:00.021) 0:00:29.873 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:78 Friday 06 May 2022 16:53:44 +0000 (0:00:00.021) 0:00:29.894 ************ TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 Friday 06 May 2022 16:53:44 +0000 (0:00:00.021) 0:00:29.916 ************ TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 Friday 06 May 2022 16:53:44 +0000 (0:00:00.022) 0:00:29.938 ************ redirecting (type: modules) ansible.builtin.selogin to community.general.selogin changed: [/cache/fedora-34.qcow2.snap] => (item={'login': '__default__', 'seuser': 'staff_u', 'serange': 's0-s0:c0.c1023', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": true, "item": { "login": "__default__", "serange": "s0-s0:c0.c1023", "seuser": "staff_u", "state": "present" }, "login": "__default__", "serange": "s0-s0:c0.c1023", "seuser": "staff_u", "state": "present" } NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Friday 06 May 2022 16:53:45 +0000 (0:00:01.120) 0:00:31.059 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : include_tasks] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Friday 06 May 2022 16:53:45 +0000 (0:00:00.408) 0:00:31.468 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 Friday 06 May 2022 16:53:45 +0000 (0:00:00.041) 0:00:31.510 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:8 Friday 06 May 2022 16:53:47 +0000 (0:00:02.236) 0:00:33.746 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "boolean", "-l", "-n", "-C" ], "delta": "0:00:00.244101", "end": "2022-05-06 16:53:47.473041", "rc": 0, "start": "2022-05-06 16:53:47.228940" } TASK [Get local modifications - port] ****************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:12 Friday 06 May 2022 16:53:48 +0000 (0:00:00.618) 0:00:34.364 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "port", "-l", "-n", "-C" ], "delta": "0:00:00.281951", "end": "2022-05-06 16:53:48.119671", "rc": 0, "start": "2022-05-06 16:53:47.837720" } TASK [Get local modifications - login] ***************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:16 Friday 06 May 2022 16:53:49 +0000 (0:00:00.646) 0:00:35.011 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "login", "-l", "-n", "-C" ], "delta": "0:00:00.234150", "end": "2022-05-06 16:53:48.723794", "rc": 0, "start": "2022-05-06 16:53:48.489644" } STDOUT: __default__ staff_u s0-s0:c0.c1023 * sar-user staff_u s0-s0:c0.c1023 * TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:20 Friday 06 May 2022 16:53:49 +0000 (0:00:00.604) 0:00:35.615 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "fcontext", "-l", "-n", "-C" ], "delta": "0:00:00.299636", "end": "2022-05-06 16:53:49.420970", "rc": 0, "start": "2022-05-06 16:53:49.121334" } TASK [save state after other changes] ****************************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_login.yml:41 Friday 06 May 2022 16:53:50 +0000 (0:00:00.697) 0:00:36.313 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "login_after": "__default__ staff_u s0-s0:c0.c1023 *\nsar-user staff_u s0-s0:c0.c1023 *" }, "changed": false } TASK [Check if there are SELinux login mapping changes] ************************ task path: /tmp/tmp3epeskya/tests/selinux/tests_login.yml:45 Friday 06 May 2022 16:53:50 +0000 (0:00:00.023) 0:00:36.336 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [revert subsequent changes] *********************************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_login.yml:49 Friday 06 May 2022 16:53:50 +0000 (0:00:00.020) 0:00:36.357 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 06 May 2022 16:53:50 +0000 (0:00:00.098) 0:00:36.455 ************ included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:53:50 +0000 (0:00:00.034) 0:00:36.490 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 06 May 2022 16:53:51 +0000 (0:00:00.547) 0:00:37.038 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Friday 06 May 2022 16:53:51 +0000 (0:00:00.026) 0:00:37.064 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Friday 06 May 2022 16:53:53 +0000 (0:00:02.149) 0:00:39.213 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Friday 06 May 2022 16:53:54 +0000 (0:00:00.782) 0:00:39.996 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 06 May 2022 16:53:56 +0000 (0:00:01.979) 0:00:41.976 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Friday 06 May 2022 16:53:56 +0000 (0:00:00.023) 0:00:42.000 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Friday 06 May 2022 16:53:56 +0000 (0:00:00.022) 0:00:42.023 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Friday 06 May 2022 16:53:56 +0000 (0:00:00.041) 0:00:42.064 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:28 Friday 06 May 2022 16:53:56 +0000 (0:00:00.020) 0:00:42.085 ************ skipping: [/cache/fedora-34.qcow2.snap] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Friday 06 May 2022 16:53:56 +0000 (0:00:00.019) 0:00:42.105 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Friday 06 May 2022 16:53:56 +0000 (0:00:00.038) 0:00:42.144 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 Friday 06 May 2022 16:53:56 +0000 (0:00:00.031) 0:00:42.176 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 06 May 2022 16:53:56 +0000 (0:00:00.034) 0:00:42.210 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Friday 06 May 2022 16:53:56 +0000 (0:00:00.076) 0:00:42.286 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Friday 06 May 2022 16:53:56 +0000 (0:00:00.036) 0:00:42.322 ************ TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 06 May 2022 16:53:56 +0000 (0:00:00.021) 0:00:42.344 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Friday 06 May 2022 16:53:56 +0000 (0:00:00.020) 0:00:42.364 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:78 Friday 06 May 2022 16:53:56 +0000 (0:00:00.019) 0:00:42.384 ************ TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 Friday 06 May 2022 16:53:56 +0000 (0:00:00.019) 0:00:42.403 ************ TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 Friday 06 May 2022 16:53:56 +0000 (0:00:00.019) 0:00:42.423 ************ redirecting (type: modules) ansible.builtin.selogin to community.general.selogin changed: [/cache/fedora-34.qcow2.snap] => (item={'login': '__default__', 'seuser': 'staff_u', 'serange': 's0-s0:c0.c1023', 'state': 'absent'}) => { "ansible_loop_var": "item", "changed": true, "item": { "login": "__default__", "serange": "s0-s0:c0.c1023", "seuser": "staff_u", "state": "absent" }, "login": "__default__", "serange": "s0-s0:c0.c1023", "seuser": "staff_u", "state": "absent" } NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Friday 06 May 2022 16:53:57 +0000 (0:00:01.040) 0:00:43.463 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : include_tasks] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Friday 06 May 2022 16:53:58 +0000 (0:00:00.387) 0:00:43.851 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 Friday 06 May 2022 16:53:58 +0000 (0:00:00.045) 0:00:43.896 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:8 Friday 06 May 2022 16:54:00 +0000 (0:00:01.969) 0:00:45.865 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "boolean", "-l", "-n", "-C" ], "delta": "0:00:00.234178", "end": "2022-05-06 16:53:59.571564", "rc": 0, "start": "2022-05-06 16:53:59.337386" } TASK [Get local modifications - port] ****************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:12 Friday 06 May 2022 16:54:00 +0000 (0:00:00.596) 0:00:46.462 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "port", "-l", "-n", "-C" ], "delta": "0:00:00.280989", "end": "2022-05-06 16:54:00.200791", "rc": 0, "start": "2022-05-06 16:53:59.919802" } TASK [Get local modifications - login] ***************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:16 Friday 06 May 2022 16:54:01 +0000 (0:00:00.629) 0:00:47.092 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "login", "-l", "-n", "-C" ], "delta": "0:00:00.236298", "end": "2022-05-06 16:54:00.779540", "rc": 0, "start": "2022-05-06 16:54:00.543242" } STDOUT: sar-user staff_u s0-s0:c0.c1023 * TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:20 Friday 06 May 2022 16:54:01 +0000 (0:00:00.581) 0:00:47.673 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "fcontext", "-l", "-n", "-C" ], "delta": "0:00:00.284909", "end": "2022-05-06 16:54:01.419259", "rc": 0, "start": "2022-05-06 16:54:01.134350" } TASK [save state after reverting other changes] ******************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_login.yml:60 Friday 06 May 2022 16:54:02 +0000 (0:00:00.634) 0:00:48.307 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "login_after": "sar-user staff_u s0-s0:c0.c1023 *" }, "changed": false } TASK [Check if SELinux login mapping is as before] ***************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_login.yml:64 Friday 06 May 2022 16:54:02 +0000 (0:00:00.021) 0:00:48.329 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_role : fedora.linux_system_roles.selinux] ************************ task path: /tmp/tmp3epeskya/tests/selinux/tests_login.yml:68 Friday 06 May 2022 16:54:02 +0000 (0:00:00.022) 0:00:48.351 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 06 May 2022 16:54:02 +0000 (0:00:00.103) 0:00:48.454 ************ included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:54:02 +0000 (0:00:00.033) 0:00:48.488 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 06 May 2022 16:54:03 +0000 (0:00:00.496) 0:00:48.984 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Friday 06 May 2022 16:54:03 +0000 (0:00:00.024) 0:00:49.009 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Friday 06 May 2022 16:54:05 +0000 (0:00:01.995) 0:00:51.005 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Friday 06 May 2022 16:54:05 +0000 (0:00:00.761) 0:00:51.766 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 06 May 2022 16:54:08 +0000 (0:00:02.154) 0:00:53.921 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Friday 06 May 2022 16:54:08 +0000 (0:00:00.022) 0:00:53.943 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Friday 06 May 2022 16:54:08 +0000 (0:00:00.021) 0:00:53.965 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Friday 06 May 2022 16:54:08 +0000 (0:00:00.039) 0:00:54.004 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:28 Friday 06 May 2022 16:54:08 +0000 (0:00:00.050) 0:00:54.054 ************ skipping: [/cache/fedora-34.qcow2.snap] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Friday 06 May 2022 16:54:08 +0000 (0:00:00.021) 0:00:54.075 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Friday 06 May 2022 16:54:08 +0000 (0:00:00.033) 0:00:54.109 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 Friday 06 May 2022 16:54:08 +0000 (0:00:00.033) 0:00:54.142 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 06 May 2022 16:54:08 +0000 (0:00:00.037) 0:00:54.179 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Friday 06 May 2022 16:54:08 +0000 (0:00:00.033) 0:00:54.213 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "login", "-D" ], "delta": "0:00:00.823353", "end": "2022-05-06 16:54:08.523162", "rc": 0, "start": "2022-05-06 16:54:07.699809" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Friday 06 May 2022 16:54:09 +0000 (0:00:01.201) 0:00:55.414 ************ TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 06 May 2022 16:54:09 +0000 (0:00:00.022) 0:00:55.436 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Friday 06 May 2022 16:54:09 +0000 (0:00:00.021) 0:00:55.458 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:78 Friday 06 May 2022 16:54:09 +0000 (0:00:00.021) 0:00:55.479 ************ TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 Friday 06 May 2022 16:54:09 +0000 (0:00:00.020) 0:00:55.500 ************ TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 Friday 06 May 2022 16:54:09 +0000 (0:00:00.020) 0:00:55.521 ************ TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Friday 06 May 2022 16:54:09 +0000 (0:00:00.021) 0:00:55.543 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : include_tasks] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Friday 06 May 2022 16:54:10 +0000 (0:00:00.404) 0:00:55.948 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 Friday 06 May 2022 16:54:10 +0000 (0:00:00.043) 0:00:55.991 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:8 Friday 06 May 2022 16:54:12 +0000 (0:00:02.036) 0:00:58.028 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "boolean", "-l", "-n", "-C" ], "delta": "0:00:00.261389", "end": "2022-05-06 16:54:11.768786", "rc": 0, "start": "2022-05-06 16:54:11.507397" } TASK [Get local modifications - port] ****************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:12 Friday 06 May 2022 16:54:12 +0000 (0:00:00.630) 0:00:58.659 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "port", "-l", "-n", "-C" ], "delta": "0:00:00.291201", "end": "2022-05-06 16:54:12.411577", "rc": 0, "start": "2022-05-06 16:54:12.120376" } TASK [Get local modifications - login] ***************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:16 Friday 06 May 2022 16:54:13 +0000 (0:00:00.643) 0:00:59.303 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "login", "-l", "-n", "-C" ], "delta": "0:00:00.229541", "end": "2022-05-06 16:54:12.995416", "rc": 0, "start": "2022-05-06 16:54:12.765875" } TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:20 Friday 06 May 2022 16:54:14 +0000 (0:00:00.581) 0:00:59.884 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "fcontext", "-l", "-n", "-C" ], "delta": "0:00:00.276174", "end": "2022-05-06 16:54:13.608259", "rc": 0, "start": "2022-05-06 16:54:13.332085" } TASK [Check if there are no SELinux login mapping changes] ********************* task path: /tmp/tmp3epeskya/tests/selinux/tests_login.yml:76 Friday 06 May 2022 16:54:14 +0000 (0:00:00.610) 0:01:00.495 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Remove a System Api Roles SELinux User] ********************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_login.yml:80 Friday 06 May 2022 16:54:14 +0000 (0:00:00.039) 0:01:00.534 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "force": false, "name": "sar-user", "remove": false, "state": "absent" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:1 Friday 06 May 2022 16:54:15 +0000 (0:00:00.660) 0:01:01.194 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:00.109951", "end": "2022-05-06 16:54:14.787824", "rc": 0, "start": "2022-05-06 16:54:14.677873" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:1 Friday 06 May 2022 16:54:15 +0000 (0:00:00.492) 0:01:01.687 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:00.098865", "end": "2022-05-06 16:54:15.288711", "rc": 0, "start": "2022-05-06 16:54:15.189846" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:1 Friday 06 May 2022 16:54:16 +0000 (0:00:00.484) 0:01:02.172 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:00.080411", "end": "2022-05-06 16:54:15.732689", "rc": 0, "start": "2022-05-06 16:54:15.652278" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=66 changed=10 unreachable=0 failed=0 skipped=63 rescued=0 ignored=0 Friday 06 May 2022 16:54:16 +0000 (0:00:00.453) 0:01:02.625 ************ =============================================================================== fedora.linux_system_roles.selinux : Purge all SELinux login local modifications --- 7.72s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 2.63s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 2.30s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Ensure SELinux tool semanage -------------------------------------------- 2.24s /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 -------------------- Ensure SELinux tool semanage -------------------------------------------- 2.23s /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 -------------------- fedora.linux_system_roles.selinux : Install SELinux tool semanage ------- 2.15s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 2.15s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 fedora.linux_system_roles.selinux : Install SELinux tool semanage ------- 2.15s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Ensure SELinux tool semanage -------------------------------------------- 2.04s /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 -------------------- fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 2.00s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 fedora.linux_system_roles.selinux : Install SELinux tool semanage ------- 1.98s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Ensure SELinux tool semanage -------------------------------------------- 1.97s /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 -------------------- fedora.linux_system_roles.selinux : Install SELinux tool semanage ------- 1.96s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 fedora.linux_system_roles.selinux : refresh facts ----------------------- 1.73s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping --- 1.25s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 fedora.linux_system_roles.selinux : Purge all SELinux login local modifications --- 1.20s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping --- 1.12s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmp3epeskya/tests/selinux/tests_login.yml:1 ------------------------------ fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping --- 1.04s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 Add a System Api Roles SELinux User ------------------------------------- 0.83s /tmp/tmp3epeskya/tests/selinux/tests_login.yml:6 ------------------------------ ansible-galaxy [core 2.12.4] 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 = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-galaxy python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Starting galaxy collection install process [WARNING]: The specified collections path '/tmp/tmpt6yp2lym' is not part of the configured Ansible collections paths '/root/.ansible/collections:/usr/share/ansible/collections'. The installed collection won't be picked up in an Ansible run. [WARNING]: Collection at '/tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles' does not have a MANIFEST.json file, nor has it galaxy.yml: cannot detect version. Nothing to do. All requested collections are already installed. If you want to reinstall them, consider using `--force`. ansible-playbook [core 2.12.4] 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/tmpt6yp2lym executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file statically imported: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml statically imported: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml statically imported: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml statically imported: /tmp/tmp3epeskya/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_port.yml ******************************************************* 1 plays in /tmp/tmp3epeskya/tests/selinux/tests_port.yml PLAY [Check if selinux role sets SELinux port mapping] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp3epeskya/tests/selinux/tests_port.yml:1 Friday 06 May 2022 16:54:27 +0000 (0:00:00.009) 0:00:00.009 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [initial changes] ********************************************************* task path: /tmp/tmp3epeskya/tests/selinux/tests_port.yml:6 Friday 06 May 2022 16:54:28 +0000 (0:00:01.085) 0:00:01.095 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 06 May 2022 16:54:28 +0000 (0:00:00.081) 0:00:01.176 ************ included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:54:28 +0000 (0:00:00.025) 0:00:01.201 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 06 May 2022 16:54:28 +0000 (0:00:00.501) 0:00:01.703 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Friday 06 May 2022 16:54:29 +0000 (0:00:00.020) 0:00:01.724 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Friday 06 May 2022 16:54:31 +0000 (0:00:02.729) 0:00:04.453 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Friday 06 May 2022 16:54:32 +0000 (0:00:00.773) 0:00:05.227 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 06 May 2022 16:54:34 +0000 (0:00:01.985) 0:00:07.213 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Friday 06 May 2022 16:54:34 +0000 (0:00:00.017) 0:00:07.230 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Friday 06 May 2022 16:54:34 +0000 (0:00:00.017) 0:00:07.247 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Friday 06 May 2022 16:54:34 +0000 (0:00:00.034) 0:00:07.282 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:28 Friday 06 May 2022 16:54:34 +0000 (0:00:00.017) 0:00:07.300 ************ skipping: [/cache/fedora-34.qcow2.snap] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Friday 06 May 2022 16:54:34 +0000 (0:00:00.018) 0:00:07.318 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Friday 06 May 2022 16:54:34 +0000 (0:00:00.028) 0:00:07.347 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 Friday 06 May 2022 16:54:34 +0000 (0:00:00.028) 0:00:07.376 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 06 May 2022 16:54:34 +0000 (0:00:00.034) 0:00:07.410 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "port", "-D" ], "delta": "0:00:07.470938", "end": "2022-05-06 16:54:41.589049", "rc": 0, "start": "2022-05-06 16:54:34.118111" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Friday 06 May 2022 16:54:42 +0000 (0:00:08.004) 0:00:15.415 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Friday 06 May 2022 16:54:42 +0000 (0:00:00.030) 0:00:15.445 ************ TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 06 May 2022 16:54:42 +0000 (0:00:00.017) 0:00:15.463 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Friday 06 May 2022 16:54:42 +0000 (0:00:00.016) 0:00:15.480 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:78 Friday 06 May 2022 16:54:42 +0000 (0:00:00.016) 0:00:15.496 ************ TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 Friday 06 May 2022 16:54:42 +0000 (0:00:00.016) 0:00:15.513 ************ redirecting (type: modules) ansible.builtin.seport to community.general.seport changed: [/cache/fedora-34.qcow2.snap] => (item={'ports': '22100', 'proto': 'tcp', 'setype': 'ssh_port_t', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ports": "22100", "proto": "tcp", "setype": "ssh_port_t", "state": "present" }, "ports": [ "22100" ], "proto": "tcp", "setype": "ssh_port_t", "state": "present" } TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 Friday 06 May 2022 16:54:44 +0000 (0:00:01.306) 0:00:16.819 ************ TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Friday 06 May 2022 16:54:44 +0000 (0:00:00.016) 0:00:16.835 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : include_tasks] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Friday 06 May 2022 16:54:44 +0000 (0:00:00.505) 0:00:17.341 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 Friday 06 May 2022 16:54:44 +0000 (0:00:00.044) 0:00:17.386 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:8 Friday 06 May 2022 16:54:46 +0000 (0:00:02.209) 0:00:19.596 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "boolean", "-l", "-n", "-C" ], "delta": "0:00:00.227954", "end": "2022-05-06 16:54:46.349537", "rc": 0, "start": "2022-05-06 16:54:46.121583" } TASK [Get local modifications - port] ****************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:12 Friday 06 May 2022 16:54:47 +0000 (0:00:00.577) 0:00:20.174 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "port", "-l", "-n", "-C" ], "delta": "0:00:00.270660", "end": "2022-05-06 16:54:46.967762", "rc": 0, "start": "2022-05-06 16:54:46.697102" } STDOUT: ssh_port_t tcp 22100 TASK [Get local modifications - login] ***************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:16 Friday 06 May 2022 16:54:48 +0000 (0:00:00.619) 0:00:20.793 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "login", "-l", "-n", "-C" ], "delta": "0:00:00.227680", "end": "2022-05-06 16:54:47.560314", "rc": 0, "start": "2022-05-06 16:54:47.332634" } TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:20 Friday 06 May 2022 16:54:48 +0000 (0:00:00.593) 0:00:21.387 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "fcontext", "-l", "-n", "-C" ], "delta": "0:00:00.284989", "end": "2022-05-06 16:54:48.202953", "rc": 0, "start": "2022-05-06 16:54:47.917964" } TASK [save state after initial changes and before other changes] *************** task path: /tmp/tmp3epeskya/tests/selinux/tests_port.yml:17 Friday 06 May 2022 16:54:49 +0000 (0:00:00.644) 0:00:22.031 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "port_before": "ssh_port_t tcp 22100" }, "changed": false } TASK [Check if there are SELinux port mapping changes] ************************* task path: /tmp/tmp3epeskya/tests/selinux/tests_port.yml:21 Friday 06 May 2022 16:54:49 +0000 (0:00:00.023) 0:00:22.054 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [subsequent changes] ****************************************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_port.yml:25 Friday 06 May 2022 16:54:49 +0000 (0:00:00.034) 0:00:22.089 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 06 May 2022 16:54:49 +0000 (0:00:00.062) 0:00:22.151 ************ included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:54:49 +0000 (0:00:00.034) 0:00:22.186 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 06 May 2022 16:54:50 +0000 (0:00:00.539) 0:00:22.726 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Friday 06 May 2022 16:54:50 +0000 (0:00:00.024) 0:00:22.750 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Friday 06 May 2022 16:54:52 +0000 (0:00:02.016) 0:00:24.766 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Friday 06 May 2022 16:54:52 +0000 (0:00:00.756) 0:00:25.523 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 06 May 2022 16:54:54 +0000 (0:00:01.981) 0:00:27.504 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Friday 06 May 2022 16:54:54 +0000 (0:00:00.022) 0:00:27.526 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Friday 06 May 2022 16:54:54 +0000 (0:00:00.021) 0:00:27.548 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Friday 06 May 2022 16:54:54 +0000 (0:00:00.040) 0:00:27.588 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:28 Friday 06 May 2022 16:54:54 +0000 (0:00:00.021) 0:00:27.609 ************ skipping: [/cache/fedora-34.qcow2.snap] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Friday 06 May 2022 16:54:54 +0000 (0:00:00.021) 0:00:27.631 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Friday 06 May 2022 16:54:54 +0000 (0:00:00.035) 0:00:27.666 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 Friday 06 May 2022 16:54:54 +0000 (0:00:00.035) 0:00:27.702 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 06 May 2022 16:54:55 +0000 (0:00:00.033) 0:00:27.736 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Friday 06 May 2022 16:54:55 +0000 (0:00:00.039) 0:00:27.775 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Friday 06 May 2022 16:54:55 +0000 (0:00:00.034) 0:00:27.810 ************ TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 06 May 2022 16:54:55 +0000 (0:00:00.021) 0:00:27.831 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Friday 06 May 2022 16:54:55 +0000 (0:00:00.020) 0:00:27.851 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:78 Friday 06 May 2022 16:54:55 +0000 (0:00:00.021) 0:00:27.873 ************ TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 Friday 06 May 2022 16:54:55 +0000 (0:00:00.020) 0:00:27.893 ************ redirecting (type: modules) ansible.builtin.seport to community.general.seport changed: [/cache/fedora-34.qcow2.snap] => (item={'ports': '22022', 'proto': 'tcp', 'setype': 'ssh_port_t', 'state': 'present'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ports": "22022", "proto": "tcp", "setype": "ssh_port_t", "state": "present" }, "ports": [ "22022" ], "proto": "tcp", "setype": "ssh_port_t", "state": "present" } TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 Friday 06 May 2022 16:54:56 +0000 (0:00:01.223) 0:00:29.117 ************ TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Friday 06 May 2022 16:54:56 +0000 (0:00:00.020) 0:00:29.137 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : include_tasks] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Friday 06 May 2022 16:54:56 +0000 (0:00:00.422) 0:00:29.560 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 Friday 06 May 2022 16:54:56 +0000 (0:00:00.069) 0:00:29.630 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:8 Friday 06 May 2022 16:54:58 +0000 (0:00:02.063) 0:00:31.693 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "boolean", "-l", "-n", "-C" ], "delta": "0:00:00.226178", "end": "2022-05-06 16:54:58.452589", "rc": 0, "start": "2022-05-06 16:54:58.226411" } TASK [Get local modifications - port] ****************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:12 Friday 06 May 2022 16:54:59 +0000 (0:00:00.586) 0:00:32.279 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "port", "-l", "-n", "-C" ], "delta": "0:00:00.340338", "end": "2022-05-06 16:54:59.181338", "rc": 0, "start": "2022-05-06 16:54:58.841000" } STDOUT: ssh_port_t tcp 22100, 22022 TASK [Get local modifications - login] ***************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:16 Friday 06 May 2022 16:55:00 +0000 (0:00:00.728) 0:00:33.008 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "login", "-l", "-n", "-C" ], "delta": "0:00:00.245820", "end": "2022-05-06 16:54:59.797848", "rc": 0, "start": "2022-05-06 16:54:59.552028" } TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:20 Friday 06 May 2022 16:55:00 +0000 (0:00:00.615) 0:00:33.623 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "fcontext", "-l", "-n", "-C" ], "delta": "0:00:00.282806", "end": "2022-05-06 16:55:00.435415", "rc": 0, "start": "2022-05-06 16:55:00.152609" } TASK [save state after other changes] ****************************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_port.yml:36 Friday 06 May 2022 16:55:01 +0000 (0:00:00.638) 0:00:34.262 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "port_after": "ssh_port_t tcp 22100, 22022" }, "changed": false } TASK [Check if there are SELinux port mapping changes] ************************* task path: /tmp/tmp3epeskya/tests/selinux/tests_port.yml:40 Friday 06 May 2022 16:55:01 +0000 (0:00:00.020) 0:00:34.282 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [revert subsequent changes] *********************************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_port.yml:44 Friday 06 May 2022 16:55:01 +0000 (0:00:00.020) 0:00:34.303 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 06 May 2022 16:55:01 +0000 (0:00:00.067) 0:00:34.371 ************ included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:55:01 +0000 (0:00:00.056) 0:00:34.428 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 06 May 2022 16:55:02 +0000 (0:00:00.495) 0:00:34.923 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Friday 06 May 2022 16:55:02 +0000 (0:00:00.024) 0:00:34.948 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Friday 06 May 2022 16:55:04 +0000 (0:00:02.190) 0:00:37.138 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Friday 06 May 2022 16:55:05 +0000 (0:00:00.758) 0:00:37.897 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 06 May 2022 16:55:07 +0000 (0:00:01.971) 0:00:39.868 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Friday 06 May 2022 16:55:07 +0000 (0:00:00.023) 0:00:39.892 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Friday 06 May 2022 16:55:07 +0000 (0:00:00.020) 0:00:39.912 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Friday 06 May 2022 16:55:07 +0000 (0:00:00.038) 0:00:39.950 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:28 Friday 06 May 2022 16:55:07 +0000 (0:00:00.020) 0:00:39.971 ************ skipping: [/cache/fedora-34.qcow2.snap] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Friday 06 May 2022 16:55:07 +0000 (0:00:00.020) 0:00:39.991 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Friday 06 May 2022 16:55:07 +0000 (0:00:00.033) 0:00:40.025 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 Friday 06 May 2022 16:55:07 +0000 (0:00:00.030) 0:00:40.056 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 06 May 2022 16:55:07 +0000 (0:00:00.032) 0:00:40.089 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Friday 06 May 2022 16:55:07 +0000 (0:00:00.031) 0:00:40.120 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Friday 06 May 2022 16:55:07 +0000 (0:00:00.031) 0:00:40.152 ************ TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 06 May 2022 16:55:07 +0000 (0:00:00.019) 0:00:40.171 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Friday 06 May 2022 16:55:07 +0000 (0:00:00.018) 0:00:40.190 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:78 Friday 06 May 2022 16:55:07 +0000 (0:00:00.018) 0:00:40.209 ************ TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 Friday 06 May 2022 16:55:07 +0000 (0:00:00.018) 0:00:40.227 ************ redirecting (type: modules) ansible.builtin.seport to community.general.seport changed: [/cache/fedora-34.qcow2.snap] => (item={'ports': '22022', 'proto': 'tcp', 'setype': 'ssh_port_t', 'state': 'absent'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ports": "22022", "proto": "tcp", "setype": "ssh_port_t", "state": "absent" }, "ports": [ "22022" ], "proto": "tcp", "setype": "ssh_port_t", "state": "absent" } TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 Friday 06 May 2022 16:55:08 +0000 (0:00:01.253) 0:00:41.481 ************ TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Friday 06 May 2022 16:55:08 +0000 (0:00:00.019) 0:00:41.501 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : include_tasks] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Friday 06 May 2022 16:55:09 +0000 (0:00:00.399) 0:00:41.900 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 Friday 06 May 2022 16:55:09 +0000 (0:00:00.041) 0:00:41.941 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:8 Friday 06 May 2022 16:55:11 +0000 (0:00:01.965) 0:00:43.906 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "boolean", "-l", "-n", "-C" ], "delta": "0:00:00.230338", "end": "2022-05-06 16:55:10.666605", "rc": 0, "start": "2022-05-06 16:55:10.436267" } TASK [Get local modifications - port] ****************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:12 Friday 06 May 2022 16:55:11 +0000 (0:00:00.585) 0:00:44.492 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "port", "-l", "-n", "-C" ], "delta": "0:00:00.273866", "end": "2022-05-06 16:55:11.292276", "rc": 0, "start": "2022-05-06 16:55:11.018410" } STDOUT: ssh_port_t tcp 22100 TASK [Get local modifications - login] ***************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:16 Friday 06 May 2022 16:55:12 +0000 (0:00:00.626) 0:00:45.118 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "login", "-l", "-n", "-C" ], "delta": "0:00:00.285040", "end": "2022-05-06 16:55:11.932200", "rc": 0, "start": "2022-05-06 16:55:11.647160" } TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:20 Friday 06 May 2022 16:55:13 +0000 (0:00:00.640) 0:00:45.759 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "fcontext", "-l", "-n", "-C" ], "delta": "0:00:00.302754", "end": "2022-05-06 16:55:12.596528", "rc": 0, "start": "2022-05-06 16:55:12.293774" } TASK [save state after reverting other changes] ******************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_port.yml:55 Friday 06 May 2022 16:55:13 +0000 (0:00:00.662) 0:00:46.422 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "port_after": "ssh_port_t tcp 22100" }, "changed": false } TASK [Check if SELinux port mapping is as before] ****************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_port.yml:59 Friday 06 May 2022 16:55:13 +0000 (0:00:00.022) 0:00:46.444 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_role : fedora.linux_system_roles.selinux] ************************ task path: /tmp/tmp3epeskya/tests/selinux/tests_port.yml:63 Friday 06 May 2022 16:55:13 +0000 (0:00:00.020) 0:00:46.465 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 06 May 2022 16:55:13 +0000 (0:00:00.076) 0:00:46.541 ************ included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:55:13 +0000 (0:00:00.060) 0:00:46.602 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 06 May 2022 16:55:14 +0000 (0:00:00.515) 0:00:47.118 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Friday 06 May 2022 16:55:14 +0000 (0:00:00.023) 0:00:47.142 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Friday 06 May 2022 16:55:16 +0000 (0:00:01.972) 0:00:49.114 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Friday 06 May 2022 16:55:17 +0000 (0:00:00.741) 0:00:49.856 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 06 May 2022 16:55:19 +0000 (0:00:01.928) 0:00:51.785 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Friday 06 May 2022 16:55:19 +0000 (0:00:00.020) 0:00:51.805 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Friday 06 May 2022 16:55:19 +0000 (0:00:00.021) 0:00:51.826 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Friday 06 May 2022 16:55:19 +0000 (0:00:00.038) 0:00:51.865 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:28 Friday 06 May 2022 16:55:19 +0000 (0:00:00.019) 0:00:51.884 ************ skipping: [/cache/fedora-34.qcow2.snap] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Friday 06 May 2022 16:55:19 +0000 (0:00:00.018) 0:00:51.902 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Friday 06 May 2022 16:55:19 +0000 (0:00:00.031) 0:00:51.934 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 Friday 06 May 2022 16:55:19 +0000 (0:00:00.037) 0:00:51.971 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 06 May 2022 16:55:19 +0000 (0:00:00.032) 0:00:52.004 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "port", "-D" ], "delta": "0:00:00.840809", "end": "2022-05-06 16:55:19.424106", "rc": 0, "start": "2022-05-06 16:55:18.583297" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Friday 06 May 2022 16:55:20 +0000 (0:00:01.251) 0:00:53.255 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Friday 06 May 2022 16:55:20 +0000 (0:00:00.034) 0:00:53.290 ************ TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 06 May 2022 16:55:20 +0000 (0:00:00.019) 0:00:53.310 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Friday 06 May 2022 16:55:20 +0000 (0:00:00.019) 0:00:53.329 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:78 Friday 06 May 2022 16:55:20 +0000 (0:00:00.020) 0:00:53.349 ************ TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 Friday 06 May 2022 16:55:20 +0000 (0:00:00.020) 0:00:53.370 ************ TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 Friday 06 May 2022 16:55:20 +0000 (0:00:00.055) 0:00:53.426 ************ TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Friday 06 May 2022 16:55:20 +0000 (0:00:00.019) 0:00:53.445 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : include_tasks] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Friday 06 May 2022 16:55:21 +0000 (0:00:00.387) 0:00:53.832 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 Friday 06 May 2022 16:55:21 +0000 (0:00:00.041) 0:00:53.874 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:8 Friday 06 May 2022 16:55:23 +0000 (0:00:02.050) 0:00:55.925 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "boolean", "-l", "-n", "-C" ], "delta": "0:00:00.238099", "end": "2022-05-06 16:55:22.703397", "rc": 0, "start": "2022-05-06 16:55:22.465298" } TASK [Get local modifications - port] ****************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:12 Friday 06 May 2022 16:55:23 +0000 (0:00:00.603) 0:00:56.529 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "port", "-l", "-n", "-C" ], "delta": "0:00:00.271465", "end": "2022-05-06 16:55:23.324705", "rc": 0, "start": "2022-05-06 16:55:23.053240" } TASK [Get local modifications - login] ***************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:16 Friday 06 May 2022 16:55:24 +0000 (0:00:00.622) 0:00:57.152 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "login", "-l", "-n", "-C" ], "delta": "0:00:00.229874", "end": "2022-05-06 16:55:23.900832", "rc": 0, "start": "2022-05-06 16:55:23.670958" } TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:20 Friday 06 May 2022 16:55:25 +0000 (0:00:00.590) 0:00:57.742 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "fcontext", "-l", "-n", "-C" ], "delta": "0:00:00.322392", "end": "2022-05-06 16:55:24.599092", "rc": 0, "start": "2022-05-06 16:55:24.276700" } TASK [Check if there are no SELinux port mapping changes] ********************** task path: /tmp/tmp3epeskya/tests/selinux/tests_port.yml:71 Friday 06 May 2022 16:55:25 +0000 (0:00:00.682) 0:00:58.425 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=61 changed=5 unreachable=0 failed=0 skipped=63 rescued=0 ignored=0 Friday 06 May 2022 16:55:25 +0000 (0:00:00.042) 0:00:58.467 ************ =============================================================================== fedora.linux_system_roles.selinux : Purge all SELinux port local modifications --- 8.00s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 2.73s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Ensure SELinux tool semanage -------------------------------------------- 2.21s /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 -------------------- fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 2.19s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Ensure SELinux tool semanage -------------------------------------------- 2.06s /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 -------------------- Ensure SELinux tool semanage -------------------------------------------- 2.05s /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 -------------------- fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 2.02s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 fedora.linux_system_roles.selinux : Install SELinux tool semanage ------- 1.99s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 fedora.linux_system_roles.selinux : Install SELinux tool semanage ------- 1.98s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 1.97s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 fedora.linux_system_roles.selinux : Install SELinux tool semanage ------- 1.97s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Ensure SELinux tool semanage -------------------------------------------- 1.97s /tmp/tmp3epeskya/tests/selinux/set_selinux_variables.yml:2 -------------------- fedora.linux_system_roles.selinux : Install SELinux tool semanage ------- 1.93s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 fedora.linux_system_roles.selinux : Set an SELinux label on a port ------ 1.31s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 fedora.linux_system_roles.selinux : Set an SELinux label on a port ------ 1.25s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 fedora.linux_system_roles.selinux : Purge all SELinux port local modifications --- 1.25s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 fedora.linux_system_roles.selinux : Set an SELinux label on a port ------ 1.22s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 Gathering Facts --------------------------------------------------------- 1.09s /tmp/tmp3epeskya/tests/selinux/tests_port.yml:1 ------------------------------- fedora.linux_system_roles.selinux : refresh facts ----------------------- 0.77s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 fedora.linux_system_roles.selinux : refresh facts ----------------------- 0.76s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 ansible-galaxy [core 2.12.4] 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 = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-galaxy python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Starting galaxy collection install process [WARNING]: The specified collections path '/tmp/tmpt6yp2lym' is not part of the configured Ansible collections paths '/root/.ansible/collections:/usr/share/ansible/collections'. The installed collection won't be picked up in an Ansible run. [WARNING]: Collection at '/tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles' does not have a MANIFEST.json file, nor has it galaxy.yml: cannot detect version. Nothing to do. All requested collections are already installed. If you want to reinstall them, consider using `--force`. ansible-playbook [core 2.12.4] 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/tmpt6yp2lym executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_selinux_disabled.yml ******************************************* 1 plays in /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml PLAY [Ensure the default is targeted, enforcing, without local modifications] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:1 Friday 06 May 2022 16:55:35 +0000 (0:00:00.008) 0:00:00.008 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [Ensure SELinux tool semanage] ******************************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:15 Friday 06 May 2022 16:55:37 +0000 (0:00:01.072) 0:00:01.081 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Add a Linux System Roles SELinux User] *********************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:22 Friday 06 May 2022 16:55:39 +0000 (0:00:02.716) 0:00:03.797 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "comment": "Linux System Roles SELinux User", "create_home": true, "group": 1001, "home": "/home/sar-user", "name": "sar-user", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1001 } TASK [Add some mapping] ******************************************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:26 Friday 06 May 2022 16:55:40 +0000 (0:00:00.809) 0:00:04.606 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\necho -e -n \"boolean -m --on samba_enable_home_dirs\nport -a -p tcp -t ssh_port_t 22100\nfcontext -a -t user_home_dir_t /tmp/test_dir\nlogin -a -s staff_u sar-user\n\" | /usr/sbin/semanage -i -", "delta": "0:00:07.867497", "end": "2022-05-06 16:55:47.943342", "rc": 0, "start": "2022-05-06 16:55:40.075845" } TASK [Backup original /etc/selinux/config] ************************************* task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:31 Friday 06 May 2022 16:55:48 +0000 (0:00:08.364) 0:00:12.971 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "fe28c32d576c2b84ba06b17892b705cb1f5f2514", "dest": "/etc/selinux/config.test_selinux_disabled", "gid": 0, "group": "root", "md5sum": "1e5bcf0ec876d9ee86a4693dce912d28", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:selinux_config_t:s0", "size": 1187, "src": "/etc/selinux/config", "state": "file", "uid": 0 } TASK [Upload testing /etc/selinux/config] ************************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:37 Friday 06 May 2022 16:55:49 +0000 (0:00:00.510) 0:00:13.481 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "385caf4e178c9a1dfcdaac71738934c735201480", "dest": "/etc/selinux/config", "gid": 0, "group": "root", "md5sum": "293160d55f3a26d5bc687154d028eb47", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:selinux_config_t:s0", "size": 547, "src": "/root/.ansible/tmp/ansible-tmp-1651856149.4930823-225604-101995351793480/source", "state": "file", "uid": 0 } TASK [Switch to permissive to allow login when selinuxfs is not mounted] ******* task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:42 Friday 06 May 2022 16:55:50 +0000 (0:00:00.862) 0:00:14.344 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "setenforce", "0" ], "delta": "0:00:00.014153", "end": "2022-05-06 16:55:49.699906", "rc": 0, "start": "2022-05-06 16:55:49.685753" } TASK [Get selinuxfs mountpoint] ************************************************ task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:46 Friday 06 May 2022 16:55:50 +0000 (0:00:00.363) 0:00:14.707 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": "findmnt -n -t selinuxfs --output=target", "delta": "0:00:00.005881", "end": "2022-05-06 16:55:50.053761", "rc": 0, "start": "2022-05-06 16:55:50.047880" } STDOUT: /sys/fs/selinux TASK [Umount /sys/fs/selinux to emulate SELinux disabled system # noqa 303] *** task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:50 Friday 06 May 2022 16:55:51 +0000 (0:00:00.358) 0:00:15.066 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "umount", "-l", "/sys/fs/selinux" ], "delta": "0:00:00.004389", "end": "2022-05-06 16:55:50.407266", "rc": 0, "start": "2022-05-06 16:55:50.402877" } TASK [include_role : fedora.linux_system_roles.selinux] ************************ task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:56 Friday 06 May 2022 16:55:51 +0000 (0:00:00.351) 0:00:15.417 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 06 May 2022 16:55:51 +0000 (0:00:00.049) 0:00:15.466 ************ included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:55:51 +0000 (0:00:00.025) 0:00:15.492 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 06 May 2022 16:55:52 +0000 (0:00:00.563) 0:00:16.056 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Friday 06 May 2022 16:55:52 +0000 (0:00:00.021) 0:00:16.078 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Friday 06 May 2022 16:55:54 +0000 (0:00:02.225) 0:00:18.303 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Friday 06 May 2022 16:55:55 +0000 (0:00:00.751) 0:00:19.054 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 06 May 2022 16:55:57 +0000 (0:00:02.010) 0:00:21.065 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Friday 06 May 2022 16:55:57 +0000 (0:00:00.017) 0:00:21.082 ************ redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux [WARNING]: Reboot is required to set SELinux state to 'enforcing' changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "configfile": "/etc/selinux/config", "policy": "targeted", "reboot_required": true, "state": "enforcing" } MSG: Config SELinux state changed from 'disabled' to 'enforcing' TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Friday 06 May 2022 16:55:57 +0000 (0:00:00.738) 0:00:21.821 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Friday 06 May 2022 16:55:57 +0000 (0:00:00.033) 0:00:21.855 ************ fatal: [/cache/fedora-34.qcow2.snap]: FAILED! => { "changed": false } MSG: Reboot is required to apply changes. Re-execute the role after boot. TASK [examine the selinux_reboot_required variable] **************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:59 Friday 06 May 2022 16:55:57 +0000 (0:00:00.018) 0:00:21.873 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "test_selinux_reboot_required": true }, "changed": false } TASK [check that the role has failed and set the correct variable] ************* task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:63 Friday 06 May 2022 16:55:57 +0000 (0:00:00.014) 0:00:21.888 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Mount /sys/fs/selinux back to system] ************************************ task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:67 Friday 06 May 2022 16:55:57 +0000 (0:00:00.017) 0:00:21.905 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "mount", "-t", "selinuxfs", "selinuxfs", "/sys/fs/selinux" ], "delta": "0:00:00.005424", "end": "2022-05-06 16:55:57.252239", "rc": 0, "start": "2022-05-06 16:55:57.246815" } TASK [Switch back to enforcing] ************************************************ task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:71 Friday 06 May 2022 16:55:58 +0000 (0:00:00.354) 0:00:22.260 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "cmd": [ "setenforce", "1" ], "delta": "0:00:00.020089", "end": "2022-05-06 16:55:57.610050", "rc": 0, "start": "2022-05-06 16:55:57.589961" } TASK [Gather facts again] ****************************************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:74 Friday 06 May 2022 16:55:58 +0000 (0:00:00.361) 0:00:22.622 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [Check SELinux config mode] *********************************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:76 Friday 06 May 2022 16:55:59 +0000 (0:00:00.723) 0:00:23.346 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Restore original /etc/selinux/config] ************************************ task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:84 Friday 06 May 2022 16:55:59 +0000 (0:00:00.017) 0:00:23.363 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "fe28c32d576c2b84ba06b17892b705cb1f5f2514", "dest": "/etc/selinux/config", "gid": 0, "group": "root", "md5sum": "1e5bcf0ec876d9ee86a4693dce912d28", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1187, "src": "/etc/selinux/config.test_selinux_disabled", "state": "file", "uid": 0 } TASK [Remove /etc/selinux/config backup] *************************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:91 Friday 06 May 2022 16:55:59 +0000 (0:00:00.343) 0:00:23.707 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/etc/selinux/config.test_selinux_disabled", "state": "absent" } TASK [Remove Linux System Roles SELinux User] ********************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:96 Friday 06 May 2022 16:56:00 +0000 (0:00:00.480) 0:00:24.187 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "force": false, "name": "sar-user", "remove": true, "state": "absent" } TASK [include_role : fedora.linux_system_roles.selinux] ************************ task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:102 Friday 06 May 2022 16:56:00 +0000 (0:00:00.658) 0:00:24.846 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 06 May 2022 16:56:00 +0000 (0:00:00.039) 0:00:24.886 ************ included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:56:00 +0000 (0:00:00.025) 0:00:24.912 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 06 May 2022 16:56:01 +0000 (0:00:00.501) 0:00:25.413 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Friday 06 May 2022 16:56:01 +0000 (0:00:00.021) 0:00:25.435 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Friday 06 May 2022 16:56:03 +0000 (0:00:02.038) 0:00:27.474 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Friday 06 May 2022 16:56:04 +0000 (0:00:00.731) 0:00:28.205 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 06 May 2022 16:56:06 +0000 (0:00:02.028) 0:00:30.234 ************ redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "configfile": "/etc/selinux/config", "policy": "targeted", "reboot_required": false, "state": "enforcing" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Friday 06 May 2022 16:56:06 +0000 (0:00:00.482) 0:00:30.717 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Friday 06 May 2022 16:56:06 +0000 (0:00:00.016) 0:00:30.734 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Friday 06 May 2022 16:56:06 +0000 (0:00:00.035) 0:00:30.769 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:28 Friday 06 May 2022 16:56:06 +0000 (0:00:00.014) 0:00:30.784 ************ skipping: [/cache/fedora-34.qcow2.snap] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Friday 06 May 2022 16:56:06 +0000 (0:00:00.014) 0:00:30.799 ************ NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for /cache/fedora-34.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for /cache/fedora-34.qcow2.snap changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:01.021356", "end": "2022-05-06 16:56:07.175889", "rc": 0, "start": "2022-05-06 16:56:06.154533" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Friday 06 May 2022 16:56:08 +0000 (0:00:01.391) 0:00:32.191 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 Friday 06 May 2022 16:56:08 +0000 (0:00:00.029) 0:00:32.220 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 06 May 2022 16:56:08 +0000 (0:00:00.029) 0:00:32.250 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Friday 06 May 2022 16:56:08 +0000 (0:00:00.028) 0:00:32.278 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Friday 06 May 2022 16:56:08 +0000 (0:00:00.028) 0:00:32.306 ************ TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 06 May 2022 16:56:08 +0000 (0:00:00.016) 0:00:32.322 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Friday 06 May 2022 16:56:08 +0000 (0:00:00.017) 0:00:32.339 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:78 Friday 06 May 2022 16:56:08 +0000 (0:00:00.016) 0:00:32.355 ************ TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 Friday 06 May 2022 16:56:08 +0000 (0:00:00.015) 0:00:32.371 ************ TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 Friday 06 May 2022 16:56:08 +0000 (0:00:00.016) 0:00:32.388 ************ TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Friday 06 May 2022 16:56:08 +0000 (0:00:00.017) 0:00:32.405 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : include_tasks] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Friday 06 May 2022 16:56:08 +0000 (0:00:00.526) 0:00:32.932 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/fedora-34.qcow2.snap RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:1 Friday 06 May 2022 16:56:08 +0000 (0:00:00.043) 0:00:32.975 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:00.073850", "end": "2022-05-06 16:56:08.395685", "rc": 0, "start": "2022-05-06 16:56:08.321835" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:1 Friday 06 May 2022 16:56:09 +0000 (0:00:00.433) 0:00:33.409 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:00.094864", "end": "2022-05-06 16:56:08.865682", "rc": 0, "start": "2022-05-06 16:56:08.770818" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=36 changed=10 unreachable=0 failed=0 skipped=17 rescued=1 ignored=0 Friday 06 May 2022 16:56:09 +0000 (0:00:00.483) 0:00:33.892 ************ =============================================================================== Add some mapping -------------------------------------------------------- 8.36s /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:26 ------------------ Ensure SELinux tool semanage -------------------------------------------- 2.72s /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:15 ------------------ fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 2.23s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 2.04s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 fedora.linux_system_roles.selinux : Install SELinux tool semanage ------- 2.03s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 fedora.linux_system_roles.selinux : Install SELinux tool semanage ------- 2.01s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 fedora.linux_system_roles.selinux : Drop all local modifications -------- 1.39s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:1 ------------------- Upload testing /etc/selinux/config -------------------------------------- 0.86s /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:37 ------------------ Add a Linux System Roles SELinux User ----------------------------------- 0.81s /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:22 ------------------ fedora.linux_system_roles.selinux : refresh facts ----------------------- 0.75s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled --- 0.74s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 fedora.linux_system_roles.selinux : refresh facts ----------------------- 0.73s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Gather facts again ------------------------------------------------------ 0.72s /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:74 ------------------ Remove Linux System Roles SELinux User ---------------------------------- 0.66s /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:96 ------------------ fedora.linux_system_roles.selinux : Ensure ansible_facts used by role --- 0.56s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 0.53s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Backup original /etc/selinux/config ------------------------------------- 0.51s /tmp/tmp3epeskya/tests/selinux/tests_selinux_disabled.yml:31 ------------------ fedora.linux_system_roles.selinux : Ensure ansible_facts used by role --- 0.50s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 0.48s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:1 ansible-galaxy [core 2.12.4] 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 = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-galaxy python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Starting galaxy collection install process [WARNING]: The specified collections path '/tmp/tmpt6yp2lym' is not part of the configured Ansible collections paths '/root/.ansible/collections:/usr/share/ansible/collections'. The installed collection won't be picked up in an Ansible run. [WARNING]: Collection at '/tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles' does not have a MANIFEST.json file, nor has it galaxy.yml: cannot detect version. Nothing to do. All requested collections are already installed. If you want to reinstall them, consider using `--force`. ansible-playbook [core 2.12.4] 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/tmpt6yp2lym executable location = /usr/bin/ansible-playbook python version = 3.9.12 (main, Mar 25 2022, 00:00:00) [GCC 11.2.1 20220127 (Red Hat 11.2.1-9)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_selinux_modules.yml ******************************************** 1 plays in /tmp/tmp3epeskya/tests/selinux/tests_selinux_modules.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_modules.yml:2 Friday 06 May 2022 16:56:21 +0000 (0:00:00.008) 0:00:00.008 ************ ok: [/cache/fedora-34.qcow2.snap] META: ran handlers TASK [execute the role] ******************************************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_modules.yml:19 Friday 06 May 2022 16:56:22 +0000 (0:00:01.101) 0:00:01.110 ************ 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) ansible.builtin.seport to community.general.seport redirecting (type: modules) ansible.builtin.selogin to community.general.selogin TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 06 May 2022 16:56:22 +0000 (0:00:00.086) 0:00:01.196 ************ included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for /cache/fedora-34.qcow2.snap TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 06 May 2022 16:56:22 +0000 (0:00:00.046) 0:00:01.242 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 06 May 2022 16:56:23 +0000 (0:00:00.512) 0:00:01.755 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 Friday 06 May 2022 16:56:23 +0000 (0:00:00.037) 0:00:01.793 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : refresh facts] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 Friday 06 May 2022 16:56:25 +0000 (0:00:02.562) 0:00:04.355 ************ ok: [/cache/fedora-34.qcow2.snap] TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 Friday 06 May 2022 16:56:26 +0000 (0:00:00.744) 0:00:05.100 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 06 May 2022 16:56:28 +0000 (0:00:01.967) 0:00:07.067 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:12 Friday 06 May 2022 16:56:28 +0000 (0:00:00.037) 0:00:07.105 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:19 Friday 06 May 2022 16:56:28 +0000 (0:00:00.036) 0:00:07.141 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:23 Friday 06 May 2022 16:56:28 +0000 (0:00:00.044) 0:00:07.186 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:28 Friday 06 May 2022 16:56:28 +0000 (0:00:00.031) 0:00:07.218 ************ skipping: [/cache/fedora-34.qcow2.snap] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:33 Friday 06 May 2022 16:56:28 +0000 (0:00:00.032) 0:00:07.250 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:40 Friday 06 May 2022 16:56:28 +0000 (0:00:00.038) 0:00:07.289 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:44 Friday 06 May 2022 16:56:28 +0000 (0:00:00.041) 0:00:07.331 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 06 May 2022 16:56:28 +0000 (0:00:00.030) 0:00:07.361 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:52 Friday 06 May 2022 16:56:28 +0000 (0:00:00.031) 0:00:07.392 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:56 Friday 06 May 2022 16:56:28 +0000 (0:00:00.032) 0:00:07.425 ************ TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 06 May 2022 16:56:28 +0000 (0:00:00.016) 0:00:07.441 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:72 Friday 06 May 2022 16:56:28 +0000 (0:00:00.016) 0:00:07.458 ************ TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:78 Friday 06 May 2022 16:56:28 +0000 (0:00:00.016) 0:00:07.474 ************ TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:86 Friday 06 May 2022 16:56:28 +0000 (0:00:00.016) 0:00:07.491 ************ TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:94 Friday 06 May 2022 16:56:28 +0000 (0:00:00.016) 0:00:07.508 ************ TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 Friday 06 May 2022 16:56:28 +0000 (0:00:00.016) 0:00:07.524 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : include_tasks] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:107 Friday 06 May 2022 16:56:29 +0000 (0:00:00.746) 0:00:08.270 ************ included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml for /cache/fedora-34.qcow2.snap => (item={'path': 'linux-system-roles-selinux-test-a.pp'}) included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml for /cache/fedora-34.qcow2.snap => (item={'name': 'linux-system-roles-selinux-test-a', 'state': 'disabled'}) included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml for /cache/fedora-34.qcow2.snap => (item={'name': 'linux-system-roles-selinux-test-a', 'state': 'enabled'}) included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml for /cache/fedora-34.qcow2.snap => (item={'path': 'linux-system-roles-selinux-test-b.pp', 'priority': '500'}) included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml for /cache/fedora-34.qcow2.snap => (item={'name': 'linux-system-roles-selinux-test-b', 'priority': '500', 'state': 'disabled'}) included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml for /cache/fedora-34.qcow2.snap => (item={'path': 'linux-system-roles-selinux-test-c.pp', 'priority': '600'}) included: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml for /cache/fedora-34.qcow2.snap => (item={'name': 'linux-system-roles-selinux-test-c', 'priority': '600', 'state': 'absent'}) TASK [fedora.linux_system_roles.selinux : Create temporary directory] ********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:3 Friday 06 May 2022 16:56:29 +0000 (0:00:00.150) 0:00:08.421 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/linux_system_role.selinuxf56h7184", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.selinux : Copy module file "linux-system-roles-selinux-test-a.pp"] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:9 Friday 06 May 2022 16:56:30 +0000 (0:00:00.497) 0:00:08.918 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "7e315cb53bc04a58035783e33dedcb98a17c9fa6", "dest": "/tmp/linux_system_role.selinuxf56h7184/linux-system-roles-selinux-test-a.pp", "gid": 0, "group": "root", "md5sum": "7f51ac977b1460ce310e6e2e708f0b44", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 61029, "src": "/root/.ansible/tmp/ansible-tmp-1651856190.24905-226255-42578935161330/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.selinux : Install module with priority] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:16 Friday 06 May 2022 16:56:31 +0000 (0:00:01.226) 0:00:10.144 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install module] ********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:22 Friday 06 May 2022 16:56:31 +0000 (0:00:00.066) 0:00:10.210 ************ NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for /cache/fedora-34.qcow2.snap changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "semodule", "-n", "-s", "targeted", "-i", "/tmp/linux_system_role.selinuxf56h7184/linux-system-roles-selinux-test-a.pp" ], "delta": "0:00:06.611943", "end": "2022-05-06 16:56:37.385329", "rc": 0, "start": "2022-05-06 16:56:30.773386" } TASK [fedora.linux_system_roles.selinux : Clean temporary directory "/tmp/linux_system_role.selinuxf56h7184"] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:31 Friday 06 May 2022 16:56:38 +0000 (0:00:07.082) 0:00:17.292 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/linux_system_role.selinuxf56h7184", "state": "absent" } TASK [fedora.linux_system_roles.selinux : Enable module with priority] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:36 Friday 06 May 2022 16:56:39 +0000 (0:00:00.510) 0:00:17.803 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Disable module with priority] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:41 Friday 06 May 2022 16:56:39 +0000 (0:00:00.042) 0:00:17.846 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Remove module with priority] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:46 Friday 06 May 2022 16:56:39 +0000 (0:00:00.039) 0:00:17.886 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Enable module] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:51 Friday 06 May 2022 16:56:39 +0000 (0:00:00.055) 0:00:17.941 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Disable module] ********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:56 Friday 06 May 2022 16:56:39 +0000 (0:00:00.036) 0:00:17.977 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Remove module] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:61 Friday 06 May 2022 16:56:39 +0000 (0:00:00.040) 0:00:18.017 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh SELinux modules facts] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:66 Friday 06 May 2022 16:56:39 +0000 (0:00:00.035) 0:00:18.053 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linux-system-roles-selinux-test-a": { "400": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Create temporary directory] ********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:3 Friday 06 May 2022 16:56:39 +0000 (0:00:00.401) 0:00:18.454 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Copy module file "{{ item.path }}"] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:9 Friday 06 May 2022 16:56:39 +0000 (0:00:00.037) 0:00:18.491 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install module with priority] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:16 Friday 06 May 2022 16:56:39 +0000 (0:00:00.035) 0:00:18.527 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install module] ********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:22 Friday 06 May 2022 16:56:39 +0000 (0:00:00.035) 0:00:18.563 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Clean temporary directory "{{ tempdir.path }}"] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:31 Friday 06 May 2022 16:56:39 +0000 (0:00:00.037) 0:00:18.600 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Enable module with priority] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:36 Friday 06 May 2022 16:56:39 +0000 (0:00:00.035) 0:00:18.636 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Disable module with priority] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:41 Friday 06 May 2022 16:56:39 +0000 (0:00:00.040) 0:00:18.676 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Remove module with priority] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:46 Friday 06 May 2022 16:56:40 +0000 (0:00:00.073) 0:00:18.750 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Enable module] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:51 Friday 06 May 2022 16:56:40 +0000 (0:00:00.039) 0:00:18.790 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Disable module] ********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:56 Friday 06 May 2022 16:56:40 +0000 (0:00:00.038) 0:00:18.828 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "semodule", "-n", "-s", "targeted", "-d", "linux-system-roles-selinux-test-a" ], "delta": "0:00:05.807344", "end": "2022-05-06 16:56:45.150292", "rc": 0, "start": "2022-05-06 16:56:39.342948" } TASK [fedora.linux_system_roles.selinux : Remove module] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:61 Friday 06 May 2022 16:56:46 +0000 (0:00:06.225) 0:00:25.054 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh SELinux modules facts] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:66 Friday 06 May 2022 16:56:46 +0000 (0:00:00.035) 0:00:25.089 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linux-system-roles-selinux-test-a": { "400": "disabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Create temporary directory] ********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:3 Friday 06 May 2022 16:56:46 +0000 (0:00:00.379) 0:00:25.468 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Copy module file "{{ item.path }}"] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:9 Friday 06 May 2022 16:56:46 +0000 (0:00:00.036) 0:00:25.504 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install module with priority] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:16 Friday 06 May 2022 16:56:46 +0000 (0:00:00.035) 0:00:25.540 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install module] ********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:22 Friday 06 May 2022 16:56:46 +0000 (0:00:00.034) 0:00:25.574 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Clean temporary directory "{{ tempdir.path }}"] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:31 Friday 06 May 2022 16:56:46 +0000 (0:00:00.035) 0:00:25.609 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Enable module with priority] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:36 Friday 06 May 2022 16:56:46 +0000 (0:00:00.036) 0:00:25.645 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Disable module with priority] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:41 Friday 06 May 2022 16:56:46 +0000 (0:00:00.038) 0:00:25.684 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Remove module with priority] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:46 Friday 06 May 2022 16:56:46 +0000 (0:00:00.036) 0:00:25.721 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Enable module] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:51 Friday 06 May 2022 16:56:47 +0000 (0:00:00.039) 0:00:25.760 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "semodule", "-n", "-s", "targeted", "-e", "linux-system-roles-selinux-test-a" ], "delta": "0:00:05.820539", "end": "2022-05-06 16:56:52.054544", "rc": 0, "start": "2022-05-06 16:56:46.234005" } TASK [fedora.linux_system_roles.selinux : Disable module] ********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:56 Friday 06 May 2022 16:56:53 +0000 (0:00:06.207) 0:00:31.968 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Remove module] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:61 Friday 06 May 2022 16:56:53 +0000 (0:00:00.041) 0:00:32.009 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh SELinux modules facts] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:66 Friday 06 May 2022 16:56:53 +0000 (0:00:00.040) 0:00:32.050 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linux-system-roles-selinux-test-a": { "400": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Create temporary directory] ********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:3 Friday 06 May 2022 16:56:53 +0000 (0:00:00.398) 0:00:32.449 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/linux_system_role.selinuxhatro031", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.selinux : Copy module file "linux-system-roles-selinux-test-b.pp"] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:9 Friday 06 May 2022 16:56:54 +0000 (0:00:00.403) 0:00:32.852 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "70dfde0f9ba576926cc27a020bdf08053d5ea4fe", "dest": "/tmp/linux_system_role.selinuxhatro031/linux-system-roles-selinux-test-b.pp", "gid": 0, "group": "root", "md5sum": "441a52d2fbfb190eacaffea79c9de2fe", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 61029, "src": "/root/.ansible/tmp/ansible-tmp-1651856214.1837182-226490-275117751094761/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.selinux : Install module with priority] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:16 Friday 06 May 2022 16:56:55 +0000 (0:00:00.907) 0:00:33.759 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "semodule", "-n", "-s", "targeted", "-X", "500", "-i", "/tmp/linux_system_role.selinuxhatro031/linux-system-roles-selinux-test-b.pp" ], "delta": "0:00:05.973619", "end": "2022-05-06 16:57:00.235803", "rc": 0, "start": "2022-05-06 16:56:54.262184" } TASK [fedora.linux_system_roles.selinux : Install module] ********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:22 Friday 06 May 2022 16:57:01 +0000 (0:00:06.391) 0:00:40.151 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Clean temporary directory "/tmp/linux_system_role.selinuxhatro031"] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:31 Friday 06 May 2022 16:57:01 +0000 (0:00:00.044) 0:00:40.196 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/linux_system_role.selinuxhatro031", "state": "absent" } TASK [fedora.linux_system_roles.selinux : Enable module with priority] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:36 Friday 06 May 2022 16:57:01 +0000 (0:00:00.384) 0:00:40.580 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Disable module with priority] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:41 Friday 06 May 2022 16:57:01 +0000 (0:00:00.041) 0:00:40.622 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Remove module with priority] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:46 Friday 06 May 2022 16:57:01 +0000 (0:00:00.041) 0:00:40.663 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Enable module] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:51 Friday 06 May 2022 16:57:01 +0000 (0:00:00.042) 0:00:40.705 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Disable module] ********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:56 Friday 06 May 2022 16:57:02 +0000 (0:00:00.039) 0:00:40.744 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Remove module] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:61 Friday 06 May 2022 16:57:02 +0000 (0:00:00.036) 0:00:40.780 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh SELinux modules facts] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:66 Friday 06 May 2022 16:57:02 +0000 (0:00:00.038) 0:00:40.819 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linux-system-roles-selinux-test-a": { "400": "enabled" }, "linux-system-roles-selinux-test-b": { "500": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Create temporary directory] ********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:3 Friday 06 May 2022 16:57:02 +0000 (0:00:00.407) 0:00:41.227 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Copy module file "{{ item.path }}"] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:9 Friday 06 May 2022 16:57:02 +0000 (0:00:00.039) 0:00:41.267 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install module with priority] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:16 Friday 06 May 2022 16:57:02 +0000 (0:00:00.038) 0:00:41.305 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install module] ********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:22 Friday 06 May 2022 16:57:02 +0000 (0:00:00.040) 0:00:41.346 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Clean temporary directory "{{ tempdir.path }}"] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:31 Friday 06 May 2022 16:57:02 +0000 (0:00:00.076) 0:00:41.423 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Enable module with priority] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:36 Friday 06 May 2022 16:57:02 +0000 (0:00:00.038) 0:00:41.461 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Disable module with priority] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:41 Friday 06 May 2022 16:57:02 +0000 (0:00:00.044) 0:00:41.506 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "semodule", "-n", "-s", "targeted", "-X", "500", "-d", "linux-system-roles-selinux-test-b" ], "delta": "0:00:05.930844", "end": "2022-05-06 16:57:07.921544", "rc": 0, "start": "2022-05-06 16:57:01.990700" } TASK [fedora.linux_system_roles.selinux : Remove module with priority] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:46 Friday 06 May 2022 16:57:09 +0000 (0:00:06.321) 0:00:47.827 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Enable module] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:51 Friday 06 May 2022 16:57:09 +0000 (0:00:00.038) 0:00:47.865 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Disable module] ********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:56 Friday 06 May 2022 16:57:09 +0000 (0:00:00.037) 0:00:47.903 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Remove module] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:61 Friday 06 May 2022 16:57:09 +0000 (0:00:00.034) 0:00:47.937 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh SELinux modules facts] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:66 Friday 06 May 2022 16:57:09 +0000 (0:00:00.034) 0:00:47.972 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linux-system-roles-selinux-test-a": { "400": "enabled" }, "linux-system-roles-selinux-test-b": { "500": "disabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Create temporary directory] ********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:3 Friday 06 May 2022 16:57:09 +0000 (0:00:00.413) 0:00:48.385 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/linux_system_role.selinux6xgcs3uv", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.selinux : Copy module file "linux-system-roles-selinux-test-c.pp"] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:9 Friday 06 May 2022 16:57:10 +0000 (0:00:00.380) 0:00:48.765 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "checksum": "436c5aaa97b76a3d94af739beef72686a931be46", "dest": "/tmp/linux_system_role.selinux6xgcs3uv/linux-system-roles-selinux-test-c.pp", "gid": 0, "group": "root", "md5sum": "03d8a903970db52941efa977209bf20c", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 61029, "src": "/root/.ansible/tmp/ansible-tmp-1651856230.0980809-226655-211847429523678/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.selinux : Install module with priority] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:16 Friday 06 May 2022 16:57:11 +0000 (0:00:00.976) 0:00:49.742 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "semodule", "-n", "-s", "targeted", "-X", "600", "-i", "/tmp/linux_system_role.selinux6xgcs3uv/linux-system-roles-selinux-test-c.pp" ], "delta": "0:00:05.928972", "end": "2022-05-06 16:57:16.151653", "rc": 0, "start": "2022-05-06 16:57:10.222681" } TASK [fedora.linux_system_roles.selinux : Install module] ********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:22 Friday 06 May 2022 16:57:17 +0000 (0:00:06.314) 0:00:56.057 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Clean temporary directory "/tmp/linux_system_role.selinux6xgcs3uv"] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:31 Friday 06 May 2022 16:57:17 +0000 (0:00:00.039) 0:00:56.096 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "path": "/tmp/linux_system_role.selinux6xgcs3uv", "state": "absent" } TASK [fedora.linux_system_roles.selinux : Enable module with priority] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:36 Friday 06 May 2022 16:57:17 +0000 (0:00:00.374) 0:00:56.471 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Disable module with priority] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:41 Friday 06 May 2022 16:57:17 +0000 (0:00:00.040) 0:00:56.512 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Remove module with priority] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:46 Friday 06 May 2022 16:57:17 +0000 (0:00:00.037) 0:00:56.550 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Enable module] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:51 Friday 06 May 2022 16:57:17 +0000 (0:00:00.038) 0:00:56.589 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Disable module] ********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:56 Friday 06 May 2022 16:57:17 +0000 (0:00:00.068) 0:00:56.657 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Remove module] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:61 Friday 06 May 2022 16:57:17 +0000 (0:00:00.034) 0:00:56.692 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh SELinux modules facts] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:66 Friday 06 May 2022 16:57:17 +0000 (0:00:00.034) 0:00:56.726 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linux-system-roles-selinux-test-a": { "400": "enabled" }, "linux-system-roles-selinux-test-b": { "500": "disabled" }, "linux-system-roles-selinux-test-c": { "600": "enabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Create temporary directory] ********** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:3 Friday 06 May 2022 16:57:18 +0000 (0:00:00.387) 0:00:57.114 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Copy module file "{{ item.path }}"] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:9 Friday 06 May 2022 16:57:18 +0000 (0:00:00.040) 0:00:57.155 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install module with priority] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:16 Friday 06 May 2022 16:57:18 +0000 (0:00:00.038) 0:00:57.193 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install module] ********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:22 Friday 06 May 2022 16:57:18 +0000 (0:00:00.036) 0:00:57.229 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Clean temporary directory "{{ tempdir.path }}"] *** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:31 Friday 06 May 2022 16:57:18 +0000 (0:00:00.037) 0:00:57.267 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Enable module with priority] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:36 Friday 06 May 2022 16:57:18 +0000 (0:00:00.036) 0:00:57.303 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Disable module with priority] ******** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:41 Friday 06 May 2022 16:57:18 +0000 (0:00:00.040) 0:00:57.343 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Remove module with priority] ********* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:46 Friday 06 May 2022 16:57:18 +0000 (0:00:00.038) 0:00:57.381 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "semodule", "-n", "-s", "targeted", "-X", "600", "-r", "linux-system-roles-selinux-test-c" ], "delta": "0:00:05.816460", "end": "2022-05-06 16:57:23.660940", "rc": 0, "start": "2022-05-06 16:57:17.844480" } STDOUT: libsemanage.semanage_direct_remove_key: Removing last linux-system-roles-selinux-test-c module (no other linux-system-roles-selinux-test-c module exists at another priority). TASK [fedora.linux_system_roles.selinux : Enable module] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:51 Friday 06 May 2022 16:57:24 +0000 (0:00:06.186) 0:01:03.567 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Disable module] ********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:56 Friday 06 May 2022 16:57:24 +0000 (0:00:00.037) 0:01:03.605 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Remove module] *********************** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:61 Friday 06 May 2022 16:57:24 +0000 (0:00:00.037) 0:01:03.643 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh SELinux modules facts] ******* task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:66 Friday 06 May 2022 16:57:24 +0000 (0:00:00.063) 0:01:03.706 ************ ok: [/cache/fedora-34.qcow2.snap] => { "ansible_facts": { "selinux_installed_modules": { "abrt": { "100": "enabled" }, "accountsd": { "100": "enabled" }, "acct": { "100": "enabled" }, "afs": { "100": "enabled" }, "aiccu": { "100": "enabled" }, "aide": { "100": "enabled" }, "ajaxterm": { "100": "enabled" }, "alsa": { "100": "enabled" }, "amanda": { "100": "enabled" }, "amtu": { "100": "enabled" }, "anaconda": { "100": "enabled" }, "antivirus": { "100": "enabled" }, "apache": { "100": "enabled" }, "apcupsd": { "100": "enabled" }, "apm": { "100": "enabled" }, "application": { "100": "enabled" }, "arpwatch": { "100": "enabled" }, "asterisk": { "100": "enabled" }, "auditadm": { "100": "enabled" }, "authconfig": { "100": "enabled" }, "authlogin": { "100": "enabled" }, "automount": { "100": "enabled" }, "avahi": { "100": "enabled" }, "awstats": { "100": "enabled" }, "bacula": { "100": "enabled" }, "base": { "100": "enabled" }, "bcfg2": { "100": "enabled" }, "bind": { "100": "enabled" }, "bitlbee": { "100": "enabled" }, "blkmapd": { "100": "enabled" }, "blueman": { "100": "enabled" }, "bluetooth": { "100": "enabled" }, "boinc": { "100": "enabled" }, "boltd": { "100": "enabled" }, "bootloader": { "100": "enabled" }, "brctl": { "100": "enabled" }, "brltty": { "100": "enabled" }, "bugzilla": { "100": "enabled" }, "bumblebee": { "100": "enabled" }, "cachefilesd": { "100": "enabled" }, "calamaris": { "100": "enabled" }, "callweaver": { "100": "enabled" }, "canna": { "100": "enabled" }, "ccs": { "100": "enabled" }, "cdrecord": { "100": "enabled" }, "certmaster": { "100": "enabled" }, "certmonger": { "100": "enabled" }, "certwatch": { "100": "enabled" }, "cfengine": { "100": "enabled" }, "cgroup": { "100": "enabled" }, "chrome": { "100": "enabled" }, "chronyd": { "100": "enabled" }, "cinder": { "100": "enabled" }, "cipe": { "100": "enabled" }, "clock": { "100": "enabled" }, "clogd": { "100": "enabled" }, "cloudform": { "100": "enabled" }, "cmirrord": { "100": "enabled" }, "cobbler": { "100": "enabled" }, "cockpit": { "100": "enabled" }, "collectd": { "100": "enabled" }, "colord": { "100": "enabled" }, "comsat": { "100": "enabled" }, "condor": { "100": "enabled" }, "conman": { "100": "enabled" }, "conntrackd": { "100": "enabled" }, "consolekit": { "100": "enabled" }, "couchdb": { "100": "enabled" }, "courier": { "100": "enabled" }, "cpucontrol": { "100": "enabled" }, "cpufreqselector": { "100": "enabled" }, "cpuplug": { "100": "enabled" }, "cron": { "100": "enabled" }, "ctdb": { "100": "enabled" }, "cups": { "100": "enabled" }, "cvs": { "100": "enabled" }, "cyphesis": { "100": "enabled" }, "cyrus": { "100": "enabled" }, "daemontools": { "100": "enabled" }, "dbadm": { "100": "enabled" }, "dbskk": { "100": "enabled" }, "dbus": { "100": "enabled" }, "dcc": { "100": "enabled" }, "ddclient": { "100": "enabled" }, "denyhosts": { "100": "enabled" }, "devicekit": { "100": "enabled" }, "dhcp": { "100": "enabled" }, "dictd": { "100": "enabled" }, "dirsrv": { "100": "enabled" }, "dirsrv-admin": { "100": "enabled" }, "dmesg": { "100": "enabled" }, "dmidecode": { "100": "enabled" }, "dnsmasq": { "100": "enabled" }, "dnssec": { "100": "enabled" }, "dovecot": { "100": "enabled" }, "drbd": { "100": "enabled" }, "dspam": { "100": "enabled" }, "entropyd": { "100": "enabled" }, "exim": { "100": "enabled" }, "fail2ban": { "100": "enabled" }, "fcoe": { "100": "enabled" }, "fetchmail": { "100": "enabled" }, "finger": { "100": "enabled" }, "firewalld": { "100": "enabled" }, "firewallgui": { "100": "enabled" }, "firstboot": { "100": "enabled" }, "fprintd": { "100": "enabled" }, "freeipmi": { "100": "enabled" }, "freqset": { "100": "enabled" }, "fstools": { "100": "enabled" }, "ftp": { "100": "enabled" }, "fwupd": { "100": "enabled" }, "games": { "100": "enabled" }, "gdomap": { "100": "enabled" }, "geoclue": { "100": "enabled" }, "getty": { "100": "enabled" }, "git": { "100": "enabled" }, "gitosis": { "100": "enabled" }, "glance": { "100": "enabled" }, "glusterd": { "100": "enabled" }, "gnome": { "100": "enabled" }, "gpg": { "100": "enabled" }, "gpm": { "100": "enabled" }, "gpsd": { "100": "enabled" }, "gssproxy": { "100": "enabled" }, "guest": { "100": "enabled" }, "hddtemp": { "100": "enabled" }, "hostapd": { "100": "enabled" }, "hostname": { "100": "enabled" }, "hsqldb": { "100": "enabled" }, "hwloc": { "100": "enabled" }, "hypervkvp": { "100": "enabled" }, "ibacm": { "100": "enabled" }, "ica": { "100": "enabled" }, "icecast": { "100": "enabled" }, "inetd": { "100": "enabled" }, "init": { "100": "enabled" }, "inn": { "100": "enabled" }, "iodine": { "100": "enabled" }, "iotop": { "100": "enabled" }, "ipa": { "100": "enabled" }, "ipmievd": { "100": "enabled" }, "ipsec": { "100": "enabled" }, "iptables": { "100": "enabled" }, "irc": { "100": "enabled" }, "irqbalance": { "100": "enabled" }, "iscsi": { "100": "enabled" }, "isns": { "100": "enabled" }, "jabber": { "100": "enabled" }, "jetty": { "100": "enabled" }, "jockey": { "100": "enabled" }, "journalctl": { "100": "enabled" }, "kdump": { "100": "enabled" }, "kdumpgui": { "100": "enabled" }, "keepalived": { "100": "enabled" }, "kerberos": { "100": "enabled" }, "keyboardd": { "100": "enabled" }, "keystone": { "100": "enabled" }, "kismet": { "100": "enabled" }, "kmscon": { "100": "enabled" }, "kpatch": { "100": "enabled" }, "ksmtuned": { "100": "enabled" }, "ktalk": { "100": "enabled" }, "l2tp": { "100": "enabled" }, "ldap": { "100": "enabled" }, "libraries": { "100": "enabled" }, "likewise": { "100": "enabled" }, "linux-system-roles-selinux-test-a": { "400": "enabled" }, "linux-system-roles-selinux-test-b": { "500": "disabled" }, "linuxptp": { "100": "enabled" }, "lircd": { "100": "enabled" }, "livecd": { "100": "enabled" }, "lldpad": { "100": "enabled" }, "loadkeys": { "100": "enabled" }, "locallogin": { "100": "enabled" }, "lockdev": { "100": "enabled" }, "logadm": { "100": "enabled" }, "logging": { "100": "enabled" }, "logrotate": { "100": "enabled" }, "logwatch": { "100": "enabled" }, "lpd": { "100": "enabled" }, "lsm": { "100": "enabled" }, "lttng-tools": { "100": "enabled" }, "lvm": { "100": "enabled" }, "mailman": { "100": "enabled" }, "mailscanner": { "100": "enabled" }, "man2html": { "100": "enabled" }, "mandb": { "100": "enabled" }, "mcelog": { "100": "enabled" }, "mediawiki": { "100": "enabled" }, "memcached": { "100": "enabled" }, "milter": { "100": "enabled" }, "minidlna": { "100": "enabled" }, "minissdpd": { "100": "enabled" }, "mip6d": { "100": "enabled" }, "mirrormanager": { "100": "enabled" }, "miscfiles": { "100": "enabled" }, "mock": { "100": "enabled" }, "modemmanager": { "100": "enabled" }, "modutils": { "100": "enabled" }, "mojomojo": { "100": "enabled" }, "mon_statd": { "100": "enabled" }, "mongodb": { "100": "enabled" }, "motion": { "100": "enabled" }, "mount": { "100": "enabled" }, "mozilla": { "100": "enabled" }, "mpd": { "100": "enabled" }, "mplayer": { "100": "enabled" }, "mrtg": { "100": "enabled" }, "mta": { "100": "enabled" }, "munin": { "100": "enabled" }, "mysql": { "100": "enabled" }, "mythtv": { "100": "enabled" }, "naemon": { "100": "enabled" }, "nagios": { "100": "enabled" }, "namespace": { "100": "enabled" }, "ncftool": { "100": "enabled" }, "netlabel": { "100": "enabled" }, "netutils": { "100": "enabled" }, "networkmanager": { "100": "enabled" }, "ninfod": { "100": "enabled" }, "nis": { "100": "enabled" }, "nova": { "100": "enabled" }, "nscd": { "100": "enabled" }, "nsd": { "100": "enabled" }, "nslcd": { "100": "enabled" }, "ntop": { "100": "enabled" }, "ntp": { "100": "enabled" }, "numad": { "100": "enabled" }, "nut": { "100": "enabled" }, "nx": { "100": "enabled" }, "obex": { "100": "enabled" }, "oddjob": { "100": "enabled" }, "opafm": { "100": "enabled" }, "openct": { "100": "enabled" }, "opendnssec": { "100": "enabled" }, "openfortivpn": { "100": "enabled" }, "openhpid": { "100": "enabled" }, "openshift": { "100": "enabled" }, "openshift-origin": { "100": "enabled" }, "opensm": { "100": "enabled" }, "openvpn": { "100": "enabled" }, "openvswitch": { "100": "enabled" }, "openwsman": { "100": "enabled" }, "oracleasm": { "100": "enabled" }, "osad": { "100": "enabled" }, "pads": { "100": "enabled" }, "passenger": { "100": "enabled" }, "pcmcia": { "100": "enabled" }, "pcp": { "100": "enabled" }, "pcscd": { "100": "enabled" }, "pdns": { "100": "enabled" }, "pegasus": { "100": "enabled" }, "permissivedomains": { "100": "enabled" }, "pesign": { "100": "enabled" }, "pingd": { "100": "enabled" }, "piranha": { "100": "enabled" }, "pkcs": { "100": "enabled" }, "pkcs11proxyd": { "100": "enabled" }, "pki": { "100": "enabled" }, "plymouthd": { "100": "enabled" }, "podsleuth": { "100": "enabled" }, "policykit": { "100": "enabled" }, "polipo": { "100": "enabled" }, "portmap": { "100": "enabled" }, "portreserve": { "100": "enabled" }, "postfix": { "100": "enabled" }, "postgresql": { "100": "enabled" }, "postgrey": { "100": "enabled" }, "ppp": { "100": "enabled" }, "prelink": { "100": "enabled" }, "prelude": { "100": "enabled" }, "privoxy": { "100": "enabled" }, "procmail": { "100": "enabled" }, "prosody": { "100": "enabled" }, "psad": { "100": "enabled" }, "ptchown": { "100": "enabled" }, "publicfile": { "100": "enabled" }, "pulseaudio": { "100": "enabled" }, "puppet": { "100": "enabled" }, "pwauth": { "100": "enabled" }, "qmail": { "100": "enabled" }, "qpid": { "100": "enabled" }, "quantum": { "100": "enabled" }, "quota": { "100": "enabled" }, "rabbitmq": { "100": "enabled" }, "radius": { "100": "enabled" }, "radvd": { "100": "enabled" }, "raid": { "100": "enabled" }, "rasdaemon": { "100": "enabled" }, "rdisc": { "100": "enabled" }, "readahead": { "100": "enabled" }, "realmd": { "100": "enabled" }, "redis": { "100": "enabled" }, "remotelogin": { "100": "enabled" }, "rhcs": { "100": "enabled" }, "rhev": { "100": "enabled" }, "rhgb": { "100": "enabled" }, "rhnsd": { "100": "enabled" }, "rhsmcertd": { "100": "enabled" }, "ricci": { "100": "enabled" }, "rkhunter": { "100": "enabled" }, "rkt": { "100": "enabled" }, "rlogin": { "100": "enabled" }, "rngd": { "100": "enabled" }, "rolekit": { "100": "enabled" }, "roundup": { "100": "enabled" }, "rpc": { "100": "enabled" }, "rpcbind": { "100": "enabled" }, "rpm": { "100": "enabled" }, "rrdcached": { "100": "enabled" }, "rshd": { "100": "enabled" }, "rssh": { "100": "enabled" }, "rsync": { "100": "enabled" }, "rtas": { "100": "enabled" }, "rtkit": { "100": "enabled" }, "rwho": { "100": "enabled" }, "samba": { "100": "enabled" }, "sambagui": { "100": "enabled" }, "sandboxX": { "100": "enabled" }, "sanlock": { "100": "enabled" }, "sasl": { "100": "enabled" }, "sbd": { "100": "enabled" }, "sblim": { "100": "enabled" }, "screen": { "100": "enabled" }, "secadm": { "100": "enabled" }, "sectoolm": { "100": "enabled" }, "selinuxutil": { "100": "enabled" }, "sendmail": { "100": "enabled" }, "sensord": { "100": "enabled" }, "setrans": { "100": "enabled" }, "setroubleshoot": { "100": "enabled" }, "seunshare": { "100": "enabled" }, "sge": { "100": "enabled" }, "shorewall": { "100": "enabled" }, "slocate": { "100": "enabled" }, "slpd": { "100": "enabled" }, "smartmon": { "100": "enabled" }, "smokeping": { "100": "enabled" }, "smoltclient": { "100": "enabled" }, "smsd": { "100": "enabled" }, "snapper": { "100": "enabled" }, "snmp": { "100": "enabled" }, "snort": { "100": "enabled" }, "sosreport": { "100": "enabled" }, "soundserver": { "100": "enabled" }, "spamassassin": { "100": "enabled" }, "speech-dispatcher": { "100": "enabled" }, "squid": { "100": "enabled" }, "ssh": { "100": "enabled" }, "sslh": { "100": "enabled" }, "sssd": { "100": "enabled" }, "staff": { "100": "enabled" }, "stapserver": { "100": "enabled" }, "stratisd": { "100": "enabled" }, "stunnel": { "100": "enabled" }, "su": { "100": "enabled" }, "sudo": { "100": "enabled" }, "svnserve": { "100": "enabled" }, "swift": { "100": "enabled" }, "sysadm": { "100": "enabled" }, "sysadm_secadm": { "100": "enabled" }, "sysnetwork": { "100": "enabled" }, "sysstat": { "100": "enabled" }, "systemd": { "100": "enabled" }, "tangd": { "100": "enabled" }, "targetd": { "100": "enabled" }, "tcpd": { "100": "enabled" }, "tcsd": { "100": "enabled" }, "telepathy": { "100": "enabled" }, "telnet": { "100": "enabled" }, "tftp": { "100": "enabled" }, "tgtd": { "100": "enabled" }, "thin": { "100": "enabled" }, "thumb": { "100": "enabled" }, "timedatex": { "100": "enabled" }, "tlp": { "100": "enabled" }, "tmpreaper": { "100": "enabled" }, "tomcat": { "100": "enabled" }, "tor": { "100": "enabled" }, "tuned": { "100": "enabled" }, "tvtime": { "100": "enabled" }, "udev": { "100": "enabled" }, "ulogd": { "100": "enabled" }, "uml": { "100": "enabled" }, "unconfined": { "100": "enabled" }, "unconfineduser": { "100": "enabled" }, "unlabelednet": { "100": "enabled" }, "unprivuser": { "100": "enabled" }, "updfstab": { "100": "enabled" }, "usbmodules": { "100": "enabled" }, "usbmuxd": { "100": "enabled" }, "userdomain": { "100": "enabled" }, "userhelper": { "100": "enabled" }, "usermanage": { "100": "enabled" }, "usernetctl": { "100": "enabled" }, "uucp": { "100": "enabled" }, "uuidd": { "100": "enabled" }, "varnishd": { "100": "enabled" }, "vdagent": { "100": "enabled" }, "vhostmd": { "100": "enabled" }, "virt": { "100": "enabled" }, "vlock": { "100": "enabled" }, "vmtools": { "100": "enabled" }, "vmware": { "100": "enabled" }, "vnstatd": { "100": "enabled" }, "vpn": { "100": "enabled" }, "w3c": { "100": "enabled" }, "watchdog": { "100": "enabled" }, "wdmd": { "100": "enabled" }, "webadm": { "100": "enabled" }, "webalizer": { "100": "enabled" }, "wine": { "100": "enabled" }, "wireshark": { "100": "enabled" }, "xen": { "100": "enabled" }, "xguest": { "100": "enabled" }, "xserver": { "100": "enabled" }, "zabbix": { "100": "enabled" }, "zarafa": { "100": "enabled" }, "zebra": { "100": "enabled" }, "zoneminder": { "100": "enabled" }, "zosremote": { "100": "enabled" } }, "selinux_priorities": true }, "changed": false } META: role_complete for /cache/fedora-34.qcow2.snap TASK [Check if linux-system-roles-selinux-test-a is installed and enabled] ***** task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_modules.yml:39 Friday 06 May 2022 16:57:25 +0000 (0:00:00.400) 0:01:04.106 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check if linux-system-roles-selinux-test-b is installed and disabled] **** task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_modules.yml:43 Friday 06 May 2022 16:57:25 +0000 (0:00:00.039) 0:01:04.146 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check if linux-system-roles-selinux-test-c is absent] ******************** task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_modules.yml:47 Friday 06 May 2022 16:57:25 +0000 (0:00:00.039) 0:01:04.185 ************ ok: [/cache/fedora-34.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Cleanup modules] ********************************************************* task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_modules.yml:52 Friday 06 May 2022 16:57:25 +0000 (0:00:00.037) 0:01:04.222 ************ changed: [/cache/fedora-34.qcow2.snap] => (item=semodule -r linux-system-roles-selinux-test-a) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "semodule", "-r", "linux-system-roles-selinux-test-a" ], "delta": "0:00:05.868482", "end": "2022-05-06 16:57:30.543218", "item": "semodule -r linux-system-roles-selinux-test-a", "rc": 0, "start": "2022-05-06 16:57:24.674736" } STDOUT: libsemanage.semanage_direct_remove_key: Removing last linux-system-roles-selinux-test-a module (no other linux-system-roles-selinux-test-a module exists at another priority). changed: [/cache/fedora-34.qcow2.snap] => (item=semodule -X 500 -r linux-system-roles-selinux-test-b) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "semodule", "-X", "500", "-r", "linux-system-roles-selinux-test-b" ], "delta": "0:00:05.861635", "end": "2022-05-06 16:57:36.742084", "item": "semodule -X 500 -r linux-system-roles-selinux-test-b", "rc": 0, "start": "2022-05-06 16:57:30.880449" } STDOUT: libsemanage.semanage_direct_remove_key: Removing last linux-system-roles-selinux-test-b module (no other linux-system-roles-selinux-test-b module exists at another priority). failed: [/cache/fedora-34.qcow2.snap] (item=semodule -X 600 -r linux-system-roles-selinux-test-c) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "semodule", "-X", "600", "-r", "linux-system-roles-selinux-test-c" ], "delta": "0:00:00.107125", "end": "2022-05-06 16:57:37.169126", "item": "semodule -X 600 -r linux-system-roles-selinux-test-c", "rc": 1, "start": "2022-05-06 16:57:37.062001" } STDERR: libsemanage.semanage_direct_remove_key: Unable to remove module linux-system-roles-selinux-test-c at priority 600. (No such file or directory). semodule: Failed! MSG: non-zero return code ...ignoring TASK [execute the role] ******************************************************** task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_modules.yml:72 Friday 06 May 2022 16:57:38 +0000 (0:00:12.852) 0:01:17.075 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if linux-system-roles-selinux-test-a is installed and enabled] ***** task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_modules.yml:92 Friday 06 May 2022 16:57:38 +0000 (0:00:00.032) 0:01:17.107 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if linux-system-roles-selinux-test-b is installed and disabled] **** task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_modules.yml:96 Friday 06 May 2022 16:57:38 +0000 (0:00:00.036) 0:01:17.143 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if linux-system-roles-selinux-test-c is absent] ******************** task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_modules.yml:100 Friday 06 May 2022 16:57:38 +0000 (0:00:00.032) 0:01:17.176 ************ skipping: [/cache/fedora-34.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Cleanup modules] ********************************************************* task path: /tmp/tmp3epeskya/tests/selinux/tests_selinux_modules.yml:105 Friday 06 May 2022 16:57:38 +0000 (0:00:00.029) 0:01:17.206 ************ skipping: [/cache/fedora-34.qcow2.snap] => (item=semodule -r linux-system-roles-selinux-test-a) => { "ansible_loop_var": "item", "changed": false, "item": "semodule -r linux-system-roles-selinux-test-a", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-34.qcow2.snap] => (item=semodule -r linux-system-roles-selinux-test-b) => { "ansible_loop_var": "item", "changed": false, "item": "semodule -r linux-system-roles-selinux-test-b", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-34.qcow2.snap] => (item=semodule -r linux-system-roles-selinux-test-c) => { "ansible_loop_var": "item", "changed": false, "item": "semodule -r linux-system-roles-selinux-test-c", "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:1 Friday 06 May 2022 16:57:38 +0000 (0:00:00.039) 0:01:17.245 ************ changed: [/cache/fedora-34.qcow2.snap] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:00.072515", "end": "2022-05-06 16:57:37.796471", "rc": 0, "start": "2022-05-06 16:57:37.723956" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-34.qcow2.snap : ok=43 changed=18 unreachable=0 failed=0 skipped=82 rescued=0 ignored=1 Friday 06 May 2022 16:57:38 +0000 (0:00:00.459) 0:01:17.705 ************ =============================================================================== Cleanup modules -------------------------------------------------------- 12.85s /tmp/tmp3epeskya/tests/selinux/tests_selinux_modules.yml:52 ------------------- fedora.linux_system_roles.selinux : Install module ---------------------- 7.08s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:22 fedora.linux_system_roles.selinux : Install module with priority -------- 6.39s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:16 fedora.linux_system_roles.selinux : Disable module with priority -------- 6.32s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:41 fedora.linux_system_roles.selinux : Install module with priority -------- 6.31s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:16 fedora.linux_system_roles.selinux : Disable module ---------------------- 6.23s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:56 fedora.linux_system_roles.selinux : Enable module ----------------------- 6.21s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:51 fedora.linux_system_roles.selinux : Remove module with priority --------- 6.19s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:46 fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 2.56s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:15 fedora.linux_system_roles.selinux : Install SELinux tool semanage ------- 1.97s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:28 fedora.linux_system_roles.selinux : Copy module file "linux-system-roles-selinux-test-a.pp" --- 1.23s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:9 Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmp3epeskya/tests/selinux/tests_selinux_modules.yml:2 -------------------- fedora.linux_system_roles.selinux : Copy module file "linux-system-roles-selinux-test-c.pp" --- 0.98s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:9 fedora.linux_system_roles.selinux : Copy module file "linux-system-roles-selinux-test-b.pp" --- 0.91s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:9 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 0.75s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:104 fedora.linux_system_roles.selinux : refresh facts ----------------------- 0.74s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:23 fedora.linux_system_roles.selinux : Ensure ansible_facts used by role --- 0.51s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 fedora.linux_system_roles.selinux : Clean temporary directory "/tmp/linux_system_role.selinuxf56h7184" --- 0.51s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:31 fedora.linux_system_roles.selinux : Create temporary directory ---------- 0.50s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/selinux_load_module.yml:3 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 0.46s /tmp/tmpt6yp2lym/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:1