ansible-playbook [core 2.17.13] 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-Uws executable location = /usr/local/bin/ansible-playbook python version = 3.12.11 (main, Jun 12 2025, 00:00:00) [GCC 14.2.1 20250110 (Red Hat 14.2.1-8)] (/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-Uws/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-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Thursday 31 July 2025 13:20:13 -0400 (0:00:00.024) 0:00:00.024 ********* included: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Thursday 31 July 2025 13:20:13 -0400 (0:00:00.014) 0:00:00.039 ********* [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, 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-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Thursday 31 July 2025 13:20:15 -0400 (0:00:02.085) 0:00:02.124 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Thursday 31 July 2025 13:20:15 -0400 (0:00:00.004) 0:00:02.129 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 31 July 2025 13:20:16 -0400 (0:00:00.059) 0:00:02.188 ********* included: /tmp/collections-Uws/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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 31 July 2025 13:20:16 -0400 (0:00:00.017) 0:00:02.206 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 31 July 2025 13:20:16 -0400 (0:00:00.031) 0:00:02.237 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 31 July 2025 13:20:16 -0400 (0:00:00.436) 0:00:02.674 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 31 July 2025 13:20:16 -0400 (0:00:00.020) 0:00:02.694 ********* 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_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 31 July 2025 13:20:16 -0400 (0:00:00.028) 0:00:02.723 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 31 July 2025 13:20:16 -0400 (0:00:00.010) 0:00:02.734 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 31 July 2025 13:20:16 -0400 (0:00:00.042) 0:00:02.777 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 31 July 2025 13:20:23 -0400 (0:00:07.163) 0:00:09.940 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753194281.8098545, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1753194281.8091767, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12781934, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753194281.809855, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2590611706", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 31 July 2025 13:20:24 -0400 (0:00:00.495) 0:00:10.435 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 31 July 2025 13:20:24 -0400 (0:00:00.013) 0:00:10.449 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 31 July 2025 13:20:24 -0400 (0:00:00.010) 0:00:10.460 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 31 July 2025 13:20:24 -0400 (0:00:00.353) 0:00:10.814 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 31 July 2025 13:20:24 -0400 (0:00:00.038) 0:00:10.853 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982424.0946407, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1753194281.8091767, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12781934, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753194281.809855, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2590611706", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 31 July 2025 13:20:25 -0400 (0:00:00.367) 0:00:11.220 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753191173.348, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e93572eb1bb4f1c5c600b84a83d41b9c4fadc880", "ctime": 1753191173.349, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9145587, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753191173.349, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6975, "uid": 0, "version": "4251249709", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 31 July 2025 13:20:25 -0400 (0:00:00.372) 0:00:11.593 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004101", "end": "2025-07-31 13:20:25.843678", "rc": 0, "start": "2025-07-31 13:20:25.839577" } 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 31 July 2025 13:20:25 -0400 (0:00:00.459) 0:00:12.052 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 31 July 2025 13:20:25 -0400 (0:00:00.032) 0:00:12.085 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 31 July 2025 13:20:26 -0400 (0:00:00.454) 0:00:12.539 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 31 July 2025 13:20:26 -0400 (0:00:00.374) 0:00:12.913 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 31 July 2025 13:20:27 -0400 (0:00:00.441) 0:00:13.355 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 31 July 2025 13:20:27 -0400 (0:00:00.017) 0:00:13.372 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 31 July 2025 13:20:27 -0400 (0:00:00.015) 0:00:13.388 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 31 July 2025 13:20:27 -0400 (0:00:00.027) 0:00:13.415 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "37002d74b8f54abcbb6adf6ba1d820de-6.12.0-109.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-109.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-109.el10.x86_64", "root": "UUID=8fbf5cac-c676-42fe-9ecc-2169d67a5d74", "title": "CentOS Stream (6.12.0-109.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "37002d74b8f54abcbb6adf6ba1d820de-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-37002d74b8f54abcbb6adf6ba1d820de.img", "kernel": "/boot/vmlinuz-0-rescue-37002d74b8f54abcbb6adf6ba1d820de", "root": "UUID=8fbf5cac-c676-42fe-9ecc-2169d67a5d74", "title": "CentOS Stream (0-rescue-37002d74b8f54abcbb6adf6ba1d820de) 10 (Coughlan)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Thursday 31 July 2025 13:20:27 -0400 (0:00:00.549) 0:00:13.965 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Thursday 31 July 2025 13:20:27 -0400 (0:00:00.004) 0:00:13.969 ********* META: triggered running handlers for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Thursday 31 July 2025 13:20:27 -0400 (0:00:00.001) 0:00:13.970 ********* ok: [managed-node1] => { "ansible_facts": { "__default_kernel": { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "37002d74b8f54abcbb6adf6ba1d820de-6.12.0-109.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-109.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-109.el10.x86_64", "root": "UUID=8fbf5cac-c676-42fe-9ecc-2169d67a5d74", "title": "CentOS Stream (6.12.0-109.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Thursday 31 July 2025 13:20:27 -0400 (0:00:00.036) 0:00:14.007 ********* included: /tmp/collections-Uws/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-6.12.0-109.el10.x86_64] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 31 July 2025 13:20:27 -0400 (0:00:00.024) 0:00:14.032 ********* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-109.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-109.el10.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "e732512f8962bcc4b67514750d6d80229788cdc8", "dest": "/boot/vmlinuz-6.12.0-109.el10.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-109.el10.x86_64_clone1", "src": "/boot/vmlinuz-6.12.0-109.el10.x86_64" }, "md5sum": "4b76e9af9778ab636de37a29088711b0", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15910952, "src": "/boot/vmlinuz-6.12.0-109.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-109.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-109.el10.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "f5197c1c38dca46d9586889f4107ae02bb3817a6", "dest": "/boot/initramfs-6.12.0-109.el10.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-109.el10.x86_64.img_clone1", "src": "/boot/initramfs-6.12.0-109.el10.x86_64.img" }, "md5sum": "59e0e36f28299ec7ead71771a8fc656a", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 28476921, "src": "/boot/initramfs-6.12.0-109.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 31 July 2025 13:20:28 -0400 (0:00:01.033) 0:00:15.065 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 31 July 2025 13:20:28 -0400 (0:00:00.036) 0:00:15.101 ********* included: /tmp/collections-Uws/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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 31 July 2025 13:20:28 -0400 (0:00:00.017) 0:00:15.119 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 31 July 2025 13:20:28 -0400 (0:00:00.031) 0:00:15.151 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 31 July 2025 13:20:29 -0400 (0:00:00.017) 0:00:15.168 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 31 July 2025 13:20:29 -0400 (0:00:00.016) 0:00:15.185 ********* 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_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 31 July 2025 13:20:29 -0400 (0:00:00.033) 0:00:15.219 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 31 July 2025 13:20:29 -0400 (0:00:00.013) 0:00:15.232 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 31 July 2025 13:20:29 -0400 (0:00:00.089) 0:00:15.322 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 31 July 2025 13:20:29 -0400 (0:00:00.803) 0:00:16.126 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982424.0946407, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1753194281.8091767, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12781934, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753194281.809855, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2590611706", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 31 July 2025 13:20:30 -0400 (0:00:00.383) 0:00:16.510 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 31 July 2025 13:20:30 -0400 (0:00:00.013) 0:00:16.523 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 31 July 2025 13:20:30 -0400 (0:00:00.017) 0:00:16.540 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 31 July 2025 13:20:30 -0400 (0:00:00.367) 0:00:16.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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 31 July 2025 13:20:30 -0400 (0:00:00.048) 0:00:16.956 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982424.0946407, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1753194281.8091767, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12781934, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753194281.809855, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2590611706", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 31 July 2025 13:20:31 -0400 (0:00:00.376) 0:00:17.333 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982426.7054725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "936fad95b5f0f8de3f190ded34c70152f4741757", "ctime": 1753982426.7046704, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753982426.705474, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "189831768", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 31 July 2025 13:20:31 -0400 (0:00:00.368) 0:00:17.701 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004249", "end": "2025-07-31 13:20:31.873852", "rc": 0, "start": "2025-07-31 13:20:31.869603" } 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 31 July 2025 13:20:31 -0400 (0:00:00.381) 0:00:18.083 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 31 July 2025 13:20:31 -0400 (0:00:00.032) 0:00:18.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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 31 July 2025 13:20:32 -0400 (0:00:00.381) 0:00:18.497 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 31 July 2025 13:20:32 -0400 (0:00:00.381) 0:00:18.878 ********* 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-6.12.0-109.el10.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.12.0-109.el10.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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 31 July 2025 13:20:33 -0400 (0:00:00.718) 0:00:19.596 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 31 July 2025 13:20:33 -0400 (0:00:00.032) 0:00:19.629 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 31 July 2025 13:20:33 -0400 (0:00:00.028) 0:00:19.657 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 31 July 2025 13:20:33 -0400 (0:00:00.044) 0:00:19.701 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Thursday 31 July 2025 13:20:33 -0400 (0:00:00.046) 0:00:19.748 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 31 July 2025 13:20:33 -0400 (0:00:00.003) 0:00:19.751 ********* 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.125002", "end": "2025-07-31 13:20:34.048769", "rc": 0, "start": "2025-07-31 13:20:33.923767" } STDOUT: args="ro rhgb crashkernel=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=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=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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 31 July 2025 13:20:34 -0400 (0:00:00.508) 0:00:20.260 ********* included: /tmp/collections-Uws/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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 31 July 2025 13:20:34 -0400 (0:00:00.015) 0:00:20.275 ********* changed: [managed-node1] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 31 July 2025 13:20:58 -0400 (0:00:24.542) 0:00:44.818 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 31 July 2025 13:20:58 -0400 (0:00:00.012) 0:00:44.830 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 31 July 2025 13:20:58 -0400 (0:00:00.016) 0:00:44.846 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 31 July 2025 13:20:58 -0400 (0:00:00.014) 0:00:44.861 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 31 July 2025 13:20:58 -0400 (0:00:00.051) 0:00:44.913 ********* included: /tmp/collections-Uws/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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 31 July 2025 13:20:58 -0400 (0:00:00.018) 0:00:44.931 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 31 July 2025 13:20:58 -0400 (0:00:00.031) 0:00:44.962 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 31 July 2025 13:20:58 -0400 (0:00:00.017) 0:00:44.980 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 31 July 2025 13:20:58 -0400 (0:00:00.018) 0:00:44.998 ********* 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_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 31 July 2025 13:20:58 -0400 (0:00:00.037) 0:00:45.036 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 31 July 2025 13:20:58 -0400 (0:00:00.018) 0:00:45.054 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 31 July 2025 13:20:58 -0400 (0:00:00.064) 0:00:45.119 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 31 July 2025 13:21:01 -0400 (0:00:02.422) 0:00:47.542 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982434.0477543, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1753982434.0467541, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 242403, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982434.0467541, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3756056039", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 31 July 2025 13:21:01 -0400 (0:00:00.421) 0:00:47.963 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 31 July 2025 13:21:01 -0400 (0:00:00.020) 0:00:47.984 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 31 July 2025 13:21:01 -0400 (0:00:00.020) 0:00:48.004 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 31 July 2025 13:21:02 -0400 (0:00:00.405) 0:00:48.410 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 31 July 2025 13:21:02 -0400 (0:00:00.063) 0:00:48.473 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982434.0477543, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1753982434.0467541, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 242403, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982434.0467541, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3756056039", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 31 July 2025 13:21:02 -0400 (0:00:00.402) 0:00:48.876 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982431.478725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "936fad95b5f0f8de3f190ded34c70152f4741757", "ctime": 1753982426.7046704, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753982426.705474, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "189831768", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 31 July 2025 13:21:03 -0400 (0:00:00.403) 0:00:49.280 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004883", "end": "2025-07-31 13:21:03.270483", "rc": 0, "start": "2025-07-31 13:21:03.265600" } 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 31 July 2025 13:21:03 -0400 (0:00:00.440) 0:00:49.720 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 31 July 2025 13:21:03 -0400 (0:00:00.049) 0:00:49.770 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 31 July 2025 13:21:04 -0400 (0:00:00.415) 0:00:50.186 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 31 July 2025 13:21:04 -0400 (0:00:00.389) 0:00:50.575 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 31 July 2025 13:21:04 -0400 (0:00:00.387) 0:00:50.963 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 31 July 2025 13:21:04 -0400 (0:00:00.017) 0:00:50.980 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 31 July 2025 13:21:04 -0400 (0:00:00.016) 0:00:50.996 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 31 July 2025 13:21:04 -0400 (0:00:00.027) 0:00:51.024 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "ec21d2f12bdaa49762ff94c8fee49260-6.12.0-109.el10.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.12.0-109.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.0-109.el10.x86_64_clone1", "root": "UUID=8fbf5cac-c676-42fe-9ecc-2169d67a5d74", "title": "Clone1" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "37002d74b8f54abcbb6adf6ba1d820de-6.12.0-109.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.0-109.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-109.el10.x86_64", "root": "UUID=8fbf5cac-c676-42fe-9ecc-2169d67a5d74", "title": "CentOS Stream (6.12.0-109.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "37002d74b8f54abcbb6adf6ba1d820de-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-37002d74b8f54abcbb6adf6ba1d820de.img", "kernel": "/boot/vmlinuz-0-rescue-37002d74b8f54abcbb6adf6ba1d820de", "root": "UUID=8fbf5cac-c676-42fe-9ecc-2169d67a5d74", "title": "CentOS Stream (0-rescue-37002d74b8f54abcbb6adf6ba1d820de) 10 (Coughlan)" } ] }, "changed": false } TASK [Clone again to check idempotency] **************************************** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Thursday 31 July 2025 13:21:05 -0400 (0:00:00.528) 0:00:51.552 ********* included: /tmp/collections-Uws/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-6.12.0-109.el10.x86_64] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 31 July 2025 13:21:05 -0400 (0:00:00.029) 0:00:51.582 ********* ok: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-109.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-109.el10.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "e732512f8962bcc4b67514750d6d80229788cdc8", "dest": "/boot/vmlinuz-6.12.0-109.el10.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-109.el10.x86_64_clone1", "src": "/boot/vmlinuz-6.12.0-109.el10.x86_64" }, "md5sum": "4b76e9af9778ab636de37a29088711b0", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15910952, "src": "/boot/vmlinuz-6.12.0-109.el10.x86_64", "state": "file", "uid": 0 } ok: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-109.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-109.el10.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "f5197c1c38dca46d9586889f4107ae02bb3817a6", "dest": "/boot/initramfs-6.12.0-109.el10.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-109.el10.x86_64.img_clone1", "src": "/boot/initramfs-6.12.0-109.el10.x86_64.img" }, "md5sum": "59e0e36f28299ec7ead71771a8fc656a", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 28476921, "src": "/boot/initramfs-6.12.0-109.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 31 July 2025 13:21:06 -0400 (0:00:01.151) 0:00:52.733 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 31 July 2025 13:21:06 -0400 (0:00:00.051) 0:00:52.785 ********* included: /tmp/collections-Uws/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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 31 July 2025 13:21:06 -0400 (0:00:00.020) 0:00:52.805 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 31 July 2025 13:21:06 -0400 (0:00:00.037) 0:00:52.843 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 31 July 2025 13:21:06 -0400 (0:00:00.023) 0:00:52.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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 31 July 2025 13:21:06 -0400 (0:00:00.024) 0:00:52.891 ********* 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_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 31 July 2025 13:21:06 -0400 (0:00:00.047) 0:00:52.939 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 31 July 2025 13:21:06 -0400 (0:00:00.018) 0:00:52.957 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 31 July 2025 13:21:06 -0400 (0:00:00.067) 0:00:53.024 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 31 July 2025 13:21:07 -0400 (0:00:00.816) 0:00:53.840 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982434.0477543, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1753982434.0467541, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 242403, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982434.0467541, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3756056039", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 31 July 2025 13:21:08 -0400 (0:00:00.387) 0:00:54.228 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 31 July 2025 13:21:08 -0400 (0:00:00.022) 0:00:54.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 : Determine platform type] ********** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 31 July 2025 13:21:08 -0400 (0:00:00.019) 0:00:54.270 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 31 July 2025 13:21:08 -0400 (0:00:00.371) 0:00:54.642 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 31 July 2025 13:21:08 -0400 (0:00:00.042) 0:00:54.684 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982434.0477543, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1753982434.0467541, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 242403, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982434.0467541, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3756056039", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 31 July 2025 13:21:08 -0400 (0:00:00.405) 0:00:55.090 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982431.478725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "936fad95b5f0f8de3f190ded34c70152f4741757", "ctime": 1753982426.7046704, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753982426.705474, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "189831768", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 31 July 2025 13:21:09 -0400 (0:00:00.383) 0:00:55.473 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005173", "end": "2025-07-31 13:21:09.652025", "rc": 0, "start": "2025-07-31 13:21:09.646852" } 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 31 July 2025 13:21:09 -0400 (0:00:00.396) 0:00:55.870 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 31 July 2025 13:21:09 -0400 (0:00:00.050) 0:00:55.920 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 31 July 2025 13:21:10 -0400 (0:00:00.422) 0:00:56.342 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 31 July 2025 13:21:10 -0400 (0:00:00.385) 0:00:56.728 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 31 July 2025 13:21:11 -0400 (0:00:00.647) 0:00:57.375 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 31 July 2025 13:21:11 -0400 (0:00:00.021) 0:00:57.396 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 31 July 2025 13:21:11 -0400 (0:00:00.016) 0:00:57.413 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 31 July 2025 13:21:11 -0400 (0:00:00.029) 0:00:57.443 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Thursday 31 July 2025 13:21:11 -0400 (0:00:00.029) 0:00:57.472 ********* META: triggered running handlers for managed-node1 TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 31 July 2025 13:21:11 -0400 (0:00:00.001) 0:00:57.474 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 31 July 2025 13:21:11 -0400 (0:00:00.014) 0:00:57.488 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 31 July 2025 13:21:11 -0400 (0:00:00.050) 0:00:57.539 ********* included: /tmp/collections-Uws/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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 31 July 2025 13:21:11 -0400 (0:00:00.019) 0:00:57.558 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 31 July 2025 13:21:11 -0400 (0:00:00.031) 0:00:57.590 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 31 July 2025 13:21:11 -0400 (0:00:00.020) 0:00:57.611 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 31 July 2025 13:21:11 -0400 (0:00:00.017) 0:00:57.628 ********* 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_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 31 July 2025 13:21:11 -0400 (0:00:00.045) 0:00:57.674 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 31 July 2025 13:21:11 -0400 (0:00:00.018) 0:00:57.692 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 31 July 2025 13:21:11 -0400 (0:00:00.053) 0:00:57.745 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 31 July 2025 13:21:12 -0400 (0:00:00.805) 0:00:58.551 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982434.0477543, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1753982434.0467541, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 242403, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982434.0467541, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3756056039", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 31 July 2025 13:21:12 -0400 (0:00:00.381) 0:00:58.933 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 31 July 2025 13:21:12 -0400 (0:00:00.014) 0:00:58.948 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 31 July 2025 13:21:12 -0400 (0:00:00.014) 0:00:58.963 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 31 July 2025 13:21:13 -0400 (0:00:00.376) 0:00:59.339 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 31 July 2025 13:21:13 -0400 (0:00:00.044) 0:00:59.383 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982434.0477543, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1753982434.0467541, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 242403, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982434.0467541, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3756056039", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 31 July 2025 13:21:13 -0400 (0:00:00.391) 0:00:59.774 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982431.478725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "936fad95b5f0f8de3f190ded34c70152f4741757", "ctime": 1753982426.7046704, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753982426.705474, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "189831768", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 31 July 2025 13:21:14 -0400 (0:00:00.397) 0:01:00.172 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005223", "end": "2025-07-31 13:21:14.570960", "rc": 0, "start": "2025-07-31 13:21:14.565737" } 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 31 July 2025 13:21:14 -0400 (0:00:00.611) 0:01:00.784 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 31 July 2025 13:21:14 -0400 (0:00:00.034) 0:01:00.819 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 31 July 2025 13:21:15 -0400 (0:00:00.408) 0:01:01.227 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 31 July 2025 13:21:15 -0400 (0:00:00.387) 0:01:01.615 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 31 July 2025 13:21:15 -0400 (0:00:00.369) 0:01:01.985 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 31 July 2025 13:21:15 -0400 (0:00:00.017) 0:01:02.002 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 31 July 2025 13:21:15 -0400 (0:00:00.016) 0:01:02.018 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 31 July 2025 13:21:15 -0400 (0:00:00.027) 0:01:02.045 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "ec21d2f12bdaa49762ff94c8fee49260-6.12.0-109.el10.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.12.0-109.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.0-109.el10.x86_64_clone1", "root": "UUID=8fbf5cac-c676-42fe-9ecc-2169d67a5d74", "title": "Clone1" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "37002d74b8f54abcbb6adf6ba1d820de-6.12.0-109.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.0-109.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-109.el10.x86_64", "root": "UUID=8fbf5cac-c676-42fe-9ecc-2169d67a5d74", "title": "CentOS Stream (6.12.0-109.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "37002d74b8f54abcbb6adf6ba1d820de-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-37002d74b8f54abcbb6adf6ba1d820de.img", "kernel": "/boot/vmlinuz-0-rescue-37002d74b8f54abcbb6adf6ba1d820de", "root": "UUID=8fbf5cac-c676-42fe-9ecc-2169d67a5d74", "title": "CentOS Stream (0-rescue-37002d74b8f54abcbb6adf6ba1d820de) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings for Clone1] ********************************************** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Thursday 31 July 2025 13:21:16 -0400 (0:00:00.519) 0:01:02.565 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Thursday 31 July 2025 13:21:16 -0400 (0:00:00.040) 0:01:02.606 ********* included: /tmp/collections-Uws/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-6.12.0-109.el10.x86_64] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 31 July 2025 13:21:16 -0400 (0:00:00.027) 0:01:02.633 ********* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-109.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-109.el10.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "e732512f8962bcc4b67514750d6d80229788cdc8", "dest": "/boot/vmlinuz-6.12.0-109.el10.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-109.el10.x86_64_clone2", "src": "/boot/vmlinuz-6.12.0-109.el10.x86_64" }, "md5sum": "4b76e9af9778ab636de37a29088711b0", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15910952, "src": "/boot/vmlinuz-6.12.0-109.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-109.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-109.el10.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "f5197c1c38dca46d9586889f4107ae02bb3817a6", "dest": "/boot/initramfs-6.12.0-109.el10.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-109.el10.x86_64.img_clone2", "src": "/boot/initramfs-6.12.0-109.el10.x86_64.img" }, "md5sum": "59e0e36f28299ec7ead71771a8fc656a", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 28476921, "src": "/boot/initramfs-6.12.0-109.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 31 July 2025 13:21:17 -0400 (0:00:00.892) 0:01:03.526 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 31 July 2025 13:21:17 -0400 (0:00:00.037) 0:01:03.563 ********* included: /tmp/collections-Uws/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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 31 July 2025 13:21:17 -0400 (0:00:00.017) 0:01:03.581 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 31 July 2025 13:21:17 -0400 (0:00:00.031) 0:01:03.612 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 31 July 2025 13:21:17 -0400 (0:00:00.017) 0:01:03.629 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 31 July 2025 13:21:17 -0400 (0:00:00.015) 0:01:03.645 ********* 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_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 31 July 2025 13:21:17 -0400 (0:00:00.028) 0:01:03.674 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 31 July 2025 13:21:17 -0400 (0:00:00.012) 0:01:03.687 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 31 July 2025 13:21:17 -0400 (0:00:00.057) 0:01:03.744 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 31 July 2025 13:21:18 -0400 (0:00:00.811) 0:01:04.556 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982434.0477543, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1753982434.0467541, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 242403, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982434.0467541, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3756056039", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 31 July 2025 13:21:18 -0400 (0:00:00.381) 0:01:04.937 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 31 July 2025 13:21:18 -0400 (0:00:00.014) 0:01:04.951 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 31 July 2025 13:21:18 -0400 (0:00:00.012) 0:01:04.964 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 31 July 2025 13:21:19 -0400 (0:00:00.363) 0:01:05.328 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 31 July 2025 13:21:19 -0400 (0:00:00.038) 0:01:05.367 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982434.0477543, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1753982434.0467541, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 242403, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982434.0467541, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3756056039", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 31 July 2025 13:21:19 -0400 (0:00:00.386) 0:01:05.753 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982431.478725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "936fad95b5f0f8de3f190ded34c70152f4741757", "ctime": 1753982426.7046704, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753982426.705474, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "189831768", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 31 July 2025 13:21:19 -0400 (0:00:00.390) 0:01:06.143 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005398", "end": "2025-07-31 13:21:20.330841", "rc": 0, "start": "2025-07-31 13:21:20.325443" } 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 31 July 2025 13:21:20 -0400 (0:00:00.398) 0:01:06.542 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 31 July 2025 13:21:20 -0400 (0:00:00.033) 0:01:06.576 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 31 July 2025 13:21:20 -0400 (0:00:00.395) 0:01:06.972 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 31 July 2025 13:21:21 -0400 (0:00:00.388) 0:01:07.360 ********* 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-6.12.0-109.el10.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.12.0-109.el10.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 31 July 2025 13:21:21 -0400 (0:00:00.649) 0:01:08.010 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 31 July 2025 13:21:21 -0400 (0:00:00.018) 0:01:08.028 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 31 July 2025 13:21:21 -0400 (0:00:00.016) 0:01:08.045 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 31 July 2025 13:21:21 -0400 (0:00:00.028) 0:01:08.074 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Thursday 31 July 2025 13:21:21 -0400 (0:00:00.031) 0:01:08.105 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 31 July 2025 13:21:21 -0400 (0:00:00.001) 0:01:08.107 ********* 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.155121", "end": "2025-07-31 13:21:22.424668", "rc": 0, "start": "2025-07-31 13:21:22.269547" } STDOUT: args="ro rhgb crashkernel=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=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=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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 31 July 2025 13:21:22 -0400 (0:00:00.530) 0:01:08.638 ********* included: /tmp/collections-Uws/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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 31 July 2025 13:21:22 -0400 (0:00:00.015) 0:01:08.654 ********* changed: [managed-node1] => { "changed": true, "elapsed": 24, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 31 July 2025 13:21:47 -0400 (0:00:25.303) 0:01:33.958 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 31 July 2025 13:21:47 -0400 (0:00:00.013) 0:01:33.972 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 31 July 2025 13:21:47 -0400 (0:00:00.018) 0:01:33.990 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 31 July 2025 13:21:47 -0400 (0:00:00.016) 0:01:34.007 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 31 July 2025 13:21:47 -0400 (0:00:00.063) 0:01:34.070 ********* included: /tmp/collections-Uws/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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 31 July 2025 13:21:47 -0400 (0:00:00.019) 0:01:34.089 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 31 July 2025 13:21:47 -0400 (0:00:00.032) 0:01:34.122 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 31 July 2025 13:21:47 -0400 (0:00:00.018) 0:01:34.140 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 31 July 2025 13:21:47 -0400 (0:00:00.016) 0:01:34.156 ********* 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_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 31 July 2025 13:21:48 -0400 (0:00:00.028) 0:01:34.185 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 31 July 2025 13:21:48 -0400 (0:00:00.012) 0:01:34.198 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 31 July 2025 13:21:48 -0400 (0:00:00.044) 0:01:34.242 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 31 July 2025 13:21:49 -0400 (0:00:01.541) 0:01:35.783 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982482.4232626, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1753982482.4222627, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 196405, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982482.4222627, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3959716579", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 31 July 2025 13:21:50 -0400 (0:00:00.424) 0:01:36.208 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 31 July 2025 13:21:50 -0400 (0:00:00.014) 0:01:36.222 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 31 July 2025 13:21:50 -0400 (0:00:00.011) 0:01:36.234 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 31 July 2025 13:21:50 -0400 (0:00:00.366) 0:01:36.600 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 31 July 2025 13:21:50 -0400 (0:00:00.039) 0:01:36.639 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982482.4232626, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1753982482.4222627, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 196405, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982482.4222627, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3959716579", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 31 July 2025 13:21:50 -0400 (0:00:00.381) 0:01:37.021 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982431.478725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "936fad95b5f0f8de3f190ded34c70152f4741757", "ctime": 1753982426.7046704, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753982426.705474, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "189831768", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 31 July 2025 13:21:51 -0400 (0:00:00.398) 0:01:37.420 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005480", "end": "2025-07-31 13:21:51.461786", "rc": 0, "start": "2025-07-31 13:21:51.456306" } 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 31 July 2025 13:21:51 -0400 (0:00:00.397) 0:01:37.817 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 31 July 2025 13:21:51 -0400 (0:00:00.032) 0:01:37.849 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 31 July 2025 13:21:52 -0400 (0:00:00.393) 0:01:38.243 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 31 July 2025 13:21:52 -0400 (0:00:00.391) 0:01:38.635 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 31 July 2025 13:21:52 -0400 (0:00:00.371) 0:01:39.006 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 31 July 2025 13:21:52 -0400 (0:00:00.018) 0:01:39.025 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 31 July 2025 13:21:52 -0400 (0:00:00.020) 0:01:39.046 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 31 July 2025 13:21:52 -0400 (0:00:00.027) 0:01:39.073 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec21d2f12bdaa49762ff94c8fee49260-6.12.0-109.el10.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.12.0-109.el10.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.12.0-109.el10.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "ec21d2f12bdaa49762ff94c8fee49260-6.12.0-109.el10.x86_64_clone1", "index": "1", "initrd": "/boot/initramfs-6.12.0-109.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.0-109.el10.x86_64_clone1", "root": "UUID=8fbf5cac-c676-42fe-9ecc-2169d67a5d74", "title": "Clone1" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "37002d74b8f54abcbb6adf6ba1d820de-6.12.0-109.el10.x86_64", "index": "2", "initrd": "/boot/initramfs-6.12.0-109.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-109.el10.x86_64", "root": "UUID=8fbf5cac-c676-42fe-9ecc-2169d67a5d74", "title": "CentOS Stream (6.12.0-109.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "37002d74b8f54abcbb6adf6ba1d820de-0-rescue", "index": "3", "initrd": "/boot/initramfs-0-rescue-37002d74b8f54abcbb6adf6ba1d820de.img", "kernel": "/boot/vmlinuz-0-rescue-37002d74b8f54abcbb6adf6ba1d820de", "root": "UUID=8fbf5cac-c676-42fe-9ecc-2169d67a5d74", "title": "CentOS Stream (0-rescue-37002d74b8f54abcbb6adf6ba1d820de) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings for Clone2] ********************************************** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Thursday 31 July 2025 13:21:53 -0400 (0:00:00.554) 0:01:39.627 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Thursday 31 July 2025 13:21:53 -0400 (0:00:00.040) 0:01:39.668 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 31 July 2025 13:21:53 -0400 (0:00:00.035) 0:01:39.703 ********* included: /tmp/collections-Uws/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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 31 July 2025 13:21:53 -0400 (0:00:00.017) 0:01:39.721 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 31 July 2025 13:21:53 -0400 (0:00:00.031) 0:01:39.752 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 31 July 2025 13:21:53 -0400 (0:00:00.017) 0:01:39.770 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 31 July 2025 13:21:53 -0400 (0:00:00.015) 0:01:39.786 ********* 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_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 31 July 2025 13:21:53 -0400 (0:00:00.027) 0:01:39.814 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 31 July 2025 13:21:53 -0400 (0:00:00.012) 0:01:39.826 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 31 July 2025 13:21:53 -0400 (0:00:00.049) 0:01:39.875 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 31 July 2025 13:21:54 -0400 (0:00:00.816) 0:01:40.692 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982482.4232626, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1753982482.4222627, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 196405, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982482.4222627, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3959716579", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 31 July 2025 13:21:54 -0400 (0:00:00.389) 0:01:41.082 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 31 July 2025 13:21:54 -0400 (0:00:00.013) 0:01:41.095 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 31 July 2025 13:21:54 -0400 (0:00:00.012) 0:01:41.108 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 31 July 2025 13:21:55 -0400 (0:00:00.366) 0:01:41.474 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 31 July 2025 13:21:55 -0400 (0:00:00.039) 0:01:41.514 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982482.4232626, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1753982482.4222627, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 196405, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982482.4222627, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3959716579", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 31 July 2025 13:21:55 -0400 (0:00:00.379) 0:01:41.894 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982431.478725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "936fad95b5f0f8de3f190ded34c70152f4741757", "ctime": 1753982426.7046704, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753982426.705474, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "189831768", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 31 July 2025 13:21:56 -0400 (0:00:00.381) 0:01:42.276 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004693", "end": "2025-07-31 13:21:56.456732", "rc": 0, "start": "2025-07-31 13:21:56.452039" } 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 31 July 2025 13:21:56 -0400 (0:00:00.392) 0:01:42.668 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 31 July 2025 13:21:56 -0400 (0:00:00.032) 0:01:42.701 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 31 July 2025 13:21:56 -0400 (0:00:00.385) 0:01:43.087 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 31 July 2025 13:21:57 -0400 (0:00:00.385) 0:01:43.472 ********* fatal: [managed-node1]: FAILED! => { "changed": false } MSG: Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-6.12.0-109.el10.x86_64_clone1, /boot/vmlinuz-6.12.0-109.el10.x86_64_clone2 TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Thursday 31 July 2025 13:21:57 -0400 (0:00:00.370) 0:01:43.842 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Thursday 31 July 2025 13:21:57 -0400 (0:00:00.016) 0:01:43.859 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 31 July 2025 13:21:57 -0400 (0:00:00.056) 0:01:43.915 ********* included: /tmp/collections-Uws/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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 31 July 2025 13:21:57 -0400 (0:00:00.017) 0:01:43.933 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 31 July 2025 13:21:57 -0400 (0:00:00.062) 0:01:43.996 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 31 July 2025 13:21:57 -0400 (0:00:00.018) 0:01:44.014 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 31 July 2025 13:21:57 -0400 (0:00:00.048) 0:01:44.062 ********* 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_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 31 July 2025 13:21:57 -0400 (0:00:00.084) 0:01:44.147 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 31 July 2025 13:21:58 -0400 (0:00:00.013) 0:01:44.161 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 31 July 2025 13:21:58 -0400 (0:00:00.052) 0:01:44.213 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 31 July 2025 13:21:58 -0400 (0:00:00.812) 0:01:45.026 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982482.4232626, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1753982482.4222627, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 196405, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982482.4222627, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3959716579", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 31 July 2025 13:21:59 -0400 (0:00:00.378) 0:01:45.404 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 31 July 2025 13:21:59 -0400 (0:00:00.014) 0:01:45.419 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 31 July 2025 13:21:59 -0400 (0:00:00.012) 0:01:45.432 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 31 July 2025 13:21:59 -0400 (0:00:00.367) 0:01:45.799 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 31 July 2025 13:21:59 -0400 (0:00:00.039) 0:01:45.839 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982482.4232626, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1753982482.4222627, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 196405, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982482.4222627, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3959716579", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 31 July 2025 13:22:00 -0400 (0:00:00.382) 0:01:46.222 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982431.478725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "936fad95b5f0f8de3f190ded34c70152f4741757", "ctime": 1753982426.7046704, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753982426.705474, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "189831768", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 31 July 2025 13:22:00 -0400 (0:00:00.387) 0:01:46.609 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005409", "end": "2025-07-31 13:22:00.794648", "rc": 0, "start": "2025-07-31 13:22:00.789239" } 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 31 July 2025 13:22:00 -0400 (0:00:00.396) 0:01:47.005 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 31 July 2025 13:22:00 -0400 (0:00:00.034) 0:01:47.040 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 31 July 2025 13:22:01 -0400 (0:00:00.390) 0:01:47.431 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 31 July 2025 13:22:01 -0400 (0:00:00.394) 0:01:47.826 ********* 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-6.12.0-109.el10.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 31 July 2025 13:22:02 -0400 (0:00:00.690) 0:01:48.516 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 31 July 2025 13:22:02 -0400 (0:00:00.019) 0:01:48.535 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 31 July 2025 13:22:02 -0400 (0:00:00.017) 0:01:48.553 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 31 July 2025 13:22:02 -0400 (0:00:00.030) 0:01:48.583 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": true, "id": "ec21d2f12bdaa49762ff94c8fee49260-6.12.0-109.el10.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.12.0-109.el10.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.12.0-109.el10.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "37002d74b8f54abcbb6adf6ba1d820de-6.12.0-109.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.0-109.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-109.el10.x86_64", "root": "UUID=8fbf5cac-c676-42fe-9ecc-2169d67a5d74", "title": "CentOS Stream (6.12.0-109.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "37002d74b8f54abcbb6adf6ba1d820de-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-37002d74b8f54abcbb6adf6ba1d820de.img", "kernel": "/boot/vmlinuz-0-rescue-37002d74b8f54abcbb6adf6ba1d820de", "root": "UUID=8fbf5cac-c676-42fe-9ecc-2169d67a5d74", "title": "CentOS Stream (0-rescue-37002d74b8f54abcbb6adf6ba1d820de) 10 (Coughlan)" } ] }, "changed": false } TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Thursday 31 July 2025 13:22:02 -0400 (0:00:00.524) 0:01:49.108 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 31 July 2025 13:22:03 -0400 (0:00:00.070) 0:01:49.178 ********* included: /tmp/collections-Uws/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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 31 July 2025 13:22:03 -0400 (0:00:00.019) 0:01:49.197 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 31 July 2025 13:22:03 -0400 (0:00:00.033) 0:01:49.230 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 31 July 2025 13:22:03 -0400 (0:00:00.019) 0:01:49.249 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 31 July 2025 13:22:03 -0400 (0:00:00.018) 0:01:49.268 ********* 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_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 31 July 2025 13:22:03 -0400 (0:00:00.032) 0:01:49.301 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 31 July 2025 13:22:03 -0400 (0:00:00.013) 0:01:49.314 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 31 July 2025 13:22:03 -0400 (0:00:00.048) 0:01:49.363 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 31 July 2025 13:22:04 -0400 (0:00:00.818) 0:01:50.181 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982482.4232626, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1753982482.4222627, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 196405, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982482.4222627, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3959716579", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 31 July 2025 13:22:04 -0400 (0:00:00.384) 0:01:50.565 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 31 July 2025 13:22:04 -0400 (0:00:00.014) 0:01:50.580 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 31 July 2025 13:22:04 -0400 (0:00:00.013) 0:01:50.594 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 31 July 2025 13:22:04 -0400 (0:00:00.367) 0:01:50.961 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 31 July 2025 13:22:04 -0400 (0:00:00.039) 0:01:51.000 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982482.4232626, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1753982482.4222627, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 196405, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982482.4222627, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3959716579", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 31 July 2025 13:22:05 -0400 (0:00:00.380) 0:01:51.381 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982431.478725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "936fad95b5f0f8de3f190ded34c70152f4741757", "ctime": 1753982426.7046704, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753982426.705474, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "189831768", "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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 31 July 2025 13:22:05 -0400 (0:00:00.386) 0:01:51.767 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005441", "end": "2025-07-31 13:22:05.945565", "rc": 0, "start": "2025-07-31 13:22:05.940124" } 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 31 July 2025 13:22:05 -0400 (0:00:00.389) 0:01:52.157 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 31 July 2025 13:22:06 -0400 (0:00:00.034) 0:01:52.191 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 31 July 2025 13:22:06 -0400 (0:00:00.388) 0:01:52.580 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 31 July 2025 13:22:06 -0400 (0:00:00.385) 0:01:52.966 ********* 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-6.12.0-109.el10.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 31 July 2025 13:22:07 -0400 (0:00:00.597) 0:01:53.563 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 31 July 2025 13:22:07 -0400 (0:00:00.018) 0:01:53.582 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 31 July 2025 13:22:07 -0400 (0:00:00.017) 0:01:53.599 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 31 July 2025 13:22:07 -0400 (0:00:00.030) 0:01:53.629 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "37002d74b8f54abcbb6adf6ba1d820de-6.12.0-109.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-109.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-109.el10.x86_64", "root": "UUID=8fbf5cac-c676-42fe-9ecc-2169d67a5d74", "title": "CentOS Stream (6.12.0-109.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "37002d74b8f54abcbb6adf6ba1d820de-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-37002d74b8f54abcbb6adf6ba1d820de.img", "kernel": "/boot/vmlinuz-0-rescue-37002d74b8f54abcbb6adf6ba1d820de", "root": "UUID=8fbf5cac-c676-42fe-9ecc-2169d67a5d74", "title": "CentOS Stream (0-rescue-37002d74b8f54abcbb6adf6ba1d820de) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that kernel is removed {{ item }}] ******************************** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Thursday 31 July 2025 13:22:07 -0400 (0:00:00.484) 0:01:54.114 ********* 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-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Thursday 31 July 2025 13:22:08 -0400 (0:00:00.053) 0:01:54.168 ********* changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.0-109.el10.x86_64_clone1" ], "delta": "0:00:00.042977", "end": "2025-07-31 13:22:08.366959", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-07-31 13:22:08.323982" } STDERR: The param /boot/vmlinuz-6.12.0-109.el10.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-6.12.0-109.el10.x86_64_clone2" ], "delta": "0:00:00.043636", "end": "2025-07-31 13:22:08.764727", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-07-31 13:22:08.721091" } STDERR: The param /boot/vmlinuz-6.12.0-109.el10.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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 31 July 2025 13:22:08 -0400 (0:00:00.811) 0:01:54.979 ********* 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.100811", "end": "2025-07-31 13:22:09.239226", "rc": 0, "start": "2025-07-31 13:22:09.138415" } STDOUT: args="ro rhgb crashkernel=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=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=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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 31 July 2025 13:22:09 -0400 (0:00:00.472) 0:01:55.452 ********* included: /tmp/collections-Uws/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-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 31 July 2025 13:22:09 -0400 (0:00:00.014) 0:01:55.466 ********* changed: [managed-node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 31 July 2025 13:22:40 -0400 (0:00:31.426) 0:02:26.893 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 31 July 2025 13:22:40 -0400 (0:00:00.014) 0:02:26.907 ********* 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.13", "end_time": "2025-07-31T17:21:57.682340+00:00Z", "host": "managed-node1", "message": "Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-6.12.0-109.el10.x86_64_clone1, /boot/vmlinuz-6.12.0-109.el10.x86_64_clone2", "start_time": "2025-07-31T17:21:57.315294+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 31 July 2025 13:22:40 -0400 (0:00:00.014) 0:02:26.922 ********* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 31.43s /tmp/collections-Uws/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 -- 25.30s /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 24.54s /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 7.16s /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.42s /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Gather architecture facts ----------------------------------------------- 2.09s /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.54s /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Copy kernel and initrd for test purposes from /boot/vmlinuz-6.12.0-109.el10.x86_64 --- 1.15s /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-6.12.0-109.el10.x86_64 --- 1.03s /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-6.12.0-109.el10.x86_64 --- 0.89s /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.82s /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.82s /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.82s /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.81s /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.81s /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Remove cloned kernels --------------------------------------------------- 0.81s /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.81s /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.80s /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.72s /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.69s /tmp/collections-Uws/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114