ansible-playbook [core 2.17.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-BKo executable location = /usr/local/bin/ansible-playbook python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', 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 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:11 Saturday 13 September 2025 08:56:17 -0400 (0:00:00.019) 0:00:00.019 **** included: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 13 September 2025 08:56:17 -0400 (0:00:00.011) 0:00:00.031 **** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 13 September 2025 08:56:19 -0400 (0:00:01.972) 0:00:02.004 **** META: end_host conditional evaluated to False, continuing execution for managed-node1 skipping: [managed-node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node1" } MSG: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 13 September 2025 08:56:19 -0400 (0:00:00.011) 0:00:02.015 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 13 September 2025 08:56:19 -0400 (0:00:00.081) 0:00:02.097 **** included: /tmp/collections-BKo/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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 13 September 2025 08:56:19 -0400 (0:00:00.018) 0:00:02.115 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 13 September 2025 08:56:19 -0400 (0:00:00.034) 0:00:02.150 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 13 September 2025 08:56:19 -0400 (0:00:00.460) 0:00:02.611 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 13 September 2025 08:56:19 -0400 (0:00:00.024) 0:00:02.635 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 13 September 2025 08:56:19 -0400 (0:00:00.036) 0:00:02.671 **** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 13 September 2025 08:56:19 -0400 (0:00:00.015) 0:00:02.687 **** skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 13 September 2025 08:56:19 -0400 (0:00:00.050) 0:00:02.738 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 13 September 2025 08:56:31 -0400 (0:00:11.244) 0:00:13.983 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757503878.5224683, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1757503878.5210695, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12760810, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1757503878.5224686, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "450863788", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 13 September 2025 08:56:31 -0400 (0:00:00.370) 0:00:14.353 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 13 September 2025 08:56:31 -0400 (0:00:00.014) 0:00:14.367 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 13 September 2025 08:56:31 -0400 (0:00:00.011) 0:00:14.379 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 13 September 2025 08:56:31 -0400 (0:00:00.332) 0:00:14.712 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 13 September 2025 08:56:32 -0400 (0:00:00.039) 0:00:14.752 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768191.530686, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1757503878.5210695, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12760810, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1757503878.5224686, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "450863788", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 13 September 2025 08:56:32 -0400 (0:00:00.352) 0:00:15.104 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757491953.152, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "25f71cb6e5718441027a576780fc242ae09dbf69", "ctime": 1757491953.152, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 875296, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1757491953.152, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6755, "uid": 0, "version": "95965378", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 13 September 2025 08:56:32 -0400 (0:00:00.358) 0:00:15.462 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004756", "end": "2025-09-13 08:56:33.122929", "rc": 0, "start": "2025-09-13 08:56:33.118173" } 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 13 September 2025 08:56:33 -0400 (0:00:00.451) 0:00:15.914 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 13 September 2025 08:56:33 -0400 (0:00:00.032) 0:00:15.946 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 13 September 2025 08:56:33 -0400 (0:00:00.441) 0:00:16.387 **** changed: [managed-node1] => { "changed": true, "rc": 0 } MSG: 6 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 13 September 2025 08:56:34 -0400 (0:00:00.356) 0:00:16.744 **** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 13 September 2025 08:56:34 -0400 (0:00:00.427) 0:00:17.172 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 13 September 2025 08:56:34 -0400 (0:00:00.018) 0:00:17.191 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 13 September 2025 08:56:34 -0400 (0:00:00.016) 0:00:17.208 **** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 13 September 2025 08:56:34 -0400 (0:00:00.028) 0:00:17.236 **** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "4caff8024dd04f869ce4bf0a53e5e986-5.14.0-612.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-612.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-612.el9.x86_64", "root": "UUID=2cc63011-1d11-49e6-be7c-e7d3886a5bca", "title": "CentOS Stream (5.14.0-612.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "4caff8024dd04f869ce4bf0a53e5e986-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-4caff8024dd04f869ce4bf0a53e5e986.img", "kernel": "/boot/vmlinuz-0-rescue-4caff8024dd04f869ce4bf0a53e5e986", "root": "UUID=2cc63011-1d11-49e6-be7c-e7d3886a5bca", "title": "CentOS Stream (0-rescue-4caff8024dd04f869ce4bf0a53e5e986) 9" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 13 September 2025 08:56:35 -0400 (0:00:00.547) 0:00:17.784 **** META: end_host conditional evaluated to False, continuing execution for managed-node1 skipping: [managed-node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node1" } MSG: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Flush handlers] ********************************************************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 13 September 2025 08:56:35 -0400 (0:00:00.004) 0:00:17.788 **** META: triggered running handlers for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 13 September 2025 08:56:35 -0400 (0:00:00.001) 0:00:17.789 **** ok: [managed-node1] => { "ansible_facts": { "__default_kernel": { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "4caff8024dd04f869ce4bf0a53e5e986-5.14.0-612.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-612.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-612.el9.x86_64", "root": "UUID=2cc63011-1d11-49e6-be7c-e7d3886a5bca", "title": "CentOS Stream (5.14.0-612.el9.x86_64) 9" } }, "changed": false } TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Saturday 13 September 2025 08:56:35 -0400 (0:00:00.042) 0:00:17.832 **** included: /tmp/collections-BKo/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-5.14.0-612.el9.x86_64] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 13 September 2025 08:56:35 -0400 (0:00:00.030) 0:00:17.862 **** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-612.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-612.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "b261a386fe335a3df742c126cd28d33e794ca923", "dest": "/boot/vmlinuz-5.14.0-612.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-612.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-612.el9.x86_64" }, "md5sum": "5d14d7a5fa9f7bf1e23a0a86cd70e572", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15087656, "src": "/boot/vmlinuz-5.14.0-612.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-612.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-612.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "67e99060dddc3dfbcc87a957b863dd5fdcfc49c6", "dest": "/boot/initramfs-5.14.0-612.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-612.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-612.el9.x86_64.img" }, "md5sum": "93d6dfad2cffdb492f785128d5d16a7e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38798258, "src": "/boot/initramfs-5.14.0-612.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 13 September 2025 08:56:36 -0400 (0:00:01.102) 0:00:18.964 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 13 September 2025 08:56:36 -0400 (0:00:00.036) 0:00:19.000 **** included: /tmp/collections-BKo/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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 13 September 2025 08:56:36 -0400 (0:00:00.017) 0:00:19.018 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 13 September 2025 08:56:36 -0400 (0:00:00.033) 0:00:19.051 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 13 September 2025 08:56:36 -0400 (0:00:00.016) 0:00:19.068 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 13 September 2025 08:56:36 -0400 (0:00:00.016) 0:00:19.085 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 13 September 2025 08:56:36 -0400 (0:00:00.035) 0:00:19.120 **** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 13 September 2025 08:56:36 -0400 (0:00:00.013) 0:00:19.133 **** skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 13 September 2025 08:56:36 -0400 (0:00:00.076) 0:00:19.210 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 13 September 2025 08:56:37 -0400 (0:00:00.898) 0:00:20.109 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768191.530686, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1757503878.5210695, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12760810, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1757503878.5224686, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "450863788", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 13 September 2025 08:56:37 -0400 (0:00:00.370) 0:00:20.479 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 13 September 2025 08:56:37 -0400 (0:00:00.018) 0:00:20.498 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 13 September 2025 08:56:37 -0400 (0:00:00.012) 0:00:20.511 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 13 September 2025 08:56:38 -0400 (0:00:00.348) 0:00:20.859 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 13 September 2025 08:56:38 -0400 (0:00:00.056) 0:00:20.915 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768191.530686, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1757503878.5210695, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12760810, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1757503878.5224686, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "450863788", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 13 September 2025 08:56:38 -0400 (0:00:00.378) 0:00:21.294 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768193.9539208, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a892abda950ca476525db7ab8b5c965f0966ba6a", "ctime": 1757768193.9526932, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 184549570, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1757768193.9539216, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "176483501", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 13 September 2025 08:56:38 -0400 (0:00:00.381) 0:00:21.675 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004580", "end": "2025-09-13 08:56:39.268114", "rc": 0, "start": "2025-09-13 08:56:39.263534" } 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 13 September 2025 08:56:39 -0400 (0:00:00.389) 0:00:22.065 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 13 September 2025 08:56:39 -0400 (0:00:00.048) 0:00:22.114 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 13 September 2025 08:56:39 -0400 (0:00:00.399) 0:00:22.514 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 13 September 2025 08:56:40 -0400 (0:00:00.412) 0:00:22.927 **** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-5.14.0-612.el9.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-5.14.0-612.el9.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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 13 September 2025 08:56:40 -0400 (0:00:00.612) 0:00:23.539 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 13 September 2025 08:56:40 -0400 (0:00:00.029) 0:00:23.569 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 13 September 2025 08:56:40 -0400 (0:00:00.026) 0:00:23.596 **** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 13 September 2025 08:56:40 -0400 (0:00:00.047) 0:00:23.643 **** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Saturday 13 September 2025 08:56:40 -0400 (0:00:00.051) 0:00:23.695 **** 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 META: triggered running handlers for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 13 September 2025 08:56:40 -0400 (0:00:00.003) 0:00:23.699 **** 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.137781", "end": "2025-09-13 08:56:41.415115", "rc": 0, "start": "2025-09-13 08:56:41.277334" } STDOUT: args="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" 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 serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 13 September 2025 08:56:41 -0400 (0:00:00.517) 0:00:24.216 **** included: /tmp/collections-BKo/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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 13 September 2025 08:56:41 -0400 (0:00:00.025) 0:00:24.242 **** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 13 September 2025 08:57:05 -0400 (0:00:24.050) 0:00:48.292 **** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 13 September 2025 08:57:05 -0400 (0:00:00.012) 0:00:48.305 **** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 13 September 2025 08:57:05 -0400 (0:00:00.014) 0:00:48.319 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 13 September 2025 08:57:05 -0400 (0:00:00.014) 0:00:48.334 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 13 September 2025 08:57:05 -0400 (0:00:00.082) 0:00:48.416 **** included: /tmp/collections-BKo/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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 13 September 2025 08:57:05 -0400 (0:00:00.021) 0:00:48.437 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 13 September 2025 08:57:05 -0400 (0:00:00.037) 0:00:48.475 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 13 September 2025 08:57:05 -0400 (0:00:00.019) 0:00:48.494 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 13 September 2025 08:57:05 -0400 (0:00:00.020) 0:00:48.515 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 13 September 2025 08:57:05 -0400 (0:00:00.034) 0:00:48.550 **** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 13 September 2025 08:57:05 -0400 (0:00:00.015) 0:00:48.565 **** skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 13 September 2025 08:57:05 -0400 (0:00:00.043) 0:00:48.609 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 13 September 2025 08:57:07 -0400 (0:00:01.943) 0:00:50.553 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768201.4137158, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1757768201.412716, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8942183, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1757768201.412716, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2943028479", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 13 September 2025 08:57:08 -0400 (0:00:00.409) 0:00:50.962 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 13 September 2025 08:57:08 -0400 (0:00:00.022) 0:00:50.984 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 13 September 2025 08:57:08 -0400 (0:00:00.024) 0:00:51.009 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 13 September 2025 08:57:08 -0400 (0:00:00.375) 0:00:51.384 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 13 September 2025 08:57:08 -0400 (0:00:00.059) 0:00:51.444 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768201.4137158, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1757768201.412716, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8942183, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1757768201.412716, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2943028479", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 13 September 2025 08:57:09 -0400 (0:00:00.379) 0:00:51.823 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768198.866708, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a892abda950ca476525db7ab8b5c965f0966ba6a", "ctime": 1757768193.9526932, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 184549570, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1757768193.9539216, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "176483501", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 13 September 2025 08:57:09 -0400 (0:00:00.362) 0:00:52.185 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005721", "end": "2025-09-13 08:57:09.627666", "rc": 0, "start": "2025-09-13 08:57:09.621945" } 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 13 September 2025 08:57:09 -0400 (0:00:00.367) 0:00:52.553 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 13 September 2025 08:57:09 -0400 (0:00:00.041) 0:00:52.594 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 13 September 2025 08:57:10 -0400 (0:00:00.375) 0:00:52.970 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 13 September 2025 08:57:10 -0400 (0:00:00.374) 0:00:53.345 **** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 13 September 2025 08:57:10 -0400 (0:00:00.342) 0:00:53.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 : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 13 September 2025 08:57:10 -0400 (0:00:00.024) 0:00:53.712 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 13 September 2025 08:57:10 -0400 (0:00:00.020) 0:00:53.732 **** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 13 September 2025 08:57:11 -0400 (0:00:00.034) 0:00:53.767 **** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "4caff8024dd04f869ce4bf0a53e5e986-5.14.0-612.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-612.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-612.el9.x86_64", "root": "UUID=2cc63011-1d11-49e6-be7c-e7d3886a5bca", "title": "CentOS Stream (5.14.0-612.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "4caff8024dd04f869ce4bf0a53e5e986-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-4caff8024dd04f869ce4bf0a53e5e986.img", "kernel": "/boot/vmlinuz-0-rescue-4caff8024dd04f869ce4bf0a53e5e986", "root": "UUID=2cc63011-1d11-49e6-be7c-e7d3886a5bca", "title": "CentOS Stream (0-rescue-4caff8024dd04f869ce4bf0a53e5e986) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "e3bca5cbb4044c0085fcfc7512e80d47-5.14.0-612.el9.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-5.14.0-612.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-612.el9.x86_64_clone1", "root": "UUID=2cc63011-1d11-49e6-be7c-e7d3886a5bca", "title": "Clone1" } ] }, "changed": false } TASK [Clone again to check idempotency] **************************************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Saturday 13 September 2025 08:57:11 -0400 (0:00:00.512) 0:00:54.279 **** included: /tmp/collections-BKo/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-5.14.0-612.el9.x86_64] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 13 September 2025 08:57:11 -0400 (0:00:00.026) 0:00:54.305 **** ok: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-612.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-612.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "b261a386fe335a3df742c126cd28d33e794ca923", "dest": "/boot/vmlinuz-5.14.0-612.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-612.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-612.el9.x86_64" }, "md5sum": "5d14d7a5fa9f7bf1e23a0a86cd70e572", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15087656, "src": "/boot/vmlinuz-5.14.0-612.el9.x86_64", "state": "file", "uid": 0 } ok: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-612.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-612.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "67e99060dddc3dfbcc87a957b863dd5fdcfc49c6", "dest": "/boot/initramfs-5.14.0-612.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-612.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-612.el9.x86_64.img" }, "md5sum": "93d6dfad2cffdb492f785128d5d16a7e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38798258, "src": "/boot/initramfs-5.14.0-612.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 13 September 2025 08:57:12 -0400 (0:00:01.296) 0:00:55.602 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 13 September 2025 08:57:12 -0400 (0:00:00.036) 0:00:55.638 **** included: /tmp/collections-BKo/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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 13 September 2025 08:57:12 -0400 (0:00:00.018) 0:00:55.656 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 13 September 2025 08:57:12 -0400 (0:00:00.035) 0:00:55.692 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 13 September 2025 08:57:12 -0400 (0:00:00.022) 0:00:55.715 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 13 September 2025 08:57:12 -0400 (0:00:00.025) 0:00:55.740 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 13 September 2025 08:57:13 -0400 (0:00:00.045) 0:00:55.786 **** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 13 September 2025 08:57:13 -0400 (0:00:00.020) 0:00:55.806 **** skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 13 September 2025 08:57:13 -0400 (0:00:00.082) 0:00:55.889 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 13 September 2025 08:57:14 -0400 (0:00:00.902) 0:00:56.791 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768201.4137158, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1757768201.412716, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8942183, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1757768201.412716, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2943028479", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 13 September 2025 08:57:14 -0400 (0:00:00.357) 0:00:57.149 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 13 September 2025 08:57:14 -0400 (0:00:00.014) 0:00:57.163 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 13 September 2025 08:57:14 -0400 (0:00:00.013) 0:00:57.177 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 13 September 2025 08:57:14 -0400 (0:00:00.338) 0:00:57.516 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 13 September 2025 08:57:14 -0400 (0:00:00.044) 0:00:57.561 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768201.4137158, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1757768201.412716, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8942183, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1757768201.412716, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2943028479", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 13 September 2025 08:57:15 -0400 (0:00:00.395) 0:00:57.956 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768198.866708, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a892abda950ca476525db7ab8b5c965f0966ba6a", "ctime": 1757768193.9526932, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 184549570, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1757768193.9539216, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "176483501", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 13 September 2025 08:57:15 -0400 (0:00:00.363) 0:00:58.320 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004533", "end": "2025-09-13 08:57:15.894076", "rc": 0, "start": "2025-09-13 08:57:15.889543" } 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 13 September 2025 08:57:15 -0400 (0:00:00.366) 0:00:58.686 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 13 September 2025 08:57:15 -0400 (0:00:00.041) 0:00:58.727 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 13 September 2025 08:57:16 -0400 (0:00:00.384) 0:00:59.112 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 13 September 2025 08:57:16 -0400 (0:00:00.385) 0:00:59.498 **** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 13 September 2025 08:57:17 -0400 (0:00:00.661) 0:01:00.159 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 13 September 2025 08:57:17 -0400 (0:00:00.018) 0:01:00.178 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 13 September 2025 08:57:17 -0400 (0:00:00.016) 0:01:00.194 **** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 13 September 2025 08:57:17 -0400 (0:00:00.032) 0:01:00.227 **** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Saturday 13 September 2025 08:57:17 -0400 (0:00:00.044) 0:01:00.272 **** META: triggered running handlers for managed-node1 TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 13 September 2025 08:57:17 -0400 (0:00:00.002) 0:01:00.274 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 13 September 2025 08:57:17 -0400 (0:00:00.021) 0:01:00.296 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 13 September 2025 08:57:17 -0400 (0:00:00.060) 0:01:00.357 **** included: /tmp/collections-BKo/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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 13 September 2025 08:57:17 -0400 (0:00:00.025) 0:01:00.383 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 13 September 2025 08:57:17 -0400 (0:00:00.042) 0:01:00.425 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 13 September 2025 08:57:17 -0400 (0:00:00.017) 0:01:00.443 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 13 September 2025 08:57:17 -0400 (0:00:00.020) 0:01:00.463 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 13 September 2025 08:57:17 -0400 (0:00:00.030) 0:01:00.493 **** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 13 September 2025 08:57:17 -0400 (0:00:00.015) 0:01:00.508 **** skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 13 September 2025 08:57:17 -0400 (0:00:00.048) 0:01:00.557 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 13 September 2025 08:57:18 -0400 (0:00:00.906) 0:01:01.464 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768201.4137158, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1757768201.412716, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8942183, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1757768201.412716, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2943028479", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 13 September 2025 08:57:19 -0400 (0:00:00.378) 0:01:01.843 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 13 September 2025 08:57:19 -0400 (0:00:00.014) 0:01:01.857 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 13 September 2025 08:57:19 -0400 (0:00:00.013) 0:01:01.871 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 13 September 2025 08:57:19 -0400 (0:00:00.351) 0:01:02.222 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 13 September 2025 08:57:19 -0400 (0:00:00.049) 0:01:02.272 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768201.4137158, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1757768201.412716, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8942183, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1757768201.412716, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2943028479", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 13 September 2025 08:57:19 -0400 (0:00:00.361) 0:01:02.633 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768198.866708, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a892abda950ca476525db7ab8b5c965f0966ba6a", "ctime": 1757768193.9526932, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 184549570, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1757768193.9539216, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "176483501", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 13 September 2025 08:57:20 -0400 (0:00:00.380) 0:01:03.013 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004787", "end": "2025-09-13 08:57:20.599650", "rc": 0, "start": "2025-09-13 08:57:20.594863" } 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 13 September 2025 08:57:20 -0400 (0:00:00.375) 0:01:03.389 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 13 September 2025 08:57:20 -0400 (0:00:00.034) 0:01:03.423 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 13 September 2025 08:57:21 -0400 (0:00:00.366) 0:01:03.790 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 13 September 2025 08:57:21 -0400 (0:00:00.360) 0:01:04.150 **** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 13 September 2025 08:57:21 -0400 (0:00:00.341) 0:01:04.492 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 13 September 2025 08:57:21 -0400 (0:00:00.019) 0:01:04.512 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 13 September 2025 08:57:21 -0400 (0:00:00.017) 0:01:04.530 **** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 13 September 2025 08:57:21 -0400 (0:00:00.028) 0:01:04.558 **** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "4caff8024dd04f869ce4bf0a53e5e986-5.14.0-612.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-612.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-612.el9.x86_64", "root": "UUID=2cc63011-1d11-49e6-be7c-e7d3886a5bca", "title": "CentOS Stream (5.14.0-612.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "4caff8024dd04f869ce4bf0a53e5e986-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-4caff8024dd04f869ce4bf0a53e5e986.img", "kernel": "/boot/vmlinuz-0-rescue-4caff8024dd04f869ce4bf0a53e5e986", "root": "UUID=2cc63011-1d11-49e6-be7c-e7d3886a5bca", "title": "CentOS Stream (0-rescue-4caff8024dd04f869ce4bf0a53e5e986) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "e3bca5cbb4044c0085fcfc7512e80d47-5.14.0-612.el9.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-5.14.0-612.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-612.el9.x86_64_clone1", "root": "UUID=2cc63011-1d11-49e6-be7c-e7d3886a5bca", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone1] ********************************************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Saturday 13 September 2025 08:57:22 -0400 (0:00:00.516) 0:01:05.075 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Saturday 13 September 2025 08:57:22 -0400 (0:00:00.043) 0:01:05.118 **** included: /tmp/collections-BKo/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-5.14.0-612.el9.x86_64] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 13 September 2025 08:57:22 -0400 (0:00:00.026) 0:01:05.144 **** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-612.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-612.el9.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "b261a386fe335a3df742c126cd28d33e794ca923", "dest": "/boot/vmlinuz-5.14.0-612.el9.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-612.el9.x86_64_clone2", "src": "/boot/vmlinuz-5.14.0-612.el9.x86_64" }, "md5sum": "5d14d7a5fa9f7bf1e23a0a86cd70e572", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15087656, "src": "/boot/vmlinuz-5.14.0-612.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-612.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-612.el9.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "67e99060dddc3dfbcc87a957b863dd5fdcfc49c6", "dest": "/boot/initramfs-5.14.0-612.el9.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-612.el9.x86_64.img_clone2", "src": "/boot/initramfs-5.14.0-612.el9.x86_64.img" }, "md5sum": "93d6dfad2cffdb492f785128d5d16a7e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38798258, "src": "/boot/initramfs-5.14.0-612.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 13 September 2025 08:57:23 -0400 (0:00:00.899) 0:01:06.044 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 13 September 2025 08:57:23 -0400 (0:00:00.037) 0:01:06.081 **** included: /tmp/collections-BKo/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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 13 September 2025 08:57:23 -0400 (0:00:00.018) 0:01:06.100 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 13 September 2025 08:57:23 -0400 (0:00:00.032) 0:01:06.133 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 13 September 2025 08:57:23 -0400 (0:00:00.017) 0:01:06.150 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 13 September 2025 08:57:23 -0400 (0:00:00.015) 0:01:06.166 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 13 September 2025 08:57:23 -0400 (0:00:00.029) 0:01:06.195 **** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 13 September 2025 08:57:23 -0400 (0:00:00.012) 0:01:06.208 **** skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 13 September 2025 08:57:23 -0400 (0:00:00.060) 0:01:06.269 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 13 September 2025 08:57:24 -0400 (0:00:00.890) 0:01:07.159 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768201.4137158, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1757768201.412716, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8942183, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1757768201.412716, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2943028479", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 13 September 2025 08:57:24 -0400 (0:00:00.355) 0:01:07.514 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 13 September 2025 08:57:24 -0400 (0:00:00.013) 0:01:07.528 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 13 September 2025 08:57:24 -0400 (0:00:00.011) 0:01:07.540 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 13 September 2025 08:57:25 -0400 (0:00:00.340) 0:01:07.880 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 13 September 2025 08:57:25 -0400 (0:00:00.040) 0:01:07.921 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768201.4137158, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1757768201.412716, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8942183, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1757768201.412716, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2943028479", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 13 September 2025 08:57:25 -0400 (0:00:00.351) 0:01:08.273 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768198.866708, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a892abda950ca476525db7ab8b5c965f0966ba6a", "ctime": 1757768193.9526932, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 184549570, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1757768193.9539216, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "176483501", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 13 September 2025 08:57:25 -0400 (0:00:00.364) 0:01:08.637 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005181", "end": "2025-09-13 08:57:26.219128", "rc": 0, "start": "2025-09-13 08:57:26.213947" } 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 13 September 2025 08:57:26 -0400 (0:00:00.373) 0:01:09.011 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 13 September 2025 08:57:26 -0400 (0:00:00.033) 0:01:09.045 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 13 September 2025 08:57:26 -0400 (0:00:00.362) 0:01:09.407 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 13 September 2025 08:57:27 -0400 (0:00:00.367) 0:01:09.775 **** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-5.14.0-612.el9.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-5.14.0-612.el9.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 13 September 2025 08:57:27 -0400 (0:00:00.656) 0:01:10.432 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 13 September 2025 08:57:27 -0400 (0:00:00.019) 0:01:10.451 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 13 September 2025 08:57:27 -0400 (0:00:00.017) 0:01:10.469 **** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 13 September 2025 08:57:27 -0400 (0:00:00.030) 0:01:10.499 **** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Saturday 13 September 2025 08:57:27 -0400 (0:00:00.032) 0:01:10.532 **** 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 META: triggered running handlers for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 13 September 2025 08:57:27 -0400 (0:00:00.001) 0:01:10.534 **** 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.166749", "end": "2025-09-13 08:57:28.261721", "rc": 0, "start": "2025-09-13 08:57:28.094972" } STDOUT: args="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 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 serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 13 September 2025 08:57:28 -0400 (0:00:00.519) 0:01:11.054 **** included: /tmp/collections-BKo/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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 13 September 2025 08:57:28 -0400 (0:00:00.014) 0:01:11.068 **** changed: [managed-node1] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 13 September 2025 08:57:52 -0400 (0:00:23.995) 0:01:35.063 **** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 13 September 2025 08:57:52 -0400 (0:00:00.012) 0:01:35.076 **** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 13 September 2025 08:57:52 -0400 (0:00:00.023) 0:01:35.099 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 13 September 2025 08:57:52 -0400 (0:00:00.016) 0:01:35.116 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 13 September 2025 08:57:52 -0400 (0:00:00.067) 0:01:35.183 **** included: /tmp/collections-BKo/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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 13 September 2025 08:57:52 -0400 (0:00:00.021) 0:01:35.204 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 13 September 2025 08:57:52 -0400 (0:00:00.037) 0:01:35.241 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 13 September 2025 08:57:52 -0400 (0:00:00.018) 0:01:35.260 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 13 September 2025 08:57:52 -0400 (0:00:00.016) 0:01:35.277 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 13 September 2025 08:57:52 -0400 (0:00:00.030) 0:01:35.308 **** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 13 September 2025 08:57:52 -0400 (0:00:00.013) 0:01:35.321 **** skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 13 September 2025 08:57:52 -0400 (0:00:00.047) 0:01:35.369 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 13 September 2025 08:57:54 -0400 (0:00:01.924) 0:01:37.293 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768248.2613144, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1757768248.2603145, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8942188, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1757768248.2603145, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2485152293", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 13 September 2025 08:57:54 -0400 (0:00:00.389) 0:01:37.683 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 13 September 2025 08:57:54 -0400 (0:00:00.023) 0:01:37.707 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 13 September 2025 08:57:54 -0400 (0:00:00.020) 0:01:37.727 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 13 September 2025 08:57:55 -0400 (0:00:00.368) 0:01:38.096 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 13 September 2025 08:57:55 -0400 (0:00:00.041) 0:01:38.138 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768248.2613144, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1757768248.2603145, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8942188, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1757768248.2603145, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2485152293", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 13 September 2025 08:57:55 -0400 (0:00:00.364) 0:01:38.503 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768198.866708, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a892abda950ca476525db7ab8b5c965f0966ba6a", "ctime": 1757768193.9526932, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 184549570, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1757768193.9539216, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "176483501", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 13 September 2025 08:57:56 -0400 (0:00:00.364) 0:01:38.867 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004922", "end": "2025-09-13 08:57:56.107867", "rc": 0, "start": "2025-09-13 08:57:56.102945" } 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 13 September 2025 08:57:56 -0400 (0:00:00.382) 0:01:39.250 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 13 September 2025 08:57:56 -0400 (0:00:00.041) 0:01:39.291 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 13 September 2025 08:57:56 -0400 (0:00:00.373) 0:01:39.664 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 13 September 2025 08:57:57 -0400 (0:00:00.361) 0:01:40.025 **** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 13 September 2025 08:57:57 -0400 (0:00:00.344) 0:01:40.370 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 13 September 2025 08:57:57 -0400 (0:00:00.019) 0:01:40.389 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 13 September 2025 08:57:57 -0400 (0:00:00.018) 0:01:40.407 **** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 13 September 2025 08:57:57 -0400 (0:00:00.030) 0:01:40.438 **** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "4caff8024dd04f869ce4bf0a53e5e986-5.14.0-612.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-612.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-612.el9.x86_64", "root": "UUID=2cc63011-1d11-49e6-be7c-e7d3886a5bca", "title": "CentOS Stream (5.14.0-612.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "4caff8024dd04f869ce4bf0a53e5e986-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-4caff8024dd04f869ce4bf0a53e5e986.img", "kernel": "/boot/vmlinuz-0-rescue-4caff8024dd04f869ce4bf0a53e5e986", "root": "UUID=2cc63011-1d11-49e6-be7c-e7d3886a5bca", "title": "CentOS Stream (0-rescue-4caff8024dd04f869ce4bf0a53e5e986) 9" }, { "args": "test=kernel", "default": false, "id": "e3bca5cbb4044c0085fcfc7512e80d47-5.14.0-612.el9.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-5.14.0-612.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-612.el9.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "e3bca5cbb4044c0085fcfc7512e80d47-5.14.0-612.el9.x86_64_clone1", "index": "3", "initrd": "/boot/initramfs-5.14.0-612.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-612.el9.x86_64_clone1", "root": "UUID=2cc63011-1d11-49e6-be7c-e7d3886a5bca", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone2] ********************************************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Saturday 13 September 2025 08:57:58 -0400 (0:00:00.543) 0:01:40.982 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 13 September 2025 08:57:58 -0400 (0:00:00.042) 0:01:41.025 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 13 September 2025 08:57:58 -0400 (0:00:00.035) 0:01:41.060 **** included: /tmp/collections-BKo/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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 13 September 2025 08:57:58 -0400 (0:00:00.018) 0:01:41.079 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 13 September 2025 08:57:58 -0400 (0:00:00.033) 0:01:41.112 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 13 September 2025 08:57:58 -0400 (0:00:00.017) 0:01:41.130 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 13 September 2025 08:57:58 -0400 (0:00:00.017) 0:01:41.148 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 13 September 2025 08:57:58 -0400 (0:00:00.030) 0:01:41.178 **** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 13 September 2025 08:57:58 -0400 (0:00:00.014) 0:01:41.193 **** skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 13 September 2025 08:57:58 -0400 (0:00:00.054) 0:01:41.247 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 13 September 2025 08:57:59 -0400 (0:00:00.886) 0:01:42.134 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768248.2613144, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1757768248.2603145, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8942188, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1757768248.2603145, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2485152293", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 13 September 2025 08:57:59 -0400 (0:00:00.354) 0:01:42.488 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 13 September 2025 08:57:59 -0400 (0:00:00.013) 0:01:42.502 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 13 September 2025 08:57:59 -0400 (0:00:00.012) 0:01:42.514 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 13 September 2025 08:58:00 -0400 (0:00:00.344) 0:01:42.858 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 13 September 2025 08:58:00 -0400 (0:00:00.044) 0:01:42.902 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768248.2613144, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1757768248.2603145, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8942188, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1757768248.2603145, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2485152293", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 13 September 2025 08:58:00 -0400 (0:00:00.364) 0:01:43.267 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768198.866708, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a892abda950ca476525db7ab8b5c965f0966ba6a", "ctime": 1757768193.9526932, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 184549570, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1757768193.9539216, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "176483501", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 13 September 2025 08:58:00 -0400 (0:00:00.366) 0:01:43.633 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004801", "end": "2025-09-13 08:58:01.212773", "rc": 0, "start": "2025-09-13 08:58:01.207972" } 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 13 September 2025 08:58:01 -0400 (0:00:00.370) 0:01:44.004 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 13 September 2025 08:58:01 -0400 (0:00:00.036) 0:01:44.040 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 13 September 2025 08:58:01 -0400 (0:00:00.371) 0:01:44.412 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 13 September 2025 08:58:02 -0400 (0:00:00.369) 0:01:44.782 **** fatal: [managed-node1]: FAILED! => { "changed": false } MSG: Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-5.14.0-612.el9.x86_64_clone1, /boot/vmlinuz-5.14.0-612.el9.x86_64_clone2 TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Saturday 13 September 2025 08:58:02 -0400 (0:00:00.360) 0:01:45.142 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Saturday 13 September 2025 08:58:02 -0400 (0:00:00.018) 0:01:45.160 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 13 September 2025 08:58:02 -0400 (0:00:00.057) 0:01:45.218 **** included: /tmp/collections-BKo/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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 13 September 2025 08:58:02 -0400 (0:00:00.019) 0:01:45.237 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 13 September 2025 08:58:02 -0400 (0:00:00.036) 0:01:45.274 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 13 September 2025 08:58:02 -0400 (0:00:00.018) 0:01:45.292 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 13 September 2025 08:58:02 -0400 (0:00:00.018) 0:01:45.310 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 13 September 2025 08:58:02 -0400 (0:00:00.032) 0:01:45.343 **** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 13 September 2025 08:58:02 -0400 (0:00:00.012) 0:01:45.355 **** skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 13 September 2025 08:58:02 -0400 (0:00:00.087) 0:01:45.443 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 13 September 2025 08:58:03 -0400 (0:00:00.928) 0:01:46.372 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768248.2613144, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1757768248.2603145, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8942188, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1757768248.2603145, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2485152293", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 13 September 2025 08:58:03 -0400 (0:00:00.362) 0:01:46.734 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 13 September 2025 08:58:04 -0400 (0:00:00.015) 0:01:46.749 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 13 September 2025 08:58:04 -0400 (0:00:00.013) 0:01:46.763 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 13 September 2025 08:58:04 -0400 (0:00:00.400) 0:01:47.164 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 13 September 2025 08:58:04 -0400 (0:00:00.041) 0:01:47.205 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768248.2613144, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1757768248.2603145, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8942188, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1757768248.2603145, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2485152293", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 13 September 2025 08:58:04 -0400 (0:00:00.356) 0:01:47.562 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768198.866708, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a892abda950ca476525db7ab8b5c965f0966ba6a", "ctime": 1757768193.9526932, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 184549570, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1757768193.9539216, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "176483501", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 13 September 2025 08:58:05 -0400 (0:00:00.362) 0:01:47.925 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005299", "end": "2025-09-13 08:58:05.507844", "rc": 0, "start": "2025-09-13 08:58:05.502545" } 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 13 September 2025 08:58:05 -0400 (0:00:00.374) 0:01:48.299 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 13 September 2025 08:58:05 -0400 (0:00:00.035) 0:01:48.335 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 13 September 2025 08:58:05 -0400 (0:00:00.366) 0:01:48.701 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 13 September 2025 08:58:06 -0400 (0:00:00.363) 0:01:49.065 **** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-612.el9.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 13 September 2025 08:58:06 -0400 (0:00:00.669) 0:01:49.734 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 13 September 2025 08:58:07 -0400 (0:00:00.018) 0:01:49.753 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 13 September 2025 08:58:07 -0400 (0:00:00.017) 0:01:49.771 **** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 13 September 2025 08:58:07 -0400 (0:00:00.032) 0:01:49.804 **** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "4caff8024dd04f869ce4bf0a53e5e986-5.14.0-612.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-612.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-612.el9.x86_64", "root": "UUID=2cc63011-1d11-49e6-be7c-e7d3886a5bca", "title": "CentOS Stream (5.14.0-612.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "4caff8024dd04f869ce4bf0a53e5e986-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-4caff8024dd04f869ce4bf0a53e5e986.img", "kernel": "/boot/vmlinuz-0-rescue-4caff8024dd04f869ce4bf0a53e5e986", "root": "UUID=2cc63011-1d11-49e6-be7c-e7d3886a5bca", "title": "CentOS Stream (0-rescue-4caff8024dd04f869ce4bf0a53e5e986) 9" }, { "args": "test=kernel", "default": false, "id": "e3bca5cbb4044c0085fcfc7512e80d47-5.14.0-612.el9.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-5.14.0-612.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-612.el9.x86_64_clone2", "title": "Clone2" } ] }, "changed": false } TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Saturday 13 September 2025 08:58:07 -0400 (0:00:00.498) 0:01:50.302 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 13 September 2025 08:58:07 -0400 (0:00:00.069) 0:01:50.372 **** included: /tmp/collections-BKo/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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 13 September 2025 08:58:07 -0400 (0:00:00.019) 0:01:50.391 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 13 September 2025 08:58:07 -0400 (0:00:00.035) 0:01:50.426 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 13 September 2025 08:58:07 -0400 (0:00:00.018) 0:01:50.445 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 13 September 2025 08:58:07 -0400 (0:00:00.017) 0:01:50.463 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 13 September 2025 08:58:07 -0400 (0:00:00.030) 0:01:50.493 **** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 13 September 2025 08:58:07 -0400 (0:00:00.013) 0:01:50.507 **** skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 13 September 2025 08:58:07 -0400 (0:00:00.050) 0:01:50.557 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 13 September 2025 08:58:08 -0400 (0:00:00.891) 0:01:51.449 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768248.2613144, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1757768248.2603145, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8942188, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1757768248.2603145, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2485152293", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 13 September 2025 08:58:09 -0400 (0:00:00.362) 0:01:51.811 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 13 September 2025 08:58:09 -0400 (0:00:00.014) 0:01:51.826 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 13 September 2025 08:58:09 -0400 (0:00:00.012) 0:01:51.839 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 13 September 2025 08:58:09 -0400 (0:00:00.348) 0:01:52.187 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 13 September 2025 08:58:09 -0400 (0:00:00.042) 0:01:52.229 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768248.2613144, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1757768248.2603145, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8942188, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1757768248.2603145, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2485152293", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 13 September 2025 08:58:09 -0400 (0:00:00.362) 0:01:52.592 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1757768198.866708, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a892abda950ca476525db7ab8b5c965f0966ba6a", "ctime": 1757768193.9526932, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 184549570, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1757768193.9539216, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "176483501", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 13 September 2025 08:58:10 -0400 (0:00:00.366) 0:01:52.959 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005296", "end": "2025-09-13 08:58:10.539431", "rc": 0, "start": "2025-09-13 08:58:10.534135" } 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 13 September 2025 08:58:10 -0400 (0:00:00.372) 0:01:53.331 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 13 September 2025 08:58:10 -0400 (0:00:00.035) 0:01:53.367 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 13 September 2025 08:58:10 -0400 (0:00:00.369) 0:01:53.737 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 13 September 2025 08:58:11 -0400 (0:00:00.360) 0:01:54.097 **** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-612.el9.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 13 September 2025 08:58:11 -0400 (0:00:00.573) 0:01:54.670 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 13 September 2025 08:58:11 -0400 (0:00:00.018) 0:01:54.689 **** 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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 13 September 2025 08:58:11 -0400 (0:00:00.018) 0:01:54.708 **** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 13 September 2025 08:58:11 -0400 (0:00:00.030) 0:01:54.739 **** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "4caff8024dd04f869ce4bf0a53e5e986-5.14.0-612.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-612.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-612.el9.x86_64", "root": "UUID=2cc63011-1d11-49e6-be7c-e7d3886a5bca", "title": "CentOS Stream (5.14.0-612.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "4caff8024dd04f869ce4bf0a53e5e986-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-4caff8024dd04f869ce4bf0a53e5e986.img", "kernel": "/boot/vmlinuz-0-rescue-4caff8024dd04f869ce4bf0a53e5e986", "root": "UUID=2cc63011-1d11-49e6-be7c-e7d3886a5bca", "title": "CentOS Stream (0-rescue-4caff8024dd04f869ce4bf0a53e5e986) 9" } ] }, "changed": false } TASK [Verify that kernel is removed {{ item }}] ******************************** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Saturday 13 September 2025 08:58:12 -0400 (0:00:00.469) 0:01:55.208 **** 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-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Saturday 13 September 2025 08:58:12 -0400 (0:00:00.054) 0:01:55.262 **** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-612.el9.x86_64_clone1" ], "delta": "0:00:00.046869", "end": "2025-09-13 08:58:12.864492", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-09-13 08:58:12.817623" } STDERR: The param /boot/vmlinuz-5.14.0-612.el9.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-5.14.0-612.el9.x86_64_clone2" ], "delta": "0:00:00.047155", "end": "2025-09-13 08:58:13.243675", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-09-13 08:58:13.196520" } STDERR: The param /boot/vmlinuz-5.14.0-612.el9.x86_64_clone2 is incorrect MSG: non-zero return code 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 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 13 September 2025 08:58:13 -0400 (0:00:00.777) 0:01:56.039 **** 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.109379", "end": "2025-09-13 08:58:13.700821", "rc": 0, "start": "2025-09-13 08:58:13.591442" } STDOUT: args="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 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 serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 13 September 2025 08:58:13 -0400 (0:00:00.454) 0:01:56.494 **** included: /tmp/collections-BKo/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-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 13 September 2025 08:58:13 -0400 (0:00:00.014) 0:01:56.509 **** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 13 September 2025 08:58:37 -0400 (0:00:23.794) 0:02:20.303 **** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 13 September 2025 08:58:37 -0400 (0:00:00.013) 0:02:20.317 **** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=156 changed=14 unreachable=0 failed=0 skipped=121 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.14", "end_time": "2025-09-13T12:58:02.398359+00:00Z", "host": "managed-node1", "message": "Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-5.14.0-612.el9.x86_64_clone1, /boot/vmlinuz-5.14.0-612.el9.x86_64_clone2", "start_time": "2025-09-13T12:58:02.041479+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 13 September 2025 08:58:37 -0400 (0:00:00.013) 0:02:20.331 **** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 24.05s /tmp/collections-BKo/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 -- 24.00s /tmp/collections-BKo/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.79s /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 11.24s /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Gather architecture facts ----------------------------------------------- 1.97s /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.94s /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.92s /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-612.el9.x86_64 --- 1.30s /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-612.el9.x86_64 --- 1.10s /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.93s /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.91s /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.90s /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-612.el9.x86_64 --- 0.90s /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.90s /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.89s /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.89s /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.89s /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Remove cloned kernels --------------------------------------------------- 0.78s /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.67s /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.66s /tmp/collections-BKo/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114