# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-cigl9t6mvz/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 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 /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml PLAY [Ensure the default is targeted, enforcing, without local modifications] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:2 Friday 26 July 2024 19:11:21 +0000 (0:00:00.012) 0:00:00.012 *********** ok: [sut] TASK [Ensure SELinux test packages] ******************************************** task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:16 Friday 26 July 2024 19:11:22 +0000 (0:00:00.932) 0:00:00.944 *********** included: /WORKDIR/git-weekly-cigl9t6mvz/tests/set_selinux_variables.yml for sut TASK [Ensure ansible_facts used by tests] ************************************** task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/set_selinux_variables.yml:12 Friday 26 July 2024 19:11:22 +0000 (0:00:00.012) 0:00:00.956 *********** skipping: [sut] => { "changed": false, "false_condition": "__selinux_test_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [Ensure SELinux testing packages] ***************************************** task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/set_selinux_variables.yml:17 Friday 26 July 2024 19:11:22 +0000 (0:00:00.017) 0:00:00.974 *********** TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Friday 26 July 2024 19:11:22 +0000 (0:00:00.022) 0:00:00.997 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Friday 26 July 2024 19:11:22 +0000 (0:00:00.187) 0:00:01.184 *********** ok: [sut] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Friday 26 July 2024 19:11:23 +0000 (0:00:00.015) 0:00:01.200 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Friday 26 July 2024 19:11:23 +0000 (0:00:00.126) 0:00:01.326 *********** ok: [sut] => { "ansible_facts": { "__selinux_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Friday 26 July 2024 19:11:23 +0000 (0:00:00.016) 0:00:01.343 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Friday 26 July 2024 19:11:23 +0000 (0:00:00.624) 0:00:01.967 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_python_version is version('3', '>=')", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Friday 26 July 2024 19:11:23 +0000 (0:00:00.011) 0:00:01.979 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_python_version is version('3', '>=')", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Friday 26 July 2024 19:11:23 +0000 (0:00:00.011) 0:00:01.990 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == \"Fedora\" or ansible_distribution == \"SL-Micro\" or (ansible_distribution_major_version | int > 7 and ansible_distribution in [\"CentOS\", \"RedHat\", \"Rocky\"])", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Friday 26 July 2024 19:11:23 +0000 (0:00:00.017) 0:00:02.008 *********** skipping: [sut] => { "false_condition": "__selinux_is_transactional | d(false)" } TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Friday 26 July 2024 19:11:23 +0000 (0:00:00.017) 0:00:02.025 *********** skipping: [sut] => { "changed": false, "false_condition": "__selinux_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Friday 26 July 2024 19:11:23 +0000 (0:00:00.019) 0:00:02.044 *********** skipping: [sut] => { "changed": false, "false_condition": "__selinux_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Friday 26 July 2024 19:11:23 +0000 (0:00:00.018) 0:00:02.063 *********** ok: [sut] TASK [Ensure selinux-policy-targeted] ****************************************** task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/set_selinux_variables.yml:22 Friday 26 July 2024 19:11:24 +0000 (0:00:00.498) 0:00:02.561 *********** skipping: [sut] => { "changed": false, "false_condition": "__selinux_need_policy_targeted | d(false)", "skip_reason": "Conditional result was False" } TASK [Ensure findmnt] ********************************************************** task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/set_selinux_variables.yml:29 Friday 26 July 2024 19:11:24 +0000 (0:00:00.017) 0:00:02.579 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "util-linux-2.23.2-65.el7_9.1.x86_64 providing util-linux is already installed" ] } lsrpackages: util-linux TASK [Set is_el6 flag] ********************************************************* task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/set_selinux_variables.yml:38 Friday 26 July 2024 19:11:24 +0000 (0:00:00.331) 0:00:02.910 *********** ok: [sut] => { "ansible_facts": { "__selinux_is_el6": false }, "changed": false } TASK [Get local modifications - boolean] *************************************** task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/set_selinux_variables.yml:46 Friday 26 July 2024 19:11:24 +0000 (0:00:00.015) 0:00:02.926 *********** skipping: [sut] => { "changed": false, "false_condition": "__selinux_get_test_facts | d(true)", "skip_reason": "Conditional result was False" } TASK [Get local modifications - port] ****************************************** task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/set_selinux_variables.yml:51 Friday 26 July 2024 19:11:24 +0000 (0:00:00.016) 0:00:02.942 *********** skipping: [sut] => { "changed": false, "false_condition": "__selinux_get_test_facts | d(true)", "skip_reason": "Conditional result was False" } TASK [Get local modifications - login] ***************************************** task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/set_selinux_variables.yml:56 Friday 26 July 2024 19:11:24 +0000 (0:00:00.016) 0:00:02.959 *********** skipping: [sut] => { "changed": false, "false_condition": "__selinux_get_test_facts | d(true)", "skip_reason": "Conditional result was False" } TASK [Get local modifications - fcontext] ************************************** task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/set_selinux_variables.yml:61 Friday 26 July 2024 19:11:24 +0000 (0:00:00.016) 0:00:02.975 *********** skipping: [sut] => { "changed": false, "false_condition": "__selinux_get_test_facts | d(true)", "skip_reason": "Conditional result was False" } TASK [Unset facts used above] ************************************************** task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/set_selinux_variables.yml:66 Friday 26 July 2024 19:11:24 +0000 (0:00:00.016) 0:00:02.992 *********** ok: [sut] => { "ansible_facts": { "ansible_facts": { "all_ipv4_addresses": [ "10.31.12.224" ], "all_ipv6_addresses": [ "fe80::8ff:f2ff:fe66:ee0b" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "08/24/2006", "bios_vendor": "Xen", "bios_version": "4.11.amazon", "board_asset_tag": "NA", "board_name": "NA", "board_serial": "NA", "board_vendor": "NA", "board_version": "NA", "chassis_asset_tag": "NA", "chassis_serial": "NA", "chassis_vendor": "Xen", "chassis_version": "NA", "cmdline": { "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "LANG": "en_US.UTF-8", "console": "ttyS0,115200n8", "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312" }, "date_time": { "date": "2024-07-26", "day": "26", "epoch": "1722021082", "epoch_int": "1722021082", "hour": "19", "iso8601": "2024-07-26T19:11:22Z", "iso8601_basic": "20240726T191122726580", "iso8601_basic_short": "20240726T191122", "iso8601_micro": "2024-07-26T19:11:22.726580Z", "minute": "11", "month": "07", "second": "22", "time": "19:11:22", "tz": "UTC", "tz_dst": "UTC", "tz_offset": "+0000", "weekday": "Friday", "weekday_number": "5", "weeknumber": "30", "year": "2024" }, "default_ipv4": { "address": "10.31.12.224", "alias": "eth0", "broadcast": "10.31.15.255", "gateway": "10.31.12.1", "interface": "eth0", "macaddress": "0a:ff:f2:66:ee:0b", "mtu": 9001, "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22", "type": "ether" }, "default_ipv6": {}, "device_links": { "ids": {}, "labels": {}, "masters": {}, "uuids": { "xvda1": [ "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312" ] } }, "devices": { "xvda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "xvda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312" ] }, "sectors": "524285919", "sectorsize": 512, "size": "250.00 GB", "start": "2048", "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312" } }, "removable": "0", "rotational": "0", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "deadline", "sectors": "524288000", "sectorsize": "512", "size": "250.00 GB", "support_discard": "0", "vendor": null, "virtual": 1 } }, "discovered_interpreter_python": "/usr/bin/python", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_variety": "RedHat", "distribution_release": "Core", "distribution_version": "7.9", "dns": { "nameservers": [ "10.29.169.13", "10.29.170.12", "10.2.32.1" ], "search": [ "us-east-1.aws.redhat.com", "testing-farm" ] }, "domain": "testing-farm.us-east-1.aws.redhat.com", "effective_group_id": 0, "effective_user_id": 0, "env": { "HOME": "/root", "LANG": "en_US.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "MAIL": "/var/mail/root", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "SHELL": "/bin/bash", "SHLVL": "2", "SSH_CLIENT": "10.29.163.189 33560 22", "SSH_CONNECTION": "10.29.163.189 33560 10.31.12.224 22", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_ID": "5", "_": "/usr/bin/python" }, "eth0": { "active": true, "device": "eth0", "features": { "busy_poll": "off [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "on", "highdma": "off [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "off [fixed]", "netns_local": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "rx_all": "off [fixed]", "rx_checksumming": "on [fixed]", "rx_fcs": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "rx_vlan_filter": "off [fixed]", "rx_vlan_offload": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "scatter_gather": "on", "tcp_segmentation_offload": "on", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_checksum_ipv4": "on [fixed]", "tx_checksum_ipv6": "on", "tx_checksum_sctp": "off [fixed]", "tx_checksumming": "on", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "on [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_lockless": "off [fixed]", "tx_nocache_copy": "off", "tx_scatter_gather": "on", "tx_scatter_gather_fraglist": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_tcp_segmentation": "on", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "vlan_challenged": "off [fixed]" }, "hw_timestamp_filters": [], "ipv4": { "address": "10.31.12.224", "broadcast": "10.31.15.255", "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22" }, "ipv6": [ { "address": "fe80::8ff:f2ff:fe66:ee0b", "prefix": "64", "scope": "link" } ], "macaddress": "0a:ff:f2:66:ee:0b", "module": "xen_netfront", "mtu": 9001, "pciid": "vif-0", "promisc": false, "timestamping": [ "rx_software", "software" ], "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "8bb105a2-869e-4cd6-aff8-ffb44e8d1608.testing-farm.us-east-1.aws.redhat.com", "gather_subset": [ "all" ], "hostname": "8bb105a2-869e-4cd6-aff8-ffb44e8d1608", "hostnqn": "", "interfaces": [ "lo", "eth0" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "3.10.0-1160.119.1.el7.x86_64", "kernel_version": "#1 SMP Tue Jun 4 14:43:51 UTC 2024", "lo": { "active": true, "device": "lo", "features": { "busy_poll": "off [fixed]", "fcoe_mtu": "off [fixed]", "generic_receive_offload": "on", "generic_segmentation_offload": "on", "highdma": "on [fixed]", "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]", "large_receive_offload": "off [fixed]", "loopback": "on [fixed]", "netns_local": "on [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "rx_all": "off [fixed]", "rx_checksumming": "on [fixed]", "rx_fcs": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "rx_vlan_filter": "off [fixed]", "rx_vlan_offload": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "scatter_gather": "on", "tcp_segmentation_offload": "on", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_sctp": "on [fixed]", "tx_checksumming": "on", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_lockless": "on [fixed]", "tx_nocache_copy": "off [fixed]", "tx_scatter_gather": "on [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "tx_sctp_segmentation": "on", "tx_sit_segmentation": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_tcp_segmentation": "on", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "udp_fragmentation_offload": "on", "vlan_challenged": "on [fixed]" }, "hw_timestamp_filters": [], "ipv4": { "address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0", "prefix": "8" }, "ipv6": [ { "address": "::1", "prefix": "128", "scope": "host" } ], "mtu": 65536, "promisc": false, "timestamping": [ "rx_software", "software" ], "type": "loopback" }, "loadavg": { "15m": 0.88, "1m": 1.14, "5m": 1.15 }, "locally_reachable_ips": { "ipv4": [ "10.31.12.224", "127.0.0.0/8", "127.0.0.1" ], "ipv6": [ "::1", "fe80::8ff:f2ff:fe66:ee0b" ] }, "lsb": {}, "lvm": "N/A", "machine": "x86_64", "machine_id": "601bc19247c34edeb9109cd88586d8ad", "memfree_mb": 101, "memory_mb": { "nocache": { "free": 3347, "used": 253 }, "real": { "free": 101, "total": 3600, "used": 3499 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 3600, "module_setup": true, "mounts": [ { "block_available": 59537553, "block_size": 4096, "block_total": 64490860, "block_used": 4953307, "device": "/dev/xvda1", "fstype": "ext4", "inode_available": 16318968, "inode_total": 16384000, "inode_used": 65032, "mount": "/", "options": "rw,seclabel,relatime,data=ordered", "size_available": 243865817088, "size_total": 264154562560, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312" } ], "nodename": "8bb105a2-869e-4cd6-aff8-ffb44e8d1608.testing-farm", "pkg_mgr": "yum", "proc_cmdline": { "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "LANG": "en_US.UTF-8", "console": [ "tty0", "ttyS0,115200n8" ], "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312" }, "processor": [ "0", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz" ], "processor_cores": 1, "processor_count": 1, "processor_nproc": 2, "processor_threads_per_core": 2, "processor_vcpus": 2, "product_name": "HVM domU", "product_serial": "ec262fbc-3029-cd16-a5c7-ba2b0b28def0", "product_uuid": "EC262FBC-3029-CD16-A5C7-BA2B0B28DEF0", "product_version": "4.11.amazon", "python": { "executable": "/usr/bin/python", "has_sslcontext": true, "type": "CPython", "version": { "major": 2, "micro": 5, "minor": 7, "releaselevel": "final", "serial": 0 }, "version_info": [ 2, 7, 5, "final", 0 ] }, "real_group_id": 0, "real_user_id": 0, "selinux": { "config_mode": "enforcing", "mode": "enforcing", "policyvers": 31, "status": "enabled", "type": "targeted" }, "selinux_python_present": true, "service_mgr": "systemd", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDLhgxdLl6pVPEd/biZMLjq4e9Hk93d+cIFZX/2W8ZOf4TAURC2IF9QpTl0vkjtu9IAk3OAjcbDVyEt28xJnNeA=", "ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAICQv41kEJzqf0Fw0vfBNofL1PGsqN8YLbJvWx5Tb7CQy", "ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC8vEeoR1Hoag0dVpE46EaTBu29NRDnS4P+weynmE3G7OKEzNvjlrMCjdvGeTvxHj6Rte+p3pLiDn14+ya/Fj6XXnl8O0ag8w9xXtePKP0f83L9pXfRxoU69UQHdZECaDvXbDczvkJPkg3ggRPF2K5FfNOajohGA1NTCn4vwq6fD7FzLndfHi4iXER8uNyPtnm01bYYBIxgkk1fNJh/XE88lYvzGQISj2k9hjhH7udnSZPu2l1cWKW5WyW7Gf1mXNHjX8KcgtLFhqCgzfJVmpDtmpehHSEjnR2jS2I7mzn+PgvLJLpREcpPrP88/5ysA3gsTs32dDBlIvLPT/QJNzY3", "ssh_host_key_rsa_public_keytype": "ssh-rsa", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [ "cap_chown", "cap_dac_override", "cap_dac_read_search", "cap_fowner", "cap_fsetid", "cap_kill", "cap_setgid", "cap_setuid", "cap_setpcap", "cap_linux_immutable", "cap_net_bind_service", "cap_net_broadcast", "cap_net_admin", "cap_net_raw", "cap_ipc_lock", "cap_ipc_owner", "cap_sys_module", "cap_sys_rawio", "cap_sys_chroot", "cap_sys_ptrace", "cap_sys_pacct", "cap_sys_admin", "cap_sys_boot", "cap_sys_nice", "cap_sys_resource", "cap_sys_time", "cap_sys_tty_config", "cap_mknod", "cap_lease", "cap_audit_write", "cap_audit_control", "cap_setfcap", "cap_mac_override", "cap_mac_admin", "cap_syslog", "35", "36+ep" ], "system_capabilities_enforced": "True", "system_vendor": "Xen", "uptime_seconds": 1655, "user_dir": "/root", "user_gecos": "root", "user_gid": 0, "user_id": "root", "user_shell": "/bin/bash", "user_uid": 0, "userspace_architecture": "x86_64", "userspace_bits": "64", "virtualization_role": "guest", "virtualization_tech_guest": [ "xen" ], "virtualization_tech_host": [], "virtualization_type": "xen" } }, "changed": false } TASK [Add a Linux System Roles SELinux User] *********************************** task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:23 Friday 26 July 2024 19:11:24 +0000 (0:00:00.029) 0:00:03.022 *********** changed: [sut] => { "changed": true, "comment": "Linux System Roles SELinux User", "create_home": true, "group": 1000, "home": "/home/sar-user", "name": "sar-user", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1000 } TASK [Add some mapping] ******************************************************** task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:27 Friday 26 July 2024 19:11:25 +0000 (0:00:00.374) 0:00:03.396 *********** ok: [sut] => { "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:06.540295", "end": "2024-07-26 19:11:31.919200", "rc": 0, "start": "2024-07-26 19:11:25.378905" } TASK [Backup original /etc/selinux/config] ************************************* task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:32 Friday 26 July 2024 19:11:31 +0000 (0:00:06.728) 0:00:10.125 *********** changed: [sut] => { "changed": true, "checksum": "fe4ed0aa93618472e1004b6f68ae1b0733485fc5", "dest": "/etc/selinux/config.test_selinux_disabled", "gid": 0, "group": "root", "md5sum": "ff8d2663b88f1a20c8489fdf152e6b31", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:selinux_config_t:s0", "size": 542, "src": "/etc/selinux/config", "state": "file", "uid": 0 } TASK [Upload testing /etc/selinux/config] ************************************** task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:38 Friday 26 July 2024 19:11:32 +0000 (0:00:00.284) 0:00:10.410 *********** changed: [sut] => { "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-1722021092.2503428-11917-126067721490867/source", "state": "file", "uid": 0 } TASK [Switch to permissive to allow login when selinuxfs is not mounted] ******* task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:43 Friday 26 July 2024 19:11:32 +0000 (0:00:00.388) 0:00:10.799 *********** ok: [sut] => { "changed": false, "cmd": [ "setenforce", "0" ], "delta": "0:00:00.004152", "end": "2024-07-26 19:11:32.725329", "rc": 0, "start": "2024-07-26 19:11:32.721177" } TASK [Get selinuxfs mountpoint] ************************************************ task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:47 Friday 26 July 2024 19:11:32 +0000 (0:00:00.127) 0:00:10.926 *********** ok: [sut] => { "changed": false, "cmd": [ "findmnt", "-n", "-t", "selinuxfs", "--output=target" ], "delta": "0:00:00.004896", "end": "2024-07-26 19:11:32.854853", "rc": 0, "start": "2024-07-26 19:11:32.849957" } STDOUT: /sys/fs/selinux TASK [Umount selinux mountpoint to emulate SELinux disabled system /sys/fs/selinux] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:51 Friday 26 July 2024 19:11:32 +0000 (0:00:00.130) 0:00:11.057 *********** ok: [sut] => { "changed": false, "cmd": [ "umount", "-l", "/sys/fs/selinux" ], "delta": "0:00:00.011003", "end": "2024-07-26 19:11:33.006345", "rc": 0, "start": "2024-07-26 19:11:32.995342" } TASK [Include role] ************************************************************ task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:59 Friday 26 July 2024 19:11:33 +0000 (0:00:00.151) 0:00:11.208 *********** 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 TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 26 July 2024 19:11:33 +0000 (0:00:00.027) 0:00:11.236 *********** included: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for sut TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 26 July 2024 19:11:33 +0000 (0:00:00.012) 0:00:11.249 *********** ok: [sut] TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 26 July 2024 19:11:33 +0000 (0:00:00.236) 0:00:11.485 *********** included: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for sut TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Friday 26 July 2024 19:11:33 +0000 (0:00:00.015) 0:00:11.500 *********** skipping: [sut] => { "changed": false, "false_condition": "not __selinux_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Friday 26 July 2024 19:11:33 +0000 (0:00:00.011) 0:00:11.512 *********** skipping: [sut] => { "changed": false, "false_condition": "not __selinux_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Friday 26 July 2024 19:11:33 +0000 (0:00:00.012) 0:00:11.524 *********** skipping: [sut] => { "changed": false, "false_condition": "not __selinux_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Friday 26 July 2024 19:11:33 +0000 (0:00:00.012) 0:00:11.536 *********** skipping: [sut] => { "changed": false, "false_condition": "not __selinux_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Friday 26 July 2024 19:11:33 +0000 (0:00:00.011) 0:00:11.548 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Friday 26 July 2024 19:11:33 +0000 (0:00:00.313) 0:00:11.862 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_python_version is version('3', '>=')", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Friday 26 July 2024 19:11:33 +0000 (0:00:00.011) 0:00:11.874 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_python_version is version('3', '>=')", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Friday 26 July 2024 19:11:33 +0000 (0:00:00.011) 0:00:11.885 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == \"Fedora\" or ansible_distribution == \"SL-Micro\" or (ansible_distribution_major_version | int > 7 and ansible_distribution in [\"CentOS\", \"RedHat\", \"Rocky\"])", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Friday 26 July 2024 19:11:33 +0000 (0:00:00.017) 0:00:11.902 *********** skipping: [sut] => { "false_condition": "__selinux_is_transactional | d(false)" } TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Friday 26 July 2024 19:11:33 +0000 (0:00:00.017) 0:00:11.919 *********** skipping: [sut] => { "changed": false, "false_condition": "__selinux_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Friday 26 July 2024 19:11:33 +0000 (0:00:00.016) 0:00:11.936 *********** skipping: [sut] => { "changed": false, "false_condition": "__selinux_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Friday 26 July 2024 19:11:33 +0000 (0:00:00.016) 0:00:11.953 *********** ok: [sut] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 26 July 2024 19:11:34 +0000 (0:00:00.513) 0:00:12.466 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_selinux.status == \"enabled\" and (selinux_state or selinux_policy)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Friday 26 July 2024 19:11:34 +0000 (0:00:00.009) 0:00:12.476 *********** redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux changed: [sut] => { "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: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Friday 26 July 2024 19:11:34 +0000 (0:00:00.349) 0:00:12.826 *********** ok: [sut] => { "ansible_facts": { "selinux_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Friday 26 July 2024 19:11:34 +0000 (0:00:00.022) 0:00:12.848 *********** fatal: [sut]: 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: /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:63 Friday 26 July 2024 19:11:34 +0000 (0:00:00.011) 0:00:12.859 *********** ok: [sut] => { "ansible_facts": { "test_selinux_reboot_required": true }, "changed": false } TASK [Check that the role has failed and set the correct variable] ************* task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:67 Friday 26 July 2024 19:11:34 +0000 (0:00:00.008) 0:00:12.868 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Mount selinux mountpoint back to system /sys/fs/selinux] ***************** task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:71 Friday 26 July 2024 19:11:34 +0000 (0:00:00.018) 0:00:12.886 *********** ok: [sut] => { "changed": false, "cmd": [ "mount", "-t", "selinuxfs", "selinuxfs", "/sys/fs/selinux" ], "delta": "0:00:00.005509", "end": "2024-07-26 19:11:34.814512", "rc": 0, "start": "2024-07-26 19:11:34.809003" } TASK [Switch back to enforcing] ************************************************ task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:78 Friday 26 July 2024 19:11:34 +0000 (0:00:00.129) 0:00:13.016 *********** ok: [sut] => { "changed": false, "cmd": [ "setenforce", "1" ], "delta": "0:00:00.010864", "end": "2024-07-26 19:11:34.949014", "rc": 0, "start": "2024-07-26 19:11:34.938150" } TASK [Gather facts again] ****************************************************** task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:81 Friday 26 July 2024 19:11:34 +0000 (0:00:00.138) 0:00:13.154 *********** ok: [sut] TASK [Check SELinux config mode] *********************************************** task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:83 Friday 26 July 2024 19:11:35 +0000 (0:00:00.510) 0:00:13.665 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Restore original /etc/selinux/config] ************************************ task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:91 Friday 26 July 2024 19:11:35 +0000 (0:00:00.010) 0:00:13.675 *********** changed: [sut] => { "changed": true, "checksum": "fe4ed0aa93618472e1004b6f68ae1b0733485fc5", "dest": "/etc/selinux/config", "gid": 0, "group": "root", "md5sum": "ff8d2663b88f1a20c8489fdf152e6b31", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 542, "src": "/etc/selinux/config.test_selinux_disabled", "state": "file", "uid": 0 } TASK [Remove /etc/selinux/config backup] *************************************** task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:98 Friday 26 July 2024 19:11:35 +0000 (0:00:00.202) 0:00:13.878 *********** changed: [sut] => { "changed": true, "path": "/etc/selinux/config.test_selinux_disabled", "state": "absent" } TASK [Remove Linux System Roles SELinux User] ********************************** task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:103 Friday 26 July 2024 19:11:35 +0000 (0:00:00.226) 0:00:14.105 *********** changed: [sut] => { "changed": true, "force": false, "name": "sar-user", "remove": true, "state": "absent" } TASK [Include role to purge everything] **************************************** task path: /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:109 Friday 26 July 2024 19:11:36 +0000 (0:00:00.241) 0:00:14.346 *********** 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 TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 26 July 2024 19:11:36 +0000 (0:00:00.021) 0:00:14.367 *********** included: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for sut TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 26 July 2024 19:11:36 +0000 (0:00:00.012) 0:00:14.380 *********** ok: [sut] TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 26 July 2024 19:11:36 +0000 (0:00:00.234) 0:00:14.614 *********** included: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for sut TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Friday 26 July 2024 19:11:36 +0000 (0:00:00.015) 0:00:14.630 *********** skipping: [sut] => { "changed": false, "false_condition": "not __selinux_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Friday 26 July 2024 19:11:36 +0000 (0:00:00.011) 0:00:14.642 *********** skipping: [sut] => { "changed": false, "false_condition": "not __selinux_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Friday 26 July 2024 19:11:36 +0000 (0:00:00.011) 0:00:14.653 *********** skipping: [sut] => { "changed": false, "false_condition": "not __selinux_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Friday 26 July 2024 19:11:36 +0000 (0:00:00.011) 0:00:14.664 *********** skipping: [sut] => { "changed": false, "false_condition": "not __selinux_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Friday 26 July 2024 19:11:36 +0000 (0:00:00.011) 0:00:14.676 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Friday 26 July 2024 19:11:36 +0000 (0:00:00.319) 0:00:14.995 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_python_version is version('3', '>=')", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Friday 26 July 2024 19:11:36 +0000 (0:00:00.018) 0:00:15.013 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_python_version is version('3', '>=')", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Friday 26 July 2024 19:11:36 +0000 (0:00:00.011) 0:00:15.025 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == \"Fedora\" or ansible_distribution == \"SL-Micro\" or (ansible_distribution_major_version | int > 7 and ansible_distribution in [\"CentOS\", \"RedHat\", \"Rocky\"])", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Friday 26 July 2024 19:11:36 +0000 (0:00:00.017) 0:00:15.043 *********** skipping: [sut] => { "false_condition": "__selinux_is_transactional | d(false)" } TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Friday 26 July 2024 19:11:36 +0000 (0:00:00.018) 0:00:15.062 *********** skipping: [sut] => { "changed": false, "false_condition": "__selinux_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Friday 26 July 2024 19:11:36 +0000 (0:00:00.016) 0:00:15.079 *********** skipping: [sut] => { "changed": false, "false_condition": "__selinux_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Friday 26 July 2024 19:11:36 +0000 (0:00:00.016) 0:00:15.095 *********** ok: [sut] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 26 July 2024 19:11:37 +0000 (0:00:00.504) 0:00:15.599 *********** redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux redirecting (type: modules) ansible.builtin.selinux to ansible.posix.selinux ok: [sut] => { "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: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Friday 26 July 2024 19:11:37 +0000 (0:00:00.196) 0:00:15.795 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_selinux.status == \"disabled\" and selinux_state", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Friday 26 July 2024 19:11:37 +0000 (0:00:00.009) 0:00:15.804 *********** ok: [sut] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Friday 26 July 2024 19:11:37 +0000 (0:00:00.022) 0:00:15.827 *********** skipping: [sut] => { "changed": false, "false_condition": "selinux_reboot_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Friday 26 July 2024 19:11:37 +0000 (0:00:00.008) 0:00:15.835 *********** skipping: [sut] => { "false_condition": "ansible_selinux.status == \"disabled\"" } TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Friday 26 July 2024 19:11:37 +0000 (0:00:00.008) 0:00:15.844 *********** Notification for handler __selinux_reload_policy has been saved. changed: [sut] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:00.703191", "end": "2024-07-26 19:11:38.477229", "rc": 0, "start": "2024-07-26 19:11:37.774038" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Friday 26 July 2024 19:11:38 +0000 (0:00:00.835) 0:00:16.680 *********** skipping: [sut] => { "changed": false, "false_condition": "selinux_booleans_purge | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 26 July 2024 19:11:38 +0000 (0:00:00.016) 0:00:16.696 *********** skipping: [sut] => { "changed": false, "false_condition": "selinux_fcontexts_purge | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Friday 26 July 2024 19:11:38 +0000 (0:00:00.015) 0:00:16.711 *********** skipping: [sut] => { "changed": false, "false_condition": "selinux_ports_purge | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Friday 26 July 2024 19:11:38 +0000 (0:00:00.015) 0:00:16.727 *********** skipping: [sut] => { "changed": false, "false_condition": "selinux_logins_purge | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 26 July 2024 19:11:38 +0000 (0:00:00.015) 0:00:16.742 *********** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Friday 26 July 2024 19:11:38 +0000 (0:00:00.007) 0:00:16.750 *********** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Friday 26 July 2024 19:11:38 +0000 (0:00:00.007) 0:00:16.757 *********** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Friday 26 July 2024 19:11:38 +0000 (0:00:00.007) 0:00:16.765 *********** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Friday 26 July 2024 19:11:38 +0000 (0:00:00.007) 0:00:16.773 *********** ok: [sut] => { "ansible_facts": { "selinux_checksums": false, "selinux_installed_modules": { "abrt": { "100": { "checksum": "", "enabled": 1 } }, "accountsd": { "100": { "checksum": "", "enabled": 1 } }, "acct": { "100": { "checksum": "", "enabled": 1 } }, "afs": { "100": { "checksum": "", "enabled": 1 } }, "aiccu": { "100": { "checksum": "", "enabled": 1 } }, "aide": { "100": { "checksum": "", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "", "enabled": 1 } }, "alsa": { "100": { "checksum": "", "enabled": 1 } }, "amanda": { "100": { "checksum": "", "enabled": 1 } }, "amtu": { "100": { "checksum": "", "enabled": 1 } }, "anaconda": { "100": { "checksum": "", "enabled": 1 } }, "antivirus": { "100": { "checksum": "", "enabled": 1 } }, "apache": { "100": { "checksum": "", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "", "enabled": 1 } }, "apm": { "100": { "checksum": "", "enabled": 1 } }, "application": { "100": { "checksum": "", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "", "enabled": 1 } }, "asterisk": { "100": { "checksum": "", "enabled": 1 } }, "auditadm": { "100": { "checksum": "", "enabled": 1 } }, "authconfig": { "100": { "checksum": "", "enabled": 1 } }, "authlogin": { "100": { "checksum": "", "enabled": 1 } }, "automount": { "100": { "checksum": "", "enabled": 1 } }, "avahi": { "100": { "checksum": "", "enabled": 1 } }, "awstats": { "100": { "checksum": "", "enabled": 1 } }, "bacula": { "100": { "checksum": "", "enabled": 1 } }, "base": { "100": { "checksum": "", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "", "enabled": 1 } }, "bind": { "100": { "checksum": "", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "", "enabled": 1 } }, "blueman": { "100": { "checksum": "", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "", "enabled": 1 } }, "boinc": { "100": { "checksum": "", "enabled": 1 } }, "boltd": { "100": { "checksum": "", "enabled": 1 } }, "bootloader": { "100": { "checksum": "", "enabled": 1 } }, "brctl": { "100": { "checksum": "", "enabled": 1 } }, "brltty": { "100": { "checksum": "", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "", "enabled": 1 } }, "calamaris": { "100": { "checksum": "", "enabled": 1 } }, "callweaver": { "100": { "checksum": "", "enabled": 1 } }, "canna": { "100": { "checksum": "", "enabled": 1 } }, "ccs": { "100": { "checksum": "", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "", "enabled": 1 } }, "certmaster": { "100": { "checksum": "", "enabled": 1 } }, "certmonger": { "100": { "checksum": "", "enabled": 1 } }, "certwatch": { "100": { "checksum": "", "enabled": 1 } }, "cfengine": { "100": { "checksum": "", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "", "enabled": 1 } }, "cgroup": { "100": { "checksum": "", "enabled": 1 } }, "chrome": { "100": { "checksum": "", "enabled": 1 } }, "chronyd": { "100": { "checksum": "", "enabled": 1 } }, "cinder": { "100": { "checksum": "", "enabled": 1 } }, "cipe": { "100": { "checksum": "", "enabled": 1 } }, "clock": { "100": { "checksum": "", "enabled": 1 } }, "clogd": { "100": { "checksum": "", "enabled": 1 } }, "cloudform": { "100": { "checksum": "", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "", "enabled": 1 } }, "cobbler": { "100": { "checksum": "", "enabled": 1 } }, "cockpit": { "100": { "checksum": "", "enabled": 1 } }, "collectd": { "100": { "checksum": "", "enabled": 1 } }, "colord": { "100": { "checksum": "", "enabled": 1 } }, "comsat": { "100": { "checksum": "", "enabled": 1 } }, "condor": { "100": { "checksum": "", "enabled": 1 } }, "conman": { "100": { "checksum": "", "enabled": 1 } }, "consolekit": { "100": { "checksum": "", "enabled": 1 } }, "container": { "100": { "checksum": "", "enabled": 1 } }, "couchdb": { "100": { "checksum": "", "enabled": 1 } }, "courier": { "100": { "checksum": "", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "", "enabled": 1 } }, "cron": { "100": { "checksum": "", "enabled": 1 } }, "ctdb": { "100": { "checksum": "", "enabled": 1 } }, "cups": { "100": { "checksum": "", "enabled": 1 } }, "cvs": { "100": { "checksum": "", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "", "enabled": 1 } }, "cyrus": { "100": { "checksum": "", "enabled": 1 } }, "daemontools": { "100": { "checksum": "", "enabled": 1 } }, "dbadm": { "100": { "checksum": "", "enabled": 1 } }, "dbskk": { "100": { "checksum": "", "enabled": 1 } }, "dbus": { "100": { "checksum": "", "enabled": 1 } }, "dcc": { "100": { "checksum": "", "enabled": 1 } }, "ddclient": { "100": { "checksum": "", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "", "enabled": 1 } }, "devicekit": { "100": { "checksum": "", "enabled": 1 } }, "dhcp": { "100": { "checksum": "", "enabled": 1 } }, "dictd": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "", "enabled": 1 } }, "dmesg": { "100": { "checksum": "", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "", "enabled": 1 } }, "dnssec": { "100": { "checksum": "", "enabled": 1 } }, "dovecot": { "100": { "checksum": "", "enabled": 1 } }, "drbd": { "100": { "checksum": "", "enabled": 1 } }, "dspam": { "100": { "checksum": "", "enabled": 1 } }, "entropyd": { "100": { "checksum": "", "enabled": 1 } }, "exim": { "100": { "checksum": "", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "", "enabled": 1 } }, "fcoe": { "100": { "checksum": "", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "", "enabled": 1 } }, "finger": { "100": { "checksum": "", "enabled": 1 } }, "firewalld": { "100": { "checksum": "", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "", "enabled": 1 } }, "firstboot": { "100": { "checksum": "", "enabled": 1 } }, "fprintd": { "100": { "checksum": "", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "", "enabled": 1 } }, "freqset": { "100": { "checksum": "", "enabled": 1 } }, "fstools": { "100": { "checksum": "", "enabled": 1 } }, "ftp": { "100": { "checksum": "", "enabled": 1 } }, "games": { "100": { "checksum": "", "enabled": 1 } }, "ganesha": { "100": { "checksum": "", "enabled": 1 } }, "gdomap": { "100": { "checksum": "", "enabled": 1 } }, "geoclue": { "100": { "checksum": "", "enabled": 1 } }, "getty": { "100": { "checksum": "", "enabled": 1 } }, "git": { "100": { "checksum": "", "enabled": 1 } }, "gitosis": { "100": { "checksum": "", "enabled": 1 } }, "glance": { "100": { "checksum": "", "enabled": 1 } }, "glusterd": { "100": { "checksum": "", "enabled": 1 } }, "gnome": { "100": { "checksum": "", "enabled": 1 } }, "gpg": { "100": { "checksum": "", "enabled": 1 } }, "gpm": { "100": { "checksum": "", "enabled": 1 } }, "gpsd": { "100": { "checksum": "", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "", "enabled": 1 } }, "guest": { "100": { "checksum": "", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "", "enabled": 1 } }, "hostname": { "100": { "checksum": "", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "", "enabled": 1 } }, "hwloc": { "100": { "checksum": "", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "", "enabled": 1 } }, "icecast": { "100": { "checksum": "", "enabled": 1 } }, "inetd": { "100": { "checksum": "", "enabled": 1 } }, "init": { "100": { "checksum": "", "enabled": 1 } }, "inn": { "100": { "checksum": "", "enabled": 1 } }, "iodine": { "100": { "checksum": "", "enabled": 1 } }, "iotop": { "100": { "checksum": "", "enabled": 1 } }, "ipa": { "100": { "checksum": "", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "", "enabled": 1 } }, "ipsec": { "100": { "checksum": "", "enabled": 1 } }, "iptables": { "100": { "checksum": "", "enabled": 1 } }, "irc": { "100": { "checksum": "", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "", "enabled": 1 } }, "iscsi": { "100": { "checksum": "", "enabled": 1 } }, "isns": { "100": { "checksum": "", "enabled": 1 } }, "jabber": { "100": { "checksum": "", "enabled": 1 } }, "jetty": { "100": { "checksum": "", "enabled": 1 } }, "jockey": { "100": { "checksum": "", "enabled": 1 } }, "journalctl": { "100": { "checksum": "", "enabled": 1 } }, "kdump": { "100": { "checksum": "", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "", "enabled": 1 } }, "keepalived": { "100": { "checksum": "", "enabled": 1 } }, "kerberos": { "100": { "checksum": "", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "", "enabled": 1 } }, "keystone": { "100": { "checksum": "", "enabled": 1 } }, "kismet": { "100": { "checksum": "", "enabled": 1 } }, "kmscon": { "100": { "checksum": "", "enabled": 1 } }, "kpatch": { "100": { "checksum": "", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "", "enabled": 1 } }, "ktalk": { "100": { "checksum": "", "enabled": 1 } }, "l2tp": { "100": { "checksum": "", "enabled": 1 } }, "ldap": { "100": { "checksum": "", "enabled": 1 } }, "libraries": { "100": { "checksum": "", "enabled": 1 } }, "likewise": { "100": { "checksum": "", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "", "enabled": 1 } }, "lircd": { "100": { "checksum": "", "enabled": 1 } }, "livecd": { "100": { "checksum": "", "enabled": 1 } }, "lldpad": { "100": { "checksum": "", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "", "enabled": 1 } }, "locallogin": { "100": { "checksum": "", "enabled": 1 } }, "lockdev": { "100": { "checksum": "", "enabled": 1 } }, "logadm": { "100": { "checksum": "", "enabled": 1 } }, "logging": { "100": { "checksum": "", "enabled": 1 } }, "logrotate": { "100": { "checksum": "", "enabled": 1 } }, "logwatch": { "100": { "checksum": "", "enabled": 1 } }, "lpd": { "100": { "checksum": "", "enabled": 1 } }, "lsm": { "100": { "checksum": "", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "", "enabled": 1 } }, "lvm": { "100": { "checksum": "", "enabled": 1 } }, "mailman": { "100": { "checksum": "", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "", "enabled": 1 } }, "man2html": { "100": { "checksum": "", "enabled": 1 } }, "mandb": { "100": { "checksum": "", "enabled": 1 } }, "mcelog": { "100": { "checksum": "", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "", "enabled": 1 } }, "memcached": { "100": { "checksum": "", "enabled": 1 } }, "milter": { "100": { "checksum": "", "enabled": 1 } }, "minidlna": { "100": { "checksum": "", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "", "enabled": 1 } }, "mip6d": { "100": { "checksum": "", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "", "enabled": 1 } }, "mock": { "100": { "checksum": "", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "", "enabled": 1 } }, "modutils": { "100": { "checksum": "", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "", "enabled": 1 } }, "mongodb": { "100": { "checksum": "", "enabled": 1 } }, "motion": { "100": { "checksum": "", "enabled": 1 } }, "mount": { "100": { "checksum": "", "enabled": 1 } }, "mozilla": { "100": { "checksum": "", "enabled": 1 } }, "mpd": { "100": { "checksum": "", "enabled": 1 } }, "mplayer": { "100": { "checksum": "", "enabled": 1 } }, "mrtg": { "100": { "checksum": "", "enabled": 1 } }, "mta": { "100": { "checksum": "", "enabled": 1 } }, "munin": { "100": { "checksum": "", "enabled": 1 } }, "mysql": { "100": { "checksum": "", "enabled": 1 } }, "mythtv": { "100": { "checksum": "", "enabled": 1 } }, "nagios": { "100": { "checksum": "", "enabled": 1 } }, "namespace": { "100": { "checksum": "", "enabled": 1 } }, "ncftool": { "100": { "checksum": "", "enabled": 1 } }, "netlabel": { "100": { "checksum": "", "enabled": 1 } }, "netutils": { "100": { "checksum": "", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "", "enabled": 1 } }, "ninfod": { "100": { "checksum": "", "enabled": 1 } }, "nis": { "100": { "checksum": "", "enabled": 1 } }, "nova": { "100": { "checksum": "", "enabled": 1 } }, "nscd": { "100": { "checksum": "", "enabled": 1 } }, "nsd": { "100": { "checksum": "", "enabled": 1 } }, "nslcd": { "100": { "checksum": "", "enabled": 1 } }, "ntop": { "100": { "checksum": "", "enabled": 1 } }, "ntp": { "100": { "checksum": "", "enabled": 1 } }, "numad": { "100": { "checksum": "", "enabled": 1 } }, "nut": { "100": { "checksum": "", "enabled": 1 } }, "nx": { "100": { "checksum": "", "enabled": 1 } }, "obex": { "100": { "checksum": "", "enabled": 1 } }, "oddjob": { "100": { "checksum": "", "enabled": 1 } }, "openct": { "100": { "checksum": "", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "", "enabled": 1 } }, "openhpid": { "100": { "checksum": "", "enabled": 1 } }, "openshift": { "100": { "checksum": "", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "", "enabled": 1 } }, "opensm": { "100": { "checksum": "", "enabled": 1 } }, "openvpn": { "100": { "checksum": "", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "", "enabled": 1 } }, "openwsman": { "100": { "checksum": "", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "", "enabled": 1 } }, "osad": { "100": { "checksum": "", "enabled": 1 } }, "pads": { "100": { "checksum": "", "enabled": 1 } }, "passenger": { "100": { "checksum": "", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "", "enabled": 1 } }, "pcp": { "100": { "checksum": "", "enabled": 1 } }, "pcscd": { "100": { "checksum": "", "enabled": 1 } }, "pegasus": { "100": { "checksum": "", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "", "enabled": 1 } }, "pesign": { "100": { "checksum": "", "enabled": 1 } }, "pingd": { "100": { "checksum": "", "enabled": 1 } }, "piranha": { "100": { "checksum": "", "enabled": 1 } }, "pkcs": { "100": { "checksum": "", "enabled": 1 } }, "pki": { "100": { "checksum": "", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "", "enabled": 1 } }, "policykit": { "100": { "checksum": "", "enabled": 1 } }, "polipo": { "100": { "checksum": "", "enabled": 1 } }, "portmap": { "100": { "checksum": "", "enabled": 1 } }, "portreserve": { "100": { "checksum": "", "enabled": 1 } }, "postfix": { "100": { "checksum": "", "enabled": 1 } }, "postgresql": { "100": { "checksum": "", "enabled": 1 } }, "postgrey": { "100": { "checksum": "", "enabled": 1 } }, "ppp": { "100": { "checksum": "", "enabled": 1 } }, "prelink": { "100": { "checksum": "", "enabled": 1 } }, "prelude": { "100": { "checksum": "", "enabled": 1 } }, "privoxy": { "100": { "checksum": "", "enabled": 1 } }, "procmail": { "100": { "checksum": "", "enabled": 1 } }, "prosody": { "100": { "checksum": "", "enabled": 1 } }, "psad": { "100": { "checksum": "", "enabled": 1 } }, "ptchown": { "100": { "checksum": "", "enabled": 1 } }, "publicfile": { "100": { "checksum": "", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "", "enabled": 1 } }, "puppet": { "100": { "checksum": "", "enabled": 1 } }, "pwauth": { "100": { "checksum": "", "enabled": 1 } }, "qmail": { "100": { "checksum": "", "enabled": 1 } }, "qpid": { "100": { "checksum": "", "enabled": 1 } }, "quantum": { "100": { "checksum": "", "enabled": 1 } }, "quota": { "100": { "checksum": "", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "", "enabled": 1 } }, "radius": { "100": { "checksum": "", "enabled": 1 } }, "radvd": { "100": { "checksum": "", "enabled": 1 } }, "raid": { "100": { "checksum": "", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "", "enabled": 1 } }, "rdisc": { "100": { "checksum": "", "enabled": 1 } }, "readahead": { "100": { "checksum": "", "enabled": 1 } }, "realmd": { "100": { "checksum": "", "enabled": 1 } }, "redis": { "100": { "checksum": "", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "", "enabled": 1 } }, "restraint": { "400": { "checksum": "", "enabled": 1 } }, "rhcs": { "100": { "checksum": "", "enabled": 1 } }, "rhev": { "100": { "checksum": "", "enabled": 1 } }, "rhgb": { "100": { "checksum": "", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "", "enabled": 1 } }, "rhts": { "400": { "checksum": "", "enabled": 1 } }, "ricci": { "100": { "checksum": "", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "", "enabled": 1 } }, "rlogin": { "100": { "checksum": "", "enabled": 1 } }, "rngd": { "100": { "checksum": "", "enabled": 1 } }, "roundup": { "100": { "checksum": "", "enabled": 1 } }, "rpc": { "100": { "checksum": "", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "", "enabled": 1 } }, "rpm": { "100": { "checksum": "", "enabled": 1 } }, "rshd": { "100": { "checksum": "", "enabled": 1 } }, "rssh": { "100": { "checksum": "", "enabled": 1 } }, "rsync": { "100": { "checksum": "", "enabled": 1 } }, "rtas": { "100": { "checksum": "", "enabled": 1 } }, "rtkit": { "100": { "checksum": "", "enabled": 1 } }, "rwho": { "100": { "checksum": "", "enabled": 1 } }, "samba": { "100": { "checksum": "", "enabled": 1 } }, "sambagui": { "100": { "checksum": "", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "", "enabled": 1 } }, "sanlock": { "100": { "checksum": "", "enabled": 1 } }, "sasl": { "100": { "checksum": "", "enabled": 1 } }, "sbd": { "100": { "checksum": "", "enabled": 1 } }, "sblim": { "100": { "checksum": "", "enabled": 1 } }, "screen": { "100": { "checksum": "", "enabled": 1 } }, "secadm": { "100": { "checksum": "", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "", "enabled": 1 } }, "sendmail": { "100": { "checksum": "", "enabled": 1 } }, "sensord": { "100": { "checksum": "", "enabled": 1 } }, "setrans": { "100": { "checksum": "", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "", "enabled": 1 } }, "seunshare": { "100": { "checksum": "", "enabled": 1 } }, "sge": { "100": { "checksum": "", "enabled": 1 } }, "shorewall": { "100": { "checksum": "", "enabled": 1 } }, "slocate": { "100": { "checksum": "", "enabled": 1 } }, "slpd": { "100": { "checksum": "", "enabled": 1 } }, "smartmon": { "100": { "checksum": "", "enabled": 1 } }, "smokeping": { "100": { "checksum": "", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "", "enabled": 1 } }, "smsd": { "100": { "checksum": "", "enabled": 1 } }, "snapper": { "100": { "checksum": "", "enabled": 1 } }, "snmp": { "100": { "checksum": "", "enabled": 1 } }, "snort": { "100": { "checksum": "", "enabled": 1 } }, "sosreport": { "100": { "checksum": "", "enabled": 1 } }, "soundserver": { "100": { "checksum": "", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "", "enabled": 1 } }, "squid": { "100": { "checksum": "", "enabled": 1 } }, "ssh": { "100": { "checksum": "", "enabled": 1 } }, "sssd": { "100": { "checksum": "", "enabled": 1 } }, "staff": { "100": { "checksum": "", "enabled": 1 } }, "stapserver": { "100": { "checksum": "", "enabled": 1 } }, "stunnel": { "100": { "checksum": "", "enabled": 1 } }, "su": { "100": { "checksum": "", "enabled": 1 } }, "sudo": { "100": { "checksum": "", "enabled": 1 } }, "svnserve": { "100": { "checksum": "", "enabled": 1 } }, "swift": { "100": { "checksum": "", "enabled": 1 } }, "sysadm": { "100": { "checksum": "", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "", "enabled": 1 } }, "sysstat": { "100": { "checksum": "", "enabled": 1 } }, "systemd": { "100": { "checksum": "", "enabled": 1 } }, "tangd": { "100": { "checksum": "", "enabled": 1 } }, "targetd": { "100": { "checksum": "", "enabled": 1 } }, "tcpd": { "100": { "checksum": "", "enabled": 1 } }, "tcsd": { "100": { "checksum": "", "enabled": 1 } }, "telepathy": { "100": { "checksum": "", "enabled": 1 } }, "telnet": { "100": { "checksum": "", "enabled": 1 } }, "tftp": { "100": { "checksum": "", "enabled": 1 } }, "tgtd": { "100": { "checksum": "", "enabled": 1 } }, "thin": { "100": { "checksum": "", "enabled": 1 } }, "thumb": { "100": { "checksum": "", "enabled": 1 } }, "tlp": { "100": { "checksum": "", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "", "enabled": 1 } }, "tomcat": { "100": { "checksum": "", "enabled": 1 } }, "tor": { "100": { "checksum": "", "enabled": 1 } }, "tuned": { "100": { "checksum": "", "enabled": 1 } }, "tvtime": { "100": { "checksum": "", "enabled": 1 } }, "udev": { "100": { "checksum": "", "enabled": 1 } }, "ulogd": { "100": { "checksum": "", "enabled": 1 } }, "uml": { "100": { "checksum": "", "enabled": 1 } }, "unconfined": { "100": { "checksum": "", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "", "enabled": 1 } }, "updfstab": { "100": { "checksum": "", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "", "enabled": 1 } }, "userdomain": { "100": { "checksum": "", "enabled": 1 } }, "userhelper": { "100": { "checksum": "", "enabled": 1 } }, "usermanage": { "100": { "checksum": "", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "", "enabled": 1 } }, "uucp": { "100": { "checksum": "", "enabled": 1 } }, "uuidd": { "100": { "checksum": "", "enabled": 1 } }, "varnishd": { "100": { "checksum": "", "enabled": 1 } }, "vdagent": { "100": { "checksum": "", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "", "enabled": 1 } }, "virt": { "100": { "checksum": "", "enabled": 1 } }, "vlock": { "100": { "checksum": "", "enabled": 1 } }, "vmtools": { "100": { "checksum": "", "enabled": 1 } }, "vmware": { "100": { "checksum": "", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "", "enabled": 1 } }, "vpn": { "100": { "checksum": "", "enabled": 1 } }, "w3c": { "100": { "checksum": "", "enabled": 1 } }, "watchdog": { "100": { "checksum": "", "enabled": 1 } }, "wdmd": { "100": { "checksum": "", "enabled": 1 } }, "webadm": { "100": { "checksum": "", "enabled": 1 } }, "webalizer": { "100": { "checksum": "", "enabled": 1 } }, "wine": { "100": { "checksum": "", "enabled": 1 } }, "wireshark": { "100": { "checksum": "", "enabled": 1 } }, "xen": { "100": { "checksum": "", "enabled": 1 } }, "xguest": { "100": { "checksum": "", "enabled": 1 } }, "xserver": { "100": { "checksum": "", "enabled": 1 } }, "zabbix": { "100": { "checksum": "", "enabled": 1 } }, "zarafa": { "100": { "checksum": "", "enabled": 1 } }, "zebra": { "100": { "checksum": "", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "", "enabled": 1 } }, "zosremote": { "100": { "checksum": "", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Friday 26 July 2024 19:11:41 +0000 (0:00:03.218) 0:00:19.992 *********** skipping: [sut] => { "changed": false, "false_condition": "selinux_modules is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Friday 26 July 2024 19:11:41 +0000 (0:00:00.024) 0:00:20.016 *********** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Friday 26 July 2024 19:11:41 +0000 (0:00:00.012) 0:00:20.029 *********** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for sut RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Friday 26 July 2024 19:11:41 +0000 (0:00:00.028) 0:00:20.057 *********** changed: [sut] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.678460", "end": "2024-07-26 19:11:43.660745", "rc": 0, "start": "2024-07-26 19:11:41.982285" } PLAY RECAP ********************************************************************* sut : ok=44 changed=9 unreachable=0 failed=0 skipped=47 rescued=1 ignored=0 Friday 26 July 2024 19:11:43 +0000 (0:00:01.818) 0:00:21.876 *********** =============================================================================== Add some mapping -------------------------------------------------------- 6.73s /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:27 ------------ fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 3.22s /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 1.82s /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Gathering Facts --------------------------------------------------------- 0.93s /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:2 ------------- fedora.linux_system_roles.selinux : Drop all local modifications -------- 0.84s /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.62s /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 fedora.linux_system_roles.selinux : Refresh facts ----------------------- 0.51s /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Gather facts again ------------------------------------------------------ 0.51s /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:81 ------------ fedora.linux_system_roles.selinux : Refresh facts ----------------------- 0.50s /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 fedora.linux_system_roles.selinux : Refresh facts ----------------------- 0.50s /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Upload testing /etc/selinux/config -------------------------------------- 0.39s /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:38 ------------ Add a Linux System Roles SELinux User ----------------------------------- 0.37s /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:23 ------------ fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled --- 0.35s /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Ensure findmnt ---------------------------------------------------------- 0.33s /WORKDIR/git-weekly-cigl9t6mvz/tests/set_selinux_variables.yml:29 ------------- fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.32s /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.31s /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Backup original /etc/selinux/config ------------------------------------- 0.29s /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:32 ------------ Remove Linux System Roles SELinux User ---------------------------------- 0.24s /WORKDIR/git-weekly-cigl9t6mvz/tests/tests_selinux_disabled.yml:103 ----------- fedora.linux_system_roles.selinux : Ensure ansible_facts used by role --- 0.24s /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 fedora.linux_system_roles.selinux : Ensure ansible_facts used by role --- 0.23s /WORKDIR/git-weekly-cigl9t6mvz/.collection/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Reboot is required to set SELinux state to 'enforcing' ---^---^---^---^---^---