ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_settings.yml *************************************************** 1 plays in /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml PLAY [Test bootloader_settings variable] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:3 Monday 31 August 2026 12:34:09 -0400 (0:00:00.024) 0:00:00.024 ********* ok: [managed-node2] META: ran handlers TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:10 Monday 31 August 2026 12:34:10 -0400 (0:00:00.828) 0:00:00.852 ********* included: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node2 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Monday 31 August 2026 12:34:10 -0400 (0:00:00.078) 0:00:00.931 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:15 Monday 31 August 2026 12:34:10 -0400 (0:00:00.057) 0:00:00.989 ********* included: /tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:23 Monday 31 August 2026 12:34:10 -0400 (0:00:00.030) 0:00:01.019 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:33 Monday 31 August 2026 12:34:10 -0400 (0:00:00.014) 0:00:01.034 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 31 August 2026 12:34:10 -0400 (0:00:00.060) 0:00:01.094 ********* included: /tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 31 August 2026 12:34:10 -0400 (0:00:00.024) 0:00:01.119 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.bootloader : Record role begin fingerprint] **** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Monday 31 August 2026 12:34:11 -0400 (0:00:00.376) 0:00:01.496 ********* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-31T12:34:11+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:21 Monday 31 August 2026 12:34:11 -0400 (0:00:00.330) 0:00:01.826 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:26 Monday 31 August 2026 12:34:11 -0400 (0:00:00.325) 0:00:02.151 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:30 Monday 31 August 2026 12:34:11 -0400 (0:00:00.020) 0:00:02.171 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 31 August 2026 12:34:11 -0400 (0:00:00.041) 0:00:02.213 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Monday 31 August 2026 12:34:11 -0400 (0:00:00.014) 0:00:02.227 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Validate role parameters] ********* task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Monday 31 August 2026 12:34:11 -0400 (0:00:00.028) 0:00:02.256 ********* included: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml for managed-node2 TASK [fedora.linux_system_roles.bootloader : Assert bootloader_timeout is null or a non-negative integer] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:3 Monday 31 August 2026 12:34:11 -0400 (0:00:00.027) 0:00:02.283 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.bootloader : Assert bootloader_password is null or a string] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:13 Monday 31 August 2026 12:34:11 -0400 (0:00:00.020) 0:00:02.303 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.bootloader : Assert kernel in bootloader_settings is a string or dictionary] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:23 Monday 31 August 2026 12:34:11 -0400 (0:00:00.018) 0:00:02.322 ********* TASK [fedora.linux_system_roles.bootloader : Assert value in bootloader_settings options is a string or integer] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:38 Monday 31 August 2026 12:34:11 -0400 (0:00:00.012) 0:00:02.334 ********* TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 31 August 2026 12:34:11 -0400 (0:00:00.012) 0:00:02.347 ********* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 31 August 2026 12:34:12 -0400 (0:00:00.921) 0:00:03.268 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1788194004.091442, "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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:42 Monday 31 August 2026 12:34:13 -0400 (0:00:00.257) 0:00:03.526 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 31 August 2026 12:34:13 -0400 (0:00:00.017) 0:00:03.543 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:59 Monday 31 August 2026 12:34:13 -0400 (0:00:00.016) 0:00:03.560 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Monday 31 August 2026 12:34:13 -0400 (0:00:00.231) 0:00:03.792 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:75 Monday 31 August 2026 12:34:13 -0400 (0:00:00.027) 0:00:03.819 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1788194004.091442, "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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 Monday 31 August 2026 12:34:13 -0400 (0:00:00.248) 0:00:04.067 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1788194014.3385668, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1788194005.849463, "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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Monday 31 August 2026 12:34:13 -0400 (0:00:00.255) 0:00:04.323 ********* ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004208", "end": "2026-08-31 12:34:14.286584", "rc": 0, "start": "2026-08-31 12:34:14.282376" } 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:94 Monday 31 August 2026 12:34:14 -0400 (0:00:00.390) 0:00:04.713 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 31 August 2026 12:34:14 -0400 (0:00:00.017) 0:00:04.731 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 31 August 2026 12:34:14 -0400 (0:00:00.385) 0:00:05.117 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:119 Monday 31 August 2026 12:34:14 -0400 (0:00:00.017) 0:00:05.134 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:126 Monday 31 August 2026 12:34:14 -0400 (0:00:00.014) 0:00:05.148 ********* ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Monday 31 August 2026 12:34:15 -0400 (0:00:00.369) 0:00:05.518 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:148 Monday 31 August 2026 12:34:15 -0400 (0:00:00.018) 0:00:05.537 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:156 Monday 31 August 2026 12:34:15 -0400 (0:00:00.020) 0:00:05.557 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:163 Monday 31 August 2026 12:34:15 -0400 (0:00:00.014) 0:00:05.571 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:169 Monday 31 August 2026 12:34:15 -0400 (0:00:00.379) 0:00:05.951 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:174 Monday 31 August 2026 12:34:15 -0400 (0:00:00.023) 0:00:05.975 ********* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-31T12:34:15+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:30 Monday 31 August 2026 12:34:15 -0400 (0:00:00.243) 0:00:06.218 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:34 Monday 31 August 2026 12:34:15 -0400 (0:00:00.020) 0:00:06.238 ********* included: /tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Monday 31 August 2026 12:34:15 -0400 (0:00:00.028) 0:00:06.267 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Monday 31 August 2026 12:34:16 -0400 (0:00:00.751) 0:00:07.019 ********* included: /tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:23 Monday 31 August 2026 12:34:16 -0400 (0:00:00.022) 0:00:07.042 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:33 Monday 31 August 2026 12:34:16 -0400 (0:00:00.015) 0:00:07.058 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 31 August 2026 12:34:16 -0400 (0:00:00.037) 0:00:07.095 ********* included: /tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 31 August 2026 12:34:16 -0400 (0:00:00.027) 0:00:07.123 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.bootloader : Record role begin fingerprint] **** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Monday 31 August 2026 12:34:17 -0400 (0:00:00.369) 0:00:07.492 ********* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-31T12:34:17+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:21 Monday 31 August 2026 12:34:17 -0400 (0:00:00.242) 0:00:07.735 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:26 Monday 31 August 2026 12:34:17 -0400 (0:00:00.016) 0:00:07.751 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:30 Monday 31 August 2026 12:34:17 -0400 (0:00:00.014) 0:00:07.766 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 31 August 2026 12:34:17 -0400 (0:00:00.041) 0:00:07.807 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Monday 31 August 2026 12:34:17 -0400 (0:00:00.016) 0:00:07.823 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Validate role parameters] ********* task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Monday 31 August 2026 12:34:17 -0400 (0:00:00.041) 0:00:07.865 ********* included: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml for managed-node2 TASK [fedora.linux_system_roles.bootloader : Assert bootloader_timeout is null or a non-negative integer] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:3 Monday 31 August 2026 12:34:17 -0400 (0:00:00.027) 0:00:07.893 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.bootloader : Assert bootloader_password is null or a string] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:13 Monday 31 August 2026 12:34:17 -0400 (0:00:00.019) 0:00:07.913 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.bootloader : Assert kernel in bootloader_settings is a string or dictionary] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:23 Monday 31 August 2026 12:34:17 -0400 (0:00:00.019) 0:00:07.932 ********* ok: [managed-node2] => (item=0) => { "ansible_index_var": "idx", "ansible_loop_var": "item", "changed": false, "idx": 0, "item": { "default": true, "kernel": { "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "path": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "title": "Clone1" }, "options": [ { "name": "test", "state": "present", "value": "kernel" }, { "copy_default": true } ] } } MSG: All assertions passed TASK [fedora.linux_system_roles.bootloader : Assert value in bootloader_settings options is a string or integer] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:38 Monday 31 August 2026 12:34:17 -0400 (0:00:00.035) 0:00:07.968 ********* ok: [managed-node2] => (item={u'path': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1', u'initrd': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1', u'title': u'Clone1'} - test) => { "ansible_loop_var": "item", "changed": false, "item": [ { "default": true, "kernel": { "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "path": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "title": "Clone1" }, "options": [ { "name": "test", "state": "present", "value": "kernel" }, { "copy_default": true } ] }, { "name": "test", "state": "present", "value": "kernel" } ] } MSG: All assertions passed skipping: [managed-node2] => (item={u'path': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1', u'initrd': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1', u'title': u'Clone1'} - unnamed) => { "ansible_loop_var": "item", "changed": false, "item": [ { "default": true, "kernel": { "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "path": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "title": "Clone1" }, "options": [ { "name": "test", "state": "present", "value": "kernel" }, { "copy_default": true } ] }, { "copy_default": true } ], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 31 August 2026 12:34:17 -0400 (0:00:00.047) 0:00:08.015 ********* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 31 August 2026 12:34:18 -0400 (0:00:00.756) 0:00:08.772 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1788194004.091442, "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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:42 Monday 31 August 2026 12:34:18 -0400 (0:00:00.253) 0:00:09.026 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 31 August 2026 12:34:18 -0400 (0:00:00.018) 0:00:09.045 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:59 Monday 31 August 2026 12:34:18 -0400 (0:00:00.015) 0:00:09.060 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Monday 31 August 2026 12:34:18 -0400 (0:00:00.235) 0:00:09.295 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:75 Monday 31 August 2026 12:34:18 -0400 (0:00:00.028) 0:00:09.323 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1788194004.091442, "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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 Monday 31 August 2026 12:34:19 -0400 (0:00:00.255) 0:00:09.579 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1788194014.3385668, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1788194005.849463, "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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Monday 31 August 2026 12:34:19 -0400 (0:00:00.256) 0:00:09.836 ********* ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004032", "end": "2026-08-31 12:34:19.653814", "rc": 0, "start": "2026-08-31 12:34:19.649782" } 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:94 Monday 31 August 2026 12:34:19 -0400 (0:00:00.241) 0:00:10.078 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 31 August 2026 12:34:19 -0400 (0:00:00.017) 0:00:10.096 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 31 August 2026 12:34:19 -0400 (0:00:00.251) 0:00:10.347 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:119 Monday 31 August 2026 12:34:19 -0400 (0:00:00.016) 0:00:10.364 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:126 Monday 31 August 2026 12:34:19 -0400 (0:00:00.016) 0:00:10.380 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Monday 31 August 2026 12:34:20 -0400 (0:00:00.505) 0:00:10.886 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:148 Monday 31 August 2026 12:34:20 -0400 (0:00:00.016) 0:00:10.903 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:156 Monday 31 August 2026 12:34:20 -0400 (0:00:00.016) 0:00:10.919 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:163 Monday 31 August 2026 12:34:20 -0400 (0:00:00.014) 0:00:10.933 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:169 Monday 31 August 2026 12:34:20 -0400 (0:00:00.015) 0:00:10.949 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:174 Monday 31 August 2026 12:34:20 -0400 (0:00:00.014) 0:00:10.963 ********* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-31T12:34:20+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 31 August 2026 12:34:20 -0400 (0:00:00.239) 0:00:11.203 ********* 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.017087", "end": "2026-08-31 12:34:21.034379", "rc": 0, "start": "2026-08-31 12:34:21.017292" } 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 31 August 2026 12:34:21 -0400 (0:00:00.254) 0:00:11.458 ********* included: /tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 31 August 2026 12:34:21 -0400 (0:00:00.016) 0:00:11.474 ********* changed: [managed-node2] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 31 August 2026 12:34:42 -0400 (0:00:21.831) 0:00:33.306 ********* skipping: [managed-node2] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 31 August 2026 12:34:42 -0400 (0:00:00.015) 0:00:33.322 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:35 Monday 31 August 2026 12:34:42 -0400 (0:00:00.020) 0:00:33.342 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Monday 31 August 2026 12:34:42 -0400 (0:00:00.017) 0:00:33.360 ********* included: /tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:23 Monday 31 August 2026 12:34:42 -0400 (0:00:00.024) 0:00:33.384 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:33 Monday 31 August 2026 12:34:43 -0400 (0:00:00.013) 0:00:33.398 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 31 August 2026 12:34:43 -0400 (0:00:00.035) 0:00:33.434 ********* included: /tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 31 August 2026 12:34:43 -0400 (0:00:00.025) 0:00:33.459 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.bootloader : Record role begin fingerprint] **** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Monday 31 August 2026 12:34:43 -0400 (0:00:00.406) 0:00:33.866 ********* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-31T12:34:43+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:21 Monday 31 August 2026 12:34:43 -0400 (0:00:00.269) 0:00:34.135 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:26 Monday 31 August 2026 12:34:43 -0400 (0:00:00.018) 0:00:34.154 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:30 Monday 31 August 2026 12:34:43 -0400 (0:00:00.027) 0:00:34.181 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 31 August 2026 12:34:43 -0400 (0:00:00.060) 0:00:34.241 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Monday 31 August 2026 12:34:43 -0400 (0:00:00.021) 0:00:34.263 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Validate role parameters] ********* task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Monday 31 August 2026 12:34:43 -0400 (0:00:00.035) 0:00:34.299 ********* included: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml for managed-node2 TASK [fedora.linux_system_roles.bootloader : Assert bootloader_timeout is null or a non-negative integer] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:3 Monday 31 August 2026 12:34:43 -0400 (0:00:00.039) 0:00:34.338 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.bootloader : Assert bootloader_password is null or a string] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:13 Monday 31 August 2026 12:34:43 -0400 (0:00:00.025) 0:00:34.364 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.bootloader : Assert kernel in bootloader_settings is a string or dictionary] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:23 Monday 31 August 2026 12:34:43 -0400 (0:00:00.022) 0:00:34.386 ********* TASK [fedora.linux_system_roles.bootloader : Assert value in bootloader_settings options is a string or integer] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:38 Monday 31 August 2026 12:34:44 -0400 (0:00:00.012) 0:00:34.399 ********* TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 31 August 2026 12:34:44 -0400 (0:00:00.013) 0:00:34.413 ********* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 31 August 2026 12:34:44 -0400 (0:00:00.956) 0:00:35.369 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1788194061.03314, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1788194061.03314, "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": 1788194061.03314, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744072549740520", "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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:42 Monday 31 August 2026 12:34:45 -0400 (0:00:00.306) 0:00:35.676 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 31 August 2026 12:34:45 -0400 (0:00:00.024) 0:00:35.700 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:59 Monday 31 August 2026 12:34:45 -0400 (0:00:00.017) 0:00:35.718 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Monday 31 August 2026 12:34:45 -0400 (0:00:00.249) 0:00:35.968 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:75 Monday 31 August 2026 12:34:45 -0400 (0:00:00.044) 0:00:36.013 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1788194084.7574813, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1788194061.03314, "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": 1788194061.03314, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744072549740520", "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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 Monday 31 August 2026 12:34:45 -0400 (0:00:00.266) 0:00:36.279 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1788194061.0211399, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1788194060.456133, "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": 1788194060.456133, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 5845, "uid": 0, "version": "18446744072549740509", "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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Monday 31 August 2026 12:34:46 -0400 (0:00:00.267) 0:00:36.546 ********* ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004461", "end": "2026-08-31 12:34:45.971528", "rc": 0, "start": "2026-08-31 12:34:45.967067" } 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:94 Monday 31 August 2026 12:34:46 -0400 (0:00:00.259) 0:00:36.806 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 31 August 2026 12:34:46 -0400 (0:00:00.022) 0:00:36.829 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 31 August 2026 12:34:46 -0400 (0:00:00.267) 0:00:37.096 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:119 Monday 31 August 2026 12:34:46 -0400 (0:00:00.022) 0:00:37.119 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:126 Monday 31 August 2026 12:34:46 -0400 (0:00:00.016) 0:00:37.135 ********* ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Monday 31 August 2026 12:34:46 -0400 (0:00:00.250) 0:00:37.386 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:148 Monday 31 August 2026 12:34:47 -0400 (0:00:00.017) 0:00:37.403 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:156 Monday 31 August 2026 12:34:47 -0400 (0:00:00.015) 0:00:37.419 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:163 Monday 31 August 2026 12:34:47 -0400 (0:00:00.014) 0:00:37.433 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:169 Monday 31 August 2026 12:34:47 -0400 (0:00:00.283) 0:00:37.717 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:174 Monday 31 August 2026 12:34:47 -0400 (0:00:00.023) 0:00:37.741 ********* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-31T12:34:47+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader", "status": "success" } } TASK [Set fact with the test clone] ******************************************** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:42 Monday 31 August 2026 12:34:47 -0400 (0:00:00.271) 0:00:38.012 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:46 Monday 31 August 2026 12:34:47 -0400 (0:00:00.019) 0:00:38.031 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Replace configuration with settings using kernel path] ******************* task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:53 Monday 31 August 2026 12:34:47 -0400 (0:00:00.024) 0:00:38.056 ********* included: /tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:23 Monday 31 August 2026 12:34:47 -0400 (0:00:00.037) 0:00:38.094 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:33 Monday 31 August 2026 12:34:47 -0400 (0:00:00.024) 0:00:38.119 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 31 August 2026 12:34:47 -0400 (0:00:00.051) 0:00:38.171 ********* included: /tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 31 August 2026 12:34:47 -0400 (0:00:00.031) 0:00:38.202 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.bootloader : Record role begin fingerprint] **** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Monday 31 August 2026 12:34:48 -0400 (0:00:00.391) 0:00:38.594 ********* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-31T12:34:48+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:21 Monday 31 August 2026 12:34:48 -0400 (0:00:00.258) 0:00:38.853 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:26 Monday 31 August 2026 12:34:48 -0400 (0:00:00.021) 0:00:38.874 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:30 Monday 31 August 2026 12:34:48 -0400 (0:00:00.020) 0:00:38.895 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 31 August 2026 12:34:48 -0400 (0:00:00.051) 0:00:38.946 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Monday 31 August 2026 12:34:48 -0400 (0:00:00.017) 0:00:38.963 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Validate role parameters] ********* task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Monday 31 August 2026 12:34:48 -0400 (0:00:00.033) 0:00:38.997 ********* included: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml for managed-node2 TASK [fedora.linux_system_roles.bootloader : Assert bootloader_timeout is null or a non-negative integer] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:3 Monday 31 August 2026 12:34:48 -0400 (0:00:00.025) 0:00:39.023 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.bootloader : Assert bootloader_password is null or a string] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:13 Monday 31 August 2026 12:34:48 -0400 (0:00:00.019) 0:00:39.043 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.bootloader : Assert kernel in bootloader_settings is a string or dictionary] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:23 Monday 31 August 2026 12:34:48 -0400 (0:00:00.024) 0:00:39.067 ********* ok: [managed-node2] => (item=0) => { "ansible_index_var": "idx", "ansible_loop_var": "item", "changed": false, "idx": 0, "item": { "kernel": { "path": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" }, "options": [ { "name": "console", "value": "tty0" }, { "name": "print-fatal-signals", "value": 1 }, { "name": "no_timer_check", "state": "present" }, { "name": "option_without_value" }, { "name": "option_with_value", "value": "option_value" }, { "previous": "replaced" } ] } } MSG: All assertions passed ok: [managed-node2] => (item=1) => { "ansible_index_var": "idx", "ansible_loop_var": "item", "changed": false, "idx": 1, "item": { "kernel": "ALL", "options": [ { "name": "option_set_from_ALL", "state": "present" } ] } } MSG: All assertions passed ok: [managed-node2] => (item=2) => { "ansible_index_var": "idx", "ansible_loop_var": "item", "changed": false, "idx": 2, "item": { "default": true, "kernel": { "path": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64" } } } MSG: All assertions passed TASK [fedora.linux_system_roles.bootloader : Assert value in bootloader_settings options is a string or integer] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:38 Monday 31 August 2026 12:34:48 -0400 (0:00:00.069) 0:00:39.136 ********* ok: [managed-node2] => (item={u'path': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1'} - console) => { "ansible_loop_var": "item", "changed": false, "item": [ { "kernel": { "path": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" }, "options": [ { "name": "console", "value": "tty0" }, { "name": "print-fatal-signals", "value": 1 }, { "name": "no_timer_check", "state": "present" }, { "name": "option_without_value" }, { "name": "option_with_value", "value": "option_value" }, { "previous": "replaced" } ] }, { "name": "console", "value": "tty0" } ] } MSG: All assertions passed ok: [managed-node2] => (item={u'path': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1'} - print-fatal-signals) => { "ansible_loop_var": "item", "changed": false, "item": [ { "kernel": { "path": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" }, "options": [ { "name": "console", "value": "tty0" }, { "name": "print-fatal-signals", "value": 1 }, { "name": "no_timer_check", "state": "present" }, { "name": "option_without_value" }, { "name": "option_with_value", "value": "option_value" }, { "previous": "replaced" } ] }, { "name": "print-fatal-signals", "value": 1 } ] } MSG: All assertions passed skipping: [managed-node2] => (item={u'path': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1'} - no_timer_check) => { "ansible_loop_var": "item", "changed": false, "item": [ { "kernel": { "path": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" }, "options": [ { "name": "console", "value": "tty0" }, { "name": "print-fatal-signals", "value": 1 }, { "name": "no_timer_check", "state": "present" }, { "name": "option_without_value" }, { "name": "option_with_value", "value": "option_value" }, { "previous": "replaced" } ] }, { "name": "no_timer_check", "state": "present" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'path': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1'} - option_without_value) => { "ansible_loop_var": "item", "changed": false, "item": [ { "kernel": { "path": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" }, "options": [ { "name": "console", "value": "tty0" }, { "name": "print-fatal-signals", "value": 1 }, { "name": "no_timer_check", "state": "present" }, { "name": "option_without_value" }, { "name": "option_with_value", "value": "option_value" }, { "previous": "replaced" } ] }, { "name": "option_without_value" } ], "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item={u'path': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1'} - option_with_value) => { "ansible_loop_var": "item", "changed": false, "item": [ { "kernel": { "path": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" }, "options": [ { "name": "console", "value": "tty0" }, { "name": "print-fatal-signals", "value": 1 }, { "name": "no_timer_check", "state": "present" }, { "name": "option_without_value" }, { "name": "option_with_value", "value": "option_value" }, { "previous": "replaced" } ] }, { "name": "option_with_value", "value": "option_value" } ] } MSG: All assertions passed skipping: [managed-node2] => (item={u'path': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1'} - unnamed) => { "ansible_loop_var": "item", "changed": false, "item": [ { "kernel": { "path": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" }, "options": [ { "name": "console", "value": "tty0" }, { "name": "print-fatal-signals", "value": 1 }, { "name": "no_timer_check", "state": "present" }, { "name": "option_without_value" }, { "name": "option_with_value", "value": "option_value" }, { "previous": "replaced" } ] }, { "previous": "replaced" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ALL - option_set_from_ALL) => { "ansible_loop_var": "item", "changed": false, "item": [ { "kernel": "ALL", "options": [ { "name": "option_set_from_ALL", "state": "present" } ] }, { "name": "option_set_from_ALL", "state": "present" } ], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 31 August 2026 12:34:48 -0400 (0:00:00.126) 0:00:39.263 ********* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 31 August 2026 12:34:49 -0400 (0:00:00.798) 0:00:40.062 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1788194084.7574813, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1788194061.03314, "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": 1788194061.03314, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744072549740520", "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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:42 Monday 31 August 2026 12:34:49 -0400 (0:00:00.259) 0:00:40.321 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 31 August 2026 12:34:49 -0400 (0:00:00.022) 0:00:40.344 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:59 Monday 31 August 2026 12:34:49 -0400 (0:00:00.021) 0:00:40.366 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Monday 31 August 2026 12:34:50 -0400 (0:00:00.253) 0:00:40.619 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:75 Monday 31 August 2026 12:34:50 -0400 (0:00:00.034) 0:00:40.653 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1788194084.7574813, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1788194061.03314, "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": 1788194061.03314, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744072549740520", "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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 Monday 31 August 2026 12:34:50 -0400 (0:00:00.259) 0:00:40.913 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1788194061.0211399, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1788194060.456133, "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": 1788194060.456133, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 5845, "uid": 0, "version": "18446744072549740509", "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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Monday 31 August 2026 12:34:50 -0400 (0:00:00.257) 0:00:41.170 ********* ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004589", "end": "2026-08-31 12:34:50.969966", "rc": 0, "start": "2026-08-31 12:34:50.965377" } 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:94 Monday 31 August 2026 12:34:51 -0400 (0:00:00.246) 0:00:41.416 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 31 August 2026 12:34:51 -0400 (0:00:00.019) 0:00:41.436 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 31 August 2026 12:34:51 -0400 (0:00:00.252) 0:00:41.688 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:119 Monday 31 August 2026 12:34:51 -0400 (0:00:00.393) 0:00:42.082 ********* changed: [managed-node2] => { "changed": true } MSG: 2 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:126 Monday 31 August 2026 12:34:51 -0400 (0:00:00.251) 0:00:42.333 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Monday 31 August 2026 12:34:52 -0400 (0:00:00.357) 0:00:42.691 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:148 Monday 31 August 2026 12:34:52 -0400 (0:00:00.018) 0:00:42.709 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:156 Monday 31 August 2026 12:34:52 -0400 (0:00:00.016) 0:00:42.726 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:163 Monday 31 August 2026 12:34:52 -0400 (0:00:00.016) 0:00:42.743 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:169 Monday 31 August 2026 12:34:52 -0400 (0:00:00.260) 0:00:43.003 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:174 Monday 31 August 2026 12:34:52 -0400 (0:00:00.025) 0:00:43.029 ********* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-31T12:34:52+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 31 August 2026 12:34:52 -0400 (0:00:00.241) 0:00:43.270 ********* 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.017237", "end": "2026-08-31 12:34:53.102244", "rc": 0, "start": "2026-08-31 12:34:53.085007" } 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 31 August 2026 12:34:53 -0400 (0:00:00.254) 0:00:43.525 ********* included: /tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 31 August 2026 12:34:53 -0400 (0:00:00.015) 0:00:43.540 ********* changed: [managed-node2] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 31 August 2026 12:35:15 -0400 (0:00:22.211) 0:01:05.752 ********* skipping: [managed-node2] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 31 August 2026 12:35:15 -0400 (0:00:00.016) 0:01:05.769 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:83 Monday 31 August 2026 12:35:15 -0400 (0:00:00.019) 0:01:05.788 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify clone kernel arguments and that it is not default] **************** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:87 Monday 31 August 2026 12:35:15 -0400 (0:00:00.017) 0:01:05.805 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify boot loader timeout configuration] ******************************** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:99 Monday 31 August 2026 12:35:15 -0400 (0:00:00.023) 0:01:05.829 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "cat", "/boot/grub2/grub.cfg" ], "delta": "0:00:00.005543", "end": "2026-08-31 12:35:15.182221", "failed_when_result": false, "rc": 0, "start": "2026-08-31 12:35:15.176678" } 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-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:107 Monday 31 August 2026 12:35:15 -0400 (0:00:00.257) 0:01:06.087 ********* included: /tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:23 Monday 31 August 2026 12:35:15 -0400 (0:00:00.035) 0:01:06.122 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:33 Monday 31 August 2026 12:35:15 -0400 (0:00:00.013) 0:01:06.136 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 31 August 2026 12:35:15 -0400 (0:00:00.033) 0:01:06.169 ********* included: /tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 31 August 2026 12:35:15 -0400 (0:00:00.023) 0:01:06.193 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.bootloader : Record role begin fingerprint] **** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Monday 31 August 2026 12:35:16 -0400 (0:00:00.383) 0:01:06.577 ********* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-31T12:35:15+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:21 Monday 31 August 2026 12:35:16 -0400 (0:00:00.237) 0:01:06.814 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:26 Monday 31 August 2026 12:35:16 -0400 (0:00:00.016) 0:01:06.831 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:30 Monday 31 August 2026 12:35:16 -0400 (0:00:00.014) 0:01:06.845 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 31 August 2026 12:35:16 -0400 (0:00:00.039) 0:01:06.885 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Monday 31 August 2026 12:35:16 -0400 (0:00:00.015) 0:01:06.900 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Validate role parameters] ********* task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Monday 31 August 2026 12:35:16 -0400 (0:00:00.028) 0:01:06.929 ********* included: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml for managed-node2 TASK [fedora.linux_system_roles.bootloader : Assert bootloader_timeout is null or a non-negative integer] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:3 Monday 31 August 2026 12:35:16 -0400 (0:00:00.024) 0:01:06.953 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.bootloader : Assert bootloader_password is null or a string] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:13 Monday 31 August 2026 12:35:16 -0400 (0:00:00.019) 0:01:06.973 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.bootloader : Assert kernel in bootloader_settings is a string or dictionary] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:23 Monday 31 August 2026 12:35:16 -0400 (0:00:00.018) 0:01:06.992 ********* ok: [managed-node2] => (item=0) => { "ansible_index_var": "idx", "ansible_loop_var": "item", "changed": false, "idx": 0, "item": { "kernel": { "title": "Clone1" }, "options": [ { "name": "option_without_value", "state": "absent" }, { "name": "option_set_from_ALL", "state": "absent" }, { "name": "option_with_value", "state": "absent" } ] } } MSG: All assertions passed TASK [fedora.linux_system_roles.bootloader : Assert value in bootloader_settings options is a string or integer] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:38 Monday 31 August 2026 12:35:16 -0400 (0:00:00.027) 0:01:07.019 ********* skipping: [managed-node2] => (item={u'title': u'Clone1'} - option_without_value) => { "ansible_loop_var": "item", "changed": false, "item": [ { "kernel": { "title": "Clone1" }, "options": [ { "name": "option_without_value", "state": "absent" }, { "name": "option_set_from_ALL", "state": "absent" }, { "name": "option_with_value", "state": "absent" } ] }, { "name": "option_without_value", "state": "absent" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'title': u'Clone1'} - option_set_from_ALL) => { "ansible_loop_var": "item", "changed": false, "item": [ { "kernel": { "title": "Clone1" }, "options": [ { "name": "option_without_value", "state": "absent" }, { "name": "option_set_from_ALL", "state": "absent" }, { "name": "option_with_value", "state": "absent" } ] }, { "name": "option_set_from_ALL", "state": "absent" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'title': u'Clone1'} - option_with_value) => { "ansible_loop_var": "item", "changed": false, "item": [ { "kernel": { "title": "Clone1" }, "options": [ { "name": "option_without_value", "state": "absent" }, { "name": "option_set_from_ALL", "state": "absent" }, { "name": "option_with_value", "state": "absent" } ] }, { "name": "option_with_value", "state": "absent" } ], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 31 August 2026 12:35:16 -0400 (0:00:00.039) 0:01:07.059 ********* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 31 August 2026 12:35:17 -0400 (0:00:00.880) 0:01:07.940 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1788194093.1009986, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4261cea57cdb108a82c6874c20b2e700482d56d7", "ctime": 1788194093.0999987, "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": 1788194093.0999987, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 336, "uid": 0, "version": "18446744073505563421", "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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:42 Monday 31 August 2026 12:35:17 -0400 (0:00:00.253) 0:01:08.193 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 31 August 2026 12:35:17 -0400 (0:00:00.017) 0:01:08.211 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:59 Monday 31 August 2026 12:35:17 -0400 (0:00:00.015) 0:01:08.226 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Monday 31 August 2026 12:35:18 -0400 (0:00:00.232) 0:01:08.459 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:75 Monday 31 August 2026 12:35:18 -0400 (0:00:00.028) 0:01:08.487 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1788194093.1009986, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4261cea57cdb108a82c6874c20b2e700482d56d7", "ctime": 1788194093.0999987, "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": 1788194093.0999987, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 336, "uid": 0, "version": "18446744073505563421", "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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 Monday 31 August 2026 12:35:18 -0400 (0:00:00.250) 0:01:08.738 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1788194092.2419884, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "4fb1ff22637741d51a2bf29d2582073174201e90", "ctime": 1788194092.2399883, "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": 1788194092.2399883, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 5923, "uid": 0, "version": "18446744073505563405", "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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Monday 31 August 2026 12:35:18 -0400 (0:00:00.258) 0:01:08.996 ********* ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004586", "end": "2026-08-31 12:35:18.362423", "rc": 0, "start": "2026-08-31 12:35:18.357837" } 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:94 Monday 31 August 2026 12:35:18 -0400 (0:00:00.244) 0:01:09.241 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 31 August 2026 12:35:18 -0400 (0:00:00.018) 0:01:09.259 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 31 August 2026 12:35:19 -0400 (0:00:00.250) 0:01:09.510 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:119 Monday 31 August 2026 12:35:19 -0400 (0:00:00.251) 0:01:09.762 ********* changed: [managed-node2] => { "changed": true } MSG: 2 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:126 Monday 31 August 2026 12:35:19 -0400 (0:00:00.244) 0:01:10.006 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Monday 31 August 2026 12:35:19 -0400 (0:00:00.283) 0:01:10.290 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:148 Monday 31 August 2026 12:35:19 -0400 (0:00:00.018) 0:01:10.308 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:156 Monday 31 August 2026 12:35:19 -0400 (0:00:00.014) 0:01:10.322 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:163 Monday 31 August 2026 12:35:19 -0400 (0:00:00.014) 0:01:10.337 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:169 Monday 31 August 2026 12:35:20 -0400 (0:00:00.255) 0:01:10.593 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:174 Monday 31 August 2026 12:35:20 -0400 (0:00:00.023) 0:01:10.616 ********* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-31T12:35:20+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 31 August 2026 12:35:20 -0400 (0:00:00.236) 0:01:10.853 ********* 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.018915", "end": "2026-08-31 12:35:20.389251", "rc": 0, "start": "2026-08-31 12:35:20.370336" } 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 31 August 2026 12:35:20 -0400 (0:00:00.256) 0:01:11.110 ********* included: /tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 31 August 2026 12:35:20 -0400 (0:00:00.015) 0:01:11.126 ********* changed: [managed-node2] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 31 August 2026 12:35:42 -0400 (0:00:22.010) 0:01:33.136 ********* skipping: [managed-node2] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 31 August 2026 12:35:42 -0400 (0:00:00.016) 0:01:33.153 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:126 Monday 31 August 2026 12:35:42 -0400 (0:00:00.019) 0:01:33.172 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:130 Monday 31 August 2026 12:35:42 -0400 (0:00:00.017) 0:01:33.190 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify boot loader timeout configuration] ******************************** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:140 Monday 31 August 2026 12:35:42 -0400 (0:00:00.030) 0:01:33.220 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "cat", "/boot/grub2/grub.cfg" ], "delta": "0:00:00.005728", "end": "2026-08-31 12:35:42.872727", "failed_when_result": false, "rc": 0, "start": "2026-08-31 12:35:42.866999" } 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-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:148 Monday 31 August 2026 12:35:43 -0400 (0:00:00.270) 0:01:33.491 ********* included: /tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:23 Monday 31 August 2026 12:35:43 -0400 (0:00:00.031) 0:01:33.522 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/run_role_with_clear_facts.yml:33 Monday 31 August 2026 12:35:43 -0400 (0:00:00.015) 0:01:33.537 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 31 August 2026 12:35:43 -0400 (0:00:00.032) 0:01:33.569 ********* included: /tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 31 August 2026 12:35:43 -0400 (0:00:00.023) 0:01:33.593 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.bootloader : Record role begin fingerprint] **** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:8 Monday 31 August 2026 12:35:43 -0400 (0:00:00.386) 0:01:33.979 ********* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-31T12:35:43+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:21 Monday 31 August 2026 12:35:43 -0400 (0:00:00.239) 0:01:34.219 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:26 Monday 31 August 2026 12:35:43 -0400 (0:00:00.016) 0:01:34.235 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:30 Monday 31 August 2026 12:35:43 -0400 (0:00:00.014) 0:01:34.250 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 31 August 2026 12:35:43 -0400 (0:00:00.042) 0:01:34.292 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Monday 31 August 2026 12:35:43 -0400 (0:00:00.015) 0:01:34.307 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Validate role parameters] ********* task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Monday 31 August 2026 12:35:43 -0400 (0:00:00.033) 0:01:34.341 ********* included: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml for managed-node2 TASK [fedora.linux_system_roles.bootloader : Assert bootloader_timeout is null or a non-negative integer] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:3 Monday 31 August 2026 12:35:43 -0400 (0:00:00.025) 0:01:34.366 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.bootloader : Assert bootloader_password is null or a string] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:13 Monday 31 August 2026 12:35:43 -0400 (0:00:00.019) 0:01:34.387 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.bootloader : Assert kernel in bootloader_settings is a string or dictionary] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:23 Monday 31 August 2026 12:35:44 -0400 (0:00:00.018) 0:01:34.405 ********* ok: [managed-node2] => (item=0) => { "ansible_index_var": "idx", "ansible_loop_var": "item", "changed": false, "idx": 0, "item": { "kernel": { "path": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" }, "options": [ { "name": "console", "state": "present", "value": "tty0" } ] } } MSG: All assertions passed TASK [fedora.linux_system_roles.bootloader : Assert value in bootloader_settings options is a string or integer] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/assert_role_vars.yml:38 Monday 31 August 2026 12:35:44 -0400 (0:00:00.027) 0:01:34.433 ********* ok: [managed-node2] => (item={u'path': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1'} - console) => { "ansible_loop_var": "item", "changed": false, "item": [ { "kernel": { "path": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" }, "options": [ { "name": "console", "state": "present", "value": "tty0" } ] }, { "name": "console", "state": "present", "value": "tty0" } ] } MSG: All assertions passed TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Monday 31 August 2026 12:35:44 -0400 (0:00:00.030) 0:01:34.463 ********* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 31 August 2026 12:35:44 -0400 (0:00:00.872) 0:01:35.335 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1788194120.3887942, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94f4ab426beea1b9eb474694ed74a7c8aa09fe36", "ctime": 1788194120.3877108, "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": 1788194120.3877108, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 264, "uid": 0, "version": "1423656307", "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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:42 Monday 31 August 2026 12:35:45 -0400 (0:00:00.251) 0:01:35.587 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 31 August 2026 12:35:45 -0400 (0:00:00.017) 0:01:35.605 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:59 Monday 31 August 2026 12:35:45 -0400 (0:00:00.015) 0:01:35.620 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:64 Monday 31 August 2026 12:35:45 -0400 (0:00:00.229) 0:01:35.850 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:75 Monday 31 August 2026 12:35:45 -0400 (0:00:00.028) 0:01:35.878 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1788194120.3887942, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "94f4ab426beea1b9eb474694ed74a7c8aa09fe36", "ctime": 1788194120.3877108, "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": 1788194120.3877108, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 264, "uid": 0, "version": "1423656307", "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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 Monday 31 August 2026 12:35:45 -0400 (0:00:00.247) 0:01:36.126 ********* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1788194119.8081205, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0285d361e98d2750b0a3f21460d664b6c20d6a99", "ctime": 1788194119.49395, "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": 1788194119.49395, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 5851, "uid": 0, "version": "1423656290", "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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Monday 31 August 2026 12:35:45 -0400 (0:00:00.255) 0:01:36.382 ********* ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004425", "end": "2026-08-31 12:35:46.154005", "rc": 0, "start": "2026-08-31 12:35:46.149580" } 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:94 Monday 31 August 2026 12:35:46 -0400 (0:00:00.243) 0:01:36.625 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 31 August 2026 12:35:46 -0400 (0:00:00.017) 0:01:36.643 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 31 August 2026 12:35:46 -0400 (0:00:00.248) 0:01:36.891 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:119 Monday 31 August 2026 12:35:46 -0400 (0:00:00.240) 0:01:37.131 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:126 Monday 31 August 2026 12:35:46 -0400 (0:00:00.250) 0:01:37.382 ********* ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Monday 31 August 2026 12:35:47 -0400 (0:00:00.266) 0:01:37.648 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:148 Monday 31 August 2026 12:35:47 -0400 (0:00:00.016) 0:01:37.665 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:156 Monday 31 August 2026 12:35:47 -0400 (0:00:00.016) 0:01:37.681 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:163 Monday 31 August 2026 12:35:47 -0400 (0:00:00.014) 0:01:37.696 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:169 Monday 31 August 2026 12:35:47 -0400 (0:00:00.014) 0:01:37.711 ********* 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-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:174 Monday 31 August 2026 12:35:47 -0400 (0:00:00.014) 0:01:37.726 ********* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-31T12:35:47+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "bootloader", "role_path": "/tmp/collections-Kx7/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-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:164 Monday 31 August 2026 12:35:47 -0400 (0:00:00.238) 0:01:37.964 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify settings] ********************************************************* task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:168 Monday 31 August 2026 12:35:47 -0400 (0:00:00.018) 0:01:37.982 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify boot loader timeout configuration] ******************************** task path: /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:176 Monday 31 August 2026 12:35:47 -0400 (0:00:00.018) 0:01:38.001 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "cat", "/boot/grub2/grub.cfg" ], "delta": "0:00:00.002943", "end": "2026-08-31 12:35:47.818530", "failed_when_result": false, "rc": 0, "start": "2026-08-31 12:35:47.815587" } 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-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:184 Monday 31 August 2026 12:35:47 -0400 (0:00:00.247) 0:01:38.249 ********* 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.664910", "end": "2026-08-31 12:35:48.729608", "failed_when_result": false, "rc": 0, "start": "2026-08-31 12:35:48.064698" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=155 changed=15 unreachable=0 failed=0 skipped=89 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Monday 31 August 2026 12:35:48 -0400 (0:00:00.908) 0:01:39.157 ********* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 22.21s /tmp/collections-Kx7/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.01s /tmp/collections-Kx7/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.83s /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.19s /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 2.03s /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:126 fedora.linux_system_roles.bootloader : Ensure secure permissions for bootloader grub config --- 1.66s /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 1.62s /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.58s /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 1.55s /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:80 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.53s /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:75 fedora.linux_system_roles.bootloader : Record role success fingerprint --- 1.47s /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:174 fedora.linux_system_roles.bootloader : Determine platform type ---------- 1.43s /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:59 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 1.21s /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:163 fedora.linux_system_roles.bootloader : Update timeout configuration in /etc/default/grub --- 0.94s /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Remove cloned kernels --------------------------------------------------- 0.91s /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:184 Gathering Facts --------------------------------------------------------- 0.83s /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:3 fedora.linux_system_roles.bootloader : Update timeout configuration in /boot/grub2/grub.cfg --- 0.79s /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:119 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.77s /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Copy kernel and initrd for test purposes from /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64 --- 0.75s /tmp/collections-Kx7/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.41s /tmp/collections-Kx7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3