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 '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_settings.yml *************************************************** 1 plays in /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml PLAY [Test bootloader_settings variable] *************************************** META: ran handlers TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:13 Wednesday 25 June 2025 14:45:51 -0400 (0:00:00.032) 0:00:00.033 ******** included: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Wednesday 25 June 2025 14:45:51 -0400 (0:00:00.081) 0:00:00.115 ******** ok: [managed-node1] META: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:16 Wednesday 25 June 2025 14:45:52 -0400 (0:00:00.706) 0:00:00.821 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:45:52 -0400 (0:00:00.060) 0:00:00.882 ******** included: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:45:52 -0400 (0:00:00.033) 0:00:00.915 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:45:52 -0400 (0:00:00.029) 0:00:00.945 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:45:52 -0400 (0:00:00.406) 0:00:01.352 ******** ok: [managed-node1] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:45:52 -0400 (0:00:00.029) 0:00:01.381 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:45:52 -0400 (0:00:00.049) 0:00:01.431 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:45:52 -0400 (0:00:00.020) 0:00:01.451 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:45:53 -0400 (0:00:00.748) 0:00:02.200 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.111572", "end": "2025-06-25 14:45:53.845106", "rc": 0, "start": "2025-06-25 14:45:53.733534" } STDOUT: /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:45:53 -0400 (0:00:00.501) 0:00:02.701 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877125.4303281, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750877125.429328, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877125.429328, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "320788694", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:45:54 -0400 (0:00:00.286) 0:00:02.987 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:45:54 -0400 (0:00:00.024) 0:00:03.012 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:45:54 -0400 (0:00:00.021) 0:00:03.033 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:45:54 -0400 (0:00:00.260) 0:00:03.294 ******** ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:45:54 -0400 (0:00:00.037) 0:00:03.331 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877125.4303281, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750877125.429328, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877125.429328, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "320788694", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:45:54 -0400 (0:00:00.287) 0:00:03.619 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877153.7355473, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "32d3e80f3b1bba9ed2d50c60c91d8c8899ccb5c2", "ctime": 1750877149.2093472, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134789, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877149.2093472, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5044, "uid": 0, "version": "18446744073107037303", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:45:55 -0400 (0:00:00.278) 0:00:03.898 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003834", "end": "2025-06-25 14:45:55.388194", "rc": 0, "start": "2025-06-25 14:45:55.384360" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:45:55 -0400 (0:00:00.265) 0:00:04.164 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:45:55 -0400 (0:00:00.023) 0:00:04.187 ******** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:45:55 -0400 (0:00:00.382) 0:00:04.570 ******** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:45:56 -0400 (0:00:00.257) 0:00:04.827 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:45:56 -0400 (0:00:00.382) 0:00:05.209 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:45:56 -0400 (0:00:00.018) 0:00:05.228 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:45:56 -0400 (0:00:00.017) 0:00:05.246 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:45:56 -0400 (0:00:00.015) 0:00:05.262 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:45:56 -0400 (0:00:00.389) 0:00:05.651 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } META: end_host conditional evaluated to false, continuing execution for managed-node1 META: ran handlers TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:32 Wednesday 25 June 2025 14:45:57 -0400 (0:00:00.390) 0:00:06.041 ******** ok: [managed-node1] => { "ansible_facts": { "__default_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:36 Wednesday 25 June 2025 14:45:57 -0400 (0:00:00.021) 0:00:06.063 ******** included: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Wednesday 25 June 2025 14:45:57 -0400 (0:00:00.035) 0:00:06.098 ******** ok: [managed-node1] => (item={u'dest': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1', u'src': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "bcc96d540663b9b1764e12a7ab21389e0b9ceb0e", "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64" }, "md5sum": "8d408037538856fa5672cf3f9da1ff35", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "state": "file", "uid": 0 } ok: [managed-node1] => (item={u'dest': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1', u'src': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "a48b0c90c9b0dce76f2e1f4a861b7f3b00714982", "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img" }, "md5sum": "dd570b9af2ecb0d8f046a071cd868a55", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20160196, "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Wednesday 25 June 2025 14:45:58 -0400 (0:00:00.761) 0:00:06.860 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:45:58 -0400 (0:00:00.051) 0:00:06.912 ******** included: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:45:58 -0400 (0:00:00.027) 0:00:06.939 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:45:58 -0400 (0:00:00.019) 0:00:06.959 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:45:58 -0400 (0:00:00.018) 0:00:06.977 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:45:58 -0400 (0:00:00.017) 0:00:06.995 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:45:58 -0400 (0:00:00.043) 0:00:07.039 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:45:58 -0400 (0:00:00.017) 0:00:07.056 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:45:58 -0400 (0:00:00.533) 0:00:07.590 ******** fatal: [managed-node1]: FAILED! => {} MSG: The conditional check 'bootloader_settings | selectattr('default', 'defined') | selectattr('default', 'equalto', true) | list | length == 0' failed. The error was: no test named 'equalto' The error appears to be in '/tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml': line 22, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: # So we need to get the default kernel in the beginning of the role and reset it at the end - name: Get default kernel in the beginning of the role ^ here TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:183 Wednesday 25 June 2025 14:45:58 -0400 (0:00:00.024) 0:00:07.614 ******** changed: [managed-node1] => { "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" ], "delta": "0:00:00.011048", "end": "2025-06-25 14:45:59.097908", "failed_when_result": false, "rc": 0, "start": "2025-06-25 14:45:59.086860" } PLAY RECAP ********************************************************************* managed-node1 : ok=24 changed=1 unreachable=0 failed=1 skipped=14 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.9.27", "end_time": "2025-06-25T18:45:58.876384Z", "host": "managed-node1", "message": "The conditional check 'bootloader_settings | selectattr('default', 'defined') | selectattr('default', 'equalto', true) | list | length == 0' failed. The error was: no test named 'equalto'\n\nThe error appears to be in '/tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml': line 22, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# So we need to get the default kernel in the beginning of the role and reset it at the end\n- name: Get default kernel in the beginning of the role\n ^ here\n", "start_time": "2025-06-25T18:45:58.857154Z", "task_name": "Get default kernel in the beginning of the role", "task_path": "/tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Wednesday 25 June 2025 14:45:59 -0400 (0:00:00.253) 0:00:07.867 ******** =============================================================================== Copy kernel and initrd for test purposes from /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64 --- 0.76s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.75s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 0.71s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.53s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role --- 0.50s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.41s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.39s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default --- 0.39s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.38s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.38s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.29s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.29s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.28s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.27s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.26s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.26s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Remove cloned kernels --------------------------------------------------- 0.25s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:183 Skip on s390x architecture ---------------------------------------------- 0.08s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:13 Get bootloader_facts ---------------------------------------------------- 0.06s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:16 Create kernel Clone1 ---------------------------------------------------- 0.05s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17