ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_settings.yml *************************************************** 1 plays in /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml PLAY [Test bootloader_settings variable] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:3 Saturday 22 August 2026 12:50:27 -0400 (0:00:00.037) 0:00:00.037 ******* ok: [managed-node2] META: ran handlers TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:10 Saturday 22 August 2026 12:50:28 -0400 (0:00:00.949) 0:00:00.986 ******* included: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node2 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 22 August 2026 12:50:28 -0400 (0:00:00.090) 0:00:01.077 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:15 Saturday 22 August 2026 12:50:28 -0400 (0:00:00.056) 0:00:01.134 ******* included: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:23 Saturday 22 August 2026 12:50:28 -0400 (0:00:00.029) 0:00:01.164 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:33 Saturday 22 August 2026 12:50:28 -0400 (0:00:00.018) 0:00:01.182 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 22 August 2026 12:50:28 -0400 (0:00:00.100) 0:00:01.283 ******* included: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 22 August 2026 12:50:28 -0400 (0:00:00.036) 0:00:01.319 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.bootloader : Record role begin fingerprint] **** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Saturday 22 August 2026 12:50:29 -0400 (0:00:00.437) 0:00:01.757 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T12:50:29+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader", "status": "begin" } } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:21 Saturday 22 August 2026 12:50:29 -0400 (0:00:00.373) 0:00:02.130 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:26 Saturday 22 August 2026 12:50:30 -0400 (0:00:00.390) 0:00:02.521 ******* ok: [managed-node2] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:30 Saturday 22 August 2026 12:50:30 -0400 (0:00:00.033) 0:00:02.554 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 22 August 2026 12:50:30 -0400 (0:00:00.053) 0:00:02.608 ******* skipping: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 22 August 2026 12:50:30 -0400 (0:00:00.017) 0:00:02.625 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 22 August 2026 12:50:30 -0400 (0:00:00.033) 0:00:02.659 ******* ok: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 22 August 2026 12:50:31 -0400 (0:00:00.952) 0:00:03.612 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1787417395.1169927, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 66305, "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 22 August 2026 12:50:31 -0400 (0:00:00.279) 0:00:03.892 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 22 August 2026 12:50:31 -0400 (0:00:00.023) 0:00:03.915 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 22 August 2026 12:50:31 -0400 (0:00:00.015) 0:00:03.931 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 22 August 2026 12:50:31 -0400 (0:00:00.262) 0:00:04.194 ******* ok: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 22 August 2026 12:50:31 -0400 (0:00:00.034) 0:00:04.229 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1787417395.1169927, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 66305, "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 22 August 2026 12:50:32 -0400 (0:00:00.299) 0:00:04.528 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1787417405.754112, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1787417396.8710124, "dev": 66305, "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": "0600", "mtime": 1718880548.6706502, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 22 August 2026 12:50:32 -0400 (0:00:00.295) 0:00:04.824 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004082", "end": "2026-08-22 12:50:32.746854", "rc": 0, "start": "2026-08-22 12:50:32.742772" } 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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 22 August 2026 12:50:32 -0400 (0:00:00.451) 0:00:05.275 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure secure permissions for bootloader grub config] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 22 August 2026 12:50:32 -0400 (0:00:00.024) 0:00:05.299 ******* ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/boot/grub2/grub.cfg", "secontext": "system_u:object_r:boot_t:s0", "size": 5032, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.bootloader : Update timeout configuration in /etc/default/grub] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:109 Saturday 22 August 2026 12:50:33 -0400 (0:00:00.458) 0:00:05.758 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:116 Saturday 22 August 2026 12:50:33 -0400 (0:00:00.018) 0:00:05.777 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:123 Saturday 22 August 2026 12:50:33 -0400 (0:00:00.015) 0:00:05.792 ******* ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Saturday 22 August 2026 12:50:33 -0400 (0:00:00.479) 0:00:06.272 ******* skipping: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:145 Saturday 22 August 2026 12:50:33 -0400 (0:00:00.023) 0:00:06.296 ******* skipping: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:153 Saturday 22 August 2026 12:50:33 -0400 (0:00:00.022) 0:00:06.318 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:160 Saturday 22 August 2026 12:50:33 -0400 (0:00:00.019) 0:00:06.338 ******* ok: [managed-node2] => { "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 [fedora.linux_system_roles.bootloader : Set bootloader_facts variable] **** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:166 Saturday 22 August 2026 12:50:34 -0400 (0:00:00.439) 0:00:06.778 ******* ok: [managed-node2] => { "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 [fedora.linux_system_roles.bootloader : Record role success fingerprint] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:171 Saturday 22 August 2026 12:50:34 -0400 (0:00:00.024) 0:00:06.802 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T12:50:34+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader", "status": "success" } } META: end_host conditional evaluated to false, continuing execution for managed-node2 META: ran handlers TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:30 Saturday 22 August 2026 12:50:34 -0400 (0:00:00.302) 0:00:07.105 ******* ok: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:34 Saturday 22 August 2026 12:50:34 -0400 (0:00:00.027) 0:00:07.133 ******* included: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node2 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 22 August 2026 12:50:34 -0400 (0:00:00.037) 0:00:07.171 ******* changed: [managed-node2] => (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-node2] => (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-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 22 August 2026 12:50:35 -0400 (0:00:00.841) 0:00:08.012 ******* included: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:23 Saturday 22 August 2026 12:50:35 -0400 (0:00:00.028) 0:00:08.041 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:33 Saturday 22 August 2026 12:50:35 -0400 (0:00:00.015) 0:00:08.057 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 22 August 2026 12:50:35 -0400 (0:00:00.037) 0:00:08.094 ******* included: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 22 August 2026 12:50:35 -0400 (0:00:00.026) 0:00:08.121 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.bootloader : Record role begin fingerprint] **** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Saturday 22 August 2026 12:50:36 -0400 (0:00:00.437) 0:00:08.559 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T12:50:36+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader", "status": "begin" } } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:21 Saturday 22 August 2026 12:50:36 -0400 (0:00:00.272) 0:00:08.831 ******* skipping: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:26 Saturday 22 August 2026 12:50:36 -0400 (0:00:00.023) 0:00:08.855 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:30 Saturday 22 August 2026 12:50:36 -0400 (0:00:00.025) 0:00:08.880 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 22 August 2026 12:50:36 -0400 (0:00:00.049) 0:00:08.930 ******* skipping: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 22 August 2026 12:50:36 -0400 (0:00:00.023) 0:00:08.954 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 22 August 2026 12:50:36 -0400 (0:00:00.051) 0:00:09.005 ******* ok: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 22 August 2026 12:50:37 -0400 (0:00:00.818) 0:00:09.824 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1787417395.1169927, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 66305, "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 22 August 2026 12:50:37 -0400 (0:00:00.285) 0:00:10.109 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 22 August 2026 12:50:37 -0400 (0:00:00.028) 0:00:10.138 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 22 August 2026 12:50:37 -0400 (0:00:00.025) 0:00:10.164 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 22 August 2026 12:50:37 -0400 (0:00:00.278) 0:00:10.442 ******* ok: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 22 August 2026 12:50:37 -0400 (0:00:00.028) 0:00:10.471 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1787417395.1169927, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 66305, "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 22 August 2026 12:50:38 -0400 (0:00:00.306) 0:00:10.777 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1787417405.754112, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1787417396.8710124, "dev": 66305, "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": "0600", "mtime": 1718880548.6706502, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 22 August 2026 12:50:38 -0400 (0:00:00.286) 0:00:11.064 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004088", "end": "2026-08-22 12:50:38.813149", "rc": 0, "start": "2026-08-22 12:50:38.809061" } 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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 22 August 2026 12:50:38 -0400 (0:00:00.271) 0:00:11.335 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure secure permissions for bootloader grub config] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 22 August 2026 12:50:38 -0400 (0:00:00.018) 0:00:11.354 ******* ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/boot/grub2/grub.cfg", "secontext": "system_u:object_r:boot_t:s0", "size": 5032, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.bootloader : Update timeout configuration in /etc/default/grub] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:109 Saturday 22 August 2026 12:50:39 -0400 (0:00:00.272) 0:00:11.626 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:116 Saturday 22 August 2026 12:50:39 -0400 (0:00:00.016) 0:00:11.643 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:123 Saturday 22 August 2026 12:50:39 -0400 (0:00:00.016) 0:00:11.660 ******* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node2 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node2 changed: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Saturday 22 August 2026 12:50:39 -0400 (0:00:00.403) 0:00:12.063 ******* skipping: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:145 Saturday 22 August 2026 12:50:39 -0400 (0:00:00.018) 0:00:12.081 ******* skipping: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:153 Saturday 22 August 2026 12:50:39 -0400 (0:00:00.015) 0:00:12.097 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:160 Saturday 22 August 2026 12:50:39 -0400 (0:00:00.017) 0:00:12.114 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set bootloader_facts variable] **** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:166 Saturday 22 August 2026 12:50:39 -0400 (0:00:00.014) 0:00:12.129 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Record role success fingerprint] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:171 Saturday 22 August 2026 12:50:39 -0400 (0:00:00.014) 0:00:12.143 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T12:50:39+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader", "status": "success" } } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 22 August 2026 12:50:39 -0400 (0:00:00.255) 0:00:12.399 ******* changed: [managed-node2] => { "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.016653", "end": "2026-08-22 12:50:40.152226", "rc": 0, "start": "2026-08-22 12:50:40.135573" } 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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 22 August 2026 12:50:40 -0400 (0:00:00.273) 0:00:12.672 ******* included: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 22 August 2026 12:50:40 -0400 (0:00:00.017) 0:00:12.690 ******* changed: [managed-node2] => { "changed": true, "elapsed": 20, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 22 August 2026 12:51:01 -0400 (0:00:21.337) 0:00:34.028 ******* skipping: [managed-node2] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 22 August 2026 12:51:01 -0400 (0:00:00.016) 0:00:34.045 ******* ok: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:35 Saturday 22 August 2026 12:51:01 -0400 (0:00:00.020) 0:00:34.065 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 22 August 2026 12:51:01 -0400 (0:00:00.019) 0:00:34.084 ******* included: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:23 Saturday 22 August 2026 12:51:01 -0400 (0:00:00.024) 0:00:34.109 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:33 Saturday 22 August 2026 12:51:01 -0400 (0:00:00.015) 0:00:34.125 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 22 August 2026 12:51:01 -0400 (0:00:00.036) 0:00:34.162 ******* included: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 22 August 2026 12:51:01 -0400 (0:00:00.025) 0:00:34.188 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.bootloader : Record role begin fingerprint] **** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Saturday 22 August 2026 12:51:02 -0400 (0:00:00.575) 0:00:34.763 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T12:51:01+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader", "status": "begin" } } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:21 Saturday 22 August 2026 12:51:02 -0400 (0:00:00.403) 0:00:35.167 ******* skipping: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:26 Saturday 22 August 2026 12:51:02 -0400 (0:00:00.018) 0:00:35.185 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:30 Saturday 22 August 2026 12:51:02 -0400 (0:00:00.021) 0:00:35.206 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 22 August 2026 12:51:02 -0400 (0:00:00.042) 0:00:35.249 ******* skipping: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 22 August 2026 12:51:02 -0400 (0:00:00.015) 0:00:35.265 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 22 August 2026 12:51:02 -0400 (0:00:00.029) 0:00:35.295 ******* ok: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 22 August 2026 12:51:03 -0400 (0:00:01.036) 0:00:36.331 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1787417440.1514719, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1787417440.150472, "dev": 66305, "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": 1787417440.150472, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "1692134251", "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 22 August 2026 12:51:04 -0400 (0:00:00.317) 0:00:36.649 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 22 August 2026 12:51:04 -0400 (0:00:00.028) 0:00:36.677 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 22 August 2026 12:51:04 -0400 (0:00:00.025) 0:00:36.703 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 22 August 2026 12:51:04 -0400 (0:00:00.277) 0:00:36.981 ******* ok: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 22 August 2026 12:51:04 -0400 (0:00:00.035) 0:00:37.016 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1787417440.1514719, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1787417440.150472, "dev": 66305, "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": 1787417440.150472, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "1692134251", "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 22 August 2026 12:51:04 -0400 (0:00:00.303) 0:00:37.320 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1787417440.1384718, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1787417439.538466, "dev": 66305, "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": "0600", "mtime": 1787417439.538466, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 5845, "uid": 0, "version": "1692134240", "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 22 August 2026 12:51:05 -0400 (0:00:00.332) 0:00:37.652 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004063", "end": "2026-08-22 12:51:05.419329", "rc": 0, "start": "2026-08-22 12:51:05.415266" } 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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 22 August 2026 12:51:05 -0400 (0:00:00.295) 0:00:37.948 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure secure permissions for bootloader grub config] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 22 August 2026 12:51:05 -0400 (0:00:00.025) 0:00:37.973 ******* ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/boot/grub2/grub.cfg", "secontext": "unconfined_u:object_r:boot_t:s0", "size": 5845, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.bootloader : Update timeout configuration in /etc/default/grub] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:109 Saturday 22 August 2026 12:51:05 -0400 (0:00:00.318) 0:00:38.291 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:116 Saturday 22 August 2026 12:51:05 -0400 (0:00:00.029) 0:00:38.321 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:123 Saturday 22 August 2026 12:51:05 -0400 (0:00:00.023) 0:00:38.344 ******* ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Saturday 22 August 2026 12:51:06 -0400 (0:00:00.293) 0:00:38.638 ******* skipping: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:145 Saturday 22 August 2026 12:51:06 -0400 (0:00:00.017) 0:00:38.655 ******* skipping: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:153 Saturday 22 August 2026 12:51:06 -0400 (0:00:00.016) 0:00:38.672 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:160 Saturday 22 August 2026 12:51:06 -0400 (0:00:00.015) 0:00:38.688 ******* ok: [managed-node2] => { "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 [fedora.linux_system_roles.bootloader : Set bootloader_facts variable] **** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:166 Saturday 22 August 2026 12:51:06 -0400 (0:00:00.298) 0:00:38.987 ******* ok: [managed-node2] => { "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 [fedora.linux_system_roles.bootloader : Record role success fingerprint] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:171 Saturday 22 August 2026 12:51:06 -0400 (0:00:00.025) 0:00:39.012 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T12:51:06+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader", "status": "success" } } TASK [Set fact with the test clone] ******************************************** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:42 Saturday 22 August 2026 12:51:06 -0400 (0:00:00.266) 0:00:39.278 ******* ok: [managed-node2] => { "ansible_facts": { "cloned_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "Clone1" } }, "changed": false } TASK [Verify that the clone kernel is default] ********************************* task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:46 Saturday 22 August 2026 12:51:06 -0400 (0:00:00.029) 0:00:39.308 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Replace configuration with settings using kernel path] ******************* task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:53 Saturday 22 August 2026 12:51:06 -0400 (0:00:00.026) 0:00:39.335 ******* included: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:23 Saturday 22 August 2026 12:51:06 -0400 (0:00:00.037) 0:00:39.372 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:33 Saturday 22 August 2026 12:51:06 -0400 (0:00:00.016) 0:00:39.389 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 22 August 2026 12:51:06 -0400 (0:00:00.045) 0:00:39.434 ******* included: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 22 August 2026 12:51:06 -0400 (0:00:00.029) 0:00:39.463 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.bootloader : Record role begin fingerprint] **** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Saturday 22 August 2026 12:51:07 -0400 (0:00:00.426) 0:00:39.890 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T12:51:07+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader", "status": "begin" } } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:21 Saturday 22 August 2026 12:51:07 -0400 (0:00:00.279) 0:00:40.170 ******* skipping: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:26 Saturday 22 August 2026 12:51:07 -0400 (0:00:00.018) 0:00:40.188 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:30 Saturday 22 August 2026 12:51:07 -0400 (0:00:00.019) 0:00:40.207 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 22 August 2026 12:51:07 -0400 (0:00:00.054) 0:00:40.262 ******* skipping: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 22 August 2026 12:51:07 -0400 (0:00:00.026) 0:00:40.288 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 22 August 2026 12:51:07 -0400 (0:00:00.040) 0:00:40.329 ******* ok: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 22 August 2026 12:51:08 -0400 (0:00:00.806) 0:00:41.135 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1787417440.1514719, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1787417440.150472, "dev": 66305, "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": 1787417440.150472, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "1692134251", "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 22 August 2026 12:51:08 -0400 (0:00:00.297) 0:00:41.433 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 22 August 2026 12:51:08 -0400 (0:00:00.024) 0:00:41.457 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 22 August 2026 12:51:08 -0400 (0:00:00.018) 0:00:41.476 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 22 August 2026 12:51:09 -0400 (0:00:00.305) 0:00:41.782 ******* ok: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 22 August 2026 12:51:09 -0400 (0:00:00.035) 0:00:41.817 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1787417440.1514719, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1787417440.150472, "dev": 66305, "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": 1787417440.150472, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "1692134251", "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 22 August 2026 12:51:09 -0400 (0:00:00.294) 0:00:42.112 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1787417440.1384718, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1787417439.538466, "dev": 66305, "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": "0600", "mtime": 1787417439.538466, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 5845, "uid": 0, "version": "1692134240", "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 22 August 2026 12:51:09 -0400 (0:00:00.311) 0:00:42.424 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004143", "end": "2026-08-22 12:51:10.217129", "rc": 0, "start": "2026-08-22 12:51:10.212986" } 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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 22 August 2026 12:51:10 -0400 (0:00:00.315) 0:00:42.739 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure secure permissions for bootloader grub config] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 22 August 2026 12:51:10 -0400 (0:00:00.019) 0:00:42.759 ******* ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/boot/grub2/grub.cfg", "secontext": "unconfined_u:object_r:boot_t:s0", "size": 5845, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.bootloader : Update timeout configuration in /etc/default/grub] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:109 Saturday 22 August 2026 12:51:10 -0400 (0:00:00.281) 0:00:43.041 ******* changed: [managed-node2] => { "changed": true } MSG: 1 replacements made TASK [fedora.linux_system_roles.bootloader : Update timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:116 Saturday 22 August 2026 12:51:10 -0400 (0:00:00.402) 0:00:43.444 ******* changed: [managed-node2] => { "changed": true } MSG: 2 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:123 Saturday 22 August 2026 12:51:11 -0400 (0:00:00.289) 0:00:43.733 ******* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node2 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node2 changed: [managed-node2] => { "actions": [ "grubby --update-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 --remove-args='ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel'", "grubby --update-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 --args='console=tty0 print-fatal-signals=1 no_timer_check option_without_value option_with_value=option_value'", "grubby --update-kernel=ALL --args=option_set_from_ALL" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Saturday 22 August 2026 12:51:11 -0400 (0:00:00.387) 0:00:44.121 ******* skipping: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:145 Saturday 22 August 2026 12:51:11 -0400 (0:00:00.024) 0:00:44.146 ******* skipping: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:153 Saturday 22 August 2026 12:51:11 -0400 (0:00:00.018) 0:00:44.164 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:160 Saturday 22 August 2026 12:51:11 -0400 (0:00:00.021) 0:00:44.186 ******* ok: [managed-node2] => { "ansible_facts": { "bootloader_facts": [ { "args": "console=tty0 print-fatal-signals=1 no_timer_check option_without_value option_with_value=option_value option_set_from_ALL", "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 option_set_from_ALL", "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 option_set_from_ALL", "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 option_set_from_ALL", "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 [fedora.linux_system_roles.bootloader : Set bootloader_facts variable] **** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:166 Saturday 22 August 2026 12:51:11 -0400 (0:00:00.287) 0:00:44.473 ******* ok: [managed-node2] => { "ansible_facts": { "bootloader_facts": [ { "args": "console=tty0 print-fatal-signals=1 no_timer_check option_without_value option_with_value=option_value option_set_from_ALL", "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 option_set_from_ALL", "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 option_set_from_ALL", "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 option_set_from_ALL", "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 [fedora.linux_system_roles.bootloader : Record role success fingerprint] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:171 Saturday 22 August 2026 12:51:12 -0400 (0:00:00.024) 0:00:44.497 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T12:51:12+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader", "status": "success" } } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 22 August 2026 12:51:12 -0400 (0:00:00.272) 0:00:44.769 ******* changed: [managed-node2] => { "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.016521", "end": "2026-08-22 12:51:12.534659", "rc": 0, "start": "2026-08-22 12:51:12.518138" } STDOUT: args="console=tty0 print-fatal-signals=1 no_timer_check option_without_value option_with_value=option_value option_set_from_ALL" GRUB_TIMEOUT=6 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=6 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="console=tty0 print-fatal-signals=1 no_timer_check option_without_value option_with_value=option_value option_set_from_ALL" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 22 August 2026 12:51:12 -0400 (0:00:00.292) 0:00:45.062 ******* included: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 22 August 2026 12:51:12 -0400 (0:00:00.015) 0:00:45.077 ******* changed: [managed-node2] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 22 August 2026 12:51:34 -0400 (0:00:22.085) 0:01:07.163 ******* skipping: [managed-node2] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 22 August 2026 12:51:34 -0400 (0:00:00.017) 0:01:07.180 ******* ok: [managed-node2] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is set to false] *********************** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:83 Saturday 22 August 2026 12:51:34 -0400 (0:00:00.021) 0:01:07.202 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify clone kernel arguments and that it is not default] **************** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:87 Saturday 22 August 2026 12:51:34 -0400 (0:00:00.019) 0:01:07.221 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify boot loader timeout configuration] ******************************** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:99 Saturday 22 August 2026 12:51:34 -0400 (0:00:00.026) 0:01:07.248 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "cat", "/boot/grub2/grub.cfg" ], "delta": "0:00:00.005368", "end": "2026-08-22 12:51:34.517545", "failed_when_result": false, "rc": 0, "start": "2026-08-22 12:51:34.512177" } STDOUT: # # DO NOT EDIT THIS FILE # # It is automatically generated by grub2-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### set pager=1 if [ -s $prefix/grubenv ]; then load_env fi if [ "${next_entry}" ] ; then set default="${next_entry}" set next_entry= save_env next_entry set boot_once=true else set default="${saved_entry}" fi if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi export menuentry_id_option if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi } terminal_output console if [ x$feature_timeout_style = xy ] ; then set timeout_style=menu set timeout=6 # Fallback normal timeout code in case the timeout_style feature is # unavailable. else set timeout=6 fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/00_tuned ### set tuned_params="" set tuned_initrd="" ### END /etc/grub.d/00_tuned ### ### BEGIN /etc/grub.d/01_users ### if [ -f ${prefix}/user.cfg ]; then source ${prefix}/user.cfg if [ -n "${GRUB2_PASSWORD}" ]; then set superusers="root" export superusers password_pbkdf2 root ${GRUB2_PASSWORD} fi fi ### END /etc/grub.d/01_users ### ### BEGIN /etc/grub.d/10_linux ### menuentry 'Clone1' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 console=tty0 print-fatal-signals=1 no_timer_check option_without_value option_with_value=option_value option_set_from_ALL initrd16 /boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1 } menuentry 'CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 option_set_from_ALL initrd16 /boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img } menuentry 'CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.el7.x86_64 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 option_set_from_ALL initrd16 /boot/initramfs-3.10.0-1160.el7.x86_64.img } menuentry 'CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-7af355d356d341589d7764f759493cb6-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 option_set_from_ALL initrd16 /boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/20_ppc_terminfo ### ### END /etc/grub.d/20_ppc_terminfo ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ### TASK [Change some settings using kernel title] ********************************* task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:107 Saturday 22 August 2026 12:51:35 -0400 (0:00:00.281) 0:01:07.530 ******* included: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:23 Saturday 22 August 2026 12:51:35 -0400 (0:00:00.031) 0:01:07.561 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:33 Saturday 22 August 2026 12:51:35 -0400 (0:00:00.017) 0:01:07.579 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 22 August 2026 12:51:35 -0400 (0:00:00.035) 0:01:07.615 ******* included: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 22 August 2026 12:51:35 -0400 (0:00:00.025) 0:01:07.640 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.bootloader : Record role begin fingerprint] **** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Saturday 22 August 2026 12:51:35 -0400 (0:00:00.412) 0:01:08.053 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T12:51:35+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader", "status": "begin" } } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:21 Saturday 22 August 2026 12:51:35 -0400 (0:00:00.253) 0:01:08.306 ******* skipping: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:26 Saturday 22 August 2026 12:51:35 -0400 (0:00:00.016) 0:01:08.323 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:30 Saturday 22 August 2026 12:51:35 -0400 (0:00:00.016) 0:01:08.340 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 22 August 2026 12:51:35 -0400 (0:00:00.041) 0:01:08.381 ******* skipping: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 22 August 2026 12:51:35 -0400 (0:00:00.015) 0:01:08.396 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 22 August 2026 12:51:35 -0400 (0:00:00.031) 0:01:08.427 ******* ok: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 22 August 2026 12:51:36 -0400 (0:00:00.884) 0:01:09.312 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1787417472.532814, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4261cea57cdb108a82c6874c20b2e700482d56d7", "ctime": 1787417472.532814, "dev": 66305, "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": 1787417472.532814, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 336, "uid": 0, "version": "187126575", "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 22 August 2026 12:51:37 -0400 (0:00:00.281) 0:01:09.594 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 22 August 2026 12:51:37 -0400 (0:00:00.018) 0:01:09.612 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 22 August 2026 12:51:37 -0400 (0:00:00.019) 0:01:09.632 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 22 August 2026 12:51:37 -0400 (0:00:00.262) 0:01:09.894 ******* ok: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 22 August 2026 12:51:37 -0400 (0:00:00.030) 0:01:09.925 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1787417496.5798545, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4261cea57cdb108a82c6874c20b2e700482d56d7", "ctime": 1787417472.532814, "dev": 66305, "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": 1787417472.532814, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 336, "uid": 0, "version": "187126575", "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 22 August 2026 12:51:37 -0400 (0:00:00.278) 0:01:10.203 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1787417471.5778048, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "4fb1ff22637741d51a2bf29d2582073174201e90", "ctime": 1787417471.5748048, "dev": 66305, "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": "0600", "mtime": 1787417471.5748048, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 5923, "uid": 0, "version": "187126559", "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 22 August 2026 12:51:38 -0400 (0:00:00.288) 0:01:10.492 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004401", "end": "2026-08-22 12:51:37.846132", "rc": 0, "start": "2026-08-22 12:51:37.841731" } 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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 22 August 2026 12:51:38 -0400 (0:00:00.275) 0:01:10.768 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure secure permissions for bootloader grub config] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 22 August 2026 12:51:38 -0400 (0:00:00.020) 0:01:10.788 ******* ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/boot/grub2/grub.cfg", "secontext": "unconfined_u:object_r:boot_t:s0", "size": 5923, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.bootloader : Update timeout configuration in /etc/default/grub] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:109 Saturday 22 August 2026 12:51:38 -0400 (0:00:00.285) 0:01:11.074 ******* changed: [managed-node2] => { "changed": true } MSG: 1 replacements made TASK [fedora.linux_system_roles.bootloader : Update timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:116 Saturday 22 August 2026 12:51:38 -0400 (0:00:00.268) 0:01:11.342 ******* changed: [managed-node2] => { "changed": true } MSG: 2 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:123 Saturday 22 August 2026 12:51:39 -0400 (0:00:00.268) 0:01:11.611 ******* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node2 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node2 changed: [managed-node2] => { "actions": [ "grubby --update-kernel=TITLE=Clone1 --remove-args='option_without_value option_set_from_ALL option_with_value'" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Saturday 22 August 2026 12:51:39 -0400 (0:00:00.304) 0:01:11.915 ******* skipping: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:145 Saturday 22 August 2026 12:51:39 -0400 (0:00:00.017) 0:01:11.933 ******* skipping: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:153 Saturday 22 August 2026 12:51:39 -0400 (0:00:00.016) 0:01:11.950 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:160 Saturday 22 August 2026 12:51:39 -0400 (0:00:00.019) 0:01:11.969 ******* ok: [managed-node2] => { "ansible_facts": { "bootloader_facts": [ { "args": "console=tty0 print-fatal-signals=1 no_timer_check", "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 option_set_from_ALL", "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 option_set_from_ALL", "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 option_set_from_ALL", "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 [fedora.linux_system_roles.bootloader : Set bootloader_facts variable] **** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:166 Saturday 22 August 2026 12:51:39 -0400 (0:00:00.289) 0:01:12.259 ******* ok: [managed-node2] => { "ansible_facts": { "bootloader_facts": [ { "args": "console=tty0 print-fatal-signals=1 no_timer_check", "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 option_set_from_ALL", "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 option_set_from_ALL", "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 option_set_from_ALL", "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 [fedora.linux_system_roles.bootloader : Record role success fingerprint] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:171 Saturday 22 August 2026 12:51:39 -0400 (0:00:00.027) 0:01:12.286 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T12:51:39+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader", "status": "success" } } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 22 August 2026 12:51:40 -0400 (0:00:00.266) 0:01:12.553 ******* changed: [managed-node2] => { "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.017743", "end": "2026-08-22 12:51:40.091666", "rc": 0, "start": "2026-08-22 12:51:40.073923" } STDOUT: args="console=tty0 print-fatal-signals=1 no_timer_check" GRUB_TIMEOUT=4 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="console=tty0 print-fatal-signals=1 no_timer_check option_without_value option_with_value=option_value option_set_from_ALL" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=4 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="console=tty0 print-fatal-signals=1 no_timer_check" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 22 August 2026 12:51:40 -0400 (0:00:00.282) 0:01:12.835 ******* included: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 22 August 2026 12:51:40 -0400 (0:00:00.015) 0:01:12.851 ******* changed: [managed-node2] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 22 August 2026 12:52:02 -0400 (0:00:22.476) 0:01:35.327 ******* skipping: [managed-node2] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 22 August 2026 12:52:02 -0400 (0:00:00.015) 0:01:35.343 ******* ok: [managed-node2] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is set to false] *********************** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:126 Saturday 22 August 2026 12:52:02 -0400 (0:00:00.020) 0:01:35.364 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that existing settings remained and removed settings are not present] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:130 Saturday 22 August 2026 12:52:02 -0400 (0:00:00.017) 0:01:35.381 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify boot loader timeout configuration] ******************************** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:140 Saturday 22 August 2026 12:52:02 -0400 (0:00:00.031) 0:01:35.413 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "cat", "/boot/grub2/grub.cfg" ], "delta": "0:00:00.005057", "end": "2026-08-22 12:52:02.367039", "failed_when_result": false, "rc": 0, "start": "2026-08-22 12:52:02.361982" } STDOUT: # # DO NOT EDIT THIS FILE # # It is automatically generated by grub2-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### set pager=1 if [ -s $prefix/grubenv ]; then load_env fi if [ "${next_entry}" ] ; then set default="${next_entry}" set next_entry= save_env next_entry set boot_once=true else set default="${saved_entry}" fi if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi export menuentry_id_option if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi } terminal_output console if [ x$feature_timeout_style = xy ] ; then set timeout_style=menu set timeout=4 # Fallback normal timeout code in case the timeout_style feature is # unavailable. else set timeout=4 fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/00_tuned ### set tuned_params="" set tuned_initrd="" ### END /etc/grub.d/00_tuned ### ### BEGIN /etc/grub.d/01_users ### if [ -f ${prefix}/user.cfg ]; then source ${prefix}/user.cfg if [ -n "${GRUB2_PASSWORD}" ]; then set superusers="root" export superusers password_pbkdf2 root ${GRUB2_PASSWORD} fi fi ### END /etc/grub.d/01_users ### ### BEGIN /etc/grub.d/10_linux ### menuentry 'Clone1' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 console=tty0 print-fatal-signals=1 no_timer_check initrd16 /boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1 } menuentry 'CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 option_set_from_ALL initrd16 /boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img } menuentry 'CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.el7.x86_64 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 option_set_from_ALL initrd16 /boot/initramfs-3.10.0-1160.el7.x86_64.img } menuentry 'CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-7af355d356d341589d7764f759493cb6-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 option_set_from_ALL initrd16 /boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/20_ppc_terminfo ### ### END /etc/grub.d/20_ppc_terminfo ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ### TASK [Set existing variable using kernel path, should report not changed] ****** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:148 Saturday 22 August 2026 12:52:03 -0400 (0:00:00.277) 0:01:35.690 ******* included: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:23 Saturday 22 August 2026 12:52:03 -0400 (0:00:00.030) 0:01:35.721 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:33 Saturday 22 August 2026 12:52:03 -0400 (0:00:00.016) 0:01:35.737 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 22 August 2026 12:52:03 -0400 (0:00:00.033) 0:01:35.770 ******* included: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 22 August 2026 12:52:03 -0400 (0:00:00.024) 0:01:35.795 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.bootloader : Record role begin fingerprint] **** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Saturday 22 August 2026 12:52:03 -0400 (0:00:00.411) 0:01:36.206 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T12:52:03+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader", "status": "begin" } } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:21 Saturday 22 August 2026 12:52:03 -0400 (0:00:00.263) 0:01:36.469 ******* skipping: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:26 Saturday 22 August 2026 12:52:04 -0400 (0:00:00.016) 0:01:36.486 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:30 Saturday 22 August 2026 12:52:04 -0400 (0:00:00.016) 0:01:36.502 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 22 August 2026 12:52:04 -0400 (0:00:00.040) 0:01:36.543 ******* skipping: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 22 August 2026 12:52:04 -0400 (0:00:00.015) 0:01:36.559 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 22 August 2026 12:52:04 -0400 (0:00:00.031) 0:01:36.591 ******* ok: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 22 August 2026 12:52:04 -0400 (0:00:00.890) 0:01:37.482 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1787417500.090943, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94f4ab426beea1b9eb474694ed74a7c8aa09fe36", "ctime": 1787417500.0898597, "dev": 66305, "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": 1787417500.0898597, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 264, "uid": 0, "version": "785166761", "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 22 August 2026 12:52:05 -0400 (0:00:00.273) 0:01:37.755 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 22 August 2026 12:52:05 -0400 (0:00:00.017) 0:01:37.772 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 22 August 2026 12:52:05 -0400 (0:00:00.016) 0:01:37.788 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 22 August 2026 12:52:05 -0400 (0:00:00.249) 0:01:38.038 ******* ok: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 22 August 2026 12:52:05 -0400 (0:00:00.028) 0:01:38.066 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1787417500.090943, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94f4ab426beea1b9eb474694ed74a7c8aa09fe36", "ctime": 1787417500.0898597, "dev": 66305, "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": 1787417500.0898597, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 264, "uid": 0, "version": "785166761", "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 22 August 2026 12:52:05 -0400 (0:00:00.268) 0:01:38.335 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1787417499.4485204, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0285d361e98d2750b0a3f21460d664b6c20d6a99", "ctime": 1787417499.0899336, "dev": 66305, "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": "0600", "mtime": 1787417499.0899336, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 5851, "uid": 0, "version": "785166744", "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 22 August 2026 12:52:06 -0400 (0:00:00.267) 0:01:38.602 ******* ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004315", "end": "2026-08-22 12:52:05.762575", "rc": 0, "start": "2026-08-22 12:52:05.758260" } 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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 22 August 2026 12:52:06 -0400 (0:00:00.263) 0:01:38.866 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure secure permissions for bootloader grub config] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 22 August 2026 12:52:06 -0400 (0:00:00.018) 0:01:38.884 ******* ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/boot/grub2/grub.cfg", "secontext": "unconfined_u:object_r:boot_t:s0", "size": 5851, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.bootloader : Update timeout configuration in /etc/default/grub] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:109 Saturday 22 August 2026 12:52:06 -0400 (0:00:00.266) 0:01:39.151 ******* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:116 Saturday 22 August 2026 12:52:06 -0400 (0:00:00.262) 0:01:39.414 ******* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:123 Saturday 22 August 2026 12:52:07 -0400 (0:00:00.254) 0:01:39.668 ******* ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Saturday 22 August 2026 12:52:07 -0400 (0:00:00.281) 0:01:39.950 ******* skipping: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:145 Saturday 22 August 2026 12:52:07 -0400 (0:00:00.016) 0:01:39.967 ******* skipping: [managed-node2] => { "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-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:153 Saturday 22 August 2026 12:52:07 -0400 (0:00:00.016) 0:01:39.983 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:160 Saturday 22 August 2026 12:52:07 -0400 (0:00:00.015) 0:01:39.999 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set bootloader_facts variable] **** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:166 Saturday 22 August 2026 12:52:07 -0400 (0:00:00.016) 0:01:40.015 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Record role success fingerprint] *** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:171 Saturday 22 August 2026 12:52:07 -0400 (0:00:00.014) 0:01:40.029 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T12:52:07+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader", "status": "success" } } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:164 Saturday 22 August 2026 12:52:07 -0400 (0:00:00.261) 0:01:40.291 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify settings] ********************************************************* task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:168 Saturday 22 August 2026 12:52:07 -0400 (0:00:00.018) 0:01:40.310 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify boot loader timeout configuration] ******************************** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:176 Saturday 22 August 2026 12:52:07 -0400 (0:00:00.020) 0:01:40.331 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "cat", "/boot/grub2/grub.cfg" ], "delta": "0:00:00.002974", "end": "2026-08-22 12:52:07.625300", "failed_when_result": false, "rc": 0, "start": "2026-08-22 12:52:07.622326" } STDOUT: # # DO NOT EDIT THIS FILE # # It is automatically generated by grub2-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### set pager=1 if [ -s $prefix/grubenv ]; then load_env fi if [ "${next_entry}" ] ; then set default="${next_entry}" set next_entry= save_env next_entry set boot_once=true else set default="${saved_entry}" fi if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi export menuentry_id_option if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi } terminal_output console if [ x$feature_timeout_style = xy ] ; then set timeout_style=menu set timeout=4 # Fallback normal timeout code in case the timeout_style feature is # unavailable. else set timeout=4 fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/00_tuned ### set tuned_params="" set tuned_initrd="" ### END /etc/grub.d/00_tuned ### ### BEGIN /etc/grub.d/01_users ### if [ -f ${prefix}/user.cfg ]; then source ${prefix}/user.cfg if [ -n "${GRUB2_PASSWORD}" ]; then set superusers="root" export superusers password_pbkdf2 root ${GRUB2_PASSWORD} fi fi ### END /etc/grub.d/01_users ### ### BEGIN /etc/grub.d/10_linux ### menuentry 'Clone1' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 console=tty0 print-fatal-signals=1 no_timer_check initrd16 /boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1 } menuentry 'CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 option_set_from_ALL initrd16 /boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img } menuentry 'CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.el7.x86_64 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 option_set_from_ALL initrd16 /boot/initramfs-3.10.0-1160.el7.x86_64.img } menuentry 'CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-7af355d356d341589d7764f759493cb6-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 option_set_from_ALL initrd16 /boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/20_ppc_terminfo ### ### END /etc/grub.d/20_ppc_terminfo ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ### TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:184 Saturday 22 August 2026 12:52:08 -0400 (0:00:00.262) 0:01:40.593 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" ], "delta": "0:00:00.711143", "end": "2026-08-22 12:52:08.618184", "failed_when_result": false, "rc": 0, "start": "2026-08-22 12:52:07.907041" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=130 changed=15 unreachable=0 failed=0 skipped=84 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 Saturday 22 August 2026 12:52:09 -0400 (0:00:00.910) 0:01:41.504 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 22.48s /tmp/collections-yEo/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.09s /tmp/collections-yEo/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.34s /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Gathering Facts --------------------------------------------------------- 0.95s /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:3 Remove cloned kernels --------------------------------------------------- 0.91s /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:184 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.89s /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Copy kernel and initrd for test purposes from /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64 --- 0.84s /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.58s /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.44s /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.44s /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.43s /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.41s /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.41s /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Record role begin fingerprint ---- 0.40s /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.39s /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:21 fedora.linux_system_roles.bootloader : Record role begin fingerprint ---- 0.37s /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.28s /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Verify boot loader timeout configuration -------------------------------- 0.28s /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:99 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.28s /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:123 fedora.linux_system_roles.bootloader : Record role begin fingerprint ---- 0.28s /tmp/collections-yEo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8