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-Z4C/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-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:11 Thursday 07 August 2025 11:04:59 -0400 (0:00:00.019) 0:00:00.019 ******* included: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Thursday 07 August 2025 11:04:59 -0400 (0:00:00.028) 0:00:00.048 ******* ok: [managed-node1] META: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Thursday 07 August 2025 11:05:00 -0400 (0:00:00.900) 0:00:00.948 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:05:00 -0400 (0:00:00.036) 0:00:00.984 ******* included: /tmp/collections-Z4C/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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:05:00 -0400 (0:00:00.019) 0:00:01.004 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:05:00 -0400 (0:00:00.014) 0:00:01.018 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:05:01 -0400 (0:00:00.419) 0:00:01.438 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:05:01 -0400 (0:00:00.017) 0:00:01.456 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:05:01 -0400 (0:00:00.031) 0:00:01.487 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:05:01 -0400 (0:00:00.012) 0:00:01.500 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:05:01 -0400 (0:00:00.027) 0:00:01.527 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:05:16 -0400 (0:00:15.430) 0:00:16.957 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:05:16 -0400 (0:00:00.348) 0:00:17.306 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:05:16 -0400 (0:00:00.015) 0:00:17.322 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:05:16 -0400 (0:00:00.013) 0:00:17.335 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:05:17 -0400 (0:00:00.327) 0:00:17.663 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:05:17 -0400 (0:00:00.023) 0:00:17.686 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579116.8678606, "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:05:17 -0400 (0:00:00.342) 0:00:18.029 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:05:17 -0400 (0:00:00.344) 0:00:18.374 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004004", "end": "2025-08-07 11:05:18.414248", "rc": 0, "start": "2025-08-07 11:05:18.410244" } 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:05:18 -0400 (0:00:00.466) 0:00:18.840 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:05:18 -0400 (0:00:00.024) 0:00:18.865 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:05:18 -0400 (0:00:00.439) 0:00:19.304 ******* changed: [managed-node1] => { "changed": true } MSG: 5 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:05:19 -0400 (0:00:00.333) 0:00:19.638 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:05:19 -0400 (0:00:00.431) 0:00:20.069 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:05:19 -0400 (0:00:00.017) 0:00:20.087 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:05:19 -0400 (0:00:00.012) 0:00:20.100 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:05:19 -0400 (0:00:00.013) 0:00:20.114 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Thursday 07 August 2025 11:05:20 -0400 (0:00:00.553) 0:00:20.668 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Thursday 07 August 2025 11:05:20 -0400 (0:00:00.016) 0:00:20.684 ******* included: /tmp/collections-Z4C/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-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 07 August 2025 11:05:20 -0400 (0:00:00.025) 0:00:20.709 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 07 August 2025 11:05:21 -0400 (0:00:00.981) 0:00:21.691 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:05:21 -0400 (0:00:00.048) 0:00:21.740 ******* included: /tmp/collections-Z4C/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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:05:21 -0400 (0:00:00.022) 0:00:21.762 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:05:21 -0400 (0:00:00.021) 0:00:21.784 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:05:21 -0400 (0:00:00.015) 0:00:21.800 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:05:21 -0400 (0:00:00.014) 0:00:21.814 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:05:21 -0400 (0:00:00.042) 0:00:21.857 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:05:21 -0400 (0:00:00.018) 0:00:21.875 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:05:21 -0400 (0:00:00.044) 0:00:21.920 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:05:24 -0400 (0:00:02.877) 0:00:24.797 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579116.8678606, "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:05:24 -0400 (0:00:00.344) 0:00:25.142 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:05:24 -0400 (0:00:00.024) 0:00:25.166 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:05:24 -0400 (0:00:00.029) 0:00:25.196 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:05:25 -0400 (0:00:00.369) 0:00:25.565 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:05:25 -0400 (0:00:00.039) 0:00:25.604 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579116.8678606, "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:05:25 -0400 (0:00:00.427) 0:00:26.032 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579119.2118416, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754579119.2128417, "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": 1754579119.2118416, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3492981910", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:05:26 -0400 (0:00:00.358) 0:00:26.390 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003845", "end": "2025-08-07 11:05:26.333725", "rc": 0, "start": "2025-08-07 11:05:26.329880" } 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:05:26 -0400 (0:00:00.377) 0:00:26.768 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:05:26 -0400 (0:00:00.031) 0:00:26.800 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:05:26 -0400 (0:00:00.403) 0:00:27.203 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:05:27 -0400 (0:00:00.395) 0:00:27.599 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:05:27 -0400 (0:00:00.598) 0:00:28.198 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:05:27 -0400 (0:00:00.023) 0:00:28.221 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:05:27 -0400 (0:00:00.019) 0:00:28.240 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:05:27 -0400 (0:00:00.021) 0:00:28.262 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 07 August 2025 11:05:27 -0400 (0:00:00.016) 0:00:28.278 ******* 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.136569", "end": "2025-08-07 11:05:28.352606", "rc": 0, "start": "2025-08-07 11:05:28.216037" } 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 07 August 2025 11:05:28 -0400 (0:00:00.507) 0:00:28.786 ******* included: /tmp/collections-Z4C/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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 07 August 2025 11:05:28 -0400 (0:00:00.016) 0:00:28.802 ******* changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 07 August 2025 11:05:51 -0400 (0:00:23.045) 0:00:51.847 ******* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 07 August 2025 11:05:51 -0400 (0:00:00.014) 0:00:51.862 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 07 August 2025 11:05:51 -0400 (0:00:00.018) 0:00:51.880 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 07 August 2025 11:05:51 -0400 (0:00:00.015) 0:00:51.895 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:05:51 -0400 (0:00:00.035) 0:00:51.931 ******* included: /tmp/collections-Z4C/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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:05:51 -0400 (0:00:00.019) 0:00:51.951 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:05:51 -0400 (0:00:00.015) 0:00:51.966 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:05:51 -0400 (0:00:00.015) 0:00:51.982 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:05:51 -0400 (0:00:00.016) 0:00:51.998 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:05:51 -0400 (0:00:00.044) 0:00:52.042 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:05:51 -0400 (0:00:00.017) 0:00:52.060 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:05:51 -0400 (0:00:00.032) 0:00:52.092 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:05:56 -0400 (0:00:04.897) 0:00:56.990 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579128.3517683, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579128.3507683, "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": 1754579128.3507683, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4100002710", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:05:56 -0400 (0:00:00.362) 0:00:57.352 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:05:56 -0400 (0:00:00.022) 0:00:57.375 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.015) 0:00:57.390 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.342) 0:00:57.733 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.028) 0:00:57.761 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579128.3517683, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579128.3507683, "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": 1754579128.3507683, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4100002710", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.357) 0:00:58.119 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579125.9457877, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754579119.2128417, "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": 1754579119.2118416, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3492981910", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:05:58 -0400 (0:00:00.354) 0:00:58.474 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004239", "end": "2025-08-07 11:05:58.323700", "rc": 0, "start": "2025-08-07 11:05:58.319461" } 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:05:58 -0400 (0:00:00.343) 0:00:58.817 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:05:58 -0400 (0:00:00.018) 0:00:58.835 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:05:58 -0400 (0:00:00.341) 0:00:59.177 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:05:59 -0400 (0:00:00.338) 0:00:59.516 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:05:59 -0400 (0:00:00.400) 0:00:59.917 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:05:59 -0400 (0:00:00.023) 0:00:59.940 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:05:59 -0400 (0:00:00.020) 0:00:59.961 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:05:59 -0400 (0:00:00.021) 0:00:59.982 ******* 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": "2c2cfb8774364143a484dae51b8b8679-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-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Thursday 07 August 2025 11:06:00 -0400 (0:00:00.525) 0:01:00.507 ******* included: /tmp/collections-Z4C/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-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 07 August 2025 11:06:00 -0400 (0:00:00.041) 0:01:00.549 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.953) 0:01:01.502 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.041) 0:01:01.544 ******* included: /tmp/collections-Z4C/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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.040) 0:01:01.585 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.029) 0:01:01.614 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.021) 0:01:01.635 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.020) 0:01:01.656 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.037) 0:01:01.693 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.014) 0:01:01.707 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.054) 0:01:01.762 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:06:04 -0400 (0:00:02.939) 0:01:04.702 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579128.3517683, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579128.3507683, "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": 1754579128.3507683, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4100002710", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:06:04 -0400 (0:00:00.353) 0:01:05.056 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:06:04 -0400 (0:00:00.021) 0:01:05.078 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:06:04 -0400 (0:00:00.015) 0:01:05.093 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:06:05 -0400 (0:00:00.342) 0:01:05.436 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:06:05 -0400 (0:00:00.025) 0:01:05.461 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579128.3517683, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579128.3507683, "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": 1754579128.3507683, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4100002710", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:06:05 -0400 (0:00:00.362) 0:01:05.823 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579125.9457877, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754579119.2128417, "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": 1754579119.2118416, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3492981910", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:06:05 -0400 (0:00:00.369) 0:01:06.193 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003910", "end": "2025-08-07 11:06:06.127918", "rc": 0, "start": "2025-08-07 11:06:06.124008" } 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:06:06 -0400 (0:00:00.364) 0:01:06.557 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:06:06 -0400 (0:00:00.024) 0:01:06.582 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:06:06 -0400 (0:00:00.366) 0:01:06.948 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:06:06 -0400 (0:00:00.342) 0:01:07.290 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:06:07 -0400 (0:00:00.636) 0:01:07.926 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:06:07 -0400 (0:00:00.024) 0:01:07.951 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:06:07 -0400 (0:00:00.021) 0:01:07.972 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:06:07 -0400 (0:00:00.029) 0:01:08.002 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 07 August 2025 11:06:07 -0400 (0:00:00.020) 0:01:08.023 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 07 August 2025 11:06:07 -0400 (0:00:00.019) 0:01:08.042 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:06:07 -0400 (0:00:00.044) 0:01:08.087 ******* included: /tmp/collections-Z4C/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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:06:07 -0400 (0:00:00.047) 0:01:08.134 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:06:07 -0400 (0:00:00.016) 0:01:08.151 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:06:07 -0400 (0:00:00.014) 0:01:08.165 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:06:07 -0400 (0:00:00.014) 0:01:08.179 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:06:07 -0400 (0:00:00.032) 0:01:08.212 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:06:07 -0400 (0:00:00.013) 0:01:08.226 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:06:07 -0400 (0:00:00.027) 0:01:08.253 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:06:10 -0400 (0:00:02.846) 0:01:11.100 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579128.3517683, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579128.3507683, "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": 1754579128.3507683, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4100002710", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:06:11 -0400 (0:00:00.346) 0:01:11.446 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:06:11 -0400 (0:00:00.016) 0:01:11.462 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:06:11 -0400 (0:00:00.014) 0:01:11.477 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:06:11 -0400 (0:00:00.333) 0:01:11.811 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:06:11 -0400 (0:00:00.025) 0:01:11.836 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579128.3517683, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579128.3507683, "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": 1754579128.3507683, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4100002710", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:06:11 -0400 (0:00:00.353) 0:01:12.190 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579125.9457877, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754579119.2128417, "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": 1754579119.2118416, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3492981910", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:06:12 -0400 (0:00:00.353) 0:01:12.544 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004643", "end": "2025-08-07 11:06:12.467110", "rc": 0, "start": "2025-08-07 11:06:12.462467" } 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:06:12 -0400 (0:00:00.353) 0:01:12.897 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:06:12 -0400 (0:00:00.024) 0:01:12.922 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:06:12 -0400 (0:00:00.354) 0:01:13.276 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:06:13 -0400 (0:00:00.362) 0:01:13.639 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:06:13 -0400 (0:00:00.356) 0:01:13.996 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:06:13 -0400 (0:00:00.017) 0:01:14.013 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:06:13 -0400 (0:00:00.017) 0:01:14.031 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:06:13 -0400 (0:00:00.020) 0:01:14.051 ******* 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": "2c2cfb8774364143a484dae51b8b8679-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-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Thursday 07 August 2025 11:06:14 -0400 (0:00:00.493) 0:01:14.545 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Thursday 07 August 2025 11:06:14 -0400 (0:00:00.025) 0:01:14.570 ******* included: /tmp/collections-Z4C/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-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 07 August 2025 11:06:14 -0400 (0:00:00.033) 0:01:14.604 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 07 August 2025 11:06:15 -0400 (0:00:00.859) 0:01:15.463 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:06:15 -0400 (0:00:00.023) 0:01:15.486 ******* included: /tmp/collections-Z4C/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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:06:15 -0400 (0:00:00.023) 0:01:15.510 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:06:15 -0400 (0:00:00.016) 0:01:15.526 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:06:15 -0400 (0:00:00.017) 0:01:15.544 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:06:15 -0400 (0:00:00.025) 0:01:15.569 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:06:15 -0400 (0:00:00.050) 0:01:15.620 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:06:15 -0400 (0:00:00.023) 0:01:15.644 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:06:15 -0400 (0:00:00.051) 0:01:15.695 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:06:18 -0400 (0:00:02.856) 0:01:18.551 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579128.3517683, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579128.3507683, "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": 1754579128.3507683, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4100002710", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:06:18 -0400 (0:00:00.352) 0:01:18.904 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:06:18 -0400 (0:00:00.016) 0:01:18.921 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:06:18 -0400 (0:00:00.015) 0:01:18.936 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:06:18 -0400 (0:00:00.339) 0:01:19.276 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:06:18 -0400 (0:00:00.025) 0:01:19.301 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579128.3517683, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579128.3507683, "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": 1754579128.3507683, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4100002710", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:06:19 -0400 (0:00:00.349) 0:01:19.650 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579125.9457877, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754579119.2128417, "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": 1754579119.2118416, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3492981910", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:06:19 -0400 (0:00:00.353) 0:01:20.004 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004486", "end": "2025-08-07 11:06:19.926944", "rc": 0, "start": "2025-08-07 11:06:19.922458" } 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:06:19 -0400 (0:00:00.346) 0:01:20.351 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:06:19 -0400 (0:00:00.018) 0:01:20.369 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:06:20 -0400 (0:00:00.346) 0:01:20.716 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:06:20 -0400 (0:00:00.342) 0:01:21.058 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:06:21 -0400 (0:00:00.613) 0:01:21.671 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:06:21 -0400 (0:00:00.016) 0:01:21.687 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:06:21 -0400 (0:00:00.015) 0:01:21.702 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:06:21 -0400 (0:00:00.014) 0:01:21.717 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 07 August 2025 11:06:21 -0400 (0:00:00.011) 0:01:21.729 ******* 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.162436", "end": "2025-08-07 11:06:21.812476", "rc": 0, "start": "2025-08-07 11:06:21.650040" } 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 07 August 2025 11:06:21 -0400 (0:00:00.505) 0:01:22.234 ******* included: /tmp/collections-Z4C/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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 07 August 2025 11:06:21 -0400 (0:00:00.015) 0:01:22.250 ******* changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 07 August 2025 11:06:44 -0400 (0:00:22.458) 0:01:44.708 ******* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 07 August 2025 11:06:44 -0400 (0:00:00.017) 0:01:44.726 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 07 August 2025 11:06:44 -0400 (0:00:00.020) 0:01:44.747 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 07 August 2025 11:06:44 -0400 (0:00:00.018) 0:01:44.766 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:06:44 -0400 (0:00:00.044) 0:01:44.810 ******* included: /tmp/collections-Z4C/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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:06:44 -0400 (0:00:00.020) 0:01:44.831 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:06:44 -0400 (0:00:00.015) 0:01:44.847 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:06:44 -0400 (0:00:00.055) 0:01:44.902 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:06:44 -0400 (0:00:00.015) 0:01:44.918 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:06:44 -0400 (0:00:00.037) 0:01:44.955 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:06:44 -0400 (0:00:00.013) 0:01:44.969 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:06:44 -0400 (0:00:00.031) 0:01:45.000 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:06:49 -0400 (0:00:04.909) 0:01:49.910 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579181.8110747, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579181.8100748, "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": 1754579181.8100748, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4049937144", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:06:49 -0400 (0:00:00.355) 0:01:50.266 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:06:49 -0400 (0:00:00.015) 0:01:50.282 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:06:49 -0400 (0:00:00.013) 0:01:50.296 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:06:50 -0400 (0:00:00.340) 0:01:50.636 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:06:50 -0400 (0:00:00.023) 0:01:50.660 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579181.8110747, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579181.8100748, "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": 1754579181.8100748, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4049937144", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:06:50 -0400 (0:00:00.360) 0:01:51.020 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579125.9457877, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754579119.2128417, "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": 1754579119.2118416, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3492981910", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:06:51 -0400 (0:00:00.363) 0:01:51.384 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003873", "end": "2025-08-07 11:06:51.322922", "rc": 0, "start": "2025-08-07 11:06:51.319049" } 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:06:51 -0400 (0:00:00.364) 0:01:51.748 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:06:51 -0400 (0:00:00.020) 0:01:51.769 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:06:51 -0400 (0:00:00.361) 0:01:52.130 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:06:52 -0400 (0:00:00.370) 0:01:52.501 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:06:52 -0400 (0:00:00.368) 0:01:52.869 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:06:52 -0400 (0:00:00.020) 0:01:52.890 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:06:52 -0400 (0:00:00.017) 0:01:52.907 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:06:52 -0400 (0:00:00.018) 0:01:52.926 ******* 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": "2c2cfb8774364143a484dae51b8b8679-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": "2c2cfb8774364143a484dae51b8b8679-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-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Thursday 07 August 2025 11:06:53 -0400 (0:00:00.545) 0:01:53.471 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Thursday 07 August 2025 11:06:53 -0400 (0:00:00.027) 0:01:53.499 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:06:53 -0400 (0:00:00.039) 0:01:53.538 ******* included: /tmp/collections-Z4C/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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:06:53 -0400 (0:00:00.021) 0:01:53.560 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:06:53 -0400 (0:00:00.018) 0:01:53.578 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:06:53 -0400 (0:00:00.016) 0:01:53.595 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:06:53 -0400 (0:00:00.017) 0:01:53.612 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:06:53 -0400 (0:00:00.038) 0:01:53.650 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:06:53 -0400 (0:00:00.016) 0:01:53.667 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:06:53 -0400 (0:00:00.040) 0:01:53.707 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:06:56 -0400 (0:00:02.868) 0:01:56.576 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579181.8110747, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579181.8100748, "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": 1754579181.8100748, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4049937144", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:06:56 -0400 (0:00:00.342) 0:01:56.919 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:06:56 -0400 (0:00:00.015) 0:01:56.935 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:06:56 -0400 (0:00:00.014) 0:01:56.949 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:06:56 -0400 (0:00:00.334) 0:01:57.283 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:06:56 -0400 (0:00:00.024) 0:01:57.307 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579181.8110747, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579181.8100748, "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": 1754579181.8100748, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4049937144", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:06:57 -0400 (0:00:00.349) 0:01:57.657 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579125.9457877, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754579119.2128417, "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": 1754579119.2118416, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3492981910", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:06:57 -0400 (0:00:00.347) 0:01:58.005 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003805", "end": "2025-08-07 11:06:57.923244", "rc": 0, "start": "2025-08-07 11:06:57.919439" } 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:06:57 -0400 (0:00:00.342) 0:01:58.347 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:06:57 -0400 (0:00:00.018) 0:01:58.366 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:06:58 -0400 (0:00:00.333) 0:01:58.700 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:06:58 -0400 (0:00:00.346) 0:01:59.046 ******* fatal: [managed-node1]: FAILED! => { "changed": false } MSG: Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1, /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2 TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Thursday 07 August 2025 11:06:59 -0400 (0:00:00.336) 0:01:59.383 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Thursday 07 August 2025 11:06:59 -0400 (0:00:00.016) 0:01:59.399 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:06:59 -0400 (0:00:00.051) 0:01:59.451 ******* included: /tmp/collections-Z4C/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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:06:59 -0400 (0:00:00.018) 0:01:59.470 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:06:59 -0400 (0:00:00.015) 0:01:59.485 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:06:59 -0400 (0:00:00.013) 0:01:59.498 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:06:59 -0400 (0:00:00.013) 0:01:59.512 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:06:59 -0400 (0:00:00.031) 0:01:59.544 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:06:59 -0400 (0:00:00.013) 0:01:59.558 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:06:59 -0400 (0:00:00.031) 0:01:59.589 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:07:02 -0400 (0:00:02.831) 0:02:02.421 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579181.8110747, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579181.8100748, "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": 1754579181.8100748, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4049937144", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:07:02 -0400 (0:00:00.350) 0:02:02.771 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:07:02 -0400 (0:00:00.017) 0:02:02.788 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:07:02 -0400 (0:00:00.014) 0:02:02.802 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:07:02 -0400 (0:00:00.337) 0:02:03.140 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:07:02 -0400 (0:00:00.023) 0:02:03.164 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579181.8110747, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579181.8100748, "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": 1754579181.8100748, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4049937144", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:07:03 -0400 (0:00:00.353) 0:02:03.517 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579125.9457877, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754579119.2128417, "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": 1754579119.2118416, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3492981910", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:07:03 -0400 (0:00:00.352) 0:02:03.870 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004197", "end": "2025-08-07 11:07:03.792801", "rc": 0, "start": "2025-08-07 11:07:03.788604" } 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:07:03 -0400 (0:00:00.349) 0:02:04.220 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:07:03 -0400 (0:00:00.019) 0:02:04.239 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:07:04 -0400 (0:00:00.343) 0:02:04.582 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:07:04 -0400 (0:00:00.350) 0:02:04.933 ******* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:07:05 -0400 (0:00:00.628) 0:02:05.561 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:07:05 -0400 (0:00:00.016) 0:02:05.578 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:07:05 -0400 (0:00:00.015) 0:02:05.593 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:07:05 -0400 (0:00:00.014) 0:02:05.608 ******* 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" }, { "args": "test=kernel", "default": false, "id": "2c2cfb8774364143a484dae51b8b8679-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" } ] }, "changed": false } TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Thursday 07 August 2025 11:07:05 -0400 (0:00:00.475) 0:02:06.083 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:07:05 -0400 (0:00:00.066) 0:02:06.150 ******* included: /tmp/collections-Z4C/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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:07:05 -0400 (0:00:00.019) 0:02:06.169 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:07:05 -0400 (0:00:00.015) 0:02:06.184 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:07:05 -0400 (0:00:00.013) 0:02:06.197 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:07:05 -0400 (0:00:00.016) 0:02:06.213 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:07:05 -0400 (0:00:00.031) 0:02:06.245 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:07:05 -0400 (0:00:00.014) 0:02:06.259 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:07:05 -0400 (0:00:00.028) 0:02:06.287 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:07:08 -0400 (0:00:02.831) 0:02:09.118 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579181.8110747, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579181.8100748, "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": 1754579181.8100748, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4049937144", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:07:09 -0400 (0:00:00.344) 0:02:09.463 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:07:09 -0400 (0:00:00.015) 0:02:09.479 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:07:09 -0400 (0:00:00.014) 0:02:09.493 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:07:09 -0400 (0:00:00.328) 0:02:09.821 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:07:09 -0400 (0:00:00.024) 0:02:09.846 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579181.8110747, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1754579181.8100748, "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": 1754579181.8100748, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4049937144", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:07:09 -0400 (0:00:00.343) 0:02:10.190 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579125.9457877, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1754579119.2128417, "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": 1754579119.2118416, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3492981910", "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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:07:10 -0400 (0:00:00.350) 0:02:10.540 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003953", "end": "2025-08-07 11:07:10.460145", "rc": 0, "start": "2025-08-07 11:07:10.456192" } 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:07:10 -0400 (0:00:00.344) 0:02:10.885 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:07:10 -0400 (0:00:00.017) 0:02:10.902 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:07:10 -0400 (0:00:00.341) 0:02:11.244 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:07:11 -0400 (0:00:00.335) 0:02:11.580 ******* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:07:11 -0400 (0:00:00.559) 0:02:12.140 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:07:11 -0400 (0:00:00.016) 0:02:12.156 ******* 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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:07:11 -0400 (0:00:00.017) 0:02:12.174 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:07:11 -0400 (0:00:00.012) 0:02:12.187 ******* 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 } TASK [Verify that kernel is removed {{ item }}] ******************************** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Thursday 07 August 2025 11:07:12 -0400 (0:00:00.450) 0:02:12.637 ******* ok: [managed-node1] => (item=Clone1) => { "ansible_loop_var": "item", "changed": false, "item": "Clone1" } MSG: All assertions passed ok: [managed-node1] => (item=Clone2) => { "ansible_loop_var": "item", "changed": false, "item": "Clone2" } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Thursday 07 August 2025 11:07:12 -0400 (0:00:00.027) 0:02:12.665 ******* 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.042721", "end": "2025-08-07 11:07:12.619800", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-08-07 11:07:12.577079" } STDERR: The param /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1 is incorrect MSG: non-zero return code 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.044247", "end": "2025-08-07 11:07:12.987651", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-08-07 11:07:12.943404" } STDERR: The param /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2 is incorrect MSG: non-zero return code RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 07 August 2025 11:07:13 -0400 (0:00:00.744) 0:02:13.409 ******* 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.114353", "end": "2025-08-07 11:07:13.436259", "rc": 0, "start": "2025-08-07 11:07:13.321906" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" 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 " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 07 August 2025 11:07:13 -0400 (0:00:00.449) 0:02:13.858 ******* included: /tmp/collections-Z4C/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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 07 August 2025 11:07:13 -0400 (0:00:00.015) 0:02:13.874 ******* changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 07 August 2025 11:07:35 -0400 (0:00:22.452) 0:02:36.326 ******* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 07 August 2025 11:07:35 -0400 (0:00:00.018) 0:02:36.345 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 07 August 2025 11:07:35 -0400 (0:00:00.017) 0:02:36.363 ******* 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.133809", "end": "2025-08-07 11:07:35.552279", "rc": 0, "start": "2025-08-07 11:07:35.418470" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" 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 " 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 " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 07 August 2025 11:07:36 -0400 (0:00:00.487) 0:02:36.850 ******* included: /tmp/collections-Z4C/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-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 07 August 2025 11:07:36 -0400 (0:00:00.015) 0:02:36.866 ******* changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 07 August 2025 11:07:59 -0400 (0:00:23.124) 0:02:59.990 ******* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 07 August 2025 11:07:59 -0400 (0:00:00.014) 0:03:00.005 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=150 changed=16 unreachable=0 failed=0 skipped=122 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.9.27", "end_time": "2025-08-07T15:06:59.003934+00:00Z", "host": "managed-node1", "message": "Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1, /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "start_time": "2025-08-07T15:06:58.670916+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 07 August 2025 11:07:59 -0400 (0:00:00.017) 0:03:00.023 ******* =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 28.08s /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.12s /tmp/collections-Z4C/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 -- 23.05s /tmp/collections-Z4C/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.46s /tmp/collections-Z4C/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.45s /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 8.67s /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.87s /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.83s /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.83s /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 2.12s /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.85s /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.56s /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 1.53s /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 1.50s /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 1.42s /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.41s /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.41s /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 1.41s /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 fedora.linux_system_roles.bootloader : Determine platform type ---------- 1.34s /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.14s /tmp/collections-Z4C/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72