ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** META: ran handlers TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Thursday 26 June 2025 15:54:22 -0400 (0:00:00.024) 0:00:00.024 ********* included: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Thursday 26 June 2025 15:54:23 -0400 (0:00:00.075) 0:00:00.100 ********* ok: [managed-node1] META: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Thursday 26 June 2025 15:54:24 -0400 (0:00:01.104) 0:00:01.204 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 15:54:24 -0400 (0:00:00.054) 0:00:01.259 ********* included: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 15:54:24 -0400 (0:00:00.023) 0:00:01.283 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 15:54:24 -0400 (0:00:00.017) 0:00:01.301 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 15:54:24 -0400 (0:00:00.409) 0:00:01.710 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 15:54:24 -0400 (0:00:00.034) 0:00:01.744 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 15:54:24 -0400 (0:00:00.065) 0:00:01.810 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 15:54:24 -0400 (0:00:00.025) 0:00:01.835 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 15:54:25 -0400 (0:00:00.876) 0:00:02.711 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1718881015.7736502, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 15:54:26 -0400 (0:00:00.339) 0:00:03.051 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 15:54:26 -0400 (0:00:00.023) 0:00:03.074 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 15:54:26 -0400 (0:00:00.022) 0:00:03.097 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 15:54:26 -0400 (0:00:00.291) 0:00:03.389 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 15:54:26 -0400 (0:00:00.041) 0:00:03.430 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967665.9386055, "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 15:54:26 -0400 (0:00:00.357) 0:00:03.788 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1718880548.6646502, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1718881171.2176502, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718880548.6706502, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "22411319", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 15:54:27 -0400 (0:00:00.335) 0:00:04.124 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004680", "end": "2025-06-26 15:54:27.481738", "rc": 0, "start": "2025-06-26 15:54:27.477058" } 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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 15:54:27 -0400 (0:00:00.449) 0:00:04.573 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 15:54:27 -0400 (0:00:00.024) 0:00:04.597 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 15:54:28 -0400 (0:00:00.455) 0:00:05.053 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 15:54:28 -0400 (0:00:00.323) 0:00:05.376 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 15:54:28 -0400 (0:00:00.449) 0:00:05.825 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 15:54:28 -0400 (0:00:00.025) 0:00:05.851 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 15:54:28 -0400 (0:00:00.020) 0:00:05.872 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 15:54:28 -0400 (0:00:00.016) 0:00:05.888 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } META: end_host conditional evaluated to false, continuing execution for managed-node1 META: ran handlers TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Thursday 26 June 2025 15:54:29 -0400 (0:00:00.481) 0:00:06.370 ********* ok: [managed-node1] => { "ansible_facts": { "__default_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Thursday 26 June 2025 15:54:29 -0400 (0:00:00.023) 0:00:06.394 ********* included: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 26 June 2025 15:54:29 -0400 (0:00:00.055) 0:00:06.449 ********* changed: [managed-node1] => (item={u'dest': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1', u'src': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "bcc96d540663b9b1764e12a7ab21389e0b9ceb0e", "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64" }, "md5sum": "8d408037538856fa5672cf3f9da1ff35", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={u'dest': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1', u'src': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a48b0c90c9b0dce76f2e1f4a861b7f3b00714982", "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img" }, "md5sum": "dd570b9af2ecb0d8f046a071cd868a55", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20160196, "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 26 June 2025 15:54:30 -0400 (0:00:00.945) 0:00:07.395 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 15:54:30 -0400 (0:00:00.063) 0:00:07.459 ********* included: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 15:54:30 -0400 (0:00:00.029) 0:00:07.488 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 15:54:30 -0400 (0:00:00.019) 0:00:07.508 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 15:54:30 -0400 (0:00:00.017) 0:00:07.525 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 15:54:30 -0400 (0:00:00.017) 0:00:07.543 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 15:54:30 -0400 (0:00:00.050) 0:00:07.593 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 15:54:30 -0400 (0:00:00.028) 0:00:07.622 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 15:54:31 -0400 (0:00:00.642) 0:00:08.265 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967665.9386055, "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 15:54:31 -0400 (0:00:00.293) 0:00:08.559 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 15:54:31 -0400 (0:00:00.019) 0:00:08.578 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 15:54:31 -0400 (0:00:00.018) 0:00:08.596 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 15:54:31 -0400 (0:00:00.296) 0:00:08.893 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 15:54:31 -0400 (0:00:00.058) 0:00:08.952 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967665.9386055, "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 15:54:32 -0400 (0:00:00.354) 0:00:09.306 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967666.9966166, "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 15:54:32 -0400 (0:00:00.355) 0:00:09.661 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004862", "end": "2025-06-26 15:54:32.894095", "rc": 0, "start": "2025-06-26 15:54:32.889233" } 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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 15:54:32 -0400 (0:00:00.323) 0:00:09.985 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 15:54:32 -0400 (0:00:00.022) 0:00:10.008 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 15:54:33 -0400 (0:00:00.295) 0:00:10.303 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 15:54:33 -0400 (0:00:00.347) 0:00:10.650 ********* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default --make-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 15:54:34 -0400 (0:00:00.597) 0:00:11.247 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 15:54:34 -0400 (0:00:00.032) 0:00:11.280 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 15:54:34 -0400 (0:00:00.026) 0:00:11.306 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 15:54:34 -0400 (0:00:00.027) 0:00:11.334 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 26 June 2025 15:54:34 -0400 (0:00:00.017) 0:00:11.351 ********* changed: [managed-node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.018742", "end": "2025-06-26 15:54:34.607688", "rc": 0, "start": "2025-06-26 15:54:34.588946" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 26 June 2025 15:54:34 -0400 (0:00:00.357) 0:00:11.709 ********* included: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 26 June 2025 15:54:34 -0400 (0:00:00.033) 0:00:11.742 ********* changed: [managed-node1] => { "changed": true, "elapsed": 40, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 26 June 2025 15:55:16 -0400 (0:00:41.806) 0:00:53.549 ********* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 26 June 2025 15:55:16 -0400 (0:00:00.017) 0:00:53.567 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 26 June 2025 15:55:16 -0400 (0:00:00.026) 0:00:53.593 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 26 June 2025 15:55:16 -0400 (0:00:00.021) 0:00:53.614 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 15:55:16 -0400 (0:00:00.054) 0:00:53.669 ********* included: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 15:55:16 -0400 (0:00:00.027) 0:00:53.696 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 15:55:16 -0400 (0:00:00.020) 0:00:53.717 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 15:55:16 -0400 (0:00:00.017) 0:00:53.735 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 15:55:16 -0400 (0:00:00.017) 0:00:53.752 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 15:55:16 -0400 (0:00:00.098) 0:00:53.851 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 15:55:16 -0400 (0:00:00.019) 0:00:53.870 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 15:55:17 -0400 (0:00:00.775) 0:00:54.645 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967674.6066945, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750967674.6056945, "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": 1750967674.6056945, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "534350194", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 15:55:17 -0400 (0:00:00.310) 0:00:54.956 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 15:55:17 -0400 (0:00:00.019) 0:00:54.976 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 15:55:17 -0400 (0:00:00.018) 0:00:54.995 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 15:55:18 -0400 (0:00:00.282) 0:00:55.277 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 15:55:18 -0400 (0:00:00.031) 0:00:55.308 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967674.6066945, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750967674.6056945, "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": 1750967674.6056945, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "534350194", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 15:55:18 -0400 (0:00:00.295) 0:00:55.604 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967674.5926943, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1750967674.1436899, "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": 1750967674.1436899, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "534350188", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 15:55:18 -0400 (0:00:00.311) 0:00:55.915 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004535", "end": "2025-06-26 15:55:19.110546", "rc": 0, "start": "2025-06-26 15:55:19.106011" } 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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 15:55:19 -0400 (0:00:00.288) 0:00:56.204 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 15:55:19 -0400 (0:00:00.023) 0:00:56.227 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 15:55:19 -0400 (0:00:00.285) 0:00:56.513 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 15:55:19 -0400 (0:00:00.285) 0:00:56.799 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 15:55:20 -0400 (0:00:00.279) 0:00:57.078 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 15:55:20 -0400 (0:00:00.020) 0:00:57.099 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 15:55:20 -0400 (0:00:00.019) 0:00:57.119 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 15:55:20 -0400 (0:00:00.017) 0:00:57.137 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Clone again to check idempotency] **************************************** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Thursday 26 June 2025 15:55:20 -0400 (0:00:00.310) 0:00:57.447 ********* included: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 26 June 2025 15:55:20 -0400 (0:00:00.040) 0:00:57.488 ********* ok: [managed-node1] => (item={u'dest': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1', u'src': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "bcc96d540663b9b1764e12a7ab21389e0b9ceb0e", "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64" }, "md5sum": "8d408037538856fa5672cf3f9da1ff35", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "state": "file", "uid": 0 } ok: [managed-node1] => (item={u'dest': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1', u'src': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "a48b0c90c9b0dce76f2e1f4a861b7f3b00714982", "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img" }, "md5sum": "dd570b9af2ecb0d8f046a071cd868a55", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20160196, "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 26 June 2025 15:55:21 -0400 (0:00:00.734) 0:00:58.223 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 15:55:21 -0400 (0:00:00.033) 0:00:58.256 ********* included: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 15:55:21 -0400 (0:00:00.028) 0:00:58.285 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 15:55:21 -0400 (0:00:00.019) 0:00:58.304 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 15:55:21 -0400 (0:00:00.018) 0:00:58.323 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 15:55:21 -0400 (0:00:00.017) 0:00:58.340 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 15:55:21 -0400 (0:00:00.046) 0:00:58.387 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 15:55:21 -0400 (0:00:00.018) 0:00:58.406 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 15:55:21 -0400 (0:00:00.585) 0:00:58.992 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967674.6066945, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750967674.6056945, "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": 1750967674.6056945, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "534350194", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 15:55:22 -0400 (0:00:00.298) 0:00:59.290 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 15:55:22 -0400 (0:00:00.020) 0:00:59.310 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 15:55:22 -0400 (0:00:00.019) 0:00:59.330 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 15:55:22 -0400 (0:00:00.276) 0:00:59.606 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 15:55:22 -0400 (0:00:00.031) 0:00:59.637 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967674.6066945, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750967674.6056945, "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": 1750967674.6056945, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "534350194", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 15:55:22 -0400 (0:00:00.294) 0:00:59.932 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967674.5926943, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1750967674.1436899, "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": 1750967674.1436899, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "534350188", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 15:55:23 -0400 (0:00:00.300) 0:01:00.233 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004697", "end": "2025-06-26 15:55:23.436487", "rc": 0, "start": "2025-06-26 15:55:23.431790" } 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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 15:55:23 -0400 (0:00:00.295) 0:01:00.528 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 15:55:23 -0400 (0:00:00.022) 0:01:00.551 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 15:55:23 -0400 (0:00:00.288) 0:01:00.840 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 15:55:24 -0400 (0:00:00.285) 0:01:01.125 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 15:55:24 -0400 (0:00:00.309) 0:01:01.435 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 15:55:24 -0400 (0:00:00.021) 0:01:01.456 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 15:55:24 -0400 (0:00:00.018) 0:01:01.474 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 15:55:24 -0400 (0:00:00.018) 0:01:01.493 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 26 June 2025 15:55:24 -0400 (0:00:00.018) 0:01:01.511 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 26 June 2025 15:55:24 -0400 (0:00:00.021) 0:01:01.532 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 15:55:24 -0400 (0:00:00.057) 0:01:01.590 ********* included: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 15:55:24 -0400 (0:00:00.028) 0:01:01.619 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 15:55:24 -0400 (0:00:00.020) 0:01:01.640 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 15:55:24 -0400 (0:00:00.017) 0:01:01.658 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 15:55:24 -0400 (0:00:00.018) 0:01:01.677 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 15:55:24 -0400 (0:00:00.046) 0:01:01.723 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 15:55:24 -0400 (0:00:00.017) 0:01:01.740 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 15:55:25 -0400 (0:00:00.587) 0:01:02.328 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967674.6066945, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750967674.6056945, "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": 1750967674.6056945, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "534350194", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 15:55:25 -0400 (0:00:00.295) 0:01:02.623 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 15:55:25 -0400 (0:00:00.020) 0:01:02.644 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 15:55:25 -0400 (0:00:00.017) 0:01:02.662 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 15:55:25 -0400 (0:00:00.275) 0:01:02.938 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 15:55:25 -0400 (0:00:00.032) 0:01:02.971 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967674.6066945, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750967674.6056945, "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": 1750967674.6056945, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "534350194", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 15:55:26 -0400 (0:00:00.305) 0:01:03.276 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967674.5926943, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1750967674.1436899, "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": 1750967674.1436899, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "534350188", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 15:55:26 -0400 (0:00:00.303) 0:01:03.580 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004594", "end": "2025-06-26 15:55:26.779735", "rc": 0, "start": "2025-06-26 15:55:26.775141" } 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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 15:55:26 -0400 (0:00:00.294) 0:01:03.874 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 15:55:26 -0400 (0:00:00.024) 0:01:03.898 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 15:55:27 -0400 (0:00:00.290) 0:01:04.189 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 15:55:27 -0400 (0:00:00.284) 0:01:04.473 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 15:55:27 -0400 (0:00:00.281) 0:01:04.755 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 15:55:27 -0400 (0:00:00.019) 0:01:04.775 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 15:55:27 -0400 (0:00:00.019) 0:01:04.794 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 15:55:27 -0400 (0:00:00.017) 0:01:04.812 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings for Clone1] ********************************************** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Thursday 26 June 2025 15:55:28 -0400 (0:00:00.313) 0:01:05.125 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Thursday 26 June 2025 15:55:28 -0400 (0:00:00.046) 0:01:05.172 ********* included: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 26 June 2025 15:55:28 -0400 (0:00:00.063) 0:01:05.235 ********* changed: [managed-node1] => (item={u'dest': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2', u'src': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "bcc96d540663b9b1764e12a7ab21389e0b9ceb0e", "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64" }, "md5sum": "8d408037538856fa5672cf3f9da1ff35", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={u'dest': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2', u'src': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a48b0c90c9b0dce76f2e1f4a861b7f3b00714982", "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2", "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img" }, "md5sum": "dd570b9af2ecb0d8f046a071cd868a55", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20160196, "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 26 June 2025 15:55:28 -0400 (0:00:00.761) 0:01:05.997 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 15:55:29 -0400 (0:00:00.073) 0:01:06.071 ********* included: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 15:55:29 -0400 (0:00:00.035) 0:01:06.107 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 15:55:29 -0400 (0:00:00.033) 0:01:06.140 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 15:55:29 -0400 (0:00:00.025) 0:01:06.165 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 15:55:29 -0400 (0:00:00.022) 0:01:06.188 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 15:55:29 -0400 (0:00:00.061) 0:01:06.249 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 15:55:29 -0400 (0:00:00.025) 0:01:06.275 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 15:55:29 -0400 (0:00:00.618) 0:01:06.894 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967674.6066945, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750967674.6056945, "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": 1750967674.6056945, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "534350194", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 15:55:30 -0400 (0:00:00.305) 0:01:07.200 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 15:55:30 -0400 (0:00:00.021) 0:01:07.221 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 15:55:30 -0400 (0:00:00.019) 0:01:07.241 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 15:55:30 -0400 (0:00:00.293) 0:01:07.534 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 15:55:30 -0400 (0:00:00.032) 0:01:07.567 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967674.6066945, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750967674.6056945, "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": 1750967674.6056945, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "534350194", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 15:55:30 -0400 (0:00:00.313) 0:01:07.880 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967674.5926943, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1750967674.1436899, "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": 1750967674.1436899, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "534350188", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 15:55:31 -0400 (0:00:00.318) 0:01:08.198 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004646", "end": "2025-06-26 15:55:31.420899", "rc": 0, "start": "2025-06-26 15:55:31.416253" } 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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 15:55:31 -0400 (0:00:00.326) 0:01:08.525 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 15:55:31 -0400 (0:00:00.035) 0:01:08.560 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 15:55:31 -0400 (0:00:00.327) 0:01:08.887 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 15:55:32 -0400 (0:00:00.343) 0:01:09.231 ********* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 15:55:32 -0400 (0:00:00.352) 0:01:09.583 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 15:55:32 -0400 (0:00:00.020) 0:01:09.603 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 15:55:32 -0400 (0:00:00.018) 0:01:09.622 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 15:55:32 -0400 (0:00:00.017) 0:01:09.640 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 26 June 2025 15:55:32 -0400 (0:00:00.014) 0:01:09.655 ********* changed: [managed-node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.018949", "end": "2025-06-26 15:55:32.866642", "rc": 0, "start": "2025-06-26 15:55:32.847693" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 26 June 2025 15:55:32 -0400 (0:00:00.307) 0:01:09.962 ********* included: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 26 June 2025 15:55:32 -0400 (0:00:00.024) 0:01:09.986 ********* changed: [managed-node1] => { "changed": true, "elapsed": 35, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 26 June 2025 15:56:09 -0400 (0:00:36.265) 0:01:46.252 ********* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 26 June 2025 15:56:09 -0400 (0:00:00.018) 0:01:46.270 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 26 June 2025 15:56:09 -0400 (0:00:00.025) 0:01:46.296 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 26 June 2025 15:56:09 -0400 (0:00:00.020) 0:01:46.317 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 15:56:09 -0400 (0:00:00.053) 0:01:46.370 ********* included: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 15:56:09 -0400 (0:00:00.027) 0:01:46.398 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 15:56:09 -0400 (0:00:00.020) 0:01:46.418 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 15:56:09 -0400 (0:00:00.018) 0:01:46.436 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 15:56:09 -0400 (0:00:00.018) 0:01:46.455 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 15:56:09 -0400 (0:00:00.047) 0:01:46.502 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 15:56:09 -0400 (0:00:00.017) 0:01:46.519 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 15:56:10 -0400 (0:00:01.008) 0:01:47.528 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967732.8654702, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750967732.86447, "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": 1750967732.86447, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073495139833", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 15:56:10 -0400 (0:00:00.304) 0:01:47.833 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 15:56:10 -0400 (0:00:00.019) 0:01:47.853 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 15:56:10 -0400 (0:00:00.019) 0:01:47.872 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 15:56:11 -0400 (0:00:00.277) 0:01:48.149 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 15:56:11 -0400 (0:00:00.031) 0:01:48.180 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967732.8654702, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750967732.86447, "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": 1750967732.86447, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073495139833", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 15:56:11 -0400 (0:00:00.291) 0:01:48.471 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967732.85147, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8fe5962fc8399d68cc1b8c59a5473cbb4f0072aa", "ctime": 1750967732.490466, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137496, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750967732.490466, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 6046, "uid": 0, "version": "18446744073495139827", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 15:56:11 -0400 (0:00:00.308) 0:01:48.780 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004622", "end": "2025-06-26 15:56:12.054440", "rc": 0, "start": "2025-06-26 15:56:12.049818" } 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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 15:56:12 -0400 (0:00:00.288) 0:01:49.069 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 15:56:12 -0400 (0:00:00.024) 0:01:49.093 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 15:56:12 -0400 (0:00:00.291) 0:01:49.384 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 15:56:12 -0400 (0:00:00.286) 0:01:49.670 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 15:56:12 -0400 (0:00:00.273) 0:01:49.944 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 15:56:12 -0400 (0:00:00.019) 0:01:49.963 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 15:56:12 -0400 (0:00:00.018) 0:01:49.982 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 15:56:12 -0400 (0:00:00.017) 0:01:50.000 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "3", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "4", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "5", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings for Clone2] ********************************************** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Thursday 26 June 2025 15:56:13 -0400 (0:00:00.310) 0:01:50.310 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Thursday 26 June 2025 15:56:13 -0400 (0:00:00.028) 0:01:50.339 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 15:56:13 -0400 (0:00:00.048) 0:01:50.387 ********* included: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 15:56:13 -0400 (0:00:00.027) 0:01:50.415 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 15:56:13 -0400 (0:00:00.019) 0:01:50.435 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 15:56:13 -0400 (0:00:00.016) 0:01:50.452 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 15:56:13 -0400 (0:00:00.017) 0:01:50.469 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 15:56:13 -0400 (0:00:00.042) 0:01:50.512 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 15:56:13 -0400 (0:00:00.017) 0:01:50.530 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 15:56:14 -0400 (0:00:00.583) 0:01:51.113 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967732.8654702, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750967732.86447, "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": 1750967732.86447, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073495139833", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 15:56:14 -0400 (0:00:00.290) 0:01:51.403 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 15:56:14 -0400 (0:00:00.019) 0:01:51.423 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 15:56:14 -0400 (0:00:00.018) 0:01:51.442 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 15:56:14 -0400 (0:00:00.275) 0:01:51.718 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 15:56:14 -0400 (0:00:00.032) 0:01:51.750 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967732.8654702, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750967732.86447, "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": 1750967732.86447, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073495139833", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 15:56:15 -0400 (0:00:00.305) 0:01:52.055 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967732.85147, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8fe5962fc8399d68cc1b8c59a5473cbb4f0072aa", "ctime": 1750967732.490466, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137496, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750967732.490466, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 6046, "uid": 0, "version": "18446744073495139827", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 15:56:15 -0400 (0:00:00.293) 0:01:52.349 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004626", "end": "2025-06-26 15:56:15.539123", "rc": 0, "start": "2025-06-26 15:56:15.534497" } 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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 15:56:15 -0400 (0:00:00.281) 0:01:52.631 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 15:56:15 -0400 (0:00:00.024) 0:01:52.655 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 15:56:15 -0400 (0:00:00.273) 0:01:52.929 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 15:56:16 -0400 (0:00:00.282) 0:01:53.211 ********* fatal: [managed-node1]: FAILED! => { "changed": false } MSG: Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1, /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2 TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Thursday 26 June 2025 15:56:16 -0400 (0:00:00.278) 0:01:53.490 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Thursday 26 June 2025 15:56:16 -0400 (0:00:00.021) 0:01:53.511 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 15:56:16 -0400 (0:00:00.112) 0:01:53.624 ********* included: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 15:56:16 -0400 (0:00:00.025) 0:01:53.649 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 15:56:16 -0400 (0:00:00.020) 0:01:53.669 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 15:56:16 -0400 (0:00:00.019) 0:01:53.688 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 15:56:16 -0400 (0:00:00.017) 0:01:53.706 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 15:56:16 -0400 (0:00:00.042) 0:01:53.748 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 15:56:16 -0400 (0:00:00.017) 0:01:53.765 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 15:56:17 -0400 (0:00:00.594) 0:01:54.360 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967732.8654702, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750967732.86447, "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": 1750967732.86447, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073495139833", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 15:56:17 -0400 (0:00:00.296) 0:01:54.656 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 15:56:17 -0400 (0:00:00.021) 0:01:54.678 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 15:56:17 -0400 (0:00:00.018) 0:01:54.697 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 15:56:17 -0400 (0:00:00.276) 0:01:54.974 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 15:56:17 -0400 (0:00:00.031) 0:01:55.005 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967732.8654702, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750967732.86447, "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": 1750967732.86447, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073495139833", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 15:56:18 -0400 (0:00:00.299) 0:01:55.305 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967732.85147, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8fe5962fc8399d68cc1b8c59a5473cbb4f0072aa", "ctime": 1750967732.490466, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137496, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750967732.490466, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 6046, "uid": 0, "version": "18446744073495139827", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 15:56:18 -0400 (0:00:00.291) 0:01:55.597 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004419", "end": "2025-06-26 15:56:18.792364", "rc": 0, "start": "2025-06-26 15:56:18.787945" } 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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 15:56:18 -0400 (0:00:00.287) 0:01:55.884 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 15:56:18 -0400 (0:00:00.022) 0:01:55.906 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 15:56:19 -0400 (0:00:00.282) 0:01:56.189 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 15:56:19 -0400 (0:00:00.279) 0:01:56.469 ********* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 15:56:20 -0400 (0:00:01.051) 0:01:57.520 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 15:56:20 -0400 (0:00:00.019) 0:01:57.540 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 15:56:20 -0400 (0:00:00.019) 0:01:57.559 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 15:56:20 -0400 (0:00:00.018) 0:01:57.578 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Thursday 26 June 2025 15:56:20 -0400 (0:00:00.294) 0:01:57.872 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 15:56:20 -0400 (0:00:00.096) 0:01:57.969 ********* included: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 15:56:20 -0400 (0:00:00.026) 0:01:57.995 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 15:56:20 -0400 (0:00:00.024) 0:01:58.019 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 15:56:20 -0400 (0:00:00.017) 0:01:58.037 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 15:56:21 -0400 (0:00:00.018) 0:01:58.055 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 15:56:21 -0400 (0:00:00.044) 0:01:58.100 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 15:56:21 -0400 (0:00:00.019) 0:01:58.119 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 15:56:21 -0400 (0:00:00.582) 0:01:58.702 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967732.8654702, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750967732.86447, "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": 1750967732.86447, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073495139833", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 15:56:21 -0400 (0:00:00.290) 0:01:58.992 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 15:56:21 -0400 (0:00:00.020) 0:01:59.013 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 15:56:21 -0400 (0:00:00.019) 0:01:59.032 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 15:56:22 -0400 (0:00:00.270) 0:01:59.303 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 15:56:22 -0400 (0:00:00.029) 0:01:59.333 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967732.8654702, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750967732.86447, "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": 1750967732.86447, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073495139833", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 15:56:22 -0400 (0:00:00.287) 0:01:59.620 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967780.7667403, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dd4a829b9057a88b4d1c0d9b50cfc16c28a1c3b5", "ctime": 1750967780.4257345, "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": 1750967780.4257345, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5233, "uid": 0, "version": "18446744073134353467", "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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 15:56:22 -0400 (0:00:00.291) 0:01:59.912 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004598", "end": "2025-06-26 15:56:23.105520", "rc": 0, "start": "2025-06-26 15:56:23.100922" } 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-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 15:56:23 -0400 (0:00:00.286) 0:02:00.198 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 15:56:23 -0400 (0:00:00.022) 0:02:00.220 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 15:56:23 -0400 (0:00:00.278) 0:02:00.499 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 15:56:23 -0400 (0:00:00.281) 0:02:00.780 ********* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 15:56:24 -0400 (0:00:00.316) 0:02:01.097 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 15:56:24 -0400 (0:00:00.021) 0:02:01.119 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 15:56:24 -0400 (0:00:00.018) 0:02:01.137 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 15:56:24 -0400 (0:00:00.019) 0:02:01.157 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that kernel is removed {{ item }}] ******************************** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Thursday 26 June 2025 15:56:24 -0400 (0:00:00.293) 0:02:01.451 ********* ok: [managed-node1] => (item=Clone1) => { "ansible_loop_var": "item", "changed": false, "item": "Clone1" } MSG: All assertions passed ok: [managed-node1] => (item=Clone2) => { "ansible_loop_var": "item", "changed": false, "item": "Clone2" } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Thursday 26 June 2025 15:56:24 -0400 (0:00:00.037) 0:02:01.488 ********* changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" ], "delta": "0:00:00.013715", "end": "2025-06-26 15:56:24.691902", "failed_when_result": false, "item": 1, "rc": 0, "start": "2025-06-26 15:56:24.678187" } changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2" ], "delta": "0:00:00.013863", "end": "2025-06-26 15:56:24.972768", "failed_when_result": false, "item": 2, "rc": 0, "start": "2025-06-26 15:56:24.958905" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 26 June 2025 15:56:25 -0400 (0:00:00.573) 0:02:02.062 ********* changed: [managed-node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.017998", "end": "2025-06-26 15:56:25.280963", "rc": 0, "start": "2025-06-26 15:56:25.262965" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 26 June 2025 15:56:25 -0400 (0:00:00.307) 0:02:02.369 ********* included: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 26 June 2025 15:56:25 -0400 (0:00:00.020) 0:02:02.390 ********* changed: [managed-node1] => { "changed": true, "elapsed": 46, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 26 June 2025 15:57:12 -0400 (0:00:47.346) 0:02:49.737 ********* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 26 June 2025 15:57:12 -0400 (0:00:00.019) 0:02:49.756 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 26 June 2025 15:57:12 -0400 (0:00:00.021) 0:02:49.778 ********* changed: [managed-node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.029180", "end": "2025-06-26 15:57:13.218232", "rc": 0, "start": "2025-06-26 15:57:13.189052" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 26 June 2025 15:57:13 -0400 (0:00:00.329) 0:02:50.108 ********* included: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 26 June 2025 15:57:13 -0400 (0:00:00.020) 0:02:50.128 ********* changed: [managed-node1] => { "changed": true, "elapsed": 47, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 26 June 2025 15:58:01 -0400 (0:00:48.352) 0:03:38.481 ********* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 26 June 2025 15:58:01 -0400 (0:00:00.018) 0:03:38.499 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=150 changed=15 unreachable=0 failed=0 skipped=112 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.9.27", "end_time": "2025-06-26T19:56:16.438936Z", "host": "managed-node1", "message": "Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1, /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "start_time": "2025-06-26T19:56:16.164621Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 26 June 2025 15:58:01 -0400 (0:00:00.027) 0:03:38.527 ********* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 48.35s /tmp/collections-i0f/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 -- 47.35s /tmp/collections-i0f/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 -- 41.81s /tmp/collections-i0f/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 -- 36.27s /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.25s /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.85s /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 1.42s /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 1.32s /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 1.32s /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.28s /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.26s /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 1.26s /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.25s /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.25s /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 1.18s /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 fedora.linux_system_roles.bootloader : Determine platform type ---------- 1.13s /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Gather architecture facts ----------------------------------------------- 1.10s /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.05s /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.98s /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.97s /tmp/collections-i0f/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65