ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_selinux_disabled.yml ******************************************* 1 plays in /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml PLAY [Ensure the default is targeted, enforcing, without local modifications] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:2 Saturday 27 July 2024 16:21:16 -0400 (0:00:00.024) 0:00:00.024 ********* ok: [managed_node1] META: ran handlers TASK [Ensure SELinux test packages] ******************************************** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:16 Saturday 27 July 2024 16:21:17 -0400 (0:00:00.810) 0:00:00.834 ********* included: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml for managed_node1 TASK [Ensure ansible_facts used by tests] ************************************** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:12 Saturday 27 July 2024 16:21:17 -0400 (0:00:00.030) 0:00:00.865 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure SELinux testing packages] ***************************************** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:17 Saturday 27 July 2024 16:21:17 -0400 (0:00:00.038) 0:00:00.904 ********* TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Saturday 27 July 2024 16:21:17 -0400 (0:00:00.048) 0:00:00.952 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Saturday 27 July 2024 16:21:18 -0400 (0:00:00.408) 0:00:01.361 ********* ok: [managed_node1] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Saturday 27 July 2024 16:21:18 -0400 (0:00:00.071) 0:00:01.432 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Saturday 27 July 2024 16:21:18 -0400 (0:00:00.334) 0:00:01.767 ********* ok: [managed_node1] => { "ansible_facts": { "__selinux_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Saturday 27 July 2024 16:21:18 -0400 (0:00:00.044) 0:00:01.811 ********* ok: [managed_node1] => { "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: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Saturday 27 July 2024 16:21:19 -0400 (0:00:00.689) 0:00:02.500 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Saturday 27 July 2024 16:21:19 -0400 (0:00:00.038) 0:00:02.539 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Saturday 27 July 2024 16:21:19 -0400 (0:00:00.038) 0:00:02.578 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Saturday 27 July 2024 16:21:19 -0400 (0:00:00.039) 0:00:02.617 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Saturday 27 July 2024 16:21:19 -0400 (0:00:00.035) 0:00:02.653 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Saturday 27 July 2024 16:21:19 -0400 (0:00:00.037) 0:00:02.691 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Saturday 27 July 2024 16:21:19 -0400 (0:00:00.036) 0:00:02.728 ********* ok: [managed_node1] TASK [Ensure selinux-policy-targeted] ****************************************** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:22 Saturday 27 July 2024 16:21:19 -0400 (0:00:00.529) 0:00:03.257 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure findmnt] ********************************************************** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:29 Saturday 27 July 2024 16:21:19 -0400 (0:00:00.039) 0:00:03.297 ********* ok: [managed_node1] => { "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: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:38 Saturday 27 July 2024 16:21:20 -0400 (0:00:00.566) 0:00:03.863 ********* ok: [managed_node1] => { "ansible_facts": { "__selinux_is_el6": false }, "changed": false } TASK [Get local modifications - boolean] *************************************** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:46 Saturday 27 July 2024 16:21:20 -0400 (0:00:00.044) 0:00:03.907 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get local modifications - port] ****************************************** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:51 Saturday 27 July 2024 16:21:20 -0400 (0:00:00.036) 0:00:03.944 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get local modifications - login] ***************************************** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:56 Saturday 27 July 2024 16:21:20 -0400 (0:00:00.038) 0:00:03.983 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get local modifications - fcontext] ************************************** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:61 Saturday 27 July 2024 16:21:20 -0400 (0:00:00.036) 0:00:04.020 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts used above] ************************************************** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:66 Saturday 27 July 2024 16:21:20 -0400 (0:00:00.039) 0:00:04.059 ********* ok: [managed_node1] => { "ansible_facts": { "ansible_facts": { "all_ipv4_addresses": [ "10.31.10.238" ], "all_ipv6_addresses": [ "fe80::1080:e0ff:fece:843f" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "08/24/2006", "bios_version": "4.11.amazon", "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-27", "day": "27", "epoch": "1722111677", "hour": "16", "iso8601": "2024-07-27T20:21:17Z", "iso8601_basic": "20240727T162117430992", "iso8601_basic_short": "20240727T162117", "iso8601_micro": "2024-07-27T20:21:17.430992Z", "minute": "21", "month": "07", "second": "17", "time": "16:21:17", "tz": "EDT", "tz_offset": "-0400", "weekday": "Saturday", "weekday_number": "6", "weeknumber": "30", "year": "2024" }, "default_ipv4": { "address": "10.31.10.238", "alias": "eth0", "broadcast": "10.31.11.255", "gateway": "10.31.8.1", "interface": "eth0", "macaddress": "12:80:e0:ce:84:3f", "mtu": 9001, "netmask": "255.255.252.0", "network": "10.31.8.0", "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" ] }, "domain": "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", "LS_COLORS": "", "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.31.8.190 48862 22", "SSH_CONNECTION": "10.31.8.190 48862 10.31.10.238 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_ID": "4", "_": "/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.10.238", "broadcast": "10.31.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0" }, "ipv6": [ { "address": "fe80::1080:e0ff:fece:843f", "prefix": "64", "scope": "link" } ], "macaddress": "12:80:e0:ce:84:3f", "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": "ip-10-31-10-238.us-east-1.aws.redhat.com", "gather_subset": [ "all" ], "hostname": "ip-10-31-10-238", "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" }, "ipv6": [ { "address": "::1", "prefix": "128", "scope": "host" } ], "mtu": 65536, "promisc": false, "timestamping": [ "rx_software", "software" ], "type": "loopback" }, "lsb": {}, "machine": "x86_64", "machine_id": "0a8b093eda5449758ffd6b33454a5635", "memfree_mb": 3194, "memory_mb": { "nocache": { "free": 3430, "used": 170 }, "real": { "free": 3194, "total": 3600, "used": 406 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 3600, "module_setup": true, "mounts": [ { "block_available": 61352919, "block_size": 4096, "block_total": 64490860, "block_used": 3137941, "device": "/dev/xvda1", "fstype": "ext4", "inode_available": 16319869, "inode_total": 16384000, "inode_used": 64131, "mount": "/", "options": "rw,seclabel,relatime,data=ordered", "size_available": 251301556224, "size_total": 264154562560, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312" } ], "nodename": "ip-10-31-10-238.us-east-1.aws.redhat.com", "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_threads_per_core": 2, "processor_vcpus": 2, "product_name": "HVM domU", "product_serial": "ec215b43-2095-89a6-083f-7d68ea3465e7", "product_uuid": "EC215B43-2095-89A6-083F-7D68EA3465E7", "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_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAICQv41kEJzqf0Fw0vfBNofL1PGsqN8YLbJvWx5Tb7CQy", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC8vEeoR1Hoag0dVpE46EaTBu29NRDnS4P+weynmE3G7OKEzNvjlrMCjdvGeTvxHj6Rte+p3pLiDn14+ya/Fj6XXnl8O0ag8w9xXtePKP0f83L9pXfRxoU69UQHdZECaDvXbDczvkJPkg3ggRPF2K5FfNOajohGA1NTCn4vwq6fD7FzLndfHi4iXER8uNyPtnm01bYYBIxgkk1fNJh/XE88lYvzGQISj2k9hjhH7udnSZPu2l1cWKW5WyW7Gf1mXNHjX8KcgtLFhqCgzfJVmpDtmpehHSEjnR2jS2I7mzn+PgvLJLpREcpPrP88/5ysA3gsTs32dDBlIvLPT/QJNzY3", "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": 409, "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_type": "xen" } }, "changed": false } TASK [Add a Linux System Roles SELinux User] *********************************** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:23 Saturday 27 July 2024 16:21:20 -0400 (0:00:00.070) 0:00:04.129 ********* changed: [managed_node1] => { "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: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:27 Saturday 27 July 2024 16:21:21 -0400 (0:00:00.583) 0:00:04.712 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho -e -n \"boolean -m --on samba_enable_home_dirs\nport -a -p tcp -t ssh_port_t 22100\nfcontext -a -t user_home_dir_t /tmp/test_dir\nlogin -a -s staff_u sar-user\n\" | /usr/sbin/semanage -i -", "delta": "0:00:02.453154", "end": "2024-07-27 16:21:24.199845", "rc": 0, "start": "2024-07-27 16:21:21.746691" } TASK [Backup original /etc/selinux/config] ************************************* task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:32 Saturday 27 July 2024 16:21:24 -0400 (0:00:02.873) 0:00:07.586 ********* changed: [managed_node1] => { "changed": true, "checksum": "fe4ed0aa93618472e1004b6f68ae1b0733485fc5", "dest": "/etc/selinux/config.test_selinux_disabled", "gid": 0, "group": "root", "md5sum": "ff8d2663b88f1a20c8489fdf152e6b31", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:selinux_config_t:s0", "size": 542, "src": "/etc/selinux/config", "state": "file", "uid": 0 } TASK [Upload testing /etc/selinux/config] ************************************** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:38 Saturday 27 July 2024 16:21:24 -0400 (0:00:00.408) 0:00:07.994 ********* changed: [managed_node1] => { "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-1722111684.7-12671-79574956056643/source", "state": "file", "uid": 0 } TASK [Switch to permissive to allow login when selinuxfs is not mounted] ******* task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:43 Saturday 27 July 2024 16:21:25 -0400 (0:00:00.500) 0:00:08.495 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "setenforce", "0" ], "delta": "0:00:00.003290", "end": "2024-07-27 16:21:25.413709", "rc": 0, "start": "2024-07-27 16:21:25.410419" } TASK [Get selinuxfs mountpoint] ************************************************ task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:47 Saturday 27 July 2024 16:21:25 -0400 (0:00:00.293) 0:00:08.789 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "findmnt", "-n", "-t", "selinuxfs", "--output=target" ], "delta": "0:00:00.004194", "end": "2024-07-27 16:21:25.678113", "rc": 0, "start": "2024-07-27 16:21:25.673919" } STDOUT: /sys/fs/selinux TASK [Umount selinux mountpoint to emulate SELinux disabled system /sys/fs/selinux] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:51 Saturday 27 July 2024 16:21:25 -0400 (0:00:00.293) 0:00:09.082 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "umount", "-l", "/sys/fs/selinux" ], "delta": "0:00:00.009070", "end": "2024-07-27 16:21:25.977323", "rc": 0, "start": "2024-07-27 16:21:25.968253" } TASK [Include role] ************************************************************ task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:59 Saturday 27 July 2024 16:21:26 -0400 (0:00:00.280) 0:00:09.363 ********* TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 27 July 2024 16:21:26 -0400 (0:00:00.048) 0:00:09.411 ********* included: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Saturday 27 July 2024 16:21:26 -0400 (0:00:00.028) 0:00:09.440 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Saturday 27 July 2024 16:21:26 -0400 (0:00:00.370) 0:00:09.810 ********* included: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Saturday 27 July 2024 16:21:26 -0400 (0:00:00.035) 0:00:09.846 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Saturday 27 July 2024 16:21:26 -0400 (0:00:00.019) 0:00:09.866 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Saturday 27 July 2024 16:21:26 -0400 (0:00:00.019) 0:00:09.885 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Saturday 27 July 2024 16:21:26 -0400 (0:00:00.019) 0:00:09.904 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Saturday 27 July 2024 16:21:26 -0400 (0:00:00.017) 0:00:09.922 ********* ok: [managed_node1] => { "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: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Saturday 27 July 2024 16:21:27 -0400 (0:00:00.554) 0:00:10.477 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Saturday 27 July 2024 16:21:27 -0400 (0:00:00.019) 0:00:10.496 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Saturday 27 July 2024 16:21:27 -0400 (0:00:00.019) 0:00:10.516 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Saturday 27 July 2024 16:21:27 -0400 (0:00:00.022) 0:00:10.539 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Saturday 27 July 2024 16:21:27 -0400 (0:00:00.019) 0:00:10.558 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Saturday 27 July 2024 16:21:27 -0400 (0:00:00.017) 0:00:10.575 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Saturday 27 July 2024 16:21:27 -0400 (0:00:00.019) 0:00:10.595 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Saturday 27 July 2024 16:21:27 -0400 (0:00:00.511) 0:00:11.107 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Saturday 27 July 2024 16:21:27 -0400 (0:00:00.020) 0:00:11.127 ********* [WARNING]: Reboot is required to set SELinux state to 'enforcing' changed: [managed_node1] => { "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/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Saturday 27 July 2024 16:21:28 -0400 (0:00:00.587) 0:00:11.715 ********* ok: [managed_node1] => { "ansible_facts": { "selinux_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Saturday 27 July 2024 16:21:28 -0400 (0:00:00.022) 0:00:11.737 ********* fatal: [managed_node1]: 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/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:63 Saturday 27 July 2024 16:21:28 -0400 (0:00:00.019) 0:00:11.757 ********* ok: [managed_node1] => { "ansible_facts": { "test_selinux_reboot_required": true }, "changed": false } TASK [Check that the role has failed and set the correct variable] ************* task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:67 Saturday 27 July 2024 16:21:28 -0400 (0:00:00.018) 0:00:11.775 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Mount selinux mountpoint back to system /sys/fs/selinux] ***************** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:71 Saturday 27 July 2024 16:21:28 -0400 (0:00:00.022) 0:00:11.798 ********* [WARNING]: Consider using the mount module rather than running 'mount'. If you need to use command because mount is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed_node1] => { "changed": false, "cmd": [ "mount", "-t", "selinuxfs", "selinuxfs", "/sys/fs/selinux" ], "delta": "0:00:00.003727", "end": "2024-07-27 16:21:28.699229", "rc": 0, "start": "2024-07-27 16:21:28.695502" } TASK [Switch back to enforcing] ************************************************ task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:78 Saturday 27 July 2024 16:21:28 -0400 (0:00:00.276) 0:00:12.075 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "setenforce", "1" ], "delta": "0:00:00.009947", "end": "2024-07-27 16:21:28.976373", "rc": 0, "start": "2024-07-27 16:21:28.966426" } TASK [Gather facts again] ****************************************************** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:81 Saturday 27 July 2024 16:21:29 -0400 (0:00:00.286) 0:00:12.361 ********* ok: [managed_node1] TASK [Check SELinux config mode] *********************************************** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:83 Saturday 27 July 2024 16:21:29 -0400 (0:00:00.524) 0:00:12.886 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Restore original /etc/selinux/config] ************************************ task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:91 Saturday 27 July 2024 16:21:29 -0400 (0:00:00.022) 0:00:12.908 ********* changed: [managed_node1] => { "changed": true, "checksum": "fe4ed0aa93618472e1004b6f68ae1b0733485fc5", "dest": "/etc/selinux/config", "gid": 0, "group": "root", "md5sum": "ff8d2663b88f1a20c8489fdf152e6b31", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 542, "src": "/etc/selinux/config.test_selinux_disabled", "state": "file", "uid": 0 } TASK [Remove /etc/selinux/config backup] *************************************** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:98 Saturday 27 July 2024 16:21:29 -0400 (0:00:00.273) 0:00:13.182 ********* changed: [managed_node1] => { "changed": true, "path": "/etc/selinux/config.test_selinux_disabled", "state": "absent" } TASK [Remove Linux System Roles SELinux User] ********************************** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:103 Saturday 27 July 2024 16:21:30 -0400 (0:00:00.398) 0:00:13.580 ********* changed: [managed_node1] => { "changed": true, "force": false, "name": "sar-user", "remove": true, "state": "absent" } TASK [Include role to purge everything] **************************************** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:109 Saturday 27 July 2024 16:21:30 -0400 (0:00:00.370) 0:00:13.950 ********* TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Saturday 27 July 2024 16:21:30 -0400 (0:00:00.045) 0:00:13.995 ********* included: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Saturday 27 July 2024 16:21:30 -0400 (0:00:00.028) 0:00:14.024 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Saturday 27 July 2024 16:21:31 -0400 (0:00:00.359) 0:00:14.383 ********* included: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Saturday 27 July 2024 16:21:31 -0400 (0:00:00.037) 0:00:14.420 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Saturday 27 July 2024 16:21:31 -0400 (0:00:00.019) 0:00:14.440 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Saturday 27 July 2024 16:21:31 -0400 (0:00:00.019) 0:00:14.459 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Saturday 27 July 2024 16:21:31 -0400 (0:00:00.021) 0:00:14.481 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Saturday 27 July 2024 16:21:31 -0400 (0:00:00.019) 0:00:14.501 ********* ok: [managed_node1] => { "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: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Saturday 27 July 2024 16:21:31 -0400 (0:00:00.557) 0:00:15.059 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Saturday 27 July 2024 16:21:31 -0400 (0:00:00.021) 0:00:15.080 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Saturday 27 July 2024 16:21:31 -0400 (0:00:00.020) 0:00:15.100 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Saturday 27 July 2024 16:21:31 -0400 (0:00:00.021) 0:00:15.122 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Saturday 27 July 2024 16:21:31 -0400 (0:00:00.019) 0:00:15.142 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Saturday 27 July 2024 16:21:31 -0400 (0:00:00.019) 0:00:15.162 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Saturday 27 July 2024 16:21:31 -0400 (0:00:00.018) 0:00:15.180 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Saturday 27 July 2024 16:21:32 -0400 (0:00:00.510) 0:00:15.690 ********* ok: [managed_node1] => { "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/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Saturday 27 July 2024 16:21:32 -0400 (0:00:00.329) 0:00:16.019 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Saturday 27 July 2024 16:21:32 -0400 (0:00:00.020) 0:00:16.040 ********* ok: [managed_node1] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Saturday 27 July 2024 16:21:32 -0400 (0:00:00.022) 0:00:16.062 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Saturday 27 July 2024 16:21:32 -0400 (0:00:00.016) 0:00:16.079 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Saturday 27 July 2024 16:21:32 -0400 (0:00:00.017) 0:00:16.097 ********* NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for managed_node1 changed: [managed_node1] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:00.591427", "end": "2024-07-27 16:21:33.592702", "rc": 0, "start": "2024-07-27 16:21:33.001275" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Saturday 27 July 2024 16:21:33 -0400 (0:00:00.872) 0:00:16.969 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Saturday 27 July 2024 16:21:33 -0400 (0:00:00.019) 0:00:16.989 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Saturday 27 July 2024 16:21:33 -0400 (0:00:00.020) 0:00:17.009 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Saturday 27 July 2024 16:21:33 -0400 (0:00:00.021) 0:00:17.031 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Saturday 27 July 2024 16:21:33 -0400 (0:00:00.018) 0:00:17.050 ********* TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Saturday 27 July 2024 16:21:33 -0400 (0:00:00.018) 0:00:17.068 ********* TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Saturday 27 July 2024 16:21:33 -0400 (0:00:00.020) 0:00:17.088 ********* TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Saturday 27 July 2024 16:21:33 -0400 (0:00:00.018) 0:00:17.107 ********* TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Saturday 27 July 2024 16:21:33 -0400 (0:00:00.017) 0:00:17.124 ********* ok: [managed_node1] => { "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: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Saturday 27 July 2024 16:21:36 -0400 (0:00:02.685) 0:00:19.810 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Saturday 27 July 2024 16:21:36 -0400 (0:00:00.041) 0:00:19.852 ********* TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Saturday 27 July 2024 16:21:36 -0400 (0:00:00.037) 0:00:19.890 ********* RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Saturday 27 July 2024 16:21:36 -0400 (0:00:00.012) 0:00:19.902 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.840752", "end": "2024-07-27 16:21:38.656137", "rc": 0, "start": "2024-07-27 16:21:36.815385" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Saturday 27 July 2024 16:21:38 -0400 (0:00:02.133) 0:00:22.036 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.840444", "end": "2024-07-27 16:21:40.795842", "rc": 0, "start": "2024-07-27 16:21:38.955398" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Saturday 27 July 2024 16:21:40 -0400 (0:00:02.138) 0:00:24.175 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.834174", "end": "2024-07-27 16:21:42.926735", "rc": 0, "start": "2024-07-27 16:21:41.092561" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=46 changed=11 unreachable=0 failed=0 skipped=47 rescued=1 ignored=0 Saturday 27 July 2024 16:21:42 -0400 (0:00:02.135) 0:00:26.310 ********* =============================================================================== Add some mapping -------------------------------------------------------- 2.87s /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:27 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 2.69s /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.14s /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.14s /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.13s /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 fedora.linux_system_roles.selinux : Drop all local modifications -------- 0.87s /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:2 fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.69s /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled --- 0.59s /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Add a Linux System Roles SELinux User ----------------------------------- 0.58s /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:23 Ensure findmnt ---------------------------------------------------------- 0.57s /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:29 fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.56s /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 fedora.linux_system_roles.selinux : Install SELinux python2 tools ------- 0.55s /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 fedora.linux_system_roles.selinux : Refresh facts ----------------------- 0.53s /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Gather facts again ------------------------------------------------------ 0.52s /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:81 fedora.linux_system_roles.selinux : Refresh facts ----------------------- 0.51s /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 fedora.linux_system_roles.selinux : Refresh facts ----------------------- 0.51s /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Upload testing /etc/selinux/config -------------------------------------- 0.50s /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:38 Backup original /etc/selinux/config ------------------------------------- 0.41s /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_selinux_disabled.yml:32 fedora.linux_system_roles.selinux : Check if system is ostree ----------- 0.41s /tmp/tmp.FXKim7xiSf/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5