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-gtv 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-gtv/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-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:11 Saturday 04 October 2025 08:51:08 -0400 (0:00:00.018) 0:00:00.018 ****** included: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 04 October 2025 08:51:08 -0400 (0:00:00.011) 0:00:00.030 ****** [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-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 04 October 2025 08:51:10 -0400 (0:00:01.996) 0:00:02.027 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 04 October 2025 08:51:10 -0400 (0:00:00.012) 0:00:02.039 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 October 2025 08:51:10 -0400 (0:00:00.067) 0:00:02.107 ****** included: /tmp/collections-gtv/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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 October 2025 08:51:10 -0400 (0:00:00.017) 0:00:02.124 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 October 2025 08:51:10 -0400 (0:00:00.031) 0:00:02.156 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 October 2025 08:51:10 -0400 (0:00:00.431) 0:00:02.587 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 October 2025 08:51:10 -0400 (0:00:00.021) 0:00:02.608 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 October 2025 08:51:10 -0400 (0:00:00.028) 0:00:02.636 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 04 October 2025 08:51:10 -0400 (0:00:00.011) 0:00:02.647 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 04 October 2025 08:51:10 -0400 (0:00:00.042) 0:00:02.690 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 04 October 2025 08:51:21 -0400 (0:00:10.811) 0:00:13.502 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759241018.4457042, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1759241018.444013, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12894857, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759241018.4457045, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2942853166", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 04 October 2025 08:51:21 -0400 (0:00:00.378) 0:00:13.880 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 04 October 2025 08:51:21 -0400 (0:00:00.014) 0:00:13.895 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 04 October 2025 08:51:21 -0400 (0:00:00.010) 0:00:13.905 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 04 October 2025 08:51:22 -0400 (0:00:00.341) 0:00:14.247 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 04 October 2025 08:51:22 -0400 (0:00:00.040) 0:00:14.288 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582281.8322752, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1759241018.444013, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12894857, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759241018.4457045, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2942853166", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 04 October 2025 08:51:22 -0400 (0:00:00.361) 0:00:14.649 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759239985.5877998, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "d43c75e932a0d2d20fb2139c070cff68707b496d", "ctime": 1759239985.5888, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 865853, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1759239985.5888, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6755, "uid": 0, "version": "2891203699", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 04 October 2025 08:51:23 -0400 (0:00:00.360) 0:00:15.010 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004750", "end": "2025-10-04 08:51:23.443364", "rc": 0, "start": "2025-10-04 08:51:23.438614" } 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 04 October 2025 08:51:23 -0400 (0:00:00.447) 0:00:15.458 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 04 October 2025 08:51:23 -0400 (0:00:00.032) 0:00:15.490 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 04 October 2025 08:51:23 -0400 (0:00:00.438) 0:00:15.929 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 04 October 2025 08:51:24 -0400 (0:00:00.364) 0:00:16.294 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 04 October 2025 08:51:24 -0400 (0:00:00.432) 0:00:16.727 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 04 October 2025 08:51:24 -0400 (0:00:00.017) 0:00:16.745 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 04 October 2025 08:51:24 -0400 (0:00:00.015) 0:00:16.760 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 04 October 2025 08:51:24 -0400 (0:00:00.027) 0:00:16.787 ****** 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": "8edb039172ff449791200b5806bd8eab-5.14.0-617.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-617.el9.x86_64", "root": "UUID=8f91d125-a2a0-4395-9c60-8981f3d516e2", "title": "CentOS Stream (5.14.0-617.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": "8edb039172ff449791200b5806bd8eab-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-8edb039172ff449791200b5806bd8eab.img", "kernel": "/boot/vmlinuz-0-rescue-8edb039172ff449791200b5806bd8eab", "root": "UUID=8f91d125-a2a0-4395-9c60-8981f3d516e2", "title": "CentOS Stream (0-rescue-8edb039172ff449791200b5806bd8eab) 9" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 04 October 2025 08:51:25 -0400 (0:00:00.564) 0:00:17.352 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 04 October 2025 08:51:25 -0400 (0:00:00.003) 0:00:17.356 ****** META: triggered running handlers for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 04 October 2025 08:51:25 -0400 (0:00:00.001) 0:00:17.357 ****** 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": "8edb039172ff449791200b5806bd8eab-5.14.0-617.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-617.el9.x86_64", "root": "UUID=8f91d125-a2a0-4395-9c60-8981f3d516e2", "title": "CentOS Stream (5.14.0-617.el9.x86_64) 9" } }, "changed": false } TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Saturday 04 October 2025 08:51:25 -0400 (0:00:00.037) 0:00:17.394 ****** included: /tmp/collections-gtv/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-617.el9.x86_64] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 04 October 2025 08:51:25 -0400 (0:00:00.024) 0:00:17.419 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-617.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-617.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "9a37e5cbfc3e07842f882e552a61f45ea6a097be", "dest": "/boot/vmlinuz-5.14.0-617.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-617.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-617.el9.x86_64" }, "md5sum": "9331d0d84baa9172f3b94c6eddcb9192", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15091752, "src": "/boot/vmlinuz-5.14.0-617.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-617.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-617.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "90cceb83638597130364bd20a74eef8360ed427f", "dest": "/boot/initramfs-5.14.0-617.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-617.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-617.el9.x86_64.img" }, "md5sum": "03b3ab0077f19413ed6db98d7ac59af2", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38801355, "src": "/boot/initramfs-5.14.0-617.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 04 October 2025 08:51:26 -0400 (0:00:01.113) 0:00:18.533 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 October 2025 08:51:26 -0400 (0:00:00.045) 0:00:18.578 ****** included: /tmp/collections-gtv/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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 October 2025 08:51:26 -0400 (0:00:00.030) 0:00:18.609 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 October 2025 08:51:26 -0400 (0:00:00.041) 0:00:18.650 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 October 2025 08:51:26 -0400 (0:00:00.021) 0:00:18.672 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 October 2025 08:51:26 -0400 (0:00:00.017) 0:00:18.689 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 October 2025 08:51:26 -0400 (0:00:00.035) 0:00:18.725 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 04 October 2025 08:51:26 -0400 (0:00:00.017) 0:00:18.742 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 04 October 2025 08:51:26 -0400 (0:00:00.066) 0:00:18.809 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 04 October 2025 08:51:27 -0400 (0:00:01.111) 0:00:19.920 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582281.8322752, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1759241018.444013, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12894857, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759241018.4457045, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2942853166", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 04 October 2025 08:51:28 -0400 (0:00:00.360) 0:00:20.281 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 04 October 2025 08:51:28 -0400 (0:00:00.013) 0:00:20.295 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 04 October 2025 08:51:28 -0400 (0:00:00.016) 0:00:20.312 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 04 October 2025 08:51:28 -0400 (0:00:00.372) 0:00:20.684 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 04 October 2025 08:51:28 -0400 (0:00:00.056) 0:00:20.741 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582281.8322752, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1759241018.444013, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12894857, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759241018.4457045, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2942853166", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 04 October 2025 08:51:29 -0400 (0:00:00.376) 0:00:21.117 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582284.278685, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "864ac993d45fc8f94235aaf6590c228990ad8df7", "ctime": 1759582284.277291, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 180355266, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1759582284.278686, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "794926348", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 04 October 2025 08:51:29 -0400 (0:00:00.382) 0:00:21.500 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004789", "end": "2025-10-04 08:51:29.885732", "rc": 0, "start": "2025-10-04 08:51:29.880943" } 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 04 October 2025 08:51:29 -0400 (0:00:00.402) 0:00:21.903 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 04 October 2025 08:51:30 -0400 (0:00:00.063) 0:00:21.966 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 04 October 2025 08:51:30 -0400 (0:00:00.424) 0:00:22.390 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 04 October 2025 08:51:30 -0400 (0:00:00.399) 0:00:22.789 ****** 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-617.el9.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-5.14.0-617.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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 04 October 2025 08:51:31 -0400 (0:00:00.626) 0:00:23.416 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 04 October 2025 08:51:31 -0400 (0:00:00.017) 0:00:23.433 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 04 October 2025 08:51:31 -0400 (0:00:00.015) 0:00:23.449 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 04 October 2025 08:51:31 -0400 (0:00:00.028) 0:00:23.477 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Saturday 04 October 2025 08:51:31 -0400 (0:00:00.034) 0:00:23.512 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 04 October 2025 08:51:31 -0400 (0:00:00.002) 0:00:23.515 ****** 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.138768", "end": "2025-10-04 08:51:32.000450", "rc": 0, "start": "2025-10-04 08:51:31.861682" } 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 04 October 2025 08:51:32 -0400 (0:00:00.510) 0:00:24.025 ****** included: /tmp/collections-gtv/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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 04 October 2025 08:51:32 -0400 (0:00:00.026) 0:00:24.051 ****** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 04 October 2025 08:51:56 -0400 (0:00:23.954) 0:00:48.006 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 04 October 2025 08:51:56 -0400 (0:00:00.016) 0:00:48.022 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 04 October 2025 08:51:56 -0400 (0:00:00.018) 0:00:48.041 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 04 October 2025 08:51:56 -0400 (0:00:00.019) 0:00:48.060 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 October 2025 08:51:56 -0400 (0:00:00.061) 0:00:48.121 ****** included: /tmp/collections-gtv/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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 October 2025 08:51:56 -0400 (0:00:00.018) 0:00:48.140 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 October 2025 08:51:56 -0400 (0:00:00.033) 0:00:48.173 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 October 2025 08:51:56 -0400 (0:00:00.017) 0:00:48.191 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 October 2025 08:51:56 -0400 (0:00:00.015) 0:00:48.207 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 October 2025 08:51:56 -0400 (0:00:00.029) 0:00:48.237 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 04 October 2025 08:51:56 -0400 (0:00:00.012) 0:00:48.249 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 04 October 2025 08:51:56 -0400 (0:00:00.048) 0:00:48.298 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 04 October 2025 08:51:58 -0400 (0:00:02.146) 0:00:50.445 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582291.999341, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1759582291.9983408, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8528276, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759582291.9983408, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2550131886", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 04 October 2025 08:51:58 -0400 (0:00:00.418) 0:00:50.863 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 04 October 2025 08:51:58 -0400 (0:00:00.019) 0:00:50.882 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 04 October 2025 08:51:58 -0400 (0:00:00.019) 0:00:50.901 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 04 October 2025 08:51:59 -0400 (0:00:00.379) 0:00:51.280 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 04 October 2025 08:51:59 -0400 (0:00:00.065) 0:00:51.346 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582291.999341, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1759582291.9983408, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8528276, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759582291.9983408, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2550131886", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 04 October 2025 08:51:59 -0400 (0:00:00.398) 0:00:51.745 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582289.4673245, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "864ac993d45fc8f94235aaf6590c228990ad8df7", "ctime": 1759582284.277291, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 180355266, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1759582284.278686, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "794926348", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 04 October 2025 08:52:00 -0400 (0:00:00.387) 0:00:52.132 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005053", "end": "2025-10-04 08:52:00.513013", "rc": 0, "start": "2025-10-04 08:52:00.507960" } 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 04 October 2025 08:52:00 -0400 (0:00:00.414) 0:00:52.546 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 04 October 2025 08:52:00 -0400 (0:00:00.053) 0:00:52.600 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 04 October 2025 08:52:01 -0400 (0:00:00.402) 0:00:53.003 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 04 October 2025 08:52:01 -0400 (0:00:00.368) 0:00:53.371 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 04 October 2025 08:52:01 -0400 (0:00:00.357) 0:00:53.729 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 04 October 2025 08:52:01 -0400 (0:00:00.018) 0:00:53.748 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 04 October 2025 08:52:01 -0400 (0:00:00.017) 0:00:53.765 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 04 October 2025 08:52:01 -0400 (0:00:00.030) 0:00:53.796 ****** 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": "8edb039172ff449791200b5806bd8eab-5.14.0-617.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-617.el9.x86_64", "root": "UUID=8f91d125-a2a0-4395-9c60-8981f3d516e2", "title": "CentOS Stream (5.14.0-617.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": "8edb039172ff449791200b5806bd8eab-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-8edb039172ff449791200b5806bd8eab.img", "kernel": "/boot/vmlinuz-0-rescue-8edb039172ff449791200b5806bd8eab", "root": "UUID=8f91d125-a2a0-4395-9c60-8981f3d516e2", "title": "CentOS Stream (0-rescue-8edb039172ff449791200b5806bd8eab) 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": "5f0011cee4f049958cd96a89e15ebf26-5.14.0-617.el9.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-617.el9.x86_64_clone1", "root": "UUID=8f91d125-a2a0-4395-9c60-8981f3d516e2", "title": "Clone1" } ] }, "changed": false } TASK [Clone again to check idempotency] **************************************** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Saturday 04 October 2025 08:52:02 -0400 (0:00:00.533) 0:00:54.329 ****** included: /tmp/collections-gtv/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-617.el9.x86_64] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 04 October 2025 08:52:02 -0400 (0:00:00.044) 0:00:54.373 ****** ok: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-617.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-617.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "9a37e5cbfc3e07842f882e552a61f45ea6a097be", "dest": "/boot/vmlinuz-5.14.0-617.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-617.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-617.el9.x86_64" }, "md5sum": "9331d0d84baa9172f3b94c6eddcb9192", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15091752, "src": "/boot/vmlinuz-5.14.0-617.el9.x86_64", "state": "file", "uid": 0 } ok: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-617.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-617.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "90cceb83638597130364bd20a74eef8360ed427f", "dest": "/boot/initramfs-5.14.0-617.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-617.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-617.el9.x86_64.img" }, "md5sum": "03b3ab0077f19413ed6db98d7ac59af2", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38801355, "src": "/boot/initramfs-5.14.0-617.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 04 October 2025 08:52:03 -0400 (0:00:01.306) 0:00:55.680 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 October 2025 08:52:03 -0400 (0:00:00.045) 0:00:55.725 ****** included: /tmp/collections-gtv/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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 October 2025 08:52:03 -0400 (0:00:00.022) 0:00:55.747 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 October 2025 08:52:03 -0400 (0:00:00.034) 0:00:55.781 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 October 2025 08:52:03 -0400 (0:00:00.017) 0:00:55.798 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 October 2025 08:52:03 -0400 (0:00:00.016) 0:00:55.815 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 October 2025 08:52:03 -0400 (0:00:00.029) 0:00:55.844 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 04 October 2025 08:52:03 -0400 (0:00:00.011) 0:00:55.856 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 04 October 2025 08:52:03 -0400 (0:00:00.065) 0:00:55.922 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 04 October 2025 08:52:05 -0400 (0:00:01.210) 0:00:57.132 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582291.999341, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1759582291.9983408, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8528276, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759582291.9983408, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2550131886", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 04 October 2025 08:52:05 -0400 (0:00:00.384) 0:00:57.517 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 04 October 2025 08:52:05 -0400 (0:00:00.013) 0:00:57.530 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 04 October 2025 08:52:05 -0400 (0:00:00.016) 0:00:57.547 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 04 October 2025 08:52:05 -0400 (0:00:00.360) 0:00:57.908 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 04 October 2025 08:52:06 -0400 (0:00:00.060) 0:00:57.968 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582291.999341, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1759582291.9983408, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8528276, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759582291.9983408, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2550131886", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 04 October 2025 08:52:06 -0400 (0:00:00.400) 0:00:58.369 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582289.4673245, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "864ac993d45fc8f94235aaf6590c228990ad8df7", "ctime": 1759582284.277291, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 180355266, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1759582284.278686, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "794926348", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 04 October 2025 08:52:06 -0400 (0:00:00.375) 0:00:58.744 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004784", "end": "2025-10-04 08:52:07.102442", "rc": 0, "start": "2025-10-04 08:52:07.097658" } 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 04 October 2025 08:52:07 -0400 (0:00:00.376) 0:00:59.121 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 04 October 2025 08:52:07 -0400 (0:00:00.052) 0:00:59.173 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 04 October 2025 08:52:07 -0400 (0:00:00.412) 0:00:59.585 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 04 October 2025 08:52:07 -0400 (0:00:00.369) 0:00:59.955 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 04 October 2025 08:52:08 -0400 (0:00:00.653) 0:01:00.608 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 04 October 2025 08:52:08 -0400 (0:00:00.020) 0:01:00.628 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 04 October 2025 08:52:08 -0400 (0:00:00.018) 0:01:00.646 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 04 October 2025 08:52:08 -0400 (0:00:00.029) 0:01:00.676 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Saturday 04 October 2025 08:52:08 -0400 (0:00:00.031) 0:01:00.708 ****** META: triggered running handlers for managed-node1 TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 04 October 2025 08:52:08 -0400 (0:00:00.001) 0:01:00.709 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 04 October 2025 08:52:08 -0400 (0:00:00.015) 0:01:00.724 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 October 2025 08:52:08 -0400 (0:00:00.054) 0:01:00.779 ****** included: /tmp/collections-gtv/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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 October 2025 08:52:08 -0400 (0:00:00.018) 0:01:00.797 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 October 2025 08:52:08 -0400 (0:00:00.042) 0:01:00.840 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 October 2025 08:52:08 -0400 (0:00:00.025) 0:01:00.866 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 October 2025 08:52:08 -0400 (0:00:00.025) 0:01:00.892 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 October 2025 08:52:08 -0400 (0:00:00.039) 0:01:00.931 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 04 October 2025 08:52:08 -0400 (0:00:00.018) 0:01:00.949 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 04 October 2025 08:52:09 -0400 (0:00:00.049) 0:01:00.999 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 04 October 2025 08:52:10 -0400 (0:00:01.148) 0:01:02.147 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582291.999341, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1759582291.9983408, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8528276, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759582291.9983408, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2550131886", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 04 October 2025 08:52:10 -0400 (0:00:00.377) 0:01:02.525 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 04 October 2025 08:52:10 -0400 (0:00:00.017) 0:01:02.542 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 04 October 2025 08:52:10 -0400 (0:00:00.012) 0:01:02.554 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 04 October 2025 08:52:10 -0400 (0:00:00.350) 0:01:02.905 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 04 October 2025 08:52:10 -0400 (0:00:00.044) 0:01:02.949 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582291.999341, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1759582291.9983408, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8528276, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759582291.9983408, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2550131886", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 04 October 2025 08:52:11 -0400 (0:00:00.372) 0:01:03.322 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582289.4673245, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "864ac993d45fc8f94235aaf6590c228990ad8df7", "ctime": 1759582284.277291, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 180355266, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1759582284.278686, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "794926348", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 04 October 2025 08:52:11 -0400 (0:00:00.370) 0:01:03.693 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005298", "end": "2025-10-04 08:52:12.083905", "rc": 0, "start": "2025-10-04 08:52:12.078607" } 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 04 October 2025 08:52:12 -0400 (0:00:00.407) 0:01:04.100 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 04 October 2025 08:52:12 -0400 (0:00:00.034) 0:01:04.135 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 04 October 2025 08:52:12 -0400 (0:00:00.382) 0:01:04.517 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 04 October 2025 08:52:12 -0400 (0:00:00.377) 0:01:04.894 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 04 October 2025 08:52:13 -0400 (0:00:00.362) 0:01:05.257 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 04 October 2025 08:52:13 -0400 (0:00:00.018) 0:01:05.276 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 04 October 2025 08:52:13 -0400 (0:00:00.018) 0:01:05.294 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 04 October 2025 08:52:13 -0400 (0:00:00.029) 0:01:05.323 ****** 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": "8edb039172ff449791200b5806bd8eab-5.14.0-617.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-617.el9.x86_64", "root": "UUID=8f91d125-a2a0-4395-9c60-8981f3d516e2", "title": "CentOS Stream (5.14.0-617.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": "8edb039172ff449791200b5806bd8eab-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-8edb039172ff449791200b5806bd8eab.img", "kernel": "/boot/vmlinuz-0-rescue-8edb039172ff449791200b5806bd8eab", "root": "UUID=8f91d125-a2a0-4395-9c60-8981f3d516e2", "title": "CentOS Stream (0-rescue-8edb039172ff449791200b5806bd8eab) 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": "5f0011cee4f049958cd96a89e15ebf26-5.14.0-617.el9.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-617.el9.x86_64_clone1", "root": "UUID=8f91d125-a2a0-4395-9c60-8981f3d516e2", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone1] ********************************************** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Saturday 04 October 2025 08:52:13 -0400 (0:00:00.511) 0:01:05.835 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Saturday 04 October 2025 08:52:13 -0400 (0:00:00.042) 0:01:05.878 ****** included: /tmp/collections-gtv/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-617.el9.x86_64] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 04 October 2025 08:52:13 -0400 (0:00:00.027) 0:01:05.905 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-617.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-617.el9.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "9a37e5cbfc3e07842f882e552a61f45ea6a097be", "dest": "/boot/vmlinuz-5.14.0-617.el9.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-617.el9.x86_64_clone2", "src": "/boot/vmlinuz-5.14.0-617.el9.x86_64" }, "md5sum": "9331d0d84baa9172f3b94c6eddcb9192", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15091752, "src": "/boot/vmlinuz-5.14.0-617.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-617.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-617.el9.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "90cceb83638597130364bd20a74eef8360ed427f", "dest": "/boot/initramfs-5.14.0-617.el9.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-617.el9.x86_64.img_clone2", "src": "/boot/initramfs-5.14.0-617.el9.x86_64.img" }, "md5sum": "03b3ab0077f19413ed6db98d7ac59af2", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38801355, "src": "/boot/initramfs-5.14.0-617.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 04 October 2025 08:52:14 -0400 (0:00:00.897) 0:01:06.803 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 October 2025 08:52:14 -0400 (0:00:00.037) 0:01:06.840 ****** included: /tmp/collections-gtv/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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 October 2025 08:52:14 -0400 (0:00:00.018) 0:01:06.858 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 October 2025 08:52:14 -0400 (0:00:00.032) 0:01:06.891 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 October 2025 08:52:14 -0400 (0:00:00.018) 0:01:06.909 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 October 2025 08:52:14 -0400 (0:00:00.016) 0:01:06.925 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 October 2025 08:52:14 -0400 (0:00:00.029) 0:01:06.954 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 04 October 2025 08:52:15 -0400 (0:00:00.013) 0:01:06.967 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 04 October 2025 08:52:15 -0400 (0:00:00.059) 0:01:07.027 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 04 October 2025 08:52:16 -0400 (0:00:01.163) 0:01:08.191 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582291.999341, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1759582291.9983408, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8528276, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759582291.9983408, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2550131886", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 04 October 2025 08:52:16 -0400 (0:00:00.369) 0:01:08.560 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 04 October 2025 08:52:16 -0400 (0:00:00.013) 0:01:08.574 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 04 October 2025 08:52:16 -0400 (0:00:00.011) 0:01:08.585 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 04 October 2025 08:52:16 -0400 (0:00:00.345) 0:01:08.931 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 04 October 2025 08:52:17 -0400 (0:00:00.040) 0:01:08.971 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582291.999341, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1759582291.9983408, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8528276, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759582291.9983408, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2550131886", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 04 October 2025 08:52:17 -0400 (0:00:00.367) 0:01:09.339 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582289.4673245, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "864ac993d45fc8f94235aaf6590c228990ad8df7", "ctime": 1759582284.277291, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 180355266, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1759582284.278686, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "794926348", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 04 October 2025 08:52:17 -0400 (0:00:00.366) 0:01:09.705 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005043", "end": "2025-10-04 08:52:18.065056", "rc": 0, "start": "2025-10-04 08:52:18.060013" } 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 04 October 2025 08:52:18 -0400 (0:00:00.376) 0:01:10.081 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 04 October 2025 08:52:18 -0400 (0:00:00.033) 0:01:10.115 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 04 October 2025 08:52:18 -0400 (0:00:00.374) 0:01:10.489 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 04 October 2025 08:52:18 -0400 (0:00:00.368) 0:01:10.858 ****** 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-617.el9.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-5.14.0-617.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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 04 October 2025 08:52:19 -0400 (0:00:00.650) 0:01:11.508 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 04 October 2025 08:52:19 -0400 (0:00:00.018) 0:01:11.527 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 04 October 2025 08:52:19 -0400 (0:00:00.017) 0:01:11.544 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 04 October 2025 08:52:19 -0400 (0:00:00.030) 0:01:11.575 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Saturday 04 October 2025 08:52:19 -0400 (0:00:00.031) 0:01:11.606 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 04 October 2025 08:52:19 -0400 (0:00:00.001) 0:01:11.608 ****** 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.174807", "end": "2025-10-04 08:52:20.115880", "rc": 0, "start": "2025-10-04 08:52:19.941073" } 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 04 October 2025 08:52:20 -0400 (0:00:00.522) 0:01:12.131 ****** included: /tmp/collections-gtv/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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 04 October 2025 08:52:20 -0400 (0:00:00.015) 0:01:12.146 ****** changed: [managed-node1] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 04 October 2025 08:52:44 -0400 (0:00:24.105) 0:01:36.251 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 04 October 2025 08:52:44 -0400 (0:00:00.015) 0:01:36.267 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 04 October 2025 08:52:44 -0400 (0:00:00.017) 0:01:36.284 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 04 October 2025 08:52:44 -0400 (0:00:00.016) 0:01:36.301 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 October 2025 08:52:44 -0400 (0:00:00.054) 0:01:36.355 ****** included: /tmp/collections-gtv/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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 October 2025 08:52:44 -0400 (0:00:00.017) 0:01:36.373 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 October 2025 08:52:44 -0400 (0:00:00.032) 0:01:36.406 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 October 2025 08:52:44 -0400 (0:00:00.017) 0:01:36.423 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 October 2025 08:52:44 -0400 (0:00:00.019) 0:01:36.443 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 October 2025 08:52:44 -0400 (0:00:00.033) 0:01:36.477 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 04 October 2025 08:52:44 -0400 (0:00:00.019) 0:01:36.496 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 04 October 2025 08:52:44 -0400 (0:00:00.059) 0:01:36.556 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 04 October 2025 08:52:46 -0400 (0:00:02.249) 0:01:38.806 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582340.1146798, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1759582340.1136796, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8728018, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759582340.1136796, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "123694351", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 04 October 2025 08:52:47 -0400 (0:00:00.409) 0:01:39.215 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 04 October 2025 08:52:47 -0400 (0:00:00.014) 0:01:39.230 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 04 October 2025 08:52:47 -0400 (0:00:00.015) 0:01:39.245 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 04 October 2025 08:52:47 -0400 (0:00:00.349) 0:01:39.595 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 04 October 2025 08:52:47 -0400 (0:00:00.042) 0:01:39.637 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582340.1146798, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1759582340.1136796, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8728018, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759582340.1136796, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "123694351", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 04 October 2025 08:52:48 -0400 (0:00:00.366) 0:01:40.003 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582289.4673245, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "864ac993d45fc8f94235aaf6590c228990ad8df7", "ctime": 1759582284.277291, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 180355266, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1759582284.278686, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "794926348", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 04 October 2025 08:52:48 -0400 (0:00:00.372) 0:01:40.376 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005617", "end": "2025-10-04 08:52:48.537625", "rc": 0, "start": "2025-10-04 08:52:48.532008" } 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 04 October 2025 08:52:48 -0400 (0:00:00.375) 0:01:40.751 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 04 October 2025 08:52:48 -0400 (0:00:00.038) 0:01:40.790 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 04 October 2025 08:52:49 -0400 (0:00:00.374) 0:01:41.164 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 04 October 2025 08:52:49 -0400 (0:00:00.376) 0:01:41.541 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 04 October 2025 08:52:49 -0400 (0:00:00.352) 0:01:41.893 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 04 October 2025 08:52:49 -0400 (0:00:00.019) 0:01:41.912 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 04 October 2025 08:52:49 -0400 (0:00:00.022) 0:01:41.935 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 04 October 2025 08:52:49 -0400 (0:00:00.029) 0:01:41.965 ****** 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": "8edb039172ff449791200b5806bd8eab-5.14.0-617.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-617.el9.x86_64", "root": "UUID=8f91d125-a2a0-4395-9c60-8981f3d516e2", "title": "CentOS Stream (5.14.0-617.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": "8edb039172ff449791200b5806bd8eab-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-8edb039172ff449791200b5806bd8eab.img", "kernel": "/boot/vmlinuz-0-rescue-8edb039172ff449791200b5806bd8eab", "root": "UUID=8f91d125-a2a0-4395-9c60-8981f3d516e2", "title": "CentOS Stream (0-rescue-8edb039172ff449791200b5806bd8eab) 9" }, { "args": "test=kernel", "default": false, "id": "5f0011cee4f049958cd96a89e15ebf26-5.14.0-617.el9.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-617.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": "5f0011cee4f049958cd96a89e15ebf26-5.14.0-617.el9.x86_64_clone1", "index": "3", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-617.el9.x86_64_clone1", "root": "UUID=8f91d125-a2a0-4395-9c60-8981f3d516e2", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone2] ********************************************** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Saturday 04 October 2025 08:52:50 -0400 (0:00:00.565) 0:01:42.530 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 04 October 2025 08:52:50 -0400 (0:00:00.041) 0:01:42.572 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 October 2025 08:52:50 -0400 (0:00:00.034) 0:01:42.607 ****** included: /tmp/collections-gtv/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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 October 2025 08:52:50 -0400 (0:00:00.017) 0:01:42.624 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 October 2025 08:52:50 -0400 (0:00:00.032) 0:01:42.657 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 October 2025 08:52:50 -0400 (0:00:00.015) 0:01:42.673 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 October 2025 08:52:50 -0400 (0:00:00.016) 0:01:42.690 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 October 2025 08:52:50 -0400 (0:00:00.029) 0:01:42.719 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 04 October 2025 08:52:50 -0400 (0:00:00.012) 0:01:42.732 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 04 October 2025 08:52:50 -0400 (0:00:00.049) 0:01:42.782 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 04 October 2025 08:52:51 -0400 (0:00:01.104) 0:01:43.886 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582340.1146798, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1759582340.1136796, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8728018, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759582340.1136796, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "123694351", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 04 October 2025 08:52:52 -0400 (0:00:00.364) 0:01:44.250 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 04 October 2025 08:52:52 -0400 (0:00:00.014) 0:01:44.265 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 04 October 2025 08:52:52 -0400 (0:00:00.012) 0:01:44.277 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 04 October 2025 08:52:52 -0400 (0:00:00.354) 0:01:44.632 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 04 October 2025 08:52:52 -0400 (0:00:00.041) 0:01:44.674 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582340.1146798, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1759582340.1136796, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8728018, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759582340.1136796, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "123694351", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 04 October 2025 08:52:53 -0400 (0:00:00.363) 0:01:45.038 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582289.4673245, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "864ac993d45fc8f94235aaf6590c228990ad8df7", "ctime": 1759582284.277291, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 180355266, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1759582284.278686, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "794926348", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 04 October 2025 08:52:53 -0400 (0:00:00.368) 0:01:45.406 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004730", "end": "2025-10-04 08:52:53.762928", "rc": 0, "start": "2025-10-04 08:52:53.758198" } 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 04 October 2025 08:52:53 -0400 (0:00:00.371) 0:01:45.777 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 04 October 2025 08:52:53 -0400 (0:00:00.034) 0:01:45.812 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 04 October 2025 08:52:54 -0400 (0:00:00.374) 0:01:46.186 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 04 October 2025 08:52:54 -0400 (0:00:00.368) 0:01:46.555 ****** 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-617.el9.x86_64_clone1, /boot/vmlinuz-5.14.0-617.el9.x86_64_clone2 TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Saturday 04 October 2025 08:52:54 -0400 (0:00:00.351) 0:01:46.907 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Saturday 04 October 2025 08:52:54 -0400 (0:00:00.017) 0:01:46.924 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 October 2025 08:52:55 -0400 (0:00:00.061) 0:01:46.985 ****** included: /tmp/collections-gtv/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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 October 2025 08:52:55 -0400 (0:00:00.017) 0:01:47.003 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 October 2025 08:52:55 -0400 (0:00:00.034) 0:01:47.038 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 October 2025 08:52:55 -0400 (0:00:00.016) 0:01:47.054 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 October 2025 08:52:55 -0400 (0:00:00.015) 0:01:47.070 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 October 2025 08:52:55 -0400 (0:00:00.029) 0:01:47.100 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 04 October 2025 08:52:55 -0400 (0:00:00.012) 0:01:47.112 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 04 October 2025 08:52:55 -0400 (0:00:00.081) 0:01:47.193 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 04 October 2025 08:52:56 -0400 (0:00:01.066) 0:01:48.260 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582340.1146798, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1759582340.1136796, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8728018, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759582340.1136796, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "123694351", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 04 October 2025 08:52:56 -0400 (0:00:00.370) 0:01:48.631 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 04 October 2025 08:52:56 -0400 (0:00:00.015) 0:01:48.646 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 04 October 2025 08:52:56 -0400 (0:00:00.013) 0:01:48.659 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 04 October 2025 08:52:57 -0400 (0:00:00.402) 0:01:49.062 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 04 October 2025 08:52:57 -0400 (0:00:00.041) 0:01:49.104 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582340.1146798, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1759582340.1136796, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8728018, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759582340.1136796, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "123694351", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 04 October 2025 08:52:57 -0400 (0:00:00.367) 0:01:49.471 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582289.4673245, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "864ac993d45fc8f94235aaf6590c228990ad8df7", "ctime": 1759582284.277291, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 180355266, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1759582284.278686, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "794926348", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 04 October 2025 08:52:57 -0400 (0:00:00.368) 0:01:49.839 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004890", "end": "2025-10-04 08:52:58.194928", "rc": 0, "start": "2025-10-04 08:52:58.190038" } 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 04 October 2025 08:52:58 -0400 (0:00:00.369) 0:01:50.209 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 04 October 2025 08:52:58 -0400 (0:00:00.035) 0:01:50.245 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 04 October 2025 08:52:58 -0400 (0:00:00.369) 0:01:50.615 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 04 October 2025 08:52:59 -0400 (0:00:00.370) 0:01:50.985 ****** 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-617.el9.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 04 October 2025 08:52:59 -0400 (0:00:00.690) 0:01:51.675 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 04 October 2025 08:52:59 -0400 (0:00:00.019) 0:01:51.694 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 04 October 2025 08:52:59 -0400 (0:00:00.016) 0:01:51.711 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 04 October 2025 08:52:59 -0400 (0:00:00.031) 0:01:51.742 ****** 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": "8edb039172ff449791200b5806bd8eab-5.14.0-617.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-617.el9.x86_64", "root": "UUID=8f91d125-a2a0-4395-9c60-8981f3d516e2", "title": "CentOS Stream (5.14.0-617.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": "8edb039172ff449791200b5806bd8eab-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-8edb039172ff449791200b5806bd8eab.img", "kernel": "/boot/vmlinuz-0-rescue-8edb039172ff449791200b5806bd8eab", "root": "UUID=8f91d125-a2a0-4395-9c60-8981f3d516e2", "title": "CentOS Stream (0-rescue-8edb039172ff449791200b5806bd8eab) 9" }, { "args": "test=kernel", "default": false, "id": "5f0011cee4f049958cd96a89e15ebf26-5.14.0-617.el9.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-617.el9.x86_64_clone2", "title": "Clone2" } ] }, "changed": false } TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Saturday 04 October 2025 08:53:00 -0400 (0:00:00.509) 0:01:52.252 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 October 2025 08:53:00 -0400 (0:00:00.071) 0:01:52.323 ****** included: /tmp/collections-gtv/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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 October 2025 08:53:00 -0400 (0:00:00.019) 0:01:52.342 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 October 2025 08:53:00 -0400 (0:00:00.033) 0:01:52.376 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 October 2025 08:53:00 -0400 (0:00:00.017) 0:01:52.394 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 October 2025 08:53:00 -0400 (0:00:00.016) 0:01:52.411 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 October 2025 08:53:00 -0400 (0:00:00.029) 0:01:52.441 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 04 October 2025 08:53:00 -0400 (0:00:00.012) 0:01:52.454 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 04 October 2025 08:53:00 -0400 (0:00:00.048) 0:01:52.502 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 04 October 2025 08:53:01 -0400 (0:00:01.177) 0:01:53.680 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582340.1146798, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1759582340.1136796, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8728018, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759582340.1136796, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "123694351", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 04 October 2025 08:53:02 -0400 (0:00:00.385) 0:01:54.066 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 04 October 2025 08:53:02 -0400 (0:00:00.014) 0:01:54.081 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 04 October 2025 08:53:02 -0400 (0:00:00.013) 0:01:54.094 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 04 October 2025 08:53:02 -0400 (0:00:00.363) 0:01:54.458 ****** ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 04 October 2025 08:53:02 -0400 (0:00:00.043) 0:01:54.502 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582340.1146798, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1759582340.1136796, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8728018, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1759582340.1136796, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "123694351", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 04 October 2025 08:53:02 -0400 (0:00:00.378) 0:01:54.880 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1759582289.4673245, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "864ac993d45fc8f94235aaf6590c228990ad8df7", "ctime": 1759582284.277291, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 180355266, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1759582284.278686, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "794926348", "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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 04 October 2025 08:53:03 -0400 (0:00:00.379) 0:01:55.260 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005326", "end": "2025-10-04 08:53:03.626593", "rc": 0, "start": "2025-10-04 08:53:03.621267" } 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 04 October 2025 08:53:03 -0400 (0:00:00.384) 0:01:55.644 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 04 October 2025 08:53:03 -0400 (0:00:00.036) 0:01:55.680 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 04 October 2025 08:53:04 -0400 (0:00:00.381) 0:01:56.062 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 04 October 2025 08:53:04 -0400 (0:00:00.378) 0:01:56.441 ****** 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-617.el9.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 04 October 2025 08:53:05 -0400 (0:00:00.597) 0:01:57.038 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 04 October 2025 08:53:05 -0400 (0:00:00.022) 0:01:57.060 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 04 October 2025 08:53:05 -0400 (0:00:00.019) 0:01:57.079 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 04 October 2025 08:53:05 -0400 (0:00:00.029) 0:01:57.109 ****** 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": "8edb039172ff449791200b5806bd8eab-5.14.0-617.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-617.el9.x86_64", "root": "UUID=8f91d125-a2a0-4395-9c60-8981f3d516e2", "title": "CentOS Stream (5.14.0-617.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": "8edb039172ff449791200b5806bd8eab-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-8edb039172ff449791200b5806bd8eab.img", "kernel": "/boot/vmlinuz-0-rescue-8edb039172ff449791200b5806bd8eab", "root": "UUID=8f91d125-a2a0-4395-9c60-8981f3d516e2", "title": "CentOS Stream (0-rescue-8edb039172ff449791200b5806bd8eab) 9" } ] }, "changed": false } TASK [Verify that kernel is removed {{ item }}] ******************************** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Saturday 04 October 2025 08:53:05 -0400 (0:00:00.488) 0:01:57.597 ****** 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-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Saturday 04 October 2025 08:53:05 -0400 (0:00:00.053) 0:01:57.651 ****** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-617.el9.x86_64_clone1" ], "delta": "0:00:00.047850", "end": "2025-10-04 08:53:06.039467", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-10-04 08:53:05.991617" } STDERR: The param /boot/vmlinuz-5.14.0-617.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-617.el9.x86_64_clone2" ], "delta": "0:00:00.048324", "end": "2025-10-04 08:53:06.425958", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-10-04 08:53:06.377634" } STDERR: The param /boot/vmlinuz-5.14.0-617.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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 04 October 2025 08:53:06 -0400 (0:00:00.793) 0:01:58.445 ****** 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.114031", "end": "2025-10-04 08:53:06.895313", "rc": 0, "start": "2025-10-04 08:53:06.781282" } 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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 04 October 2025 08:53:06 -0400 (0:00:00.467) 0:01:58.912 ****** included: /tmp/collections-gtv/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-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 04 October 2025 08:53:06 -0400 (0:00:00.015) 0:01:58.927 ****** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 04 October 2025 08:53:30 -0400 (0:00:23.883) 0:02:22.810 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 04 October 2025 08:53:30 -0400 (0:00:00.013) 0:02:22.824 ****** 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-10-04T12:52:54.939747+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-617.el9.x86_64_clone1, /boot/vmlinuz-5.14.0-617.el9.x86_64_clone2", "start_time": "2025-10-04T12:52:54.591204+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 04 October 2025 08:53:30 -0400 (0:00:00.014) 0:02:22.838 ****** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 24.11s /tmp/collections-gtv/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.95s /tmp/collections-gtv/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.88s /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 10.81s /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.25s /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.15s /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Gather architecture facts ----------------------------------------------- 2.00s /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-617.el9.x86_64 --- 1.31s /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.21s /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.18s /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.16s /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.15s /tmp/collections-gtv/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-617.el9.x86_64 --- 1.11s /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.11s /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.10s /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.07s /tmp/collections-gtv/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-617.el9.x86_64 --- 0.90s /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Remove cloned kernels --------------------------------------------------- 0.79s /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.69s /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.65s /tmp/collections-gtv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114