ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles statically imported: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml 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 'jsonl', 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_all_transitions.yml ******************************************** 1 plays in /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_all_transitions.yml PLAY [Test all the possible selinux_state transitions] ************************* [WARNING]: Failure using method (v2_playbook_on_play_start) in callback plugin (): 'Play' object has no attribute 'get_path' TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_all_transitions.yml:2 Wednesday 21 May 2025 17:57:14 -0400 (0:00:00.032) 0:00:00.032 ********* ok: [managed-node2] META: ran handlers TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_all_transitions.yml:17 Wednesday 21 May 2025 17:57:15 -0400 (0:00:01.250) 0:00:01.282 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } META: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Ensure ansible_facts used by tests] ************************************** task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:12 Wednesday 21 May 2025 17:57:16 -0400 (0:00:00.458) 0:00:01.741 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure SELinux testing packages] ***************************************** task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:17 Wednesday 21 May 2025 17:57:16 -0400 (0:00:00.016) 0:00:01.757 ********* TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Wednesday 21 May 2025 17:57:16 -0400 (0:00:00.049) 0:00:01.806 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Wednesday 21 May 2025 17:57:16 -0400 (0:00:00.328) 0:00:02.135 ********* ok: [managed-node2] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Wednesday 21 May 2025 17:57:16 -0400 (0:00:00.018) 0:00:02.154 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Wednesday 21 May 2025 17:57:16 -0400 (0:00:00.330) 0:00:02.484 ********* ok: [managed-node2] => { "ansible_facts": { "__selinux_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Wednesday 21 May 2025 17:57:16 -0400 (0:00:00.024) 0:00:02.509 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Wednesday 21 May 2025 17:57:16 -0400 (0:00:00.017) 0:00:02.526 ********* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Wednesday 21 May 2025 17:57:31 -0400 (0:00:14.817) 0:00:17.343 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure grubby used to modify selinux kernel parameter] *** task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Wednesday 21 May 2025 17:57:31 -0400 (0:00:00.019) 0:00:17.362 ********* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:65 Wednesday 21 May 2025 17:57:34 -0400 (0:00:02.917) 0:00:20.280 ********* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Installed: policycoreutils-python-utils-2.9-26.el8.noarch" ] } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:79 Wednesday 21 May 2025 17:57:38 -0400 (0:00:03.953) 0:00:24.233 ********* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:84 Wednesday 21 May 2025 17:57:38 -0400 (0:00:00.015) 0:00:24.249 ********* skipping: [managed-node2] => { "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/collections-2gp/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Wednesday 21 May 2025 17:57:38 -0400 (0:00:00.016) 0:00:24.265 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:96 Wednesday 21 May 2025 17:57:38 -0400 (0:00:00.015) 0:00:24.281 ********* ok: [managed-node2] TASK [Ensure selinux-policy-targeted] ****************************************** task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:22 Wednesday 21 May 2025 17:57:39 -0400 (0:00:00.629) 0:00:24.910 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure findmnt] ********************************************************** task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:29 Wednesday 21 May 2025 17:57:39 -0400 (0:00:00.014) 0:00:24.925 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set is_el6 flag] ********************************************************* task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:38 Wednesday 21 May 2025 17:57:39 -0400 (0:00:00.014) 0:00:24.940 ********* ok: [managed-node2] => { "ansible_facts": { "__selinux_is_el6": false }, "changed": false } TASK [Get local modifications - boolean] *************************************** task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:46 Wednesday 21 May 2025 17:57:39 -0400 (0:00:00.022) 0:00:24.962 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "boolean", "-l", "-n", "-C" ], "delta": "0:00:01.459450", "end": "2025-05-21 17:57:41.171458", "rc": 0, "start": "2025-05-21 17:57:39.712008" } TASK [Get local modifications - port] ****************************************** task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:51 Wednesday 21 May 2025 17:57:41 -0400 (0:00:01.938) 0:00:26.900 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "port", "-l", "-n", "-C" ], "delta": "0:00:00.517305", "end": "2025-05-21 17:57:42.066024", "rc": 0, "start": "2025-05-21 17:57:41.548719" } TASK [Get local modifications - login] ***************************************** task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:56 Wednesday 21 May 2025 17:57:42 -0400 (0:00:00.886) 0:00:27.787 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "login", "-l", "-n", "-C" ], "delta": "0:00:00.551585", "end": "2025-05-21 17:57:42.954481", "rc": 0, "start": "2025-05-21 17:57:42.402896" } TASK [Get local modifications - fcontext] ************************************** task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:61 Wednesday 21 May 2025 17:57:43 -0400 (0:00:00.886) 0:00:28.674 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "/usr/sbin/semanage", "fcontext", "-l", "-n", "-C" ], "delta": "0:00:00.527152", "end": "2025-05-21 17:57:43.813217", "rc": 0, "start": "2025-05-21 17:57:43.286065" } TASK [Unset facts used above] ************************************************** task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:66 Wednesday 21 May 2025 17:57:43 -0400 (0:00:00.860) 0:00:29.534 ********* ok: [managed-node2] => { "ansible_facts": { "ansible_facts": { "all_ipv4_addresses": [ "10.31.9.107" ], "all_ipv6_addresses": [ "fe80::10a3:feff:fe9d:e95d" ], "ansible_local": {}, "apparmor": { "status": "disabled" }, "architecture": "x86_64", "bios_date": "08/24/2006", "bios_version": "4.11.amazon", "cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "crashkernel": "auto", "net.ifnames": "0", "quiet": true, "rhgb": true, "ro": true, "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2" }, "date_time": { "date": "2025-05-21", "day": "21", "epoch": "1747864635", "hour": "17", "iso8601": "2025-05-21T21:57:15Z", "iso8601_basic": "20250521T175715547325", "iso8601_basic_short": "20250521T175715", "iso8601_micro": "2025-05-21T21:57:15.547325Z", "minute": "57", "month": "05", "second": "15", "time": "17:57:15", "tz": "EDT", "tz_offset": "-0400", "weekday": "Wednesday", "weekday_number": "3", "weeknumber": "20", "year": "2025" }, "default_ipv4": { "address": "10.31.9.107", "alias": "eth0", "broadcast": "10.31.11.255", "gateway": "10.31.8.1", "interface": "eth0", "macaddress": "12:a3:fe:9d:e9:5d", "mtu": 9001, "netmask": "255.255.252.0", "network": "10.31.8.0", "type": "ether" }, "default_ipv6": {}, "device_links": { "ids": {}, "labels": {}, "masters": {}, "uuids": { "xvda1": [ "fe591198-9082-4b15-9b62-e83518524cd2" ] } }, "devices": { "xvda": { "holders": [], "host": "", "links": { "ids": [], "labels": [], "masters": [], "uuids": [] }, "model": null, "partitions": { "xvda1": { "holders": [], "links": { "ids": [], "labels": [], "masters": [], "uuids": [ "fe591198-9082-4b15-9b62-e83518524cd2" ] }, "sectors": "524285919", "sectorsize": 512, "size": "250.00 GB", "start": "2048", "uuid": "fe591198-9082-4b15-9b62-e83518524cd2" } }, "removable": "0", "rotational": "0", "sas_address": null, "sas_device_handle": null, "scheduler_mode": "mq-deadline", "sectors": "524288000", "sectorsize": "512", "size": "250.00 GB", "support_discard": "0", "vendor": null, "virtual": 1 } }, "discovered_interpreter_python": "/usr/libexec/platform-python", "distribution_file_parsed": true, "distribution_file_path": "/etc/redhat-release", "distribution_file_variety": "RedHat", "distribution_release": "NA", "distribution_version": "8", "dns": { "nameservers": [ "10.29.169.13", "10.29.170.12", "10.2.32.1" ], "search": [ "testing-farm.us-east-1.aws.redhat.com" ] }, "domain": "", "effective_group_id": 0, "effective_user_id": 0, "env": { "BASH_FUNC_which%%": "() { ( alias;\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@\n}", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "DEBUGINFOD_URLS": "https://debuginfod.centos.org/ ", "HOME": "/root", "LANG": "en_US.UTF-8", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "LOGNAME": "root", "LS_COLORS": "", "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.15.225 51990 22", "SSH_CONNECTION": "10.31.15.225 51990 10.31.9.107 22", "SSH_TTY": "/dev/pts/0", "USER": "root", "XDG_RUNTIME_DIR": "/run/user/0", "XDG_SESSION_ID": "5", "_": "/usr/libexec/platform-python", "which_declare": "declare -f" }, "eth0": { "active": true, "device": "eth0", "features": { "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "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_gro_list": "off", "rx_udp_gro_forwarding": "off", "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", "tls_hw_record": "off [fixed]", "tls_hw_rx_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "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_esp_segmentation": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_list": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "on [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_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_tcp6_segmentation": "on", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_tcp_segmentation": "on", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_udp_segmentation": "off [fixed]", "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]", "vlan_challenged": "off [fixed]" }, "hw_timestamp_filters": [], "ipv4": { "address": "10.31.9.107", "broadcast": "10.31.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0" }, "ipv6": [ { "address": "fe80::10a3:feff:fe9d:e95d", "prefix": "64", "scope": "link" } ], "macaddress": "12:a3:fe:9d:e9:5d", "module": "xen_netfront", "mtu": 9001, "pciid": "vif-0", "promisc": false, "timestamping": [], "type": "ether" }, "fibre_channel_wwn": [], "fips": false, "form_factor": "Other", "fqdn": "managed-node2", "gather_subset": [ "all" ], "hostname": "managed-node2", "hostnqn": "", "interfaces": [ "eth0", "lo" ], "is_chroot": false, "iscsi_iqn": "", "kernel": "4.18.0-553.5.1.el8.x86_64", "kernel_version": "#1 SMP Tue May 21 05:46:01 UTC 2024", "lo": { "active": true, "device": "lo", "features": { "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "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_gro_list": "off", "rx_udp_gro_forwarding": "off", "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", "tls_hw_record": "off [fixed]", "tls_hw_rx_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "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_esp_segmentation": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gso_list": "on", "tx_gso_partial": "off [fixed]", "tx_gso_robust": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_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_tcp6_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_tcp_segmentation": "on", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_udp_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]", "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": [], "type": "loopback" }, "lsb": {}, "machine": "x86_64", "machine_id": "495801b3cd1240c6a81dc6b7c9f6412e", "memfree_mb": 2925, "memory_mb": { "nocache": { "free": 3338, "used": 201 }, "real": { "free": 2925, "total": 3539, "used": 614 }, "swap": { "cached": 0, "free": 0, "total": 0, "used": 0 } }, "memtotal_mb": 3539, "module_setup": true, "mounts": [ { "block_available": 64366470, "block_size": 4096, "block_total": 65533179, "block_used": 1166709, "device": "/dev/xvda1", "fstype": "xfs", "inode_available": 130996204, "inode_total": 131071472, "inode_used": 75268, "mount": "/", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 263645061120, "size_total": 268423901184, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2" } ], "nodename": "managed-node2", "pkg_mgr": "dnf", "proc_cmdline": { "BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "crashkernel": "auto", "net.ifnames": "0", "quiet": true, "rhgb": true, "ro": true, "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2" }, "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": "ec25bb20-ea75-2b6d-ee9d-bcd85c4f9e42", "product_uuid": "ec25bb20-ea75-2b6d-ee9d-bcd85c4f9e42", "product_version": "4.11.amazon", "python": { "executable": "/usr/libexec/platform-python", "has_sslcontext": true, "type": "cpython", "version": { "major": 3, "micro": 8, "minor": 6, "releaselevel": "final", "serial": 0 }, "version_info": [ 3, 6, 8, "final", 0 ] }, "real_group_id": 0, "real_user_id": 0, "selinux": { "config_mode": "enforcing", "mode": "enforcing", "policyvers": 33, "status": "enabled", "type": "targeted" }, "selinux_python_present": true, "service_mgr": "systemd", "ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAMYyz+VYUJxpfLGxDJ9WqCaEc67BISJLmEVeI6ZVt2HhkEAuONnPKmToaDYB6+0hRBhIwiRiJvUWQtqh1GEqfbRwDpUydLE7I32tUF4IAKYR+k2EgFMpSdyP2MUFWM3Tk/eFwmkvr6/NRpz9wCho2ulGG2LcoRkIDlumAy/SuAGpAAAAFQCcCpDdvfKrqCRom2m1jl1m0QlyuwAAAIALbNGntrG5qWxnrC2ivB8vnsNiUsd0qUi9GG+vi4lABXVAFeXUoWrMVvTEU095oU9f5mnJSA6cB5qII5PlkZFo4GjiqvDEc7/yu6rKUeHtruc5hFK3ft1GNhf2Og/5mKgT6IFUJ0xMopYOZKJRr6aFb6gAt/wUb2N0ivUJj2rmLgAAAIEAlvLksByMq1iTChtIwDgBPJgJW7vaBAwPZvf9iH+S3JiRoRqRUo3XRZM6Cg44gBhL/0gqla5ejyMwgy7B0E3R7eTlsV1IvgQNML6yDdPefdfW/dxTpBOruT98wwZw5pf7B7pQZStO09VFRPYiye8u3i4/wOo0X6z+heig2DsXgWs=", "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHbBi39gwStr5zztPUkkvWuwUI7vUW6OlzBWFcliq330TkylnCfH8Qmt8ALAY3bx6rFYPxYLnGQG43Q3Anlnk7c=", "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIAeUjqGhmJ+aZDYhElY/lE9hnkaAqcW1zzCu15a/HSxA", "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQChkRAgljPxagM3t7LVbb1Bm0Fd3BQG2F+I3wLtN9Is80Zwj1oSjGpRnjZ/dfDkc6wMdP3yfAWTMoCc92jYkIc7nCiHzOOu2R4wmdUSFRzgZ8whwNcPHJkvsJ95FyRM4ATdlBYeRuoR3TwHP+pRZhfpPVQcJWCNfD1bhqb6wJ/JK4xHM/U1qbnxskhKj0JjKjVUoXPUN4rNBOpkNYbNAjRWyWo/suFutv5LHQqq5q4AitjH/WZ7bzfElA0jlBEo38KVivZO9eMT7bmVIldUr686NK6qkMvzcEPCPPYTN/1UcwG2YYqmqfyahU5nROWKVonf5tuDVxhmwQrdR8VZSxjWbdD73vv43bUod34porIaDqbpjUnMNra1Kf3Q4onViPuQrQfr35qb/OzQfGC9h+EXTH5GhE2Y/1xHB4yEdMZnthBn+F6UmTrhzmUt21UxUZETxY4kmBbi2JlZE0oPAfs/3fH0V0zS8Px6SikanBkbab9V+8Gj1c12gSaemK2Oc80=", "swapfree_mb": 0, "swaptotal_mb": 0, "system": "Linux", "system_capabilities": [], "system_capabilities_enforced": "False", "system_vendor": "Xen", "uptime_seconds": 212, "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 [Save config] ************************************************************* task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_all_transitions.yml:29 Wednesday 21 May 2025 17:57:43 -0400 (0:00:00.031) 0:00:29.566 ********* included: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/selinux_config_save.yml for managed-node2 TASK [Backup original /etc/selinux/config] ************************************* task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/selinux_config_save.yml:2 Wednesday 21 May 2025 17:57:43 -0400 (0:00:00.019) 0:00:29.586 ********* changed: [managed-node2] => { "changed": true, "checksum": "61a40e1faa78b234462d16dffbdb3fb869442406", "dest": "/etc/selinux/config.test_selinux_save", "gid": 0, "group": "root", "md5sum": "eab350e0c5241d4394c2099bf86e9312", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:selinux_config_t:s0", "size": 548, "src": "/etc/selinux/config", "state": "file", "uid": 0 } TASK [Disable selinux and set kernel] ****************************************** task path: /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_all_transitions.yml:32 Wednesday 21 May 2025 17:57:44 -0400 (0:00:00.469) 0:00:30.055 ********* fatal: [managed-node2]: FAILED! => {} MSG: The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'os_family' The error appears to be in '/tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_all_transitions.yml': line 32, column 7, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Disable selinux and set kernel ^ here PLAY RECAP ********************************************************************* managed-node2 : ok=18 changed=2 unreachable=0 failed=1 skipped=8 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.9.27", "end_time": "2025-05-21T21:57:44.400515+00:00Z", "host": "managed-node2", "message": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'os_family'\n\nThe error appears to be in '/tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_all_transitions.yml': line 32, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Disable selinux and set kernel\n ^ here\n", "start_time": "2025-05-21T21:57:44.385489+00:00Z", "task_name": "Disable selinux and set kernel", "task_path": "/tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_all_transitions.yml:32" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Wednesday 21 May 2025 17:57:44 -0400 (0:00:00.016) 0:00:30.072 ********* =============================================================================== fedora.linux_system_roles.selinux : Install SELinux python3 tools ------ 14.82s /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 fedora.linux_system_roles.selinux : Install SELinux tool semanage ------- 3.95s /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:65 fedora.linux_system_roles.selinux : Ensure grubby used to modify selinux kernel parameter --- 2.92s /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Get local modifications - boolean --------------------------------------- 1.94s /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:46 Gathering Facts --------------------------------------------------------- 1.25s /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_all_transitions.yml:2 Get local modifications - login ----------------------------------------- 0.89s /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:56 Get local modifications - port ------------------------------------------ 0.89s /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:51 Get local modifications - fcontext -------------------------------------- 0.86s /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:61 fedora.linux_system_roles.selinux : Refresh facts ----------------------- 0.63s /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:96 Backup original /etc/selinux/config ------------------------------------- 0.47s /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/selinux_config_save.yml:2 Check if system is ostree ----------------------------------------------- 0.46s /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_all_transitions.yml:17 fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin --- 0.33s /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 fedora.linux_system_roles.selinux : Check if system is ostree ----------- 0.33s /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Ensure SELinux testing packages ----------------------------------------- 0.05s /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:17 Unset facts used above -------------------------------------------------- 0.03s /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:66 fedora.linux_system_roles.selinux : Set flag if transactional-update exists --- 0.02s /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Set is_el6 flag --------------------------------------------------------- 0.02s /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/set_selinux_variables.yml:38 fedora.linux_system_roles.selinux : Install SELinux python3 tools ------- 0.02s /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Save config ------------------------------------------------------------- 0.02s /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/tests/selinux/tests_all_transitions.yml:29 fedora.linux_system_roles.selinux : Set flag to indicate system is ostree --- 0.02s /tmp/collections-2gp/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10