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-snR executable location = /usr/local/bin/ansible-playbook python version = 3.12.11 (main, Jun 4 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-7)] (/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-snR/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-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:11 Saturday 09 August 2025 09:00:45 -0400 (0:00:00.018) 0:00:00.018 ******* included: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 09 August 2025 09:00:45 -0400 (0:00:00.011) 0:00:00.030 ******* [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 09 August 2025 09:00:47 -0400 (0:00:02.000) 0:00:02.030 ******* 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-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 09 August 2025 09:00:47 -0400 (0:00:00.008) 0:00:02.039 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 09 August 2025 09:00:47 -0400 (0:00:00.074) 0:00:02.114 ******* included: /tmp/collections-snR/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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 09 August 2025 09:00:47 -0400 (0:00:00.020) 0:00:02.134 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 09 August 2025 09:00:47 -0400 (0:00:00.031) 0:00:02.166 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 09 August 2025 09:00:47 -0400 (0:00:00.461) 0:00:02.628 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 09 August 2025 09:00:48 -0400 (0:00:00.022) 0:00:02.650 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 09 August 2025 09:00:48 -0400 (0:00:00.034) 0:00:02.685 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 09 August 2025 09:00:48 -0400 (0:00:00.011) 0:00:02.696 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 09 August 2025 09:00:48 -0400 (0:00:00.053) 0:00:02.750 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 09 August 2025 09:01:05 -0400 (0:00:17.807) 0:00:20.557 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753980342.4156883, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1753980342.4142592, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5139009, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753980342.4156885, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1395032779", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 09 August 2025 09:01:06 -0400 (0:00:00.384) 0:00:20.941 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 09 August 2025 09:01:06 -0400 (0:00:00.013) 0:00:20.955 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 09 August 2025 09:01:06 -0400 (0:00:00.010) 0:00:20.966 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 09 August 2025 09:01:06 -0400 (0:00:00.345) 0:00:21.312 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 09 August 2025 09:01:06 -0400 (0:00:00.040) 0:00:21.352 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744466.2153993, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1753980342.4142592, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5139009, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753980342.4156885, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1395032779", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 09 August 2025 09:01:07 -0400 (0:00:00.359) 0:00:21.712 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753978324.013, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fa99b880e6532c193e2dc574720a214409fa65f2", "ctime": 1753978324.013, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13033674, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753978324.013, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6755, "uid": 0, "version": "2294644399", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 09 August 2025 09:01:07 -0400 (0:00:00.363) 0:00:22.076 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004514", "end": "2025-08-09 09:01:07.838107", "rc": 0, "start": "2025-08-09 09:01:07.833593" } 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 09 August 2025 09:01:07 -0400 (0:00:00.452) 0:00:22.529 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 09 August 2025 09:01:07 -0400 (0:00:00.033) 0:00:22.562 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 09 August 2025 09:01:08 -0400 (0:00:00.445) 0:00:23.008 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 09 August 2025 09:01:08 -0400 (0:00:00.361) 0:00:23.369 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 09 August 2025 09:01:09 -0400 (0:00:00.430) 0:00:23.800 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 09 August 2025 09:01:09 -0400 (0:00:00.017) 0:00:23.817 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 09 August 2025 09:01:09 -0400 (0:00:00.016) 0:00:23.834 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 09 August 2025 09:01:09 -0400 (0:00:00.027) 0:00:23.862 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "d42d4d920e7b4742881e6c201718e9ed-5.14.0-601.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (5.14.0-601.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d42d4d920e7b4742881e6c201718e9ed-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-d42d4d920e7b4742881e6c201718e9ed.img", "kernel": "/boot/vmlinuz-0-rescue-d42d4d920e7b4742881e6c201718e9ed", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (0-rescue-d42d4d920e7b4742881e6c201718e9ed) 9" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 09 August 2025 09:01:09 -0400 (0:00:00.562) 0:00:24.425 ******* 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-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 09 August 2025 09:01:09 -0400 (0:00:00.004) 0:00:24.429 ******* META: triggered running handlers for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 09 August 2025 09:01:09 -0400 (0:00:00.001) 0:00:24.431 ******* ok: [managed-node1] => { "ansible_facts": { "__default_kernel": { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "d42d4d920e7b4742881e6c201718e9ed-5.14.0-601.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (5.14.0-601.el9.x86_64) 9" } }, "changed": false } TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Saturday 09 August 2025 09:01:09 -0400 (0:00:00.036) 0:00:24.467 ******* included: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-601.el9.x86_64] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 09 August 2025 09:01:09 -0400 (0:00:00.024) 0:00:24.492 ******* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-601.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "6417180e61bec97eff783e1b34ee72e5492d0ce9", "dest": "/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-601.el9.x86_64" }, "md5sum": "1941420fd007ae6e94d46f16f9766ea9", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15063080, "src": "/boot/vmlinuz-5.14.0-601.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-601.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-601.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "dfabfa75bf6a734554f413812f4a611dcbc47077", "dest": "/boot/initramfs-5.14.0-601.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-601.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-601.el9.x86_64.img" }, "md5sum": "f9e3216da842a03cdb7e501447f0e67d", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38345073, "src": "/boot/initramfs-5.14.0-601.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 09 August 2025 09:01:10 -0400 (0:00:01.127) 0:00:25.620 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 09 August 2025 09:01:11 -0400 (0:00:00.035) 0:00:25.655 ******* included: /tmp/collections-snR/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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 09 August 2025 09:01:11 -0400 (0:00:00.018) 0:00:25.673 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 09 August 2025 09:01:11 -0400 (0:00:00.032) 0:00:25.706 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 09 August 2025 09:01:11 -0400 (0:00:00.016) 0:00:25.722 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 09 August 2025 09:01:11 -0400 (0:00:00.016) 0:00:25.738 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 09 August 2025 09:01:11 -0400 (0:00:00.028) 0:00:25.767 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 09 August 2025 09:01:11 -0400 (0:00:00.011) 0:00:25.778 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 09 August 2025 09:01:11 -0400 (0:00:00.058) 0:00:25.836 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 09 August 2025 09:01:12 -0400 (0:00:01.341) 0:00:27.178 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744466.2153993, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1753980342.4142592, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5139009, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753980342.4156885, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1395032779", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 09 August 2025 09:01:12 -0400 (0:00:00.370) 0:00:27.548 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 09 August 2025 09:01:12 -0400 (0:00:00.017) 0:00:27.566 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 09 August 2025 09:01:12 -0400 (0:00:00.012) 0:00:27.579 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 09 August 2025 09:01:13 -0400 (0:00:00.348) 0:00:27.928 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 09 August 2025 09:01:13 -0400 (0:00:00.051) 0:00:27.979 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744466.2153993, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1753980342.4142592, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5139009, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753980342.4156885, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1395032779", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 09 August 2025 09:01:13 -0400 (0:00:00.378) 0:00:28.357 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744468.6792834, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754744468.6784246, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754744468.6792843, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1897026927", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 09 August 2025 09:01:14 -0400 (0:00:00.376) 0:00:28.734 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004618", "end": "2025-08-09 09:01:14.423639", "rc": 0, "start": "2025-08-09 09:01:14.419021" } 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 09 August 2025 09:01:14 -0400 (0:00:00.381) 0:00:29.116 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 09 August 2025 09:01:14 -0400 (0:00:00.039) 0:00:29.155 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 09 August 2025 09:01:14 -0400 (0:00:00.376) 0:00:29.532 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 09 August 2025 09:01:15 -0400 (0:00:00.410) 0:00:29.942 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-5.14.0-601.el9.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default --make-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 09 August 2025 09:01:15 -0400 (0:00:00.641) 0:00:30.584 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 09 August 2025 09:01:15 -0400 (0:00:00.017) 0:00:30.602 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 09 August 2025 09:01:15 -0400 (0:00:00.018) 0:00:30.620 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 09 August 2025 09:01:16 -0400 (0:00:00.032) 0:00:30.652 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Saturday 09 August 2025 09:01:16 -0400 (0:00:00.031) 0:00:30.683 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 09 August 2025 09:01:16 -0400 (0:00:00.001) 0:00:30.685 ******* 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.136852", "end": "2025-08-09 09:01:16.482563", "rc": 0, "start": "2025-08-09 09:01:16.345711" } STDOUT: args="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 09 August 2025 09:01:16 -0400 (0:00:00.499) 0:00:31.185 ******* included: /tmp/collections-snR/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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 09 August 2025 09:01:16 -0400 (0:00:00.024) 0:00:31.209 ******* changed: [managed-node1] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 09 August 2025 09:01:41 -0400 (0:00:24.525) 0:00:55.734 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 09 August 2025 09:01:41 -0400 (0:00:00.014) 0:00:55.749 ******* 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-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 09 August 2025 09:01:41 -0400 (0:00:00.022) 0:00:55.771 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 09 August 2025 09:01:41 -0400 (0:00:00.016) 0:00:55.787 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 09 August 2025 09:01:41 -0400 (0:00:00.069) 0:00:55.857 ******* included: /tmp/collections-snR/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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 09 August 2025 09:01:41 -0400 (0:00:00.018) 0:00:55.876 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 09 August 2025 09:01:41 -0400 (0:00:00.035) 0:00:55.911 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 09 August 2025 09:01:41 -0400 (0:00:00.018) 0:00:55.929 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 09 August 2025 09:01:41 -0400 (0:00:00.017) 0:00:55.947 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 09 August 2025 09:01:41 -0400 (0:00:00.032) 0:00:55.979 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 09 August 2025 09:01:41 -0400 (0:00:00.013) 0:00:55.993 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 09 August 2025 09:01:41 -0400 (0:00:00.050) 0:00:56.043 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 09 August 2025 09:01:44 -0400 (0:00:02.955) 0:00:58.999 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744476.4815435, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754744476.4805434, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 770187, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754744476.4805434, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4294129939", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 09 August 2025 09:01:44 -0400 (0:00:00.407) 0:00:59.406 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 09 August 2025 09:01:44 -0400 (0:00:00.013) 0:00:59.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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 09 August 2025 09:01:44 -0400 (0:00:00.011) 0:00:59.431 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 09 August 2025 09:01:45 -0400 (0:00:00.361) 0:00:59.793 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 09 August 2025 09:01:45 -0400 (0:00:00.038) 0:00:59.831 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744476.4815435, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754744476.4805434, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 770187, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754744476.4805434, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4294129939", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 09 August 2025 09:01:45 -0400 (0:00:00.365) 0:01:00.197 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744474.0225031, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754744468.6784246, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754744468.6792843, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1897026927", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 09 August 2025 09:01:45 -0400 (0:00:00.381) 0:01:00.578 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004874", "end": "2025-08-09 09:01:46.214367", "rc": 0, "start": "2025-08-09 09:01:46.209493" } 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 09 August 2025 09:01:46 -0400 (0:00:00.393) 0:01:00.972 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 09 August 2025 09:01:46 -0400 (0:00:00.034) 0:01:01.007 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 09 August 2025 09:01:46 -0400 (0:00:00.381) 0:01:01.389 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 09 August 2025 09:01:47 -0400 (0:00:00.379) 0:01:01.768 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 09 August 2025 09:01:47 -0400 (0:00:00.363) 0:01:02.131 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 09 August 2025 09:01:47 -0400 (0:00:00.023) 0:01:02.154 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 09 August 2025 09:01:47 -0400 (0:00:00.018) 0:01:02.173 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 09 August 2025 09:01:47 -0400 (0:00:00.033) 0:01:02.207 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d42d4d920e7b4742881e6c201718e9ed-5.14.0-601.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (5.14.0-601.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d42d4d920e7b4742881e6c201718e9ed-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-d42d4d920e7b4742881e6c201718e9ed.img", "kernel": "/boot/vmlinuz-0-rescue-d42d4d920e7b4742881e6c201718e9ed", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (0-rescue-d42d4d920e7b4742881e6c201718e9ed) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "c118cd07c0134006847e862a6507d12c-5.14.0-601.el9.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "Clone1" } ] }, "changed": false } TASK [Clone again to check idempotency] **************************************** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Saturday 09 August 2025 09:01:48 -0400 (0:00:00.527) 0:01:02.734 ******* included: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-601.el9.x86_64] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 09 August 2025 09:01:48 -0400 (0:00:00.058) 0:01:02.792 ******* ok: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-601.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "6417180e61bec97eff783e1b34ee72e5492d0ce9", "dest": "/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-601.el9.x86_64" }, "md5sum": "1941420fd007ae6e94d46f16f9766ea9", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15063080, "src": "/boot/vmlinuz-5.14.0-601.el9.x86_64", "state": "file", "uid": 0 } ok: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-601.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-601.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "dfabfa75bf6a734554f413812f4a611dcbc47077", "dest": "/boot/initramfs-5.14.0-601.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-601.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-601.el9.x86_64.img" }, "md5sum": "f9e3216da842a03cdb7e501447f0e67d", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38345073, "src": "/boot/initramfs-5.14.0-601.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 09 August 2025 09:01:49 -0400 (0:00:01.384) 0:01:04.177 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 09 August 2025 09:01:49 -0400 (0:00:00.057) 0:01:04.235 ******* included: /tmp/collections-snR/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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 09 August 2025 09:01:49 -0400 (0:00:00.026) 0:01:04.261 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 09 August 2025 09:01:49 -0400 (0:00:00.036) 0:01:04.298 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 09 August 2025 09:01:49 -0400 (0:00:00.016) 0:01:04.314 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 09 August 2025 09:01:49 -0400 (0:00:00.019) 0:01:04.334 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 09 August 2025 09:01:49 -0400 (0:00:00.048) 0:01:04.383 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 09 August 2025 09:01:49 -0400 (0:00:00.020) 0:01:04.403 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 09 August 2025 09:01:49 -0400 (0:00:00.085) 0:01:04.488 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 09 August 2025 09:01:51 -0400 (0:00:01.275) 0:01:05.764 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744476.4815435, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754744476.4805434, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 770187, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754744476.4805434, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4294129939", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 09 August 2025 09:01:51 -0400 (0:00:00.362) 0:01:06.127 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 09 August 2025 09:01:51 -0400 (0:00:00.012) 0:01:06.140 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 09 August 2025 09:01:51 -0400 (0:00:00.012) 0:01:06.152 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 09 August 2025 09:01:51 -0400 (0:00:00.351) 0:01:06.504 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 09 August 2025 09:01:51 -0400 (0:00:00.046) 0:01:06.551 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744476.4815435, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754744476.4805434, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 770187, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754744476.4805434, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4294129939", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 09 August 2025 09:01:52 -0400 (0:00:00.369) 0:01:06.920 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744474.0225031, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754744468.6784246, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754744468.6792843, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1897026927", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 09 August 2025 09:01:52 -0400 (0:00:00.373) 0:01:07.294 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004401", "end": "2025-08-09 09:01:52.987449", "rc": 0, "start": "2025-08-09 09:01:52.983048" } 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 09 August 2025 09:01:53 -0400 (0:00:00.388) 0:01:07.683 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 09 August 2025 09:01:53 -0400 (0:00:00.037) 0:01:07.720 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 09 August 2025 09:01:53 -0400 (0:00:00.378) 0:01:08.099 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 09 August 2025 09:01:53 -0400 (0:00:00.384) 0:01:08.483 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 09 August 2025 09:01:54 -0400 (0:00:00.657) 0:01:09.141 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 09 August 2025 09:01:54 -0400 (0:00:00.018) 0:01:09.159 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 09 August 2025 09:01:54 -0400 (0:00:00.020) 0:01:09.180 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 09 August 2025 09:01:54 -0400 (0:00:00.032) 0:01:09.212 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Saturday 09 August 2025 09:01:54 -0400 (0:00:00.034) 0:01:09.247 ******* META: triggered running handlers for managed-node1 TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 09 August 2025 09:01:54 -0400 (0:00:00.001) 0:01:09.249 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 09 August 2025 09:01:54 -0400 (0:00:00.018) 0:01:09.267 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 09 August 2025 09:01:54 -0400 (0:00:00.054) 0:01:09.322 ******* included: /tmp/collections-snR/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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 09 August 2025 09:01:54 -0400 (0:00:00.018) 0:01:09.340 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 09 August 2025 09:01:54 -0400 (0:00:00.034) 0:01:09.375 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 09 August 2025 09:01:54 -0400 (0:00:00.017) 0:01:09.393 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 09 August 2025 09:01:54 -0400 (0:00:00.015) 0:01:09.408 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 09 August 2025 09:01:54 -0400 (0:00:00.033) 0:01:09.442 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 09 August 2025 09:01:54 -0400 (0:00:00.016) 0:01:09.459 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 09 August 2025 09:01:54 -0400 (0:00:00.057) 0:01:09.516 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 09 August 2025 09:01:56 -0400 (0:00:01.306) 0:01:10.822 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744476.4815435, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754744476.4805434, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 770187, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754744476.4805434, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4294129939", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 09 August 2025 09:01:56 -0400 (0:00:00.389) 0:01:11.211 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 09 August 2025 09:01:56 -0400 (0:00:00.014) 0:01:11.225 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 09 August 2025 09:01:56 -0400 (0:00:00.012) 0:01:11.238 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 09 August 2025 09:01:56 -0400 (0:00:00.362) 0:01:11.601 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 09 August 2025 09:01:57 -0400 (0:00:00.040) 0:01:11.641 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744476.4815435, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754744476.4805434, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 770187, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754744476.4805434, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4294129939", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 09 August 2025 09:01:57 -0400 (0:00:00.361) 0:01:12.003 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744474.0225031, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754744468.6784246, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754744468.6792843, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1897026927", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 09 August 2025 09:01:57 -0400 (0:00:00.377) 0:01:12.381 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004855", "end": "2025-08-09 09:01:58.071152", "rc": 0, "start": "2025-08-09 09:01:58.066297" } 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 09 August 2025 09:01:58 -0400 (0:00:00.381) 0:01:12.762 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 09 August 2025 09:01:58 -0400 (0:00:00.033) 0:01:12.796 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 09 August 2025 09:01:58 -0400 (0:00:00.371) 0:01:13.167 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 09 August 2025 09:01:58 -0400 (0:00:00.366) 0:01:13.534 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 09 August 2025 09:01:59 -0400 (0:00:00.350) 0:01:13.884 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 09 August 2025 09:01:59 -0400 (0:00:00.021) 0:01:13.905 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 09 August 2025 09:01:59 -0400 (0:00:00.018) 0:01:13.924 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 09 August 2025 09:01:59 -0400 (0:00:00.029) 0:01:13.954 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d42d4d920e7b4742881e6c201718e9ed-5.14.0-601.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (5.14.0-601.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d42d4d920e7b4742881e6c201718e9ed-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-d42d4d920e7b4742881e6c201718e9ed.img", "kernel": "/boot/vmlinuz-0-rescue-d42d4d920e7b4742881e6c201718e9ed", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (0-rescue-d42d4d920e7b4742881e6c201718e9ed) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "c118cd07c0134006847e862a6507d12c-5.14.0-601.el9.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone1] ********************************************** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Saturday 09 August 2025 09:01:59 -0400 (0:00:00.517) 0:01:14.472 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Saturday 09 August 2025 09:01:59 -0400 (0:00:00.046) 0:01:14.518 ******* included: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-601.el9.x86_64] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 09 August 2025 09:01:59 -0400 (0:00:00.039) 0:01:14.558 ******* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-601.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-601.el9.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "6417180e61bec97eff783e1b34ee72e5492d0ce9", "dest": "/boot/vmlinuz-5.14.0-601.el9.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-601.el9.x86_64_clone2", "src": "/boot/vmlinuz-5.14.0-601.el9.x86_64" }, "md5sum": "1941420fd007ae6e94d46f16f9766ea9", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15063080, "src": "/boot/vmlinuz-5.14.0-601.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-601.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-601.el9.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "dfabfa75bf6a734554f413812f4a611dcbc47077", "dest": "/boot/initramfs-5.14.0-601.el9.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-601.el9.x86_64.img_clone2", "src": "/boot/initramfs-5.14.0-601.el9.x86_64.img" }, "md5sum": "f9e3216da842a03cdb7e501447f0e67d", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38345073, "src": "/boot/initramfs-5.14.0-601.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 09 August 2025 09:02:00 -0400 (0:00:00.954) 0:01:15.512 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 09 August 2025 09:02:00 -0400 (0:00:00.043) 0:01:15.556 ******* included: /tmp/collections-snR/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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 09 August 2025 09:02:00 -0400 (0:00:00.022) 0:01:15.578 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 09 August 2025 09:02:00 -0400 (0:00:00.037) 0:01:15.616 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 09 August 2025 09:02:00 -0400 (0:00:00.021) 0:01:15.637 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 09 August 2025 09:02:01 -0400 (0:00:00.016) 0:01:15.654 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 09 August 2025 09:02:01 -0400 (0:00:00.029) 0:01:15.683 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 09 August 2025 09:02:01 -0400 (0:00:00.012) 0:01:15.695 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 09 August 2025 09:02:01 -0400 (0:00:00.063) 0:01:15.759 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 09 August 2025 09:02:02 -0400 (0:00:01.295) 0:01:17.055 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744476.4815435, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754744476.4805434, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 770187, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754744476.4805434, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4294129939", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 09 August 2025 09:02:02 -0400 (0:00:00.369) 0:01:17.425 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 09 August 2025 09:02:02 -0400 (0:00:00.024) 0:01:17.450 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 09 August 2025 09:02:02 -0400 (0:00:00.020) 0:01:17.470 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 09 August 2025 09:02:03 -0400 (0:00:00.376) 0:01:17.846 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 09 August 2025 09:02:03 -0400 (0:00:00.042) 0:01:17.888 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744476.4815435, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754744476.4805434, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 770187, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754744476.4805434, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4294129939", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 09 August 2025 09:02:03 -0400 (0:00:00.373) 0:01:18.261 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744474.0225031, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754744468.6784246, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754744468.6792843, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1897026927", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 09 August 2025 09:02:03 -0400 (0:00:00.375) 0:01:18.637 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004883", "end": "2025-08-09 09:02:04.352996", "rc": 0, "start": "2025-08-09 09:02:04.348113" } 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 09 August 2025 09:02:04 -0400 (0:00:00.409) 0:01:19.046 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 09 August 2025 09:02:04 -0400 (0:00:00.034) 0:01:19.081 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 09 August 2025 09:02:04 -0400 (0:00:00.376) 0:01:19.457 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 09 August 2025 09:02:05 -0400 (0:00:00.376) 0:01:19.834 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-5.14.0-601.el9.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-5.14.0-601.el9.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 09 August 2025 09:02:05 -0400 (0:00:00.656) 0:01:20.490 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 09 August 2025 09:02:05 -0400 (0:00:00.018) 0:01:20.508 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 09 August 2025 09:02:05 -0400 (0:00:00.017) 0:01:20.526 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 09 August 2025 09:02:05 -0400 (0:00:00.031) 0:01:20.558 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Saturday 09 August 2025 09:02:05 -0400 (0:00:00.032) 0:01:20.590 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 09 August 2025 09:02:05 -0400 (0:00:00.001) 0:01:20.592 ******* 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.164639", "end": "2025-08-09 09:02:06.420622", "rc": 0, "start": "2025-08-09 09:02:06.255983" } STDOUT: args="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 09 August 2025 09:02:06 -0400 (0:00:00.522) 0:01:21.114 ******* included: /tmp/collections-snR/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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 09 August 2025 09:02:06 -0400 (0:00:00.014) 0:01:21.128 ******* changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 09 August 2025 09:02:29 -0400 (0:00:23.436) 0:01:44.565 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 09 August 2025 09:02:29 -0400 (0:00:00.013) 0:01:44.578 ******* 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-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 09 August 2025 09:02:29 -0400 (0:00:00.017) 0:01:44.596 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 09 August 2025 09:02:29 -0400 (0:00:00.015) 0:01:44.612 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 09 August 2025 09:02:30 -0400 (0:00:00.054) 0:01:44.667 ******* included: /tmp/collections-snR/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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 09 August 2025 09:02:30 -0400 (0:00:00.017) 0:01:44.685 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 09 August 2025 09:02:30 -0400 (0:00:00.032) 0:01:44.718 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 09 August 2025 09:02:30 -0400 (0:00:00.018) 0:01:44.736 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 09 August 2025 09:02:30 -0400 (0:00:00.017) 0:01:44.754 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 09 August 2025 09:02:30 -0400 (0:00:00.030) 0:01:44.785 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 09 August 2025 09:02:30 -0400 (0:00:00.013) 0:01:44.798 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 09 August 2025 09:02:30 -0400 (0:00:00.045) 0:01:44.844 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 09 August 2025 09:02:33 -0400 (0:00:02.935) 0:01:47.780 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744526.4189315, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754744526.4179316, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 687548, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754744526.4179316, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1140338593", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 09 August 2025 09:02:33 -0400 (0:00:00.403) 0:01:48.183 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 09 August 2025 09:02:33 -0400 (0:00:00.014) 0:01:48.198 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 09 August 2025 09:02:33 -0400 (0:00:00.012) 0:01:48.210 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 09 August 2025 09:02:33 -0400 (0:00:00.349) 0:01:48.560 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 09 August 2025 09:02:33 -0400 (0:00:00.041) 0:01:48.601 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744526.4189315, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754744526.4179316, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 687548, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754744526.4179316, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1140338593", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 09 August 2025 09:02:34 -0400 (0:00:00.361) 0:01:48.963 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744474.0225031, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754744468.6784246, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754744468.6792843, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1897026927", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 09 August 2025 09:02:34 -0400 (0:00:00.370) 0:01:49.334 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004981", "end": "2025-08-09 09:02:34.726304", "rc": 0, "start": "2025-08-09 09:02:34.721323" } 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 09 August 2025 09:02:35 -0400 (0:00:00.374) 0:01:49.708 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 09 August 2025 09:02:35 -0400 (0:00:00.035) 0:01:49.744 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 09 August 2025 09:02:35 -0400 (0:00:00.374) 0:01:50.118 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 09 August 2025 09:02:35 -0400 (0:00:00.370) 0:01:50.488 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 09 August 2025 09:02:36 -0400 (0:00:00.354) 0:01:50.842 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 09 August 2025 09:02:36 -0400 (0:00:00.018) 0:01:50.861 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 09 August 2025 09:02:36 -0400 (0:00:00.019) 0:01:50.881 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 09 August 2025 09:02:36 -0400 (0:00:00.031) 0:01:50.912 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d42d4d920e7b4742881e6c201718e9ed-5.14.0-601.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (5.14.0-601.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d42d4d920e7b4742881e6c201718e9ed-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-d42d4d920e7b4742881e6c201718e9ed.img", "kernel": "/boot/vmlinuz-0-rescue-d42d4d920e7b4742881e6c201718e9ed", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (0-rescue-d42d4d920e7b4742881e6c201718e9ed) 9" }, { "args": "test=kernel", "default": false, "id": "c118cd07c0134006847e862a6507d12c-5.14.0-601.el9.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "c118cd07c0134006847e862a6507d12c-5.14.0-601.el9.x86_64_clone1", "index": "3", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone2] ********************************************** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Saturday 09 August 2025 09:02:36 -0400 (0:00:00.557) 0:01:51.470 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 09 August 2025 09:02:36 -0400 (0:00:00.041) 0:01:51.512 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 09 August 2025 09:02:36 -0400 (0:00:00.034) 0:01:51.547 ******* included: /tmp/collections-snR/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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 09 August 2025 09:02:36 -0400 (0:00:00.017) 0:01:51.564 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 09 August 2025 09:02:36 -0400 (0:00:00.032) 0:01:51.597 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 09 August 2025 09:02:36 -0400 (0:00:00.017) 0:01:51.614 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 09 August 2025 09:02:36 -0400 (0:00:00.016) 0:01:51.631 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 09 August 2025 09:02:37 -0400 (0:00:00.029) 0:01:51.661 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 09 August 2025 09:02:37 -0400 (0:00:00.013) 0:01:51.674 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 09 August 2025 09:02:37 -0400 (0:00:00.051) 0:01:51.726 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 09 August 2025 09:02:38 -0400 (0:00:01.290) 0:01:53.017 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744526.4189315, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754744526.4179316, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 687548, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754744526.4179316, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1140338593", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 09 August 2025 09:02:38 -0400 (0:00:00.365) 0:01:53.382 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 09 August 2025 09:02:38 -0400 (0:00:00.013) 0:01:53.396 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 09 August 2025 09:02:38 -0400 (0:00:00.012) 0:01:53.408 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 09 August 2025 09:02:39 -0400 (0:00:00.348) 0:01:53.757 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 09 August 2025 09:02:39 -0400 (0:00:00.042) 0:01:53.799 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744526.4189315, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754744526.4179316, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 687548, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754744526.4179316, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1140338593", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 09 August 2025 09:02:39 -0400 (0:00:00.366) 0:01:54.165 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744474.0225031, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754744468.6784246, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754744468.6792843, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1897026927", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 09 August 2025 09:02:39 -0400 (0:00:00.377) 0:01:54.542 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005076", "end": "2025-08-09 09:02:40.235335", "rc": 0, "start": "2025-08-09 09:02:40.230259" } 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 09 August 2025 09:02:40 -0400 (0:00:00.383) 0:01:54.926 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 09 August 2025 09:02:40 -0400 (0:00:00.034) 0:01:54.960 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 09 August 2025 09:02:40 -0400 (0:00:00.375) 0:01:55.335 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 09 August 2025 09:02:41 -0400 (0:00:00.370) 0:01:55.706 ******* fatal: [managed-node1]: FAILED! => { "changed": false } MSG: Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-5.14.0-601.el9.x86_64_clone1, /boot/vmlinuz-5.14.0-601.el9.x86_64_clone2 TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Saturday 09 August 2025 09:02:41 -0400 (0:00:00.354) 0:01:56.061 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Saturday 09 August 2025 09:02:41 -0400 (0:00:00.021) 0:01:56.082 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 09 August 2025 09:02:41 -0400 (0:00:00.057) 0:01:56.140 ******* included: /tmp/collections-snR/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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 09 August 2025 09:02:41 -0400 (0:00:00.017) 0:01:56.157 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 09 August 2025 09:02:41 -0400 (0:00:00.035) 0:01:56.193 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 09 August 2025 09:02:41 -0400 (0:00:00.017) 0:01:56.210 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 09 August 2025 09:02:41 -0400 (0:00:00.016) 0:01:56.227 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 09 August 2025 09:02:41 -0400 (0:00:00.030) 0:01:56.257 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 09 August 2025 09:02:41 -0400 (0:00:00.011) 0:01:56.268 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 09 August 2025 09:02:41 -0400 (0:00:00.078) 0:01:56.347 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 09 August 2025 09:02:43 -0400 (0:00:01.299) 0:01:57.647 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744526.4189315, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754744526.4179316, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 687548, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754744526.4179316, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1140338593", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 09 August 2025 09:02:43 -0400 (0:00:00.364) 0:01:58.012 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 09 August 2025 09:02:43 -0400 (0:00:00.014) 0:01:58.026 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 09 August 2025 09:02:43 -0400 (0:00:00.012) 0:01:58.038 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 09 August 2025 09:02:43 -0400 (0:00:00.403) 0:01:58.442 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 09 August 2025 09:02:43 -0400 (0:00:00.040) 0:01:58.482 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744526.4189315, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754744526.4179316, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 687548, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754744526.4179316, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1140338593", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 09 August 2025 09:02:44 -0400 (0:00:00.362) 0:01:58.844 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744474.0225031, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754744468.6784246, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754744468.6792843, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1897026927", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 09 August 2025 09:02:44 -0400 (0:00:00.369) 0:01:59.214 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004641", "end": "2025-08-09 09:02:44.901253", "rc": 0, "start": "2025-08-09 09:02:44.896612" } 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 09 August 2025 09:02:44 -0400 (0:00:00.376) 0:01:59.591 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 09 August 2025 09:02:44 -0400 (0:00:00.036) 0:01:59.627 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 09 August 2025 09:02:45 -0400 (0:00:00.375) 0:02:00.003 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 09 August 2025 09:02:45 -0400 (0:00:00.374) 0:02:00.378 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 09 August 2025 09:02:46 -0400 (0:00:00.683) 0:02:01.061 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 09 August 2025 09:02:46 -0400 (0:00:00.018) 0:02:01.080 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 09 August 2025 09:02:46 -0400 (0:00:00.016) 0:02:01.097 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 09 August 2025 09:02:46 -0400 (0:00:00.034) 0:02:01.132 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "d42d4d920e7b4742881e6c201718e9ed-5.14.0-601.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (5.14.0-601.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d42d4d920e7b4742881e6c201718e9ed-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-d42d4d920e7b4742881e6c201718e9ed.img", "kernel": "/boot/vmlinuz-0-rescue-d42d4d920e7b4742881e6c201718e9ed", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (0-rescue-d42d4d920e7b4742881e6c201718e9ed) 9" }, { "args": "test=kernel", "default": false, "id": "c118cd07c0134006847e862a6507d12c-5.14.0-601.el9.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64_clone2", "title": "Clone2" } ] }, "changed": false } TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Saturday 09 August 2025 09:02:46 -0400 (0:00:00.508) 0:02:01.641 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 09 August 2025 09:02:47 -0400 (0:00:00.070) 0:02:01.711 ******* included: /tmp/collections-snR/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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 09 August 2025 09:02:47 -0400 (0:00:00.018) 0:02:01.730 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 09 August 2025 09:02:47 -0400 (0:00:00.034) 0:02:01.764 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 09 August 2025 09:02:47 -0400 (0:00:00.017) 0:02:01.782 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 09 August 2025 09:02:47 -0400 (0:00:00.017) 0:02:01.800 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 09 August 2025 09:02:47 -0400 (0:00:00.030) 0:02:01.831 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 09 August 2025 09:02:47 -0400 (0:00:00.013) 0:02:01.844 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 09 August 2025 09:02:47 -0400 (0:00:00.048) 0:02:01.893 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 09 August 2025 09:02:48 -0400 (0:00:01.302) 0:02:03.196 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744526.4189315, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754744526.4179316, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 687548, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754744526.4179316, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1140338593", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 09 August 2025 09:02:48 -0400 (0:00:00.370) 0:02:03.566 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 09 August 2025 09:02:48 -0400 (0:00:00.014) 0:02:03.581 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 09 August 2025 09:02:48 -0400 (0:00:00.013) 0:02:03.594 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 09 August 2025 09:02:49 -0400 (0:00:00.352) 0:02:03.946 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 09 August 2025 09:02:49 -0400 (0:00:00.042) 0:02:03.989 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744526.4189315, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754744526.4179316, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 687548, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754744526.4179316, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1140338593", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 09 August 2025 09:02:49 -0400 (0:00:00.370) 0:02:04.359 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754744474.0225031, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754744468.6784246, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754744468.6792843, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1897026927", "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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 09 August 2025 09:02:50 -0400 (0:00:00.369) 0:02:04.728 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004866", "end": "2025-08-09 09:02:50.415022", "rc": 0, "start": "2025-08-09 09:02:50.410156" } 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 09 August 2025 09:02:50 -0400 (0:00:00.378) 0:02:05.107 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 09 August 2025 09:02:50 -0400 (0:00:00.034) 0:02:05.141 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 09 August 2025 09:02:50 -0400 (0:00:00.379) 0:02:05.521 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 09 August 2025 09:02:51 -0400 (0:00:00.368) 0:02:05.890 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-601.el9.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 09 August 2025 09:02:51 -0400 (0:00:00.581) 0:02:06.472 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 09 August 2025 09:02:51 -0400 (0:00:00.020) 0:02:06.492 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 09 August 2025 09:02:51 -0400 (0:00:00.019) 0:02:06.512 ******* 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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 09 August 2025 09:02:51 -0400 (0:00:00.034) 0:02:06.546 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "d42d4d920e7b4742881e6c201718e9ed-5.14.0-601.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-601.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-601.el9.x86_64", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (5.14.0-601.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d42d4d920e7b4742881e6c201718e9ed-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-d42d4d920e7b4742881e6c201718e9ed.img", "kernel": "/boot/vmlinuz-0-rescue-d42d4d920e7b4742881e6c201718e9ed", "root": "UUID=b7727387-36f7-4587-bc58-16afc3618f5b", "title": "CentOS Stream (0-rescue-d42d4d920e7b4742881e6c201718e9ed) 9" } ] }, "changed": false } TASK [Verify that kernel is removed {{ item }}] ******************************** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Saturday 09 August 2025 09:02:52 -0400 (0:00:00.480) 0:02:07.027 ******* 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-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Saturday 09 August 2025 09:02:52 -0400 (0:00:00.054) 0:02:07.082 ******* changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-601.el9.x86_64_clone1" ], "delta": "0:00:00.045813", "end": "2025-08-09 09:02:52.787071", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-08-09 09:02:52.741258" } STDERR: The param /boot/vmlinuz-5.14.0-601.el9.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-601.el9.x86_64_clone2" ], "delta": "0:00:00.046162", "end": "2025-08-09 09:02:53.171478", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-08-09 09:02:53.125316" } STDERR: The param /boot/vmlinuz-5.14.0-601.el9.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 09 August 2025 09:02:53 -0400 (0:00:00.783) 0:02:07.865 ******* 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.108043", "end": "2025-08-09 09:02:53.648208", "rc": 0, "start": "2025-08-09 09:02:53.540165" } STDOUT: args="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 09 August 2025 09:02:53 -0400 (0:00:00.478) 0:02:08.343 ******* included: /tmp/collections-snR/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-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 09 August 2025 09:02:53 -0400 (0:00:00.014) 0:02:08.358 ******* changed: [managed-node1] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 09 August 2025 09:03:17 -0400 (0:00:23.956) 0:02:32.314 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 09 August 2025 09:03:17 -0400 (0:00:00.013) 0:02:32.328 ******* 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-08-09T13:02:41.418539+00:00Z", "host": "managed-node1", "message": "Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-5.14.0-601.el9.x86_64_clone1, /boot/vmlinuz-5.14.0-601.el9.x86_64_clone2", "start_time": "2025-08-09T13:02:41.067110+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 09 August 2025 09:03:17 -0400 (0:00:00.015) 0:02:32.343 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 24.53s /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.96s /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.44s /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 17.81s /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.96s /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.94s /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Gather architecture facts ----------------------------------------------- 2.00s /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-601.el9.x86_64 --- 1.38s /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.34s /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.31s /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.30s /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.30s /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.30s /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.29s /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.28s /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-601.el9.x86_64 --- 1.13s /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-601.el9.x86_64 --- 0.95s /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Remove cloned kernels --------------------------------------------------- 0.78s /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.68s /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.66s /tmp/collections-snR/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114