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-jUk/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-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Thursday 26 June 2025 05:49:10 -0400 (0:00:00.026) 0:00:00.026 ********* included: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Thursday 26 June 2025 05:49:10 -0400 (0:00:00.076) 0:00:00.102 ********* ok: [managed-node1] META: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Thursday 26 June 2025 05:49:11 -0400 (0:00:00.973) 0:00:01.075 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 05:49:11 -0400 (0:00:00.059) 0:00:01.134 ********* included: /tmp/collections-jUk/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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 05:49:11 -0400 (0:00:00.024) 0:00:01.159 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 05:49:11 -0400 (0:00:00.019) 0:00:01.179 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 05:49:11 -0400 (0:00:00.402) 0:00:01.582 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 05:49:11 -0400 (0:00:00.034) 0:00:01.616 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 05:49:11 -0400 (0:00:00.064) 0:00:01.681 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 05:49:11 -0400 (0:00:00.027) 0:00:01.708 ********* 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 default kernel in the beginning of the role] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 05:49:12 -0400 (0:00:00.832) 0:00:02.541 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.128259", "end": "2025-06-26 05:49:13.072848", "rc": 0, "start": "2025-06-26 05:49:12.944589" } STDOUT: /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 05:49:13 -0400 (0:00:00.528) 0:00:03.069 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 05:49:13 -0400 (0:00:00.287) 0:00:03.356 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 05:49:13 -0400 (0:00:00.024) 0:00:03.381 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 05:49:13 -0400 (0:00:00.024) 0:00:03.405 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 05:49:13 -0400 (0:00:00.305) 0:00:03.711 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 05:49:13 -0400 (0:00:00.048) 0:00:03.759 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750931353.3578894, "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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 05:49:14 -0400 (0:00:00.304) 0:00:04.064 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750931352.9508889, "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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 05:49:14 -0400 (0:00:00.330) 0:00:04.394 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003721", "end": "2025-06-26 05:49:14.713151", "rc": 0, "start": "2025-06-26 05:49:14.709430" } 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 05:49:14 -0400 (0:00:00.302) 0:00:04.697 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 05:49:14 -0400 (0:00:00.023) 0:00:04.721 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 05:49:15 -0400 (0:00:00.427) 0:00:05.148 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 05:49:15 -0400 (0:00:00.283) 0:00:05.432 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 05:49:15 -0400 (0:00:00.423) 0:00:05.855 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 05:49:15 -0400 (0:00:00.020) 0:00:05.875 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 05:49:15 -0400 (0:00:00.017) 0:00:05.893 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 05:49:15 -0400 (0:00:00.018) 0:00:05.911 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 05:49:16 -0400 (0:00:00.558) 0:00:06.470 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Thursday 26 June 2025 05:49:16 -0400 (0:00:00.443) 0:00:06.914 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Thursday 26 June 2025 05:49:16 -0400 (0:00:00.023) 0:00:06.938 ********* included: /tmp/collections-jUk/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-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 26 June 2025 05:49:17 -0400 (0:00:00.046) 0:00:06.985 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 26 June 2025 05:49:17 -0400 (0:00:00.895) 0:00:07.880 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 05:49:18 -0400 (0:00:00.076) 0:00:07.957 ********* included: /tmp/collections-jUk/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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 05:49:18 -0400 (0:00:00.034) 0:00:07.991 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 05:49:18 -0400 (0:00:00.021) 0:00:08.013 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 05:49:18 -0400 (0:00:00.020) 0:00:08.033 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 05:49:18 -0400 (0:00:00.018) 0:00:08.052 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 05:49:18 -0400 (0:00:00.054) 0:00:08.106 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 05:49:18 -0400 (0:00:00.023) 0:00:08.130 ********* 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 default kernel in the beginning of the role] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 05:49:18 -0400 (0:00:00.629) 0:00:08.759 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 05:49:18 -0400 (0:00:00.035) 0:00:08.795 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750931353.3578894, "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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 05:49:19 -0400 (0:00:00.289) 0:00:09.084 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 05:49:19 -0400 (0:00:00.022) 0:00:09.106 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 05:49:19 -0400 (0:00:00.020) 0:00:09.127 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 05:49:19 -0400 (0:00:00.280) 0:00:09.407 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 05:49:19 -0400 (0:00:00.032) 0:00:09.440 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750931353.3578894, "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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 05:49:19 -0400 (0:00:00.296) 0:00:09.737 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750931352.9508889, "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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 05:49:20 -0400 (0:00:00.324) 0:00:10.061 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004460", "end": "2025-06-26 05:49:20.386852", "rc": 0, "start": "2025-06-26 05:49:20.382392" } 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 05:49:20 -0400 (0:00:00.319) 0:00:10.381 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 05:49:20 -0400 (0:00:00.034) 0:00:10.415 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 05:49:20 -0400 (0:00:00.316) 0:00:10.732 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 05:49:21 -0400 (0:00:00.284) 0:00:11.017 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 05:49:21 -0400 (0:00:00.546) 0:00:11.563 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 05:49:21 -0400 (0:00:00.030) 0:00:11.594 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 05:49:21 -0400 (0:00:00.028) 0:00:11.622 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 05:49:21 -0400 (0:00:00.032) 0:00:11.654 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 05:49:21 -0400 (0:00:00.040) 0:00:11.695 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 26 June 2025 05:49:21 -0400 (0:00:00.023) 0:00:11.718 ********* 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.015635", "end": "2025-06-26 05:49:22.065261", "rc": 0, "start": "2025-06-26 05:49:22.049626" } 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 26 June 2025 05:49:22 -0400 (0:00:00.336) 0:00:12.054 ********* included: /tmp/collections-jUk/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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 26 June 2025 05:49:22 -0400 (0:00:00.034) 0:00:12.089 ********* changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 26 June 2025 05:49:44 -0400 (0:00:22.410) 0:00:34.499 ********* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 26 June 2025 05:49:44 -0400 (0:00:00.020) 0:00:34.519 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 26 June 2025 05:49:44 -0400 (0:00:00.026) 0:00:34.546 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 26 June 2025 05:49:44 -0400 (0:00:00.022) 0:00:34.569 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 05:49:44 -0400 (0:00:00.059) 0:00:34.629 ********* included: /tmp/collections-jUk/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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 05:49:44 -0400 (0:00:00.029) 0:00:34.658 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 05:49:44 -0400 (0:00:00.020) 0:00:34.679 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 05:49:44 -0400 (0:00:00.017) 0:00:34.696 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 05:49:44 -0400 (0:00:00.018) 0:00:34.714 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 05:49:44 -0400 (0:00:00.044) 0:00:34.759 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 05:49:44 -0400 (0:00:00.019) 0:00:34.778 ********* 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 default kernel in the beginning of the role] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 05:49:45 -0400 (0:00:00.973) 0:00:35.752 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.291149", "end": "2025-06-26 05:49:45.675303", "rc": 0, "start": "2025-06-26 05:49:45.384154" } STDOUT: /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 05:49:46 -0400 (0:00:00.591) 0:00:36.343 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750931362.063904, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750931362.062904, "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": 1750931362.062904, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "1534584879", "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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 05:49:46 -0400 (0:00:00.361) 0:00:36.705 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 05:49:46 -0400 (0:00:00.026) 0:00:36.731 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 05:49:46 -0400 (0:00:00.029) 0:00:36.761 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 05:49:47 -0400 (0:00:00.297) 0:00:37.059 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 05:49:47 -0400 (0:00:00.050) 0:00:37.110 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750931362.063904, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750931362.062904, "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": 1750931362.062904, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "1534584879", "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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 05:49:47 -0400 (0:00:00.316) 0:00:37.426 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750931362.051904, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1750931361.566903, "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": 1750931361.566903, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "1534584872", "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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 05:49:47 -0400 (0:00:00.305) 0:00:37.731 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004427", "end": "2025-06-26 05:49:47.497380", "rc": 0, "start": "2025-06-26 05:49:47.492953" } 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 05:49:48 -0400 (0:00:00.292) 0:00:38.024 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 05:49:48 -0400 (0:00:00.032) 0:00:38.056 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 05:49:48 -0400 (0:00:00.311) 0:00:38.368 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 05:49:48 -0400 (0:00:00.287) 0:00:38.655 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 05:49:48 -0400 (0:00:00.276) 0:00:38.931 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 05:49:49 -0400 (0:00:00.026) 0:00:38.958 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 05:49:49 -0400 (0:00:00.031) 0:00:38.990 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 05:49:49 -0400 (0:00:00.027) 0:00:39.018 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 05:49:49 -0400 (0:00:00.616) 0:00:39.634 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Thursday 26 June 2025 05:49:50 -0400 (0:00:00.335) 0:00:39.970 ********* included: /tmp/collections-jUk/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-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 26 June 2025 05:49:50 -0400 (0:00:00.055) 0:00:40.026 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 26 June 2025 05:49:51 -0400 (0:00:01.550) 0:00:41.577 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 05:49:51 -0400 (0:00:00.057) 0:00:41.634 ********* included: /tmp/collections-jUk/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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 05:49:51 -0400 (0:00:00.046) 0:00:41.681 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 05:49:51 -0400 (0:00:00.032) 0:00:41.713 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 05:49:51 -0400 (0:00:00.025) 0:00:41.738 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 05:49:51 -0400 (0:00:00.025) 0:00:41.764 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 05:49:51 -0400 (0:00:00.056) 0:00:41.820 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 05:49:51 -0400 (0:00:00.019) 0:00:41.839 ********* 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 default kernel in the beginning of the role] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 05:49:52 -0400 (0:00:00.564) 0:00:42.404 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 05:49:52 -0400 (0:00:00.029) 0:00:42.434 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750931362.063904, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750931362.062904, "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": 1750931362.062904, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "1534584879", "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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 05:49:52 -0400 (0:00:00.286) 0:00:42.721 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 05:49:52 -0400 (0:00:00.026) 0:00:42.748 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 05:49:52 -0400 (0:00:00.030) 0:00:42.778 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 05:49:53 -0400 (0:00:00.290) 0:00:43.068 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 05:49:53 -0400 (0:00:00.044) 0:00:43.113 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750931362.063904, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750931362.062904, "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": 1750931362.062904, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "1534584879", "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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 05:49:53 -0400 (0:00:00.321) 0:00:43.434 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750931362.051904, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1750931361.566903, "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": 1750931361.566903, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "1534584872", "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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 05:49:53 -0400 (0:00:00.318) 0:00:43.752 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004444", "end": "2025-06-26 05:49:54.026595", "rc": 0, "start": "2025-06-26 05:49:54.022151" } 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 05:49:54 -0400 (0:00:00.296) 0:00:44.049 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 05:49:54 -0400 (0:00:00.023) 0:00:44.073 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 05:49:54 -0400 (0:00:00.297) 0:00:44.371 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 05:49:54 -0400 (0:00:00.309) 0:00:44.681 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 05:49:55 -0400 (0:00:00.615) 0:00:45.297 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 05:49:55 -0400 (0:00:00.027) 0:00:45.324 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 05:49:55 -0400 (0:00:00.030) 0:00:45.354 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 05:49:55 -0400 (0:00:00.031) 0:00:45.386 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 05:49:55 -0400 (0:00:00.043) 0:00:45.429 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 26 June 2025 05:49:55 -0400 (0:00:00.029) 0:00:45.459 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 26 June 2025 05:49:55 -0400 (0:00:00.035) 0:00:45.495 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 05:49:55 -0400 (0:00:00.083) 0:00:45.578 ********* included: /tmp/collections-jUk/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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 05:49:55 -0400 (0:00:00.034) 0:00:45.613 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 05:49:55 -0400 (0:00:00.022) 0:00:45.636 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 05:49:55 -0400 (0:00:00.019) 0:00:45.656 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 05:49:55 -0400 (0:00:00.019) 0:00:45.675 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 05:49:55 -0400 (0:00:00.055) 0:00:45.731 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 05:49:55 -0400 (0:00:00.024) 0:00:45.755 ********* 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 default kernel in the beginning of the role] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 05:49:56 -0400 (0:00:00.623) 0:00:46.379 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.280738", "end": "2025-06-26 05:49:56.988064", "rc": 0, "start": "2025-06-26 05:49:56.707326" } STDOUT: /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 05:49:57 -0400 (0:00:00.605) 0:00:46.985 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750931362.063904, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750931362.062904, "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": 1750931362.062904, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "1534584879", "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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 05:49:57 -0400 (0:00:00.321) 0:00:47.306 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 05:49:57 -0400 (0:00:00.021) 0:00:47.328 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 05:49:57 -0400 (0:00:00.020) 0:00:47.349 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 05:49:57 -0400 (0:00:00.269) 0:00:47.618 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 05:49:57 -0400 (0:00:00.033) 0:00:47.651 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750931362.063904, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750931362.062904, "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": 1750931362.062904, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "1534584879", "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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 05:49:58 -0400 (0:00:00.296) 0:00:47.947 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750931362.051904, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1750931361.566903, "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": 1750931361.566903, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "1534584872", "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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 05:49:58 -0400 (0:00:00.334) 0:00:48.282 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004152", "end": "2025-06-26 05:49:58.594560", "rc": 0, "start": "2025-06-26 05:49:58.590408" } 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 05:49:58 -0400 (0:00:00.297) 0:00:48.579 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 05:49:58 -0400 (0:00:00.024) 0:00:48.604 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 05:49:58 -0400 (0:00:00.295) 0:00:48.900 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 05:49:59 -0400 (0:00:00.276) 0:00:49.177 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 05:49:59 -0400 (0:00:00.291) 0:00:49.468 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 05:49:59 -0400 (0:00:00.022) 0:00:49.491 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 05:49:59 -0400 (0:00:00.024) 0:00:49.515 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 05:49:59 -0400 (0:00:00.021) 0:00:49.537 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 05:50:00 -0400 (0:00:00.601) 0:00:50.138 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Thursday 26 June 2025 05:50:00 -0400 (0:00:00.304) 0:00:50.443 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Thursday 26 June 2025 05:50:00 -0400 (0:00:00.032) 0:00:50.476 ********* included: /tmp/collections-jUk/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-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 26 June 2025 05:50:00 -0400 (0:00:00.049) 0:00:50.525 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 26 June 2025 05:50:01 -0400 (0:00:00.755) 0:00:51.280 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 05:50:01 -0400 (0:00:00.097) 0:00:51.378 ********* included: /tmp/collections-jUk/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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 05:50:01 -0400 (0:00:00.037) 0:00:51.416 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 05:50:01 -0400 (0:00:00.023) 0:00:51.439 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 05:50:01 -0400 (0:00:00.021) 0:00:51.461 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 05:50:01 -0400 (0:00:00.020) 0:00:51.482 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 05:50:01 -0400 (0:00:00.055) 0:00:51.537 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 05:50:01 -0400 (0:00:00.025) 0:00:51.562 ********* 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 default kernel in the beginning of the role] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 05:50:02 -0400 (0:00:00.612) 0:00:52.175 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.277141", "end": "2025-06-26 05:50:02.793974", "rc": 0, "start": "2025-06-26 05:50:02.516833" } STDOUT: /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 05:50:02 -0400 (0:00:00.609) 0:00:52.785 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750931362.063904, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750931362.062904, "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": 1750931362.062904, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "1534584879", "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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 05:50:03 -0400 (0:00:00.323) 0:00:53.108 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 05:50:03 -0400 (0:00:00.025) 0:00:53.134 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 05:50:03 -0400 (0:00:00.029) 0:00:53.164 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 05:50:03 -0400 (0:00:00.293) 0:00:53.458 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 05:50:03 -0400 (0:00:00.034) 0:00:53.492 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750931362.063904, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750931362.062904, "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": 1750931362.062904, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "1534584879", "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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 05:50:03 -0400 (0:00:00.320) 0:00:53.813 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750931362.051904, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1750931361.566903, "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": 1750931361.566903, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "1534584872", "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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 05:50:04 -0400 (0:00:00.304) 0:00:54.117 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004217", "end": "2025-06-26 05:50:04.423505", "rc": 0, "start": "2025-06-26 05:50:04.419288" } 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 05:50:04 -0400 (0:00:00.291) 0:00:54.408 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 05:50:04 -0400 (0:00:00.024) 0:00:54.433 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 05:50:04 -0400 (0:00:00.286) 0:00:54.720 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 05:50:05 -0400 (0:00:00.283) 0:00:55.004 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 05:50:05 -0400 (0:00:00.317) 0:00:55.321 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 05:50:05 -0400 (0:00:00.021) 0:00:55.342 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 05:50:05 -0400 (0:00:00.021) 0:00:55.364 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 05:50:05 -0400 (0:00:00.022) 0:00:55.387 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 05:50:05 -0400 (0:00:00.553) 0:00:55.940 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 26 June 2025 05:50:06 -0400 (0:00:00.016) 0:00:55.957 ********* 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.016793", "end": "2025-06-26 05:50:06.272874", "rc": 0, "start": "2025-06-26 05:50:06.256081" } 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 26 June 2025 05:50:06 -0400 (0:00:00.295) 0:00:56.252 ********* included: /tmp/collections-jUk/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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 26 June 2025 05:50:06 -0400 (0:00:00.021) 0:00:56.274 ********* changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 26 June 2025 05:50:28 -0400 (0:00:21.746) 0:01:18.020 ********* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 26 June 2025 05:50:28 -0400 (0:00:00.020) 0:01:18.041 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 26 June 2025 05:50:28 -0400 (0:00:00.027) 0:01:18.069 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 26 June 2025 05:50:28 -0400 (0:00:00.024) 0:01:18.093 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 05:50:28 -0400 (0:00:00.063) 0:01:18.157 ********* included: /tmp/collections-jUk/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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 05:50:28 -0400 (0:00:00.030) 0:01:18.187 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 05:50:28 -0400 (0:00:00.023) 0:01:18.210 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 05:50:28 -0400 (0:00:00.021) 0:01:18.232 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 05:50:28 -0400 (0:00:00.019) 0:01:18.252 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 05:50:28 -0400 (0:00:00.047) 0:01:18.299 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 05:50:28 -0400 (0:00:00.018) 0:01:18.317 ********* 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 default kernel in the beginning of the role] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 05:50:29 -0400 (0:00:00.713) 0:01:19.031 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.251516", "end": "2025-06-26 05:50:29.543072", "rc": 0, "start": "2025-06-26 05:50:29.291556" } STDOUT: /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 05:50:29 -0400 (0:00:00.538) 0:01:19.569 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750931406.2708344, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750931406.2708344, "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": 1750931406.2708344, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073687852667", "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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 05:50:29 -0400 (0:00:00.301) 0:01:19.870 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 05:50:29 -0400 (0:00:00.021) 0:01:19.892 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 05:50:29 -0400 (0:00:00.023) 0:01:19.915 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 05:50:30 -0400 (0:00:00.273) 0:01:20.189 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 05:50:30 -0400 (0:00:00.033) 0:01:20.223 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750931429.8314462, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750931406.2708344, "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": 1750931406.2708344, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073687852667", "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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 05:50:30 -0400 (0:00:00.284) 0:01:20.507 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750931405.6958346, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8fe5962fc8399d68cc1b8c59a5473cbb4f0072aa", "ctime": 1750931405.333835, "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": 1750931405.333835, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 6046, "uid": 0, "version": "18446744073687852656", "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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 05:50:30 -0400 (0:00:00.290) 0:01:20.797 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003930", "end": "2025-06-26 05:50:31.073441", "rc": 0, "start": "2025-06-26 05:50:31.069511" } 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 05:50:31 -0400 (0:00:00.278) 0:01:21.076 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 05:50:31 -0400 (0:00:00.025) 0:01:21.101 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 05:50:31 -0400 (0:00:00.278) 0:01:21.380 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 05:50:31 -0400 (0:00:00.283) 0:01:21.663 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 05:50:32 -0400 (0:00:00.320) 0:01:21.984 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 05:50:32 -0400 (0:00:00.021) 0:01:22.005 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 05:50:32 -0400 (0:00:00.021) 0:01:22.026 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 05:50:32 -0400 (0:00:00.020) 0:01:22.047 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 05:50:32 -0400 (0:00:00.540) 0:01:22.588 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Thursday 26 June 2025 05:50:32 -0400 (0:00:00.288) 0:01:22.876 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Thursday 26 June 2025 05:50:32 -0400 (0:00:00.032) 0:01:22.909 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 05:50:33 -0400 (0:00:00.054) 0:01:22.963 ********* included: /tmp/collections-jUk/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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 05:50:33 -0400 (0:00:00.031) 0:01:22.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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 05:50:33 -0400 (0:00:00.022) 0:01:23.017 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 05:50:33 -0400 (0:00:00.021) 0:01:23.039 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 05:50:33 -0400 (0:00:00.020) 0:01:23.060 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 05:50:33 -0400 (0:00:00.047) 0:01:23.108 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 05:50:33 -0400 (0:00:00.020) 0:01:23.129 ********* 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 default kernel in the beginning of the role] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 05:50:33 -0400 (0:00:00.557) 0:01:23.687 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 05:50:33 -0400 (0:00:00.025) 0:01:23.712 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750931429.8314462, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750931406.2708344, "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": 1750931406.2708344, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073687852667", "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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 05:50:34 -0400 (0:00:00.285) 0:01:23.997 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 05:50:34 -0400 (0:00:00.022) 0:01:24.020 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 05:50:34 -0400 (0:00:00.021) 0:01:24.042 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 05:50:34 -0400 (0:00:00.272) 0:01:24.314 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 05:50:34 -0400 (0:00:00.034) 0:01:24.349 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750931429.8314462, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1750931406.2708344, "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": 1750931406.2708344, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073687852667", "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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 05:50:34 -0400 (0:00:00.300) 0:01:24.649 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750931405.6958346, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8fe5962fc8399d68cc1b8c59a5473cbb4f0072aa", "ctime": 1750931405.333835, "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": 1750931405.333835, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 6046, "uid": 0, "version": "18446744073687852656", "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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 05:50:34 -0400 (0:00:00.285) 0:01:24.935 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004075", "end": "2025-06-26 05:50:35.226912", "rc": 0, "start": "2025-06-26 05:50:35.222837" } 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 05:50:35 -0400 (0:00:00.277) 0:01:25.212 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 05:50:35 -0400 (0:00:00.025) 0:01:25.238 ********* 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-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 05:50:35 -0400 (0:00:00.279) 0:01:25.518 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 05:50:35 -0400 (0:00:00.276) 0:01:25.794 ********* An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: fail_json() takes exactly 1 argument (2 given) fatal: [managed-node1]: FAILED! => { "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDOUT: Traceback (most recent call last): File "/root/.ansible/tmp/ansible-tmp-1750931435.9-13066-102760828775476/AnsiballZ_bootloader_settings.py", line 102, in _ansiballz_main() File "/root/.ansible/tmp/ansible-tmp-1750931435.9-13066-102760828775476/AnsiballZ_bootloader_settings.py", line 94, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "/root/.ansible/tmp/ansible-tmp-1750931435.9-13066-102760828775476/AnsiballZ_bootloader_settings.py", line 40, in invoke_module runpy.run_module(mod_name='ansible_collections.fedora.linux_system_roles.plugins.modules.bootloader_settings', init_globals=None, run_name='__main__', alter_sys=True) File "/usr/lib64/python2.7/runpy.py", line 176, in run_module fname, loader, pkg_name) File "/usr/lib64/python2.7/runpy.py", line 82, in _run_module_code mod_name, mod_fname, mod_loader, pkg_name) File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/tmp/ansible_fedora.linux_system_roles.bootloader_settings_payload_lBovme/ansible_fedora.linux_system_roles.bootloader_settings_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/bootloader_settings.py", line 476, in File "/tmp/ansible_fedora.linux_system_roles.bootloader_settings_payload_lBovme/ansible_fedora.linux_system_roles.bootloader_settings_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/bootloader_settings.py", line 472, in main File "/tmp/ansible_fedora.linux_system_roles.bootloader_settings_payload_lBovme/ansible_fedora.linux_system_roles.bootloader_settings_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/bootloader_settings.py", line 429, in run_module File "/tmp/ansible_fedora.linux_system_roles.bootloader_settings_payload_lBovme/ansible_fedora.linux_system_roles.bootloader_settings_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/bootloader_settings.py", line 182, in validate_default_kernel TypeError: fail_json() takes exactly 1 argument (2 given) MODULE_STDERR: Shared connection to 10.31.9.50 closed. TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Thursday 26 June 2025 05:50:36 -0400 (0:00:00.289) 0:01:26.084 ********* fatal: [managed-node1]: FAILED! => { "assertion": "'Only one kernel can be set as default' in ansible_failed_result.msg", "changed": false, "evaluated_to": false } MSG: Assertion failed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Thursday 26 June 2025 05:50:36 -0400 (0:00:00.025) 0:01:26.109 ********* 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.760509", "end": "2025-06-26 05:50:37.156167", "failed_when_result": false, "item": 1, "rc": 0, "start": "2025-06-26 05:50:36.395658" } 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.013538", "end": "2025-06-26 05:50:37.425211", "failed_when_result": false, "item": 2, "rc": 0, "start": "2025-06-26 05:50:37.411673" } PLAY RECAP ********************************************************************* managed-node1 : ok=126 changed=9 unreachable=0 failed=1 skipped=93 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.9.27", "end_time": "2025-06-26T09:50:36.138186Z", "host": "managed-node1", "message": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1, "start_time": "2025-06-26T09:50:35.854593Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111" }, { "ansible_version": "2.9.27", "end_time": "2025-06-26T09:50:36.164453Z", "host": "managed-node1", "message": "Assertion failed", "start_time": "2025-06-26T09:50:36.143853Z", "task_name": "Assert that the role failed with multiple default kernels set", "task_path": "/tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 26 June 2025 05:50:37 -0400 (0:00:01.297) 0:01:27.406 ********* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 22.41s /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 21.75s /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.14s /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default --- 2.32s /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role --- 2.26s /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.81s /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Copy kernel and initrd for test purposes from /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64 --- 1.55s /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.48s /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 1.37s /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 1.31s /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.31s /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Remove cloned kernels --------------------------------------------------- 1.30s /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.27s /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 1.26s /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.20s /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 1.17s /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 fedora.linux_system_roles.bootloader : Determine platform type ---------- 1.15s /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 1.13s /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Gather architecture facts ----------------------------------------------- 0.97s /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.95s /tmp/collections-jUk/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74