ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_settings.yml *************************************************** 1 plays in /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml PLAY [Test bootloader_settings variable] *************************************** META: ran handlers TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:13 Wednesday 25 June 2025 08:14:26 -0400 (0:00:00.026) 0:00:00.026 ******** included: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node2 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Wednesday 25 June 2025 08:14:26 -0400 (0:00:00.081) 0:00:00.108 ******** ok: [managed-node2] META: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:16 Wednesday 25 June 2025 08:14:26 -0400 (0:00:00.670) 0:00:00.779 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:14:26 -0400 (0:00:00.058) 0:00:00.837 ******** included: /tmp/collections-vnQ/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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:14:26 -0400 (0:00:00.026) 0:00:00.864 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:14:27 -0400 (0:00:00.017) 0:00:00.882 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:14:27 -0400 (0:00:00.361) 0:00:01.243 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:14:27 -0400 (0:00:00.022) 0:00:01.266 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:14:27 -0400 (0:00:00.042) 0:00:01.309 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:14:27 -0400 (0:00:00.016) 0:00:01.325 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:14:28 -0400 (0:00:00.686) 0:00:02.012 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750853640.4776793, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:14:28 -0400 (0:00:00.251) 0:00:02.263 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:14:28 -0400 (0:00:00.018) 0:00:02.282 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:14:28 -0400 (0:00:00.016) 0:00:02.299 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:14:28 -0400 (0:00:00.231) 0:00:02.530 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:14:28 -0400 (0:00:00.034) 0:00:02.565 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750853640.4776793, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:14:28 -0400 (0:00:00.251) 0:00:02.816 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750853641.411692, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1718881171.2176502, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718880548.6706502, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "22411319", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:14:29 -0400 (0:00:00.273) 0:00:03.089 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004025", "end": "2025-06-25 08:14:29.579638", "rc": 0, "start": "2025-06-25 08:14:29.575613" } 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:14:29 -0400 (0:00:00.414) 0:00:03.504 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:14:29 -0400 (0:00:00.026) 0:00:03.531 ******** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:14:29 -0400 (0:00:00.337) 0:00:03.869 ******** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:14:30 -0400 (0:00:00.262) 0:00:04.131 ******** ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:14:30 -0400 (0:00:00.419) 0:00:04.550 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:14:30 -0400 (0:00:00.028) 0:00:04.578 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:14:30 -0400 (0:00:00.024) 0:00:04.603 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:14:30 -0400 (0:00:00.023) 0:00:04.627 ******** 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 } 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-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:32 Wednesday 25 June 2025 08:14:31 -0400 (0:00:00.432) 0:00:05.059 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:36 Wednesday 25 June 2025 08:14:31 -0400 (0:00:00.022) 0:00:05.081 ******** included: /tmp/collections-vnQ/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-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Wednesday 25 June 2025 08:14:31 -0400 (0:00:00.037) 0:00:05.118 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Wednesday 25 June 2025 08:14:32 -0400 (0:00:00.805) 0:00:05.924 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:14:32 -0400 (0:00:00.051) 0:00:05.976 ******** included: /tmp/collections-vnQ/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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:14:32 -0400 (0:00:00.032) 0:00:06.009 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:14:32 -0400 (0:00:00.024) 0:00:06.033 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:14:32 -0400 (0:00:00.027) 0:00:06.061 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:14:32 -0400 (0:00:00.021) 0:00:06.082 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:14:32 -0400 (0:00:00.052) 0:00:06.135 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:14:32 -0400 (0:00:00.021) 0:00:06.156 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:14:32 -0400 (0:00:00.569) 0:00:06.726 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750853640.4776793, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:14:33 -0400 (0:00:00.276) 0:00:07.002 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:14:33 -0400 (0:00:00.024) 0:00:07.027 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:14:33 -0400 (0:00:00.022) 0:00:07.050 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:14:33 -0400 (0:00:00.252) 0:00:07.302 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:14:33 -0400 (0:00:00.030) 0:00:07.333 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750853640.4776793, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:14:33 -0400 (0:00:00.298) 0:00:07.631 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750853641.411692, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1718881171.2176502, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718880548.6706502, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "22411319", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:14:34 -0400 (0:00:00.288) 0:00:07.920 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004032", "end": "2025-06-25 08:14:34.252046", "rc": 0, "start": "2025-06-25 08:14:34.248014" } 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:14:34 -0400 (0:00:00.255) 0:00:08.176 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:14:34 -0400 (0:00:00.032) 0:00:08.209 ******** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:14:34 -0400 (0:00:00.273) 0:00:08.482 ******** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:14:34 -0400 (0:00:00.291) 0:00:08.774 ******** 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" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:14:35 -0400 (0:00:00.462) 0:00:09.236 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:14:35 -0400 (0:00:00.022) 0:00:09.258 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:14:35 -0400 (0:00:00.018) 0:00:09.276 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:14:35 -0400 (0:00:00.018) 0:00:09.294 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 08:14:35 -0400 (0:00:00.013) 0:00:09.308 ******** 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.016233", "end": "2025-06-25 08:14:35.675469", "rc": 0, "start": "2025-06-25 08:14:35.659236" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="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" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 08:14:35 -0400 (0:00:00.283) 0:00:09.591 ******** included: /tmp/collections-vnQ/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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 08:14:35 -0400 (0:00:00.019) 0:00:09.611 ******** changed: [managed-node2] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 08:14:57 -0400 (0:00:21.909) 0:00:31.521 ******** skipping: [managed-node2] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 08:14:57 -0400 (0:00:00.019) 0:00:31.541 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Wednesday 25 June 2025 08:14:57 -0400 (0:00:00.024) 0:00:31.565 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Wednesday 25 June 2025 08:14:57 -0400 (0:00:00.020) 0:00:31.586 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:14:57 -0400 (0:00:00.054) 0:00:31.641 ******** included: /tmp/collections-vnQ/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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:14:57 -0400 (0:00:00.025) 0:00:31.666 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:14:57 -0400 (0:00:00.018) 0:00:31.685 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:14:57 -0400 (0:00:00.017) 0:00:31.702 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:14:57 -0400 (0:00:00.017) 0:00:31.719 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:14:57 -0400 (0:00:00.043) 0:00:31.763 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:14:57 -0400 (0:00:00.018) 0:00:31.781 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:14:58 -0400 (0:00:00.689) 0:00:32.471 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750853675.6741576, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1750853675.6741576, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853675.6741576, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1654340860", "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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:14:58 -0400 (0:00:00.264) 0:00:32.735 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:14:58 -0400 (0:00:00.020) 0:00:32.756 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:14:58 -0400 (0:00:00.018) 0:00:32.774 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:14:59 -0400 (0:00:00.240) 0:00:33.014 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:14:59 -0400 (0:00:00.029) 0:00:33.044 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750853698.5249426, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1750853675.6741576, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853675.6741576, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1654340860", "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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:14:59 -0400 (0:00:00.256) 0:00:33.301 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750853675.6621575, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1750853675.3061526, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853675.3061526, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "1654340854", "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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:14:59 -0400 (0:00:00.306) 0:00:33.607 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005117", "end": "2025-06-25 08:14:59.760619", "rc": 0, "start": "2025-06-25 08:14:59.755502" } 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:14:59 -0400 (0:00:00.253) 0:00:33.861 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:15:00 -0400 (0:00:00.022) 0:00:33.884 ******** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:15:00 -0400 (0:00:00.251) 0:00:34.136 ******** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:15:00 -0400 (0:00:00.251) 0:00:34.387 ******** ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:15:00 -0400 (0:00:00.245) 0:00:34.632 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:15:00 -0400 (0:00:00.019) 0:00:34.652 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:15:00 -0400 (0:00:00.018) 0:00:34.670 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:15:00 -0400 (0:00:00.017) 0:00:34.688 ******** ok: [managed-node2] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "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": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that default bootloader is correct in bootloader_gather_facts] **** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:43 Wednesday 25 June 2025 08:15:01 -0400 (0:00:00.266) 0:00:34.954 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.158017", "end": "2025-06-25 08:15:01.367058", "failed_when_result": false, "rc": 0, "start": "2025-06-25 08:15:01.209041" } STDOUT: /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64 TASK [Set fact with the test clone] ******************************************** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:52 Wednesday 25 June 2025 08:15:01 -0400 (0:00:00.397) 0:00:35.352 ******** 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": false, "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 [Replace configuration with settings using kernel index] ****************** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:56 Wednesday 25 June 2025 08:15:01 -0400 (0:00:00.022) 0:00:35.374 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:15:01 -0400 (0:00:00.079) 0:00:35.454 ******** included: /tmp/collections-vnQ/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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:15:01 -0400 (0:00:00.027) 0:00:35.481 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:15:01 -0400 (0:00:00.020) 0:00:35.502 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:15:01 -0400 (0:00:00.018) 0:00:35.520 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:15:01 -0400 (0:00:00.019) 0:00:35.540 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:15:01 -0400 (0:00:00.046) 0:00:35.586 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:15:01 -0400 (0:00:00.018) 0:00:35.605 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:15:02 -0400 (0:00:00.545) 0:00:36.151 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750853698.5249426, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1750853675.6741576, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853675.6741576, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1654340860", "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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:15:02 -0400 (0:00:00.261) 0:00:36.412 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:15:02 -0400 (0:00:00.022) 0:00:36.434 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:15:02 -0400 (0:00:00.018) 0:00:36.453 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:15:02 -0400 (0:00:00.247) 0:00:36.701 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:15:02 -0400 (0:00:00.030) 0:00:36.732 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750853698.5249426, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1750853675.6741576, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853675.6741576, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1654340860", "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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:15:03 -0400 (0:00:00.268) 0:00:37.000 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750853675.6621575, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1750853675.3061526, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853675.3061526, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "1654340854", "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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:15:03 -0400 (0:00:00.271) 0:00:37.272 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004157", "end": "2025-06-25 08:15:03.606492", "rc": 0, "start": "2025-06-25 08:15:03.602335" } 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:15:03 -0400 (0:00:00.259) 0:00:37.532 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:15:03 -0400 (0:00:00.023) 0:00:37.556 ******** changed: [managed-node2] => { "changed": true } MSG: 1 replacements made TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:15:03 -0400 (0:00:00.258) 0:00:37.814 ******** changed: [managed-node2] => { "changed": true } MSG: 2 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:15:04 -0400 (0:00:00.262) 0:00:38.077 ******** 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=0 --remove-args='ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel'", "grubby --update-kernel=0 --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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:15:04 -0400 (0:00:00.342) 0:00:38.419 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:15:04 -0400 (0:00:00.020) 0:00:38.440 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:15:04 -0400 (0:00:00.019) 0:00:38.459 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:15:04 -0400 (0:00:00.017) 0:00:38.477 ******** 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": false, "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": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 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 } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 08:15:04 -0400 (0:00:00.267) 0:00:38.744 ******** 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.017204", "end": "2025-06-25 08:15:05.102928", "rc": 0, "start": "2025-06-25 08:15:05.085724" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 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" 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="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 option_set_from_ALL" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 08:15:05 -0400 (0:00:00.280) 0:00:39.025 ******** included: /tmp/collections-vnQ/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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 08:15:05 -0400 (0:00:00.020) 0:00:39.045 ******** changed: [managed-node2] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 08:15:26 -0400 (0:00:21.811) 0:01:00.857 ******** skipping: [managed-node2] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 08:15:26 -0400 (0:00:00.017) 0:01:00.874 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:84 Wednesday 25 June 2025 08:15:27 -0400 (0:00:00.025) 0:01:00.899 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify settings] ********************************************************* task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:88 Wednesday 25 June 2025 08:15:27 -0400 (0:00:00.020) 0:01:00.920 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify boot loader timeout configuration] ******************************** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:96 Wednesday 25 June 2025 08:15:27 -0400 (0:00:00.024) 0:01:00.944 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "cat", "/boot/grub2/grub.cfg" ], "delta": "0:00:00.004797", "end": "2025-06-25 08:15:26.984384", "failed_when_result": false, "rc": 0, "start": "2025-06-25 08:15:26.979587" } 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-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:104 Wednesday 25 June 2025 08:15:27 -0400 (0:00:00.282) 0:01:01.227 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:15:27 -0400 (0:00:00.087) 0:01:01.315 ******** included: /tmp/collections-vnQ/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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:15:27 -0400 (0:00:00.025) 0:01:01.340 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:15:27 -0400 (0:00:00.019) 0:01:01.360 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:15:27 -0400 (0:00:00.018) 0:01:01.378 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:15:27 -0400 (0:00:00.017) 0:01:01.396 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:15:27 -0400 (0:00:00.043) 0:01:01.439 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:15:27 -0400 (0:00:00.017) 0:01:01.457 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:15:28 -0400 (0:00:00.686) 0:01:02.143 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750853705.1012135, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5e83fb17f1b640de05f1687856f633748fdf0057", "ctime": 1750853705.1012135, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853705.1012135, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 326, "uid": 0, "version": "690366083", "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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:15:28 -0400 (0:00:00.270) 0:01:02.413 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:15:28 -0400 (0:00:00.020) 0:01:02.434 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:15:28 -0400 (0:00:00.017) 0:01:02.452 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:15:28 -0400 (0:00:00.237) 0:01:02.689 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:15:28 -0400 (0:00:00.029) 0:01:02.718 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750853728.1583748, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5e83fb17f1b640de05f1687856f633748fdf0057", "ctime": 1750853705.1012135, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853705.1012135, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 326, "uid": 0, "version": "690366083", "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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:15:29 -0400 (0:00:00.255) 0:01:02.973 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750853704.8072095, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "4fb1ff22637741d51a2bf29d2582073174201e90", "ctime": 1750853704.4922051, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853704.4922051, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5923, "uid": 0, "version": "690366072", "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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:15:29 -0400 (0:00:00.256) 0:01:03.230 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004636", "end": "2025-06-25 08:15:29.244420", "rc": 0, "start": "2025-06-25 08:15:29.239784" } 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:15:29 -0400 (0:00:00.250) 0:01:03.480 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:15:29 -0400 (0:00:00.021) 0:01:03.502 ******** changed: [managed-node2] => { "changed": true } MSG: 1 replacements made TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:15:29 -0400 (0:00:00.248) 0:01:03.751 ******** changed: [managed-node2] => { "changed": true } MSG: 2 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:15:30 -0400 (0:00:00.244) 0:01:03.996 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:15:30 -0400 (0:00:00.290) 0:01:04.286 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:15:30 -0400 (0:00:00.019) 0:01:04.306 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:15:30 -0400 (0:00:00.018) 0:01:04.325 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:15:30 -0400 (0:00:00.017) 0:01:04.342 ******** ok: [managed-node2] => { "ansible_facts": { "bootloader_facts": [ { "args": "console=tty0 print-fatal-signals=1 no_timer_check", "default": false, "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": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 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 } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 08:15:30 -0400 (0:00:00.254) 0:01:04.597 ******** 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.018211", "end": "2025-06-25 08:15:30.689589", "rc": 0, "start": "2025-06-25 08:15:30.671378" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 option_set_from_ALL" 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="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 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="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 option_set_from_ALL" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 08:15:30 -0400 (0:00:00.257) 0:01:04.854 ******** included: /tmp/collections-vnQ/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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 08:15:30 -0400 (0:00:00.019) 0:01:04.874 ******** changed: [managed-node2] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 08:15:53 -0400 (0:00:22.340) 0:01:27.215 ******** skipping: [managed-node2] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 08:15:53 -0400 (0:00:00.020) 0:01:27.235 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:124 Wednesday 25 June 2025 08:15:53 -0400 (0:00:00.025) 0:01:27.261 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:128 Wednesday 25 June 2025 08:15:53 -0400 (0:00:00.021) 0:01:27.282 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify boot loader timeout configuration] ******************************** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:138 Wednesday 25 June 2025 08:15:53 -0400 (0:00:00.032) 0:01:27.315 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "cat", "/boot/grub2/grub.cfg" ], "delta": "0:00:00.005050", "end": "2025-06-25 08:15:53.414638", "failed_when_result": false, "rc": 0, "start": "2025-06-25 08:15:53.409588" } 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-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:146 Wednesday 25 June 2025 08:15:53 -0400 (0:00:00.261) 0:01:27.577 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:15:53 -0400 (0:00:00.102) 0:01:27.679 ******** included: /tmp/collections-vnQ/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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:15:53 -0400 (0:00:00.024) 0:01:27.703 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:15:53 -0400 (0:00:00.018) 0:01:27.722 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:15:53 -0400 (0:00:00.016) 0:01:27.739 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:15:53 -0400 (0:00:00.016) 0:01:27.756 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:15:53 -0400 (0:00:00.043) 0:01:27.800 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:15:53 -0400 (0:00:00.017) 0:01:27.817 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:15:54 -0400 (0:00:00.662) 0:01:28.479 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750853730.6886613, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cc919f774cc264c1e1f9de321094b0e95dfcb9bb", "ctime": 1750853730.687578, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853730.687578, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 326, "uid": 0, "version": "18446744073026091990", "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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:15:54 -0400 (0:00:00.256) 0:01:28.736 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:15:54 -0400 (0:00:00.019) 0:01:28.756 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:15:54 -0400 (0:00:00.018) 0:01:28.775 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:15:55 -0400 (0:00:00.235) 0:01:29.010 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:15:55 -0400 (0:00:00.029) 0:01:29.040 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750853730.6886613, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cc919f774cc264c1e1f9de321094b0e95dfcb9bb", "ctime": 1750853730.687578, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853730.687578, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 326, "uid": 0, "version": "18446744073026091990", "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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:15:55 -0400 (0:00:00.257) 0:01:29.297 ******** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1750853730.395074, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0285d361e98d2750b0a3f21460d664b6c20d6a99", "ctime": 1750853730.0668194, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853730.0668194, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5851, "uid": 0, "version": "18446744073026091978", "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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:15:55 -0400 (0:00:00.257) 0:01:29.554 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004480", "end": "2025-06-25 08:15:55.802472", "rc": 0, "start": "2025-06-25 08:15:55.797992" } 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:15:55 -0400 (0:00:00.247) 0:01:29.802 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:15:55 -0400 (0:00:00.022) 0:01:29.824 ******** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:15:56 -0400 (0:00:00.248) 0:01:30.073 ******** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:15:56 -0400 (0:00:00.242) 0:01:30.316 ******** ok: [managed-node2] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:15:56 -0400 (0:00:00.268) 0:01:30.584 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:15:56 -0400 (0:00:00.018) 0:01:30.603 ******** 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-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:15:56 -0400 (0:00:00.018) 0:01:30.621 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:15:56 -0400 (0:00:00.016) 0:01:30.637 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:163 Wednesday 25 June 2025 08:15:56 -0400 (0:00:00.018) 0:01:30.656 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify settings] ********************************************************* task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:167 Wednesday 25 June 2025 08:15:56 -0400 (0:00:00.019) 0:01:30.675 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify boot loader timeout configuration] ******************************** task path: /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:175 Wednesday 25 June 2025 08:15:56 -0400 (0:00:00.022) 0:01:30.698 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "cat", "/boot/grub2/grub.cfg" ], "delta": "0:00:00.002917", "end": "2025-06-25 08:15:57.019776", "failed_when_result": false, "rc": 0, "start": "2025-06-25 08:15:57.016859" } 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-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml:183 Wednesday 25 June 2025 08:15:57 -0400 (0:00:00.249) 0:01:30.947 ******** fatal: [managed-node2]: FAILED! => {} MSG: The task includes an option with an undefined variable. The error was: 'test_kernel' is undefined The error appears to be in '/tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_settings.yml': line 183, column 11, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: always: - name: Remove cloned kernels ^ here PLAY RECAP ********************************************************************* managed-node2 : ok=101 changed=14 unreachable=0 failed=1 skipped=69 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Wednesday 25 June 2025 08:15:57 -0400 (0:00:00.013) 0:01:30.961 ******** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 22.34s /tmp/collections-vnQ/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.91s /tmp/collections-vnQ/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.81s /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.38s /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Copy kernel and initrd for test purposes from /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64 --- 0.81s /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.70s /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.69s /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 0.67s /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.67s /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.66s /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.66s /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.59s /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.58s /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.57s /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.55s /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.52s /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.51s /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.51s /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.47s /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.46s /tmp/collections-vnQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102