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_add_rm.yml ***************************************************** 1 plays in /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** META: ran handlers TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Wednesday 25 June 2025 14:45:18 -0400 (0:00:00.024) 0:00:00.024 ******** 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:18 -0400 (0:00:00.072) 0:00:00.097 ******** 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_add_rm.yml:16 Wednesday 25 June 2025 14:45:19 -0400 (0:00:00.970) 0:00:01.067 ******** 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:19 -0400 (0:00:00.057) 0:00:01.125 ******** 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:19 -0400 (0:00:00.025) 0:00:01.150 ******** 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:19 -0400 (0:00:00.020) 0:00:01.170 ******** 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:20 -0400 (0:00:00.432) 0:00:01.603 ******** 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:20 -0400 (0:00:00.033) 0:00:01.637 ******** 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:20 -0400 (0:00:00.068) 0:00:01.705 ******** 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:20 -0400 (0:00:00.027) 0:00:01.732 ******** 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:21 -0400 (0:00:00.810) 0:00:02.542 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.128897", "end": "2025-06-25 14:45:21.510649", "rc": 0, "start": "2025-06-25 14:45:21.381752" } 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:21 -0400 (0:00:00.524) 0:00:03.067 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1718881015.7736502, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "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:21 -0400 (0:00:00.282) 0:00:03.350 ******** 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:21 -0400 (0:00:00.026) 0:00:03.377 ******** 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:21 -0400 (0:00:00.025) 0:00:03.402 ******** 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:22 -0400 (0:00:00.293) 0:00:03.695 ******** 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:22 -0400 (0:00:00.035) 0:00:03.731 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877121.7773023, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "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:22 -0400 (0:00:00.291) 0:00:04.022 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877121.3862996, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1718881171.2176502, "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": 1718880548.6706502, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "22411319", "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:22 -0400 (0:00:00.339) 0:00:04.362 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003953", "end": "2025-06-25 14:45:23.095721", "rc": 0, "start": "2025-06-25 14:45:23.091768" } 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:23 -0400 (0:00:00.279) 0:00:04.641 ******** 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:23 -0400 (0:00:00.021) 0:00:04.663 ******** 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:23 -0400 (0:00:00.445) 0:00:05.108 ******** 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:23 -0400 (0:00:00.263) 0:00:05.372 ******** 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:24 -0400 (0:00:00.427) 0:00:05.800 ******** 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:24 -0400 (0:00:00.021) 0:00:05.822 ******** 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:24 -0400 (0:00:00.017) 0:00:05.840 ******** 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:24 -0400 (0:00:00.016) 0:00:05.856 ******** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 changed: [managed-node1] => { "actions": [ "grubby --update-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64 --args=test=kernel" ], "changed": true } 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:24 -0400 (0:00:00.421) 0:00:06.278 ******** 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 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 14:45:25 -0400 (0:00:00.414) 0:00:06.692 ******** changed: [managed-node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.017618", "end": "2025-06-25 14:45:25.431432", "rc": 0, "start": "2025-06-25 14:45:25.413814" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 14:45:25 -0400 (0:00:00.293) 0:00:06.985 ******** included: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 14:45:25 -0400 (0:00:00.033) 0:00:07.019 ******** changed: [managed-node1] => { "changed": true, "elapsed": 20, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 14:45:47 -0400 (0:00:21.678) 0:00:28.698 ******** skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 14:45:47 -0400 (0:00:00.020) 0:00:28.718 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } 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_add_rm.yml:32 Wednesday 25 June 2025 14:45:47 -0400 (0:00:00.026) 0:00:28.745 ******** 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_add_rm.yml:36 Wednesday 25 June 2025 14:45:47 -0400 (0:00:00.027) 0:00:28.773 ******** 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:47 -0400 (0:00:00.046) 0:00:28.820 ******** changed: [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": true, "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 } changed: [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": true, "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:48 -0400 (0:00:00.853) 0:00:29.673 ******** 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:48 -0400 (0:00:00.066) 0:00:29.739 ******** 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:48 -0400 (0:00:00.034) 0:00:29.773 ******** 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:48 -0400 (0:00:00.023) 0:00:29.797 ******** 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:48 -0400 (0:00:00.017) 0:00:29.814 ******** 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:48 -0400 (0:00:00.016) 0:00:29.831 ******** 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:48 -0400 (0:00:00.047) 0:00:29.878 ******** 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:48 -0400 (0:00:00.021) 0:00:29.900 ******** 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:49 -0400 (0:00:00.688) 0:00:30.589 ******** 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_add_rm.yml:138 Wednesday 25 June 2025 14:45:49 -0400 (0:00:00.031) 0:00:30.620 ******** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" ], "delta": "0:00:00.018454", "end": "2025-06-25 14:45:48.905083", "failed_when_result": false, "item": 1, "rc": 0, "start": "2025-06-25 14:45:48.886629" } changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2" ], "delta": "0:00:00.011364", "end": "2025-06-25 14:45:49.210066", "failed_when_result": false, "item": 2, "rc": 0, "start": "2025-06-25 14:45:49.198702" } PLAY RECAP ********************************************************************* managed-node1 : ok=28 changed=5 unreachable=0 failed=1 skipped=15 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.9.27", "end_time": "2025-06-25T18:45:49.107971Z", "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:49.083907Z", "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:49 -0400 (0:00:00.555) 0:00:31.175 ******** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 21.68s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Gather architecture facts ----------------------------------------------- 0.97s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64 --- 0.85s /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.81s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.69s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Remove cloned kernels --------------------------------------------------- 0.56s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role --- 0.52s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.45s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.43s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.43s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default --- 0.42s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.41s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.34s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.29s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.29s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 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.28s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.28s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 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 Skip on s390x architecture ---------------------------------------------- 0.07s /tmp/collections-j6H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13