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-w8N/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-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:11 Saturday 25 October 2025 08:55:04 -0400 (0:00:00.025) 0:00:00.025 ****** included: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 25 October 2025 08:55:04 -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-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 25 October 2025 08:55:10 -0400 (0:00:06.537) 0:00:06.635 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 October 2025 08:55:10 -0400 (0:00:00.078) 0:00:06.713 ****** included: /tmp/collections-w8N/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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 October 2025 08:55:10 -0400 (0:00:00.029) 0:00:06.742 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 October 2025 08:55:10 -0400 (0:00:00.021) 0:00:06.764 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 October 2025 08:55:11 -0400 (0:00:00.390) 0:00:07.154 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 October 2025 08:55:11 -0400 (0:00:00.032) 0:00:07.187 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 October 2025 08:55:11 -0400 (0:00:00.051) 0:00:07.239 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 25 October 2025 08:55:11 -0400 (0:00:00.021) 0:00:07.260 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 25 October 2025 08:55:11 -0400 (0:00:00.047) 0:00:07.307 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 25 October 2025 08:55:12 -0400 (0:00:00.815) 0:00:08.123 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 25 October 2025 08:55:12 -0400 (0:00:00.264) 0:00:08.388 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 25 October 2025 08:55:12 -0400 (0:00:00.019) 0:00:08.408 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 25 October 2025 08:55:12 -0400 (0:00:00.018) 0:00:08.426 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 25 October 2025 08:55:12 -0400 (0:00:00.325) 0:00:08.752 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 25 October 2025 08:55:12 -0400 (0:00:00.028) 0:00:08.780 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396912.4497821, "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 25 October 2025 08:55:13 -0400 (0:00:00.284) 0:00:09.065 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1718880548.6646502, "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 25 October 2025 08:55:13 -0400 (0:00:00.282) 0:00:09.348 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003603", "end": "2025-10-25 08:55:13.827734", "rc": 0, "start": "2025-10-25 08:55:13.824131" } 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 25 October 2025 08:55:13 -0400 (0:00:00.410) 0:00:09.758 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 25 October 2025 08:55:13 -0400 (0:00:00.024) 0:00:09.783 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 25 October 2025 08:55:19 -0400 (0:00:05.450) 0:00:15.233 ****** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 25 October 2025 08:55:19 -0400 (0:00:00.278) 0:00:15.512 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 October 2025 08:55:20 -0400 (0:00:00.484) 0:00:15.996 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 25 October 2025 08:55:20 -0400 (0:00:00.030) 0:00:16.027 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 25 October 2025 08:55:20 -0400 (0:00:00.025) 0:00:16.052 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 25 October 2025 08:55:20 -0400 (0:00:00.025) 0:00:16.078 ****** 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", "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-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 25 October 2025 08:55:20 -0400 (0:00:00.428) 0:00:16.506 ****** 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", "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-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Saturday 25 October 2025 08:55:20 -0400 (0:00:00.031) 0:00:16.537 ****** included: /tmp/collections-w8N/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-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 25 October 2025 08:55:20 -0400 (0:00:00.044) 0:00:16.582 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 25 October 2025 08:55:21 -0400 (0:00:00.830) 0:00:17.412 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 October 2025 08:55:21 -0400 (0:00:00.075) 0:00:17.488 ****** included: /tmp/collections-w8N/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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 October 2025 08:55:21 -0400 (0:00:00.035) 0:00:17.523 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 October 2025 08:55:21 -0400 (0:00:00.027) 0:00:17.551 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 October 2025 08:55:21 -0400 (0:00:00.022) 0:00:17.573 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 October 2025 08:55:21 -0400 (0:00:00.023) 0:00:17.597 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 October 2025 08:55:21 -0400 (0:00:00.052) 0:00:17.649 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 25 October 2025 08:55:21 -0400 (0:00:00.018) 0:00:17.668 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 25 October 2025 08:55:21 -0400 (0:00:00.048) 0:00:17.716 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 25 October 2025 08:55:22 -0400 (0:00:00.628) 0:00:18.345 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396912.4497821, "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 25 October 2025 08:55:22 -0400 (0:00:00.292) 0:00:18.638 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 25 October 2025 08:55:22 -0400 (0:00:00.023) 0:00:18.661 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 25 October 2025 08:55:22 -0400 (0:00:00.025) 0:00:18.687 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 25 October 2025 08:55:23 -0400 (0:00:00.290) 0:00:18.977 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 25 October 2025 08:55:23 -0400 (0:00:00.047) 0:00:19.025 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396912.4497821, "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 25 October 2025 08:55:23 -0400 (0:00:00.292) 0:00:19.318 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396913.4067783, "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 25 October 2025 08:55:23 -0400 (0:00:00.289) 0:00:19.608 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003808", "end": "2025-10-25 08:55:23.976793", "rc": 0, "start": "2025-10-25 08:55:23.972985" } 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 25 October 2025 08:55:24 -0400 (0:00:00.306) 0:00:19.914 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 25 October 2025 08:55:24 -0400 (0:00:00.034) 0:00:19.948 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 25 October 2025 08:55:24 -0400 (0:00:00.312) 0:00:20.261 ****** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 25 October 2025 08:55:24 -0400 (0:00:00.308) 0:00:20.570 ****** 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 --initrd=/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default --make-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 October 2025 08:55:25 -0400 (0:00:00.571) 0:00:21.141 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 25 October 2025 08:55:25 -0400 (0:00:00.028) 0:00:21.169 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 25 October 2025 08:55:25 -0400 (0:00:00.025) 0:00:21.194 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 25 October 2025 08:55:25 -0400 (0:00:00.053) 0:00:21.247 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 25 October 2025 08:55:25 -0400 (0:00:00.020) 0:00:21.268 ****** 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.015861", "end": "2025-10-25 08:55:25.643874", "rc": 0, "start": "2025-10-25 08:55:25.628013" } 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 25 October 2025 08:55:25 -0400 (0:00:00.302) 0:00:21.571 ****** included: /tmp/collections-w8N/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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 25 October 2025 08:55:25 -0400 (0:00:00.030) 0:00:21.601 ****** changed: [managed-node1] => { "changed": true, "elapsed": 20, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 25 October 2025 08:55:47 -0400 (0:00:21.396) 0:00:42.998 ****** skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 25 October 2025 08:55:47 -0400 (0:00:00.026) 0:00:43.025 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 25 October 2025 08:55:47 -0400 (0:00:00.031) 0:00:43.057 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 25 October 2025 08:55:47 -0400 (0:00:00.024) 0:00:43.081 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 October 2025 08:55:47 -0400 (0:00:00.061) 0:00:43.142 ****** included: /tmp/collections-w8N/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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 October 2025 08:55:47 -0400 (0:00:00.027) 0:00:43.169 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 October 2025 08:55:47 -0400 (0:00:00.018) 0:00:43.189 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 October 2025 08:55:47 -0400 (0:00:00.023) 0:00:43.212 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 October 2025 08:55:47 -0400 (0:00:00.023) 0:00:43.236 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 October 2025 08:55:47 -0400 (0:00:00.074) 0:00:43.310 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 25 October 2025 08:55:47 -0400 (0:00:00.024) 0:00:43.335 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 25 October 2025 08:55:47 -0400 (0:00:00.038) 0:00:43.373 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 25 October 2025 08:55:48 -0400 (0:00:00.705) 0:00:44.078 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396925.6427317, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1761396925.6427317, "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": 1761396925.6427317, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744072980890686", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 25 October 2025 08:55:48 -0400 (0:00:00.301) 0:00:44.380 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 25 October 2025 08:55:48 -0400 (0:00:00.031) 0:00:44.412 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 25 October 2025 08:55:48 -0400 (0:00:00.025) 0:00:44.438 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 25 October 2025 08:55:48 -0400 (0:00:00.270) 0:00:44.708 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 25 October 2025 08:55:48 -0400 (0:00:00.030) 0:00:44.739 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396947.6399, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1761396925.6427317, "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": 1761396925.6427317, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744072980890686", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 25 October 2025 08:55:49 -0400 (0:00:00.280) 0:00:45.019 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396925.6307318, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1761396925.1987333, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1761396925.1987333, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "18446744072980890680", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 25 October 2025 08:55:49 -0400 (0:00:00.297) 0:00:45.317 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004060", "end": "2025-10-25 08:55:48.916205", "rc": 0, "start": "2025-10-25 08:55:48.912145" } 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 25 October 2025 08:55:49 -0400 (0:00:00.301) 0:00:45.619 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 25 October 2025 08:55:49 -0400 (0:00:00.023) 0:00:45.642 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 25 October 2025 08:55:50 -0400 (0:00:00.289) 0:00:45.932 ****** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 25 October 2025 08:55:50 -0400 (0:00:00.269) 0:00:46.201 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 October 2025 08:55:50 -0400 (0:00:00.261) 0:00:46.463 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 25 October 2025 08:55:50 -0400 (0:00:00.021) 0:00:46.484 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 25 October 2025 08:55:50 -0400 (0:00:00.019) 0:00:46.504 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 25 October 2025 08:55:50 -0400 (0:00:00.017) 0:00:46.521 ****** 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_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "Clone1" }, { "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.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": "2", "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": "3", "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": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Clone again to check idempotency] **************************************** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Saturday 25 October 2025 08:55:50 -0400 (0:00:00.273) 0:00:46.795 ****** included: /tmp/collections-w8N/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-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 25 October 2025 08:55:50 -0400 (0:00:00.039) 0:00:46.834 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 25 October 2025 08:55:51 -0400 (0:00:00.668) 0:00:47.503 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 October 2025 08:55:51 -0400 (0:00:00.033) 0:00:47.536 ****** included: /tmp/collections-w8N/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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 October 2025 08:55:51 -0400 (0:00:00.028) 0:00:47.565 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 October 2025 08:55:51 -0400 (0:00:00.020) 0:00:47.585 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 October 2025 08:55:51 -0400 (0:00:00.019) 0:00:47.605 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 October 2025 08:55:51 -0400 (0:00:00.017) 0:00:47.622 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 October 2025 08:55:51 -0400 (0:00:00.046) 0:00:47.669 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 25 October 2025 08:55:51 -0400 (0:00:00.017) 0:00:47.687 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 25 October 2025 08:55:51 -0400 (0:00:00.044) 0:00:47.732 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 25 October 2025 08:55:52 -0400 (0:00:00.544) 0:00:48.277 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396947.6399, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1761396925.6427317, "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": 1761396925.6427317, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744072980890686", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 25 October 2025 08:55:52 -0400 (0:00:00.269) 0:00:48.546 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 25 October 2025 08:55:52 -0400 (0:00:00.020) 0:00:48.567 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 25 October 2025 08:55:52 -0400 (0:00:00.017) 0:00:48.585 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 25 October 2025 08:55:52 -0400 (0:00:00.248) 0:00:48.833 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 25 October 2025 08:55:52 -0400 (0:00:00.031) 0:00:48.865 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396947.6399, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1761396925.6427317, "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": 1761396925.6427317, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744072980890686", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 25 October 2025 08:55:53 -0400 (0:00:00.292) 0:00:49.157 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396925.6307318, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1761396925.1987333, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1761396925.1987333, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "18446744072980890680", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 25 October 2025 08:55:53 -0400 (0:00:00.280) 0:00:49.437 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003941", "end": "2025-10-25 08:55:53.341063", "rc": 0, "start": "2025-10-25 08:55:53.337122" } 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 25 October 2025 08:55:53 -0400 (0:00:00.261) 0:00:49.698 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 25 October 2025 08:55:53 -0400 (0:00:00.023) 0:00:49.722 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 25 October 2025 08:55:54 -0400 (0:00:00.260) 0:00:49.982 ****** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 25 October 2025 08:55:54 -0400 (0:00:00.258) 0:00:50.241 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 October 2025 08:55:54 -0400 (0:00:00.284) 0:00:50.525 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 25 October 2025 08:55:54 -0400 (0:00:00.020) 0:00:50.545 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 25 October 2025 08:55:54 -0400 (0:00:00.017) 0:00:50.563 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 25 October 2025 08:55:54 -0400 (0:00:00.019) 0:00:50.582 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 25 October 2025 08:55:54 -0400 (0:00:00.017) 0:00:50.600 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 25 October 2025 08:55:54 -0400 (0:00:00.021) 0:00:50.622 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 October 2025 08:55:54 -0400 (0:00:00.057) 0:00:50.680 ****** included: /tmp/collections-w8N/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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 October 2025 08:55:54 -0400 (0:00:00.062) 0:00:50.742 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 October 2025 08:55:54 -0400 (0:00:00.022) 0:00:50.764 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 October 2025 08:55:54 -0400 (0:00:00.018) 0:00:50.783 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 October 2025 08:55:54 -0400 (0:00:00.019) 0:00:50.803 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 October 2025 08:55:54 -0400 (0:00:00.045) 0:00:50.848 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 25 October 2025 08:55:54 -0400 (0:00:00.019) 0:00:50.867 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 25 October 2025 08:55:55 -0400 (0:00:00.032) 0:00:50.900 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 25 October 2025 08:55:55 -0400 (0:00:00.539) 0:00:51.439 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396947.6399, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1761396925.6427317, "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": 1761396925.6427317, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744072980890686", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 25 October 2025 08:55:55 -0400 (0:00:00.268) 0:00:51.708 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 25 October 2025 08:55:55 -0400 (0:00:00.021) 0:00:51.730 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 25 October 2025 08:55:55 -0400 (0:00:00.019) 0:00:51.749 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 25 October 2025 08:55:56 -0400 (0:00:00.255) 0:00:52.005 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 25 October 2025 08:55:56 -0400 (0:00:00.030) 0:00:52.036 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396947.6399, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1761396925.6427317, "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": 1761396925.6427317, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744072980890686", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 25 October 2025 08:55:56 -0400 (0:00:00.271) 0:00:52.307 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396925.6307318, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1761396925.1987333, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1761396925.1987333, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "18446744072980890680", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 25 October 2025 08:55:56 -0400 (0:00:00.270) 0:00:52.577 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003939", "end": "2025-10-25 08:55:56.746834", "rc": 0, "start": "2025-10-25 08:55:56.742895" } 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 25 October 2025 08:55:56 -0400 (0:00:00.262) 0:00:52.840 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 25 October 2025 08:55:56 -0400 (0:00:00.023) 0:00:52.864 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 25 October 2025 08:55:57 -0400 (0:00:00.260) 0:00:53.125 ****** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 25 October 2025 08:55:57 -0400 (0:00:00.262) 0:00:53.388 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 October 2025 08:55:57 -0400 (0:00:00.249) 0:00:53.637 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 25 October 2025 08:55:57 -0400 (0:00:00.019) 0:00:53.656 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 25 October 2025 08:55:57 -0400 (0:00:00.019) 0:00:53.675 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 25 October 2025 08:55:57 -0400 (0:00:00.017) 0:00:53.693 ****** 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_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "Clone1" }, { "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.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": "2", "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": "3", "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": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings for Clone1] ********************************************** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Saturday 25 October 2025 08:55:58 -0400 (0:00:00.270) 0:00:53.964 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Saturday 25 October 2025 08:55:58 -0400 (0:00:00.032) 0:00:53.996 ****** included: /tmp/collections-w8N/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-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 25 October 2025 08:55:58 -0400 (0:00:00.041) 0:00:54.037 ****** changed: [managed-node1] => (item={u'dest': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2', 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_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "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_clone2', 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_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2", "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 Clone2] **************************************************** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 25 October 2025 08:55:58 -0400 (0:00:00.634) 0:00:54.671 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 October 2025 08:55:58 -0400 (0:00:00.034) 0:00:54.705 ****** included: /tmp/collections-w8N/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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 October 2025 08:55:58 -0400 (0:00:00.028) 0:00:54.734 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 October 2025 08:55:58 -0400 (0:00:00.020) 0:00:54.755 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 October 2025 08:55:58 -0400 (0:00:00.019) 0:00:54.774 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 October 2025 08:55:58 -0400 (0:00:00.017) 0:00:54.792 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 October 2025 08:55:58 -0400 (0:00:00.045) 0:00:54.838 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 25 October 2025 08:55:58 -0400 (0:00:00.017) 0:00:54.855 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 25 October 2025 08:55:59 -0400 (0:00:00.045) 0:00:54.900 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 25 October 2025 08:55:59 -0400 (0:00:00.542) 0:00:55.443 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396947.6399, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1761396925.6427317, "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": 1761396925.6427317, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744072980890686", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 25 October 2025 08:55:59 -0400 (0:00:00.267) 0:00:55.710 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 25 October 2025 08:55:59 -0400 (0:00:00.021) 0:00:55.731 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 25 October 2025 08:55:59 -0400 (0:00:00.017) 0:00:55.749 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 25 October 2025 08:56:00 -0400 (0:00:00.250) 0:00:56.000 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 25 October 2025 08:56:00 -0400 (0:00:00.032) 0:00:56.032 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396947.6399, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1761396925.6427317, "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": 1761396925.6427317, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744072980890686", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 25 October 2025 08:56:00 -0400 (0:00:00.273) 0:00:56.306 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396925.6307318, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1761396925.1987333, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1761396925.1987333, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "18446744072980890680", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 25 October 2025 08:56:00 -0400 (0:00:00.272) 0:00:56.578 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003674", "end": "2025-10-25 08:56:00.908977", "rc": 0, "start": "2025-10-25 08:56:00.905303" } 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 25 October 2025 08:56:00 -0400 (0:00:00.259) 0:00:56.837 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 25 October 2025 08:56:00 -0400 (0:00:00.022) 0:00:56.860 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 25 October 2025 08:56:01 -0400 (0:00:00.262) 0:00:57.122 ****** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 25 October 2025 08:56:01 -0400 (0:00:00.262) 0:00:57.385 ****** 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 --initrd=/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 October 2025 08:56:01 -0400 (0:00:00.300) 0:00:57.685 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 25 October 2025 08:56:01 -0400 (0:00:00.022) 0:00:57.708 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 25 October 2025 08:56:01 -0400 (0:00:00.018) 0:00:57.726 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 25 October 2025 08:56:01 -0400 (0:00:00.020) 0:00:57.746 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 25 October 2025 08:56:01 -0400 (0:00:00.014) 0:00:57.761 ****** 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.016730", "end": "2025-10-25 08:56:02.113309", "rc": 0, "start": "2025-10-25 08:56:02.096579" } 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="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel" 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 25 October 2025 08:56:02 -0400 (0:00:00.279) 0:00:58.040 ****** included: /tmp/collections-w8N/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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 25 October 2025 08:56:02 -0400 (0:00:00.022) 0:00:58.062 ****** changed: [managed-node1] => { "changed": true, "elapsed": 20, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 25 October 2025 08:56:23 -0400 (0:00:21.533) 0:01:19.596 ****** skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 25 October 2025 08:56:23 -0400 (0:00:00.022) 0:01:19.618 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 25 October 2025 08:56:23 -0400 (0:00:00.026) 0:01:19.645 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 25 October 2025 08:56:23 -0400 (0:00:00.021) 0:01:19.667 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 October 2025 08:56:23 -0400 (0:00:00.066) 0:01:19.733 ****** included: /tmp/collections-w8N/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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 October 2025 08:56:23 -0400 (0:00:00.033) 0:01:19.767 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 October 2025 08:56:23 -0400 (0:00:00.020) 0:01:19.787 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 October 2025 08:56:23 -0400 (0:00:00.017) 0:01:19.804 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 October 2025 08:56:23 -0400 (0:00:00.017) 0:01:19.822 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 October 2025 08:56:23 -0400 (0:00:00.044) 0:01:19.866 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 25 October 2025 08:56:23 -0400 (0:00:00.017) 0:01:19.884 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 25 October 2025 08:56:24 -0400 (0:00:00.032) 0:01:19.917 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 25 October 2025 08:56:24 -0400 (0:00:00.687) 0:01:20.604 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396962.1121519, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1761396962.1121519, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1761396962.1121519, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "2002114798", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 25 October 2025 08:56:24 -0400 (0:00:00.281) 0:01:20.885 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 25 October 2025 08:56:25 -0400 (0:00:00.020) 0:01:20.906 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 25 October 2025 08:56:25 -0400 (0:00:00.019) 0:01:20.925 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 25 October 2025 08:56:25 -0400 (0:00:00.246) 0:01:21.171 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 25 October 2025 08:56:25 -0400 (0:00:00.032) 0:01:21.203 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396985.1030254, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1761396962.1121519, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1761396962.1121519, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "2002114798", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 25 October 2025 08:56:25 -0400 (0:00:00.265) 0:01:21.468 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396962.1001554, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8fe5962fc8399d68cc1b8c59a5473cbb4f0072aa", "ctime": 1761396961.7532551, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 139099, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1761396961.7532551, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 6046, "uid": 0, "version": "2002114791", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 25 October 2025 08:56:25 -0400 (0:00:00.273) 0:01:21.742 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004023", "end": "2025-10-25 08:56:26.243181", "rc": 0, "start": "2025-10-25 08:56:26.239158" } 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 25 October 2025 08:56:26 -0400 (0:00:00.265) 0:01:22.008 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 25 October 2025 08:56:26 -0400 (0:00:00.022) 0:01:22.031 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 25 October 2025 08:56:26 -0400 (0:00:00.261) 0:01:22.292 ****** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 25 October 2025 08:56:26 -0400 (0:00:00.264) 0:01:22.557 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 October 2025 08:56:26 -0400 (0:00:00.261) 0:01:22.818 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 25 October 2025 08:56:26 -0400 (0:00:00.020) 0:01:22.839 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 25 October 2025 08:56:26 -0400 (0:00:00.017) 0:01:22.857 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 25 October 2025 08:56:26 -0400 (0:00:00.018) 0:01:22.876 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "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": "3", "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": "4", "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": "5", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings for Clone2] ********************************************** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Saturday 25 October 2025 08:56:27 -0400 (0:00:00.277) 0:01:23.153 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 25 October 2025 08:56:27 -0400 (0:00:00.030) 0:01:23.183 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 October 2025 08:56:27 -0400 (0:00:00.051) 0:01:23.235 ****** included: /tmp/collections-w8N/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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 October 2025 08:56:27 -0400 (0:00:00.064) 0:01:23.300 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 October 2025 08:56:27 -0400 (0:00:00.022) 0:01:23.322 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 October 2025 08:56:27 -0400 (0:00:00.018) 0:01:23.340 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 October 2025 08:56:27 -0400 (0:00:00.018) 0:01:23.359 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 October 2025 08:56:27 -0400 (0:00:00.047) 0:01:23.406 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 25 October 2025 08:56:27 -0400 (0:00:00.018) 0:01:23.425 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 25 October 2025 08:56:27 -0400 (0:00:00.035) 0:01:23.460 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 25 October 2025 08:56:28 -0400 (0:00:00.549) 0:01:24.009 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396985.1030254, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1761396962.1121519, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1761396962.1121519, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "2002114798", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 25 October 2025 08:56:28 -0400 (0:00:00.270) 0:01:24.279 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 25 October 2025 08:56:28 -0400 (0:00:00.020) 0:01:24.300 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 25 October 2025 08:56:28 -0400 (0:00:00.020) 0:01:24.320 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 25 October 2025 08:56:28 -0400 (0:00:00.255) 0:01:24.576 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 25 October 2025 08:56:28 -0400 (0:00:00.031) 0:01:24.608 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396985.1030254, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1761396962.1121519, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1761396962.1121519, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "2002114798", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 25 October 2025 08:56:28 -0400 (0:00:00.268) 0:01:24.876 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396962.1001554, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8fe5962fc8399d68cc1b8c59a5473cbb4f0072aa", "ctime": 1761396961.7532551, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 139099, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1761396961.7532551, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 6046, "uid": 0, "version": "2002114791", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 25 October 2025 08:56:29 -0400 (0:00:00.276) 0:01:25.153 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004011", "end": "2025-10-25 08:56:29.502337", "rc": 0, "start": "2025-10-25 08:56:29.498326" } 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 25 October 2025 08:56:29 -0400 (0:00:00.281) 0:01:25.434 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 25 October 2025 08:56:29 -0400 (0:00:00.024) 0:01:25.458 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 25 October 2025 08:56:29 -0400 (0:00:00.258) 0:01:25.716 ****** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 25 October 2025 08:56:30 -0400 (0:00:00.261) 0:01:25.978 ****** fatal: [managed-node1]: FAILED! => { "changed": false } MSG: Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1, /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2 TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Saturday 25 October 2025 08:56:30 -0400 (0:00:00.260) 0:01:26.238 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Saturday 25 October 2025 08:56:30 -0400 (0:00:00.023) 0:01:26.261 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 October 2025 08:56:30 -0400 (0:00:00.083) 0:01:26.344 ****** included: /tmp/collections-w8N/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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 October 2025 08:56:30 -0400 (0:00:00.027) 0:01:26.372 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 October 2025 08:56:30 -0400 (0:00:00.021) 0:01:26.393 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 October 2025 08:56:30 -0400 (0:00:00.018) 0:01:26.411 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 October 2025 08:56:30 -0400 (0:00:00.018) 0:01:26.430 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 October 2025 08:56:30 -0400 (0:00:00.043) 0:01:26.474 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 25 October 2025 08:56:30 -0400 (0:00:00.018) 0:01:26.492 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 25 October 2025 08:56:30 -0400 (0:00:00.036) 0:01:26.529 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 25 October 2025 08:56:31 -0400 (0:00:00.540) 0:01:27.069 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396985.1030254, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1761396962.1121519, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1761396962.1121519, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "2002114798", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 25 October 2025 08:56:31 -0400 (0:00:00.268) 0:01:27.338 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 25 October 2025 08:56:31 -0400 (0:00:00.021) 0:01:27.359 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 25 October 2025 08:56:31 -0400 (0:00:00.020) 0:01:27.380 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 25 October 2025 08:56:31 -0400 (0:00:00.248) 0:01:27.629 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 25 October 2025 08:56:31 -0400 (0:00:00.031) 0:01:27.660 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396985.1030254, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1761396962.1121519, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1761396962.1121519, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "2002114798", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 25 October 2025 08:56:32 -0400 (0:00:00.273) 0:01:27.934 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396962.1001554, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8fe5962fc8399d68cc1b8c59a5473cbb4f0072aa", "ctime": 1761396961.7532551, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 139099, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1761396961.7532551, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 6046, "uid": 0, "version": "2002114791", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 25 October 2025 08:56:32 -0400 (0:00:00.267) 0:01:28.201 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003711", "end": "2025-10-25 08:56:32.537328", "rc": 0, "start": "2025-10-25 08:56:32.533617" } 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 25 October 2025 08:56:32 -0400 (0:00:00.265) 0:01:28.467 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 25 October 2025 08:56:32 -0400 (0:00:00.023) 0:01:28.491 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 25 October 2025 08:56:32 -0400 (0:00:00.262) 0:01:28.753 ****** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 25 October 2025 08:56:33 -0400 (0:00:00.259) 0:01:29.013 ****** 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 --remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 October 2025 08:56:34 -0400 (0:00:01.035) 0:01:30.048 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 25 October 2025 08:56:34 -0400 (0:00:00.020) 0:01:30.069 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 25 October 2025 08:56:34 -0400 (0:00:00.019) 0:01:30.088 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 25 October 2025 08:56:34 -0400 (0:00:00.017) 0:01:30.106 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "1", "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": "2", "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": "3", "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": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Saturday 25 October 2025 08:56:34 -0400 (0:00:00.270) 0:01:30.377 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 October 2025 08:56:34 -0400 (0:00:00.099) 0:01:30.476 ****** included: /tmp/collections-w8N/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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 October 2025 08:56:34 -0400 (0:00:00.028) 0:01:30.505 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 October 2025 08:56:34 -0400 (0:00:00.020) 0:01:30.525 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 October 2025 08:56:34 -0400 (0:00:00.018) 0:01:30.543 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 October 2025 08:56:34 -0400 (0:00:00.017) 0:01:30.561 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 October 2025 08:56:34 -0400 (0:00:00.043) 0:01:30.605 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 25 October 2025 08:56:34 -0400 (0:00:00.017) 0:01:30.622 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 25 October 2025 08:56:34 -0400 (0:00:00.033) 0:01:30.656 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 25 October 2025 08:56:35 -0400 (0:00:00.544) 0:01:31.200 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396985.1030254, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1761396962.1121519, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1761396962.1121519, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "2002114798", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 25 October 2025 08:56:35 -0400 (0:00:00.269) 0:01:31.470 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 25 October 2025 08:56:35 -0400 (0:00:00.020) 0:01:31.491 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 25 October 2025 08:56:35 -0400 (0:00:00.018) 0:01:31.509 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 25 October 2025 08:56:35 -0400 (0:00:00.251) 0:01:31.761 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 25 October 2025 08:56:35 -0400 (0:00:00.030) 0:01:31.791 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396985.1030254, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1761396962.1121519, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1761396962.1121519, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "2002114798", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 25 October 2025 08:56:36 -0400 (0:00:00.265) 0:01:32.057 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1761396994.43638, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dd4a829b9057a88b4d1c0d9b50cfc16c28a1c3b5", "ctime": 1761396994.116382, "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": 1761396994.116382, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5233, "uid": 0, "version": "18446744073232077899", "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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 25 October 2025 08:56:36 -0400 (0:00:00.271) 0:01:32.329 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004894", "end": "2025-10-25 08:56:36.681505", "rc": 0, "start": "2025-10-25 08:56:36.676611" } 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 25 October 2025 08:56:36 -0400 (0:00:00.280) 0:01:32.609 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 25 October 2025 08:56:36 -0400 (0:00:00.024) 0:01:32.633 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 25 October 2025 08:56:37 -0400 (0:00:00.264) 0:01:32.898 ****** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 25 October 2025 08:56:37 -0400 (0:00:00.258) 0:01:33.157 ****** 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 --remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 October 2025 08:56:37 -0400 (0:00:00.291) 0:01:33.448 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 25 October 2025 08:56:37 -0400 (0:00:00.020) 0:01:33.468 ****** 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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 25 October 2025 08:56:37 -0400 (0:00:00.019) 0:01:33.488 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 25 October 2025 08:56:37 -0400 (0:00:00.018) 0:01:33.506 ****** 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", "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 } TASK [Verify that kernel is removed {{ item }}] ******************************** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Saturday 25 October 2025 08:56:37 -0400 (0:00:00.278) 0:01:33.785 ****** ok: [managed-node1] => (item=Clone1) => { "ansible_loop_var": "item", "changed": false, "item": "Clone1" } MSG: All assertions passed ok: [managed-node1] => (item=Clone2) => { "ansible_loop_var": "item", "changed": false, "item": "Clone2" } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Saturday 25 October 2025 08:56:37 -0400 (0:00:00.039) 0:01:33.825 ****** 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.013648", "end": "2025-10-25 08:56:38.178590", "failed_when_result": false, "item": 1, "rc": 0, "start": "2025-10-25 08:56:38.164942" } 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.013801", "end": "2025-10-25 08:56:38.444961", "failed_when_result": false, "item": 2, "rc": 0, "start": "2025-10-25 08:56:38.431160" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 25 October 2025 08:56:38 -0400 (0:00:00.546) 0:01:34.371 ****** 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.015672", "end": "2025-10-25 08:56:38.729926", "rc": 0, "start": "2025-10-25 08:56:38.714254" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" 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" 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" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 25 October 2025 08:56:38 -0400 (0:00:00.282) 0:01:34.654 ****** included: /tmp/collections-w8N/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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 25 October 2025 08:56:38 -0400 (0:00:00.021) 0:01:34.676 ****** changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 25 October 2025 08:57:01 -0400 (0:00:22.494) 0:01:57.170 ****** skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 25 October 2025 08:57:01 -0400 (0:00:00.018) 0:01:57.188 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 25 October 2025 08:57:01 -0400 (0:00:00.022) 0:01:57.210 ****** 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.025668", "end": "2025-10-25 08:57:01.280856", "rc": 0, "start": "2025-10-25 08:57:01.255188" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" 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" 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" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 25 October 2025 08:57:01 -0400 (0:00:00.304) 0:01:57.515 ****** included: /tmp/collections-w8N/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-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 25 October 2025 08:57:01 -0400 (0:00:00.020) 0:01:57.536 ****** changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 25 October 2025 08:57:23 -0400 (0:00:22.171) 0:02:19.707 ****** skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 25 October 2025 08:57:23 -0400 (0:00:00.018) 0:02:19.725 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=150 changed=15 unreachable=0 failed=0 skipped=122 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.9.27", "end_time": "2025-10-25T12:56:30.349400Z", "host": "managed-node1", "message": "Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1, /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "start_time": "2025-10-25T12:56:30.093983Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 25 October 2025 08:57:23 -0400 (0:00:00.023) 0:02:19.749 ****** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 22.49s /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 22.17s /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 21.53s /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 21.40s /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Gather architecture facts ----------------------------------------------- 6.54s /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 6.26s /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.75s /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.72s /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.26s /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 1.25s /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 1.24s /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.16s /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 1.12s /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.12s /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.10s /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 fedora.linux_system_roles.bootloader : Determine platform type ---------- 1.10s /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 1.08s /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.04s /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.86s /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.84s /tmp/collections-w8N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77