ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [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-G23/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-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 12 July 2025 09:17:13 -0400 (0:00:00.020) 0:00:00.020 ********* included: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 12 July 2025 09:17:13 -0400 (0:00:00.031) 0:00:00.051 ********* ok: [managed-node1] META: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 12 July 2025 09:17:14 -0400 (0:00:00.978) 0:00:01.029 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 12 July 2025 09:17:14 -0400 (0:00:00.038) 0:00:01.067 ********* included: /tmp/collections-G23/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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 12 July 2025 09:17:14 -0400 (0:00:00.017) 0:00:01.085 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 12 July 2025 09:17:14 -0400 (0:00:00.014) 0:00:01.100 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 12 July 2025 09:17:15 -0400 (0:00:00.409) 0:00:01.509 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 12 July 2025 09:17:15 -0400 (0:00:00.018) 0:00:01.527 ********* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 12 July 2025 09:17:15 -0400 (0:00:00.035) 0:00:01.562 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 12 July 2025 09:17:15 -0400 (0:00:00.014) 0:00:01.577 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 12 July 2025 09:17:30 -0400 (0:00:15.079) 0:00:16.656 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1716968862.497, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 12 July 2025 09:17:30 -0400 (0:00:00.347) 0:00:17.004 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 12 July 2025 09:17:30 -0400 (0:00:00.017) 0:00:17.021 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 12 July 2025 09:17:30 -0400 (0:00:00.013) 0:00:17.035 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 12 July 2025 09:17:31 -0400 (0:00:00.328) 0:00:17.364 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 12 July 2025 09:17:31 -0400 (0:00:00.023) 0:00:17.387 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752326250.740331, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 12 July 2025 09:17:31 -0400 (0:00:00.332) 0:00:17.720 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1716968863.313, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "33f81baef485d229f360bb8edb243c84b5829854", "ctime": 1716968863.314, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 998159, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716968863.314, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6406, "uid": 0, "version": "4098057869", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 12 July 2025 09:17:31 -0400 (0:00:00.347) 0:00:18.068 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003736", "end": "2025-07-12 09:17:32.251087", "rc": 0, "start": "2025-07-12 09:17:32.247351" } 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 12 July 2025 09:17:32 -0400 (0:00:00.433) 0:00:18.501 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 12 July 2025 09:17:32 -0400 (0:00:00.023) 0:00:18.524 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 12 July 2025 09:17:32 -0400 (0:00:00.508) 0:00:19.033 ********* changed: [managed-node1] => { "changed": true } MSG: 5 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 12 July 2025 09:17:33 -0400 (0:00:00.352) 0:00:19.386 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 12 July 2025 09:17:33 -0400 (0:00:00.479) 0:00:19.865 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 12 July 2025 09:17:33 -0400 (0:00:00.019) 0:00:19.885 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 12 July 2025 09:17:33 -0400 (0:00:00.015) 0:00:19.901 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 12 July 2025 09:17:33 -0400 (0:00:00.017) 0:00:19.919 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" } ] }, "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-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 12 July 2025 09:17:34 -0400 (0:00:00.549) 0:00:20.468 ********* ok: [managed-node1] => { "ansible_facts": { "__default_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" } }, "changed": false } TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Saturday 12 July 2025 09:17:34 -0400 (0:00:00.016) 0:00:20.484 ********* included: /tmp/collections-G23/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-4.18.0-553.5.1.el8.x86_64] *** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 12 July 2025 09:17:34 -0400 (0:00:00.026) 0:00:20.511 ********* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "c8ac6dcb6cde0b4e8f1d9be544aa6ef6b78dd978", "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64" }, "md5sum": "4d651ec861d2a6a23cf61ad30367cd99", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 10873232, "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "819d5d5bd4679e855016d6b8e997b96e546aafdd", "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img" }, "md5sum": "ab248af65f1e45f1283e3ab1f2c8f51e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31361993, "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 12 July 2025 09:17:35 -0400 (0:00:01.003) 0:00:21.514 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 12 July 2025 09:17:35 -0400 (0:00:00.048) 0:00:21.562 ********* included: /tmp/collections-G23/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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 12 July 2025 09:17:35 -0400 (0:00:00.030) 0:00:21.592 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 12 July 2025 09:17:35 -0400 (0:00:00.025) 0:00:21.618 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 12 July 2025 09:17:35 -0400 (0:00:00.025) 0:00:21.643 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 12 July 2025 09:17:35 -0400 (0:00:00.022) 0:00:21.666 ********* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 12 July 2025 09:17:35 -0400 (0:00:00.039) 0:00:21.705 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 12 July 2025 09:17:35 -0400 (0:00:00.019) 0:00:21.725 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 12 July 2025 09:17:38 -0400 (0:00:02.877) 0:00:24.603 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752326250.740331, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 12 July 2025 09:17:38 -0400 (0:00:00.390) 0:00:24.994 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 12 July 2025 09:17:38 -0400 (0:00:00.024) 0:00:25.019 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 12 July 2025 09:17:38 -0400 (0:00:00.021) 0:00:25.041 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 12 July 2025 09:17:39 -0400 (0:00:00.400) 0:00:25.441 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 12 July 2025 09:17:39 -0400 (0:00:00.036) 0:00:25.478 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752326250.740331, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 12 July 2025 09:17:39 -0400 (0:00:00.387) 0:00:25.865 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752326253.13333, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1752326253.13333, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1752326253.13333, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3441125322", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 12 July 2025 09:17:40 -0400 (0:00:00.407) 0:00:26.273 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003689", "end": "2025-07-12 09:17:40.396820", "rc": 0, "start": "2025-07-12 09:17:40.393131" } 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 12 July 2025 09:17:40 -0400 (0:00:00.372) 0:00:26.646 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 12 July 2025 09:17:40 -0400 (0:00:00.024) 0:00:26.670 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 12 July 2025 09:17:40 -0400 (0:00:00.348) 0:00:27.018 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 12 July 2025 09:17:41 -0400 (0:00:00.362) 0:00:27.380 ********* 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-4.18.0-553.5.1.el8.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 12 July 2025 09:17:41 -0400 (0:00:00.540) 0:00:27.921 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 12 July 2025 09:17:41 -0400 (0:00:00.015) 0:00:27.937 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 12 July 2025 09:17:41 -0400 (0:00:00.014) 0:00:27.951 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 12 July 2025 09:17:41 -0400 (0:00:00.013) 0:00:27.965 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 12 July 2025 09:17:41 -0400 (0:00:00.019) 0:00:27.985 ********* 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.137736", "end": "2025-07-12 09:17:42.201536", "rc": 0, "start": "2025-07-12 09:17:42.063800" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params 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" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 12 July 2025 09:17:42 -0400 (0:00:00.462) 0:00:28.447 ********* included: /tmp/collections-G23/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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 12 July 2025 09:17:42 -0400 (0:00:00.014) 0:00:28.462 ********* changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 12 July 2025 09:18:05 -0400 (0:00:23.118) 0:00:51.580 ********* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 12 July 2025 09:18:05 -0400 (0:00:00.018) 0:00:51.599 ********* 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-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 12 July 2025 09:18:05 -0400 (0:00:00.027) 0:00:51.626 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 12 July 2025 09:18:05 -0400 (0:00:00.019) 0:00:51.646 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 12 July 2025 09:18:05 -0400 (0:00:00.077) 0:00:51.723 ********* included: /tmp/collections-G23/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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 12 July 2025 09:18:05 -0400 (0:00:00.023) 0:00:51.747 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 12 July 2025 09:18:05 -0400 (0:00:00.017) 0:00:51.764 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 12 July 2025 09:18:05 -0400 (0:00:00.014) 0:00:51.778 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 12 July 2025 09:18:05 -0400 (0:00:00.015) 0:00:51.794 ********* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 12 July 2025 09:18:05 -0400 (0:00:00.032) 0:00:51.827 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 12 July 2025 09:18:05 -0400 (0:00:00.014) 0:00:51.841 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 12 July 2025 09:18:10 -0400 (0:00:04.863) 0:00:56.705 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752326262.199327, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752326262.199327, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752326262.199327, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3515881517", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 12 July 2025 09:18:10 -0400 (0:00:00.347) 0:00:57.053 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 12 July 2025 09:18:10 -0400 (0:00:00.017) 0:00:57.070 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 12 July 2025 09:18:10 -0400 (0:00:00.015) 0:00:57.085 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 12 July 2025 09:18:11 -0400 (0:00:00.339) 0:00:57.424 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 12 July 2025 09:18:11 -0400 (0:00:00.025) 0:00:57.450 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752326290.787638, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752326262.199327, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752326262.199327, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3515881517", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 12 July 2025 09:18:11 -0400 (0:00:00.356) 0:00:57.807 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752326259.9963279, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1752326253.13333, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1752326253.13333, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3441125322", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 12 July 2025 09:18:11 -0400 (0:00:00.345) 0:00:58.152 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003885", "end": "2025-07-12 09:18:12.236688", "rc": 0, "start": "2025-07-12 09:18:12.232803" } 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 12 July 2025 09:18:12 -0400 (0:00:00.339) 0:00:58.492 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 12 July 2025 09:18:12 -0400 (0:00:00.026) 0:00:58.518 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 12 July 2025 09:18:12 -0400 (0:00:00.369) 0:00:58.888 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 12 July 2025 09:18:13 -0400 (0:00:00.374) 0:00:59.262 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 12 July 2025 09:18:13 -0400 (0:00:00.343) 0:00:59.605 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 12 July 2025 09:18:13 -0400 (0:00:00.016) 0:00:59.621 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 12 July 2025 09:18:13 -0400 (0:00:00.015) 0:00:59.636 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 12 July 2025 09:18:13 -0400 (0:00:00.014) 0:00:59.651 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": false, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": true, "id": "eb2473a9fba94bef80c1f167cfceb934-4.18.0-553.5.1.el8.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "Clone1" } ] }, "changed": false } TASK [Clone again to check idempotency] **************************************** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Saturday 12 July 2025 09:18:13 -0400 (0:00:00.501) 0:01:00.153 ********* included: /tmp/collections-G23/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-4.18.0-553.5.1.el8.x86_64] *** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 12 July 2025 09:18:13 -0400 (0:00:00.028) 0:01:00.181 ********* ok: [managed-node1] => (item={'src': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "c8ac6dcb6cde0b4e8f1d9be544aa6ef6b78dd978", "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64" }, "md5sum": "4d651ec861d2a6a23cf61ad30367cd99", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 10873232, "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "state": "file", "uid": 0 } ok: [managed-node1] => (item={'src': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "819d5d5bd4679e855016d6b8e997b96e546aafdd", "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img" }, "md5sum": "ab248af65f1e45f1283e3ab1f2c8f51e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31361993, "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 12 July 2025 09:18:14 -0400 (0:00:00.926) 0:01:01.107 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 12 July 2025 09:18:14 -0400 (0:00:00.024) 0:01:01.132 ********* included: /tmp/collections-G23/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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 12 July 2025 09:18:14 -0400 (0:00:00.020) 0:01:01.153 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 12 July 2025 09:18:14 -0400 (0:00:00.016) 0:01:01.169 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 12 July 2025 09:18:14 -0400 (0:00:00.014) 0:01:01.184 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 12 July 2025 09:18:14 -0400 (0:00:00.015) 0:01:01.200 ********* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 12 July 2025 09:18:15 -0400 (0:00:00.033) 0:01:01.233 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 12 July 2025 09:18:15 -0400 (0:00:00.016) 0:01:01.249 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 12 July 2025 09:18:17 -0400 (0:00:02.835) 0:01:04.085 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752326290.787638, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752326262.199327, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752326262.199327, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3515881517", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 12 July 2025 09:18:18 -0400 (0:00:00.371) 0:01:04.456 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 12 July 2025 09:18:18 -0400 (0:00:00.027) 0:01:04.484 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 12 July 2025 09:18:18 -0400 (0:00:00.024) 0:01:04.509 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 12 July 2025 09:18:18 -0400 (0:00:00.338) 0:01:04.848 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 12 July 2025 09:18:18 -0400 (0:00:00.035) 0:01:04.883 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752326290.787638, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752326262.199327, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752326262.199327, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3515881517", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 12 July 2025 09:18:19 -0400 (0:00:00.374) 0:01:05.258 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752326259.9963279, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1752326253.13333, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1752326253.13333, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3441125322", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 12 July 2025 09:18:19 -0400 (0:00:00.358) 0:01:05.616 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003801", "end": "2025-07-12 09:18:19.704050", "rc": 0, "start": "2025-07-12 09:18:19.700249" } 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 12 July 2025 09:18:19 -0400 (0:00:00.337) 0:01:05.954 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 12 July 2025 09:18:19 -0400 (0:00:00.017) 0:01:05.972 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 12 July 2025 09:18:20 -0400 (0:00:00.336) 0:01:06.308 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 12 July 2025 09:18:20 -0400 (0:00:00.344) 0:01:06.653 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 12 July 2025 09:18:21 -0400 (0:00:00.626) 0:01:07.279 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 12 July 2025 09:18:21 -0400 (0:00:00.022) 0:01:07.302 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 12 July 2025 09:18:21 -0400 (0:00:00.023) 0:01:07.326 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 12 July 2025 09:18:21 -0400 (0:00:00.022) 0:01:07.348 ********* 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-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 12 July 2025 09:18:21 -0400 (0:00:00.022) 0:01:07.371 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 12 July 2025 09:18:21 -0400 (0:00:00.025) 0:01:07.397 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 12 July 2025 09:18:21 -0400 (0:00:00.061) 0:01:07.458 ********* included: /tmp/collections-G23/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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 12 July 2025 09:18:21 -0400 (0:00:00.021) 0:01:07.480 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 12 July 2025 09:18:21 -0400 (0:00:00.023) 0:01:07.503 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 12 July 2025 09:18:21 -0400 (0:00:00.020) 0:01:07.524 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 12 July 2025 09:18:21 -0400 (0:00:00.018) 0:01:07.542 ********* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 12 July 2025 09:18:21 -0400 (0:00:00.035) 0:01:07.578 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 12 July 2025 09:18:21 -0400 (0:00:00.014) 0:01:07.593 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 12 July 2025 09:18:24 -0400 (0:00:02.823) 0:01:10.417 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752326290.787638, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752326262.199327, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752326262.199327, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3515881517", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 12 July 2025 09:18:24 -0400 (0:00:00.340) 0:01:10.757 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 12 July 2025 09:18:24 -0400 (0:00:00.016) 0:01:10.774 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 12 July 2025 09:18:24 -0400 (0:00:00.015) 0:01:10.790 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 12 July 2025 09:18:24 -0400 (0:00:00.324) 0:01:11.114 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 12 July 2025 09:18:24 -0400 (0:00:00.025) 0:01:11.140 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752326290.787638, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752326262.199327, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752326262.199327, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3515881517", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 12 July 2025 09:18:25 -0400 (0:00:00.357) 0:01:11.497 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752326259.9963279, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1752326253.13333, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1752326253.13333, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3441125322", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 12 July 2025 09:18:25 -0400 (0:00:00.353) 0:01:11.851 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003372", "end": "2025-07-12 09:18:25.943994", "rc": 0, "start": "2025-07-12 09:18:25.940622" } 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 12 July 2025 09:18:25 -0400 (0:00:00.340) 0:01:12.191 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 12 July 2025 09:18:26 -0400 (0:00:00.018) 0:01:12.210 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 12 July 2025 09:18:26 -0400 (0:00:00.341) 0:01:12.552 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 12 July 2025 09:18:26 -0400 (0:00:00.337) 0:01:12.889 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 12 July 2025 09:18:27 -0400 (0:00:00.338) 0:01:13.228 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 12 July 2025 09:18:27 -0400 (0:00:00.016) 0:01:13.244 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 12 July 2025 09:18:27 -0400 (0:00:00.013) 0:01:13.258 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 12 July 2025 09:18:27 -0400 (0:00:00.013) 0:01:13.272 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": false, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": true, "id": "eb2473a9fba94bef80c1f167cfceb934-4.18.0-553.5.1.el8.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone1] ********************************************** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Saturday 12 July 2025 09:18:27 -0400 (0:00:00.489) 0:01:13.762 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Saturday 12 July 2025 09:18:27 -0400 (0:00:00.031) 0:01:13.793 ********* included: /tmp/collections-G23/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-4.18.0-553.5.1.el8.x86_64] *** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 12 July 2025 09:18:27 -0400 (0:00:00.035) 0:01:13.829 ********* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "c8ac6dcb6cde0b4e8f1d9be544aa6ef6b78dd978", "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64" }, "md5sum": "4d651ec861d2a6a23cf61ad30367cd99", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 10873232, "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "819d5d5bd4679e855016d6b8e997b96e546aafdd", "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2", "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img" }, "md5sum": "ab248af65f1e45f1283e3ab1f2c8f51e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31361993, "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 12 July 2025 09:18:28 -0400 (0:00:00.869) 0:01:14.699 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 12 July 2025 09:18:28 -0400 (0:00:00.024) 0:01:14.723 ********* included: /tmp/collections-G23/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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 12 July 2025 09:18:28 -0400 (0:00:00.021) 0:01:14.744 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 12 July 2025 09:18:28 -0400 (0:00:00.017) 0:01:14.762 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 12 July 2025 09:18:28 -0400 (0:00:00.017) 0:01:14.779 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 12 July 2025 09:18:28 -0400 (0:00:00.017) 0:01:14.797 ********* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 12 July 2025 09:18:28 -0400 (0:00:00.041) 0:01:14.838 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 12 July 2025 09:18:28 -0400 (0:00:00.020) 0:01:14.859 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 12 July 2025 09:18:31 -0400 (0:00:02.850) 0:01:17.710 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752326290.787638, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752326262.199327, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752326262.199327, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3515881517", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 12 July 2025 09:18:31 -0400 (0:00:00.342) 0:01:18.052 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 12 July 2025 09:18:31 -0400 (0:00:00.016) 0:01:18.069 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 12 July 2025 09:18:31 -0400 (0:00:00.015) 0:01:18.084 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 12 July 2025 09:18:32 -0400 (0:00:00.319) 0:01:18.403 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 12 July 2025 09:18:32 -0400 (0:00:00.024) 0:01:18.428 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752326290.787638, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752326262.199327, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752326262.199327, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3515881517", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 12 July 2025 09:18:32 -0400 (0:00:00.333) 0:01:18.761 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752326259.9963279, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1752326253.13333, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1752326253.13333, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3441125322", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 12 July 2025 09:18:32 -0400 (0:00:00.342) 0:01:19.104 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003706", "end": "2025-07-12 09:18:33.186535", "rc": 0, "start": "2025-07-12 09:18:33.182829" } 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 12 July 2025 09:18:33 -0400 (0:00:00.330) 0:01:19.434 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 12 July 2025 09:18:33 -0400 (0:00:00.019) 0:01:19.453 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 12 July 2025 09:18:33 -0400 (0:00:00.332) 0:01:19.786 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 12 July 2025 09:18:33 -0400 (0:00:00.331) 0:01:20.117 ********* 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-4.18.0-553.5.1.el8.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 12 July 2025 09:18:34 -0400 (0:00:00.607) 0:01:20.725 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 12 July 2025 09:18:34 -0400 (0:00:00.016) 0:01:20.741 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 12 July 2025 09:18:34 -0400 (0:00:00.014) 0:01:20.755 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 12 July 2025 09:18:34 -0400 (0:00:00.016) 0:01:20.771 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 12 July 2025 09:18:34 -0400 (0:00:00.012) 0:01:20.783 ********* 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.163049", "end": "2025-07-12 09:18:35.035233", "rc": 0, "start": "2025-07-12 09:18:34.872184" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params 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" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 12 July 2025 09:18:35 -0400 (0:00:00.499) 0:01:21.282 ********* included: /tmp/collections-G23/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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 12 July 2025 09:18:35 -0400 (0:00:00.015) 0:01:21.298 ********* changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 12 July 2025 09:18:57 -0400 (0:00:22.593) 0:01:43.892 ********* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 12 July 2025 09:18:57 -0400 (0:00:00.014) 0:01:43.907 ********* 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-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 12 July 2025 09:18:57 -0400 (0:00:00.023) 0:01:43.930 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 12 July 2025 09:18:57 -0400 (0:00:00.016) 0:01:43.947 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 12 July 2025 09:18:57 -0400 (0:00:00.053) 0:01:44.001 ********* included: /tmp/collections-G23/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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 12 July 2025 09:18:57 -0400 (0:00:00.030) 0:01:44.031 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 12 July 2025 09:18:57 -0400 (0:00:00.016) 0:01:44.048 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 12 July 2025 09:18:57 -0400 (0:00:00.018) 0:01:44.066 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 12 July 2025 09:18:57 -0400 (0:00:00.014) 0:01:44.081 ********* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 12 July 2025 09:18:57 -0400 (0:00:00.040) 0:01:44.121 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 12 July 2025 09:18:57 -0400 (0:00:00.014) 0:01:44.136 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 12 July 2025 09:19:02 -0400 (0:00:04.866) 0:01:49.003 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752326315.033456, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752326315.032456, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752326315.032456, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3035165019", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 12 July 2025 09:19:03 -0400 (0:00:00.382) 0:01:49.385 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 12 July 2025 09:19:03 -0400 (0:00:00.021) 0:01:49.407 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 12 July 2025 09:19:03 -0400 (0:00:00.022) 0:01:49.429 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 12 July 2025 09:19:03 -0400 (0:00:00.377) 0:01:49.806 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 12 July 2025 09:19:03 -0400 (0:00:00.036) 0:01:49.843 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752326315.033456, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752326315.032456, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752326315.032456, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3035165019", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 12 July 2025 09:19:04 -0400 (0:00:00.374) 0:01:50.218 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752326259.9963279, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1752326253.13333, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1752326253.13333, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3441125322", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 12 July 2025 09:19:04 -0400 (0:00:00.366) 0:01:50.584 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003929", "end": "2025-07-12 09:19:04.592732", "rc": 0, "start": "2025-07-12 09:19:04.588803" } 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 12 July 2025 09:19:04 -0400 (0:00:00.358) 0:01:50.943 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 12 July 2025 09:19:04 -0400 (0:00:00.022) 0:01:50.965 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 12 July 2025 09:19:05 -0400 (0:00:00.345) 0:01:51.311 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 12 July 2025 09:19:05 -0400 (0:00:00.341) 0:01:51.652 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 12 July 2025 09:19:05 -0400 (0:00:00.335) 0:01:51.988 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 12 July 2025 09:19:05 -0400 (0:00:00.015) 0:01:52.004 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 12 July 2025 09:19:05 -0400 (0:00:00.014) 0:01:52.018 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 12 July 2025 09:19:05 -0400 (0:00:00.014) 0:01:52.033 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": false, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" }, { "args": "test=kernel", "default": false, "id": "eb2473a9fba94bef80c1f167cfceb934-4.18.0-553.5.1.el8.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": true, "id": "eb2473a9fba94bef80c1f167cfceb934-4.18.0-553.5.1.el8.x86_64_clone1", "index": "3", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone2] ********************************************** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Saturday 12 July 2025 09:19:06 -0400 (0:00:00.519) 0:01:52.553 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 12 July 2025 09:19:06 -0400 (0:00:00.023) 0:01:52.576 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 12 July 2025 09:19:06 -0400 (0:00:00.033) 0:01:52.610 ********* included: /tmp/collections-G23/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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 12 July 2025 09:19:06 -0400 (0:00:00.018) 0:01:52.628 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 12 July 2025 09:19:06 -0400 (0:00:00.015) 0:01:52.644 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 12 July 2025 09:19:06 -0400 (0:00:00.013) 0:01:52.657 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 12 July 2025 09:19:06 -0400 (0:00:00.013) 0:01:52.671 ********* 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 12 July 2025 09:19:06 -0400 (0:00:00.031) 0:01:52.703 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 12 July 2025 09:19:06 -0400 (0:00:00.012) 0:01:52.716 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 12 July 2025 09:19:09 -0400 (0:00:02.869) 0:01:55.586 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752326315.033456, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752326315.032456, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752326315.032456, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3035165019", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 12 July 2025 09:19:09 -0400 (0:00:00.347) 0:01:55.933 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 12 July 2025 09:19:09 -0400 (0:00:00.017) 0:01:55.951 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 12 July 2025 09:19:09 -0400 (0:00:00.015) 0:01:55.967 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 12 July 2025 09:19:10 -0400 (0:00:00.326) 0:01:56.293 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 12 July 2025 09:19:10 -0400 (0:00:00.025) 0:01:56.318 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752326315.033456, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752326315.032456, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752326315.032456, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "3035165019", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 12 July 2025 09:19:10 -0400 (0:00:00.338) 0:01:56.656 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752326259.9963279, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1752326253.13333, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1752326253.13333, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3441125322", "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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 12 July 2025 09:19:10 -0400 (0:00:00.347) 0:01:57.004 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003541", "end": "2025-07-12 09:19:11.092431", "rc": 0, "start": "2025-07-12 09:19:11.088890" } 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 12 July 2025 09:19:11 -0400 (0:00:00.339) 0:01:57.343 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 12 July 2025 09:19:11 -0400 (0:00:00.019) 0:01:57.363 ********* 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-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 12 July 2025 09:19:11 -0400 (0:00:00.341) 0:01:57.705 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 12 July 2025 09:19:11 -0400 (0:00:00.341) 0:01:58.046 ********* An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: fail_json() takes 1 positional argument but 2 were 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-1752326351.8859546-11233-94320759893023/AnsiballZ_bootloader_settings.py", line 102, in _ansiballz_main() File "/root/.ansible/tmp/ansible-tmp-1752326351.8859546-11233-94320759893023/AnsiballZ_bootloader_settings.py", line 94, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "/root/.ansible/tmp/ansible-tmp-1752326351.8859546-11233-94320759893023/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/python3.6/runpy.py", line 205, in run_module return _run_module_code(code, init_globals, run_name, mod_spec) File "/usr/lib64/python3.6/runpy.py", line 96, in _run_module_code mod_name, mod_spec, pkg_name, script_name) File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/tmp/ansible_fedora.linux_system_roles.bootloader_settings_payload_67h6rtsp/ansible_fedora.linux_system_roles.bootloader_settings_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/bootloader_settings.py", line 485, in File "/tmp/ansible_fedora.linux_system_roles.bootloader_settings_payload_67h6rtsp/ansible_fedora.linux_system_roles.bootloader_settings_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/bootloader_settings.py", line 481, in main File "/tmp/ansible_fedora.linux_system_roles.bootloader_settings_payload_67h6rtsp/ansible_fedora.linux_system_roles.bootloader_settings_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/bootloader_settings.py", line 435, in run_module File "/tmp/ansible_fedora.linux_system_roles.bootloader_settings_payload_67h6rtsp/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 1 positional argument but 2 were given MODULE_STDERR: Shared connection to 10.31.41.205 closed. TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Saturday 12 July 2025 09:19:12 -0400 (0:00:00.343) 0:01:58.389 ********* 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-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Saturday 12 July 2025 09:19:12 -0400 (0:00:00.018) 0:01:58.407 ********* changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1" ], "delta": "0:00:00.110109", "end": "2025-07-12 09:19:12.604079", "failed_when_result": false, "item": 1, "rc": 0, "start": "2025-07-12 09:19:12.493970" } changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2" ], "delta": "0:00:00.081144", "end": "2025-07-12 09:19:13.001333", "failed_when_result": false, "item": 2, "rc": 0, "start": "2025-07-12 09:19:12.920189" } PLAY RECAP ********************************************************************* managed-node1 : ok=116 changed=10 unreachable=0 failed=1 skipped=88 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.9.27", "end_time": "2025-07-12T13:19:12.185108+00:00Z", "host": "managed-node1", "message": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1, "start_time": "2025-07-12T13:19:11.845110+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102" }, { "ansible_version": "2.9.27", "end_time": "2025-07-12T13:19:12.202740+00:00Z", "host": "managed-node1", "message": "Assertion failed", "start_time": "2025-07-12T13:19:12.188383+00:00Z", "task_name": "Assert that the role failed with multiple default kernels set", "task_path": "/tmp/collections-G23/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 12 July 2025 09:19:13 -0400 (0:00:00.839) 0:01:59.247 ********* =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 27.63s /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.12s /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 22.59s /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 8.56s /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.87s /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 2.06s /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.77s /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 1.57s /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.50s /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 1.47s /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.42s /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.42s /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 1.41s /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 1.41s /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 fedora.linux_system_roles.bootloader : Determine platform type ---------- 1.37s /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 1.11s /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.10s /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.10s /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Determine platform type ---------- 1.06s /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 1.04s /tmp/collections-G23/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73