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-JvI 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-JvI/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-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 02 August 2025 08:58:04 -0400 (0:00:00.019) 0:00:00.019 ******* included: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 02 August 2025 08:58:04 -0400 (0:00:00.014) 0:00:00.033 ******* [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-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 02 August 2025 08:58:06 -0400 (0:00:02.000) 0:00:02.034 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 02 August 2025 08:58:06 -0400 (0:00:00.006) 0:00:02.041 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 August 2025 08:58:06 -0400 (0:00:00.092) 0:00:02.133 ******* included: /tmp/collections-JvI/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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 August 2025 08:58:06 -0400 (0:00:00.026) 0:00:02.159 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 August 2025 08:58:06 -0400 (0:00:00.038) 0:00:02.198 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 August 2025 08:58:06 -0400 (0:00:00.437) 0:00:02.635 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 August 2025 08:58:06 -0400 (0:00:00.021) 0:00:02.656 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 August 2025 08:58:06 -0400 (0:00:00.029) 0:00:02.686 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 02 August 2025 08:58:06 -0400 (0:00:00.011) 0:00:02.698 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 02 August 2025 08:58:06 -0400 (0:00:00.045) 0:00:02.744 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 02 August 2025 08:58:25 -0400 (0:00:18.532) 0:00:21.276 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 02 August 2025 08:58:25 -0400 (0:00:00.374) 0:00:21.651 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 02 August 2025 08:58:25 -0400 (0:00:00.013) 0:00:21.665 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 02 August 2025 08:58:25 -0400 (0:00:00.011) 0:00:21.676 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 02 August 2025 08:58:26 -0400 (0:00:00.341) 0:00:22.017 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 02 August 2025 08:58:26 -0400 (0:00:00.041) 0:00:22.059 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139505.6164508, "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 02 August 2025 08:58:26 -0400 (0:00:00.354) 0:00:22.414 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 02 August 2025 08:58:26 -0400 (0:00:00.364) 0:00:22.779 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005146", "end": "2025-08-02 08:58:27.246556", "rc": 0, "start": "2025-08-02 08:58:27.241410" } 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 02 August 2025 08:58:27 -0400 (0:00:00.471) 0:00:23.250 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 02 August 2025 08:58:27 -0400 (0:00:00.034) 0:00:23.284 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 02 August 2025 08:58:27 -0400 (0:00:00.499) 0:00:23.783 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 02 August 2025 08:58:28 -0400 (0:00:00.384) 0:00:24.168 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 August 2025 08:58:28 -0400 (0:00:00.440) 0:00:24.608 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 02 August 2025 08:58:28 -0400 (0:00:00.019) 0:00:24.628 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 02 August 2025 08:58:28 -0400 (0:00:00.017) 0:00:24.645 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 02 August 2025 08:58:28 -0400 (0:00:00.028) 0:00:24.674 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 02 August 2025 08:58:29 -0400 (0:00:00.595) 0:00:25.269 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 02 August 2025 08:58:29 -0400 (0:00:00.006) 0:00:25.275 ******* META: triggered running handlers for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 02 August 2025 08:58:29 -0400 (0:00:00.002) 0:00:25.278 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Saturday 02 August 2025 08:58:29 -0400 (0:00:00.057) 0:00:25.336 ******* included: /tmp/collections-JvI/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-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 02 August 2025 08:58:29 -0400 (0:00:00.046) 0:00:25.382 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 02 August 2025 08:58:30 -0400 (0:00:01.128) 0:00:26.511 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 August 2025 08:58:30 -0400 (0:00:00.045) 0:00:26.557 ******* included: /tmp/collections-JvI/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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 August 2025 08:58:30 -0400 (0:00:00.022) 0:00:26.579 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 August 2025 08:58:30 -0400 (0:00:00.044) 0:00:26.623 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 August 2025 08:58:30 -0400 (0:00:00.027) 0:00:26.651 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 August 2025 08:58:30 -0400 (0:00:00.027) 0:00:26.678 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 August 2025 08:58:30 -0400 (0:00:00.053) 0:00:26.732 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 02 August 2025 08:58:30 -0400 (0:00:00.034) 0:00:26.767 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 02 August 2025 08:58:30 -0400 (0:00:00.103) 0:00:26.870 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 02 August 2025 08:58:32 -0400 (0:00:01.385) 0:00:28.255 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139505.6164508, "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 02 August 2025 08:58:32 -0400 (0:00:00.393) 0:00:28.648 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 02 August 2025 08:58:32 -0400 (0:00:00.019) 0:00:28.668 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 02 August 2025 08:58:32 -0400 (0:00:00.019) 0:00:28.687 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 02 August 2025 08:58:33 -0400 (0:00:00.374) 0:00:29.062 ******* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 02 August 2025 08:58:33 -0400 (0:00:00.061) 0:00:29.123 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139505.6164508, "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 02 August 2025 08:58:33 -0400 (0:00:00.395) 0:00:29.519 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139508.1646478, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754139508.1644342, "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": 1754139508.1646488, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "518063907", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 02 August 2025 08:58:33 -0400 (0:00:00.400) 0:00:29.919 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005167", "end": "2025-08-02 08:58:34.309559", "rc": 0, "start": "2025-08-02 08:58:34.304392" } 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 02 August 2025 08:58:34 -0400 (0:00:00.393) 0:00:30.313 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 02 August 2025 08:58:34 -0400 (0:00:00.038) 0:00:30.351 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 02 August 2025 08:58:34 -0400 (0:00:00.404) 0:00:30.756 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 02 August 2025 08:58:35 -0400 (0:00:00.373) 0:00:31.130 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 August 2025 08:58:35 -0400 (0:00:00.598) 0:00:31.728 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 02 August 2025 08:58:35 -0400 (0:00:00.017) 0:00:31.746 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 02 August 2025 08:58:35 -0400 (0:00:00.018) 0:00:31.764 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 02 August 2025 08:58:35 -0400 (0:00:00.030) 0:00:31.794 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Saturday 02 August 2025 08:58:35 -0400 (0:00:00.032) 0:00:31.827 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 02 August 2025 08:58:35 -0400 (0:00:00.002) 0:00:31.829 ******* 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.137665", "end": "2025-08-02 08:58:36.311941", "rc": 0, "start": "2025-08-02 08:58:36.174276" } 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 02 August 2025 08:58:36 -0400 (0:00:00.488) 0:00:32.318 ******* included: /tmp/collections-JvI/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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 02 August 2025 08:58:36 -0400 (0:00:00.018) 0:00:32.336 ******* changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 02 August 2025 08:58:59 -0400 (0:00:23.546) 0:00:55.883 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 02 August 2025 08:58:59 -0400 (0:00:00.012) 0:00:55.896 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 02 August 2025 08:58:59 -0400 (0:00:00.018) 0:00:55.914 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 02 August 2025 08:58:59 -0400 (0:00:00.021) 0:00:55.935 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 August 2025 08:59:00 -0400 (0:00:00.063) 0:00:55.999 ******* included: /tmp/collections-JvI/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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 August 2025 08:59:00 -0400 (0:00:00.023) 0:00:56.022 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 August 2025 08:59:00 -0400 (0:00:00.034) 0:00:56.057 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 August 2025 08:59:00 -0400 (0:00:00.017) 0:00:56.074 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 August 2025 08:59:00 -0400 (0:00:00.018) 0:00:56.093 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 August 2025 08:59:00 -0400 (0:00:00.030) 0:00:56.124 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 02 August 2025 08:59:00 -0400 (0:00:00.012) 0:00:56.136 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 02 August 2025 08:59:00 -0400 (0:00:00.047) 0:00:56.184 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 02 August 2025 08:59:03 -0400 (0:00:03.014) 0:00:59.198 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139516.311381, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754139516.3103812, "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": 1754139516.3103812, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "745952530", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 02 August 2025 08:59:03 -0400 (0:00:00.406) 0:00:59.604 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 02 August 2025 08:59:03 -0400 (0:00:00.015) 0:00:59.619 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 02 August 2025 08:59:03 -0400 (0:00:00.013) 0:00:59.633 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 02 August 2025 08:59:04 -0400 (0:00:00.352) 0:00:59.985 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 02 August 2025 08:59:04 -0400 (0:00:00.043) 0:01:00.029 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139516.311381, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754139516.3103812, "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": 1754139516.3103812, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "745952530", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 02 August 2025 08:59:04 -0400 (0:00:00.378) 0:01:00.407 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139513.8943968, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754139508.1644342, "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": 1754139508.1646488, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "518063907", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 02 August 2025 08:59:04 -0400 (0:00:00.377) 0:01:00.785 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005761", "end": "2025-08-02 08:59:05.015760", "rc": 0, "start": "2025-08-02 08:59:05.009999" } 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 02 August 2025 08:59:05 -0400 (0:00:00.395) 0:01:01.181 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 02 August 2025 08:59:05 -0400 (0:00:00.035) 0:01:01.216 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 02 August 2025 08:59:05 -0400 (0:00:00.396) 0:01:01.613 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 02 August 2025 08:59:06 -0400 (0:00:00.398) 0:01:02.011 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 August 2025 08:59:06 -0400 (0:00:00.363) 0:01:02.374 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 02 August 2025 08:59:06 -0400 (0:00:00.023) 0:01:02.398 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 02 August 2025 08:59:06 -0400 (0:00:00.018) 0:01:02.416 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 02 August 2025 08:59:06 -0400 (0:00:00.037) 0:01:02.453 ******* 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 test=kernel", "default": true, "id": "23c1325261234c03aeea4e1c14ffc924-5.14.0-601.el9.x86_64_clone1", "index": "0", "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" }, { "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": "1", "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": "2", "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 [Clone again to check idempotency] **************************************** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Saturday 02 August 2025 08:59:07 -0400 (0:00:00.520) 0:01:02.974 ******* included: /tmp/collections-JvI/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-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 02 August 2025 08:59:07 -0400 (0:00:00.026) 0:01:03.001 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 02 August 2025 08:59:08 -0400 (0:00:01.315) 0:01:04.316 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 August 2025 08:59:08 -0400 (0:00:00.044) 0:01:04.361 ******* included: /tmp/collections-JvI/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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 August 2025 08:59:08 -0400 (0:00:00.032) 0:01:04.393 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 August 2025 08:59:08 -0400 (0:00:00.054) 0:01:04.448 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 August 2025 08:59:08 -0400 (0:00:00.028) 0:01:04.477 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 August 2025 08:59:08 -0400 (0:00:00.026) 0:01:04.504 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 August 2025 08:59:08 -0400 (0:00:00.034) 0:01:04.538 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 02 August 2025 08:59:08 -0400 (0:00:00.015) 0:01:04.554 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 02 August 2025 08:59:08 -0400 (0:00:00.072) 0:01:04.627 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 02 August 2025 08:59:10 -0400 (0:00:01.344) 0:01:05.971 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139516.311381, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754139516.3103812, "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": 1754139516.3103812, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "745952530", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 02 August 2025 08:59:10 -0400 (0:00:00.361) 0:01:06.332 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 02 August 2025 08:59:10 -0400 (0:00:00.013) 0:01:06.346 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 02 August 2025 08:59:10 -0400 (0:00:00.012) 0:01:06.359 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 02 August 2025 08:59:10 -0400 (0:00:00.344) 0:01:06.704 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 02 August 2025 08:59:10 -0400 (0:00:00.041) 0:01:06.745 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139516.311381, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754139516.3103812, "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": 1754139516.3103812, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "745952530", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 02 August 2025 08:59:11 -0400 (0:00:00.370) 0:01:07.116 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139513.8943968, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754139508.1644342, "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": 1754139508.1646488, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "518063907", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 02 August 2025 08:59:11 -0400 (0:00:00.375) 0:01:07.491 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004562", "end": "2025-08-02 08:59:11.868096", "rc": 0, "start": "2025-08-02 08:59:11.863534" } 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 02 August 2025 08:59:11 -0400 (0:00:00.380) 0:01:07.872 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 02 August 2025 08:59:11 -0400 (0:00:00.040) 0:01:07.912 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 02 August 2025 08:59:12 -0400 (0:00:00.379) 0:01:08.292 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 02 August 2025 08:59:12 -0400 (0:00:00.375) 0:01:08.668 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 August 2025 08:59:13 -0400 (0:00:00.667) 0:01:09.335 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 02 August 2025 08:59:13 -0400 (0:00:00.019) 0:01:09.355 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 02 August 2025 08:59:13 -0400 (0:00:00.020) 0:01:09.376 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 02 August 2025 08:59:13 -0400 (0:00:00.045) 0:01:09.421 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Saturday 02 August 2025 08:59:13 -0400 (0:00:00.039) 0:01:09.461 ******* META: triggered running handlers for managed-node1 TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 02 August 2025 08:59:13 -0400 (0:00:00.002) 0:01:09.464 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 02 August 2025 08:59:13 -0400 (0:00:00.016) 0:01:09.480 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 August 2025 08:59:13 -0400 (0:00:00.065) 0:01:09.546 ******* included: /tmp/collections-JvI/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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 August 2025 08:59:13 -0400 (0:00:00.024) 0:01:09.571 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 August 2025 08:59:13 -0400 (0:00:00.037) 0:01:09.608 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 August 2025 08:59:13 -0400 (0:00:00.018) 0:01:09.627 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 August 2025 08:59:13 -0400 (0:00:00.017) 0:01:09.644 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 August 2025 08:59:13 -0400 (0:00:00.030) 0:01:09.674 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 02 August 2025 08:59:13 -0400 (0:00:00.015) 0:01:09.690 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 02 August 2025 08:59:13 -0400 (0:00:00.047) 0:01:09.737 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 02 August 2025 08:59:15 -0400 (0:00:01.329) 0:01:11.067 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139516.311381, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754139516.3103812, "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": 1754139516.3103812, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "745952530", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 02 August 2025 08:59:15 -0400 (0:00:00.367) 0:01:11.434 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 02 August 2025 08:59:15 -0400 (0:00:00.015) 0:01:11.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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 02 August 2025 08:59:15 -0400 (0:00:00.015) 0:01:11.466 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 02 August 2025 08:59:15 -0400 (0:00:00.362) 0:01:11.829 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 02 August 2025 08:59:15 -0400 (0:00:00.042) 0:01:11.871 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139516.311381, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754139516.3103812, "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": 1754139516.3103812, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "745952530", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 02 August 2025 08:59:16 -0400 (0:00:00.360) 0:01:12.232 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139513.8943968, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754139508.1644342, "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": 1754139508.1646488, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "518063907", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 02 August 2025 08:59:16 -0400 (0:00:00.359) 0:01:12.591 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004622", "end": "2025-08-02 08:59:16.954624", "rc": 0, "start": "2025-08-02 08:59:16.950002" } 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 02 August 2025 08:59:17 -0400 (0:00:00.366) 0:01:12.957 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 02 August 2025 08:59:17 -0400 (0:00:00.035) 0:01:12.992 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 02 August 2025 08:59:17 -0400 (0:00:00.368) 0:01:13.361 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 02 August 2025 08:59:17 -0400 (0:00:00.368) 0:01:13.729 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 August 2025 08:59:18 -0400 (0:00:00.348) 0:01:14.078 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 02 August 2025 08:59:18 -0400 (0:00:00.018) 0:01:14.096 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 02 August 2025 08:59:18 -0400 (0:00:00.017) 0:01:14.114 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 02 August 2025 08:59:18 -0400 (0:00:00.031) 0:01:14.145 ******* 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 test=kernel", "default": true, "id": "23c1325261234c03aeea4e1c14ffc924-5.14.0-601.el9.x86_64_clone1", "index": "0", "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" }, { "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": "1", "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": "2", "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 settings for Clone1] ********************************************** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Saturday 02 August 2025 08:59:18 -0400 (0:00:00.511) 0:01:14.657 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Saturday 02 August 2025 08:59:18 -0400 (0:00:00.044) 0:01:14.701 ******* included: /tmp/collections-JvI/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-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 02 August 2025 08:59:18 -0400 (0:00:00.031) 0:01:14.733 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 02 August 2025 08:59:19 -0400 (0:00:00.895) 0:01:15.628 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 August 2025 08:59:19 -0400 (0:00:00.037) 0:01:15.666 ******* included: /tmp/collections-JvI/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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 August 2025 08:59:19 -0400 (0:00:00.019) 0:01:15.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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 August 2025 08:59:19 -0400 (0:00:00.033) 0:01:15.719 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 August 2025 08:59:19 -0400 (0:00:00.017) 0:01:15.737 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 August 2025 08:59:19 -0400 (0:00:00.021) 0:01:15.758 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 August 2025 08:59:19 -0400 (0:00:00.030) 0:01:15.789 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 02 August 2025 08:59:19 -0400 (0:00:00.013) 0:01:15.802 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 02 August 2025 08:59:19 -0400 (0:00:00.063) 0:01:15.866 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 02 August 2025 08:59:21 -0400 (0:00:01.325) 0:01:17.192 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139516.311381, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754139516.3103812, "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": 1754139516.3103812, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "745952530", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 02 August 2025 08:59:21 -0400 (0:00:00.361) 0:01:17.553 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 02 August 2025 08:59:21 -0400 (0:00:00.014) 0:01:17.568 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 02 August 2025 08:59:21 -0400 (0:00:00.013) 0:01:17.581 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 02 August 2025 08:59:21 -0400 (0:00:00.343) 0:01:17.925 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 02 August 2025 08:59:22 -0400 (0:00:00.041) 0:01:17.966 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139516.311381, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754139516.3103812, "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": 1754139516.3103812, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "745952530", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 02 August 2025 08:59:22 -0400 (0:00:00.356) 0:01:18.323 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139513.8943968, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754139508.1644342, "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": 1754139508.1646488, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "518063907", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 02 August 2025 08:59:22 -0400 (0:00:00.355) 0:01:18.678 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004978", "end": "2025-08-02 08:59:23.046492", "rc": 0, "start": "2025-08-02 08:59:23.041514" } 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 02 August 2025 08:59:23 -0400 (0:00:00.371) 0:01:19.050 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 02 August 2025 08:59:23 -0400 (0:00:00.036) 0:01:19.086 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 02 August 2025 08:59:23 -0400 (0:00:00.369) 0:01:19.455 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 02 August 2025 08:59:23 -0400 (0:00:00.362) 0:01:19.818 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 August 2025 08:59:24 -0400 (0:00:00.643) 0:01:20.461 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 02 August 2025 08:59:24 -0400 (0:00:00.018) 0:01:20.480 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 02 August 2025 08:59:24 -0400 (0:00:00.017) 0:01:20.498 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 02 August 2025 08:59:24 -0400 (0:00:00.031) 0:01:20.529 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Saturday 02 August 2025 08:59:24 -0400 (0:00:00.033) 0:01:20.563 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 02 August 2025 08:59:24 -0400 (0:00:00.001) 0:01:20.565 ******* 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.171786", "end": "2025-08-02 08:59:25.079956", "rc": 0, "start": "2025-08-02 08:59:24.908170" } 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 02 August 2025 08:59:25 -0400 (0:00:00.520) 0:01:21.085 ******* included: /tmp/collections-JvI/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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 02 August 2025 08:59:25 -0400 (0:00:00.014) 0:01:21.100 ******* changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 02 August 2025 08:59:48 -0400 (0:00:23.414) 0:01:44.514 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 02 August 2025 08:59:48 -0400 (0:00:00.012) 0:01:44.527 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 02 August 2025 08:59:48 -0400 (0:00:00.015) 0:01:44.543 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 02 August 2025 08:59:48 -0400 (0:00:00.015) 0:01:44.558 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 August 2025 08:59:48 -0400 (0:00:00.053) 0:01:44.612 ******* included: /tmp/collections-JvI/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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 August 2025 08:59:48 -0400 (0:00:00.017) 0:01:44.630 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 August 2025 08:59:48 -0400 (0:00:00.033) 0:01:44.663 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 August 2025 08:59:48 -0400 (0:00:00.018) 0:01:44.682 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 August 2025 08:59:48 -0400 (0:00:00.018) 0:01:44.700 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 August 2025 08:59:48 -0400 (0:00:00.039) 0:01:44.740 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 02 August 2025 08:59:48 -0400 (0:00:00.019) 0:01:44.760 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 02 August 2025 08:59:48 -0400 (0:00:00.056) 0:01:44.816 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 02 August 2025 08:59:51 -0400 (0:00:02.973) 0:01:47.790 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139565.0787346, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754139565.0777347, "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": 1754139565.0777347, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "185579609", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 02 August 2025 08:59:52 -0400 (0:00:00.394) 0:01:48.185 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 02 August 2025 08:59:52 -0400 (0:00:00.016) 0:01:48.201 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 02 August 2025 08:59:52 -0400 (0:00:00.012) 0:01:48.214 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 02 August 2025 08:59:52 -0400 (0:00:00.356) 0:01:48.570 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 02 August 2025 08:59:52 -0400 (0:00:00.052) 0:01:48.623 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139565.0787346, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754139565.0777347, "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": 1754139565.0777347, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "185579609", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 02 August 2025 08:59:53 -0400 (0:00:00.375) 0:01:48.999 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139513.8943968, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754139508.1644342, "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": 1754139508.1646488, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "518063907", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 02 August 2025 08:59:53 -0400 (0:00:00.378) 0:01:49.378 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005252", "end": "2025-08-02 08:59:53.647358", "rc": 0, "start": "2025-08-02 08:59:53.642106" } 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 02 August 2025 08:59:53 -0400 (0:00:00.377) 0:01:49.755 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 02 August 2025 08:59:53 -0400 (0:00:00.036) 0:01:49.791 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 02 August 2025 08:59:54 -0400 (0:00:00.370) 0:01:50.162 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 02 August 2025 08:59:54 -0400 (0:00:00.367) 0:01:50.530 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 August 2025 08:59:54 -0400 (0:00:00.347) 0:01:50.877 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 02 August 2025 08:59:54 -0400 (0:00:00.019) 0:01:50.897 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 02 August 2025 08:59:54 -0400 (0:00:00.018) 0:01:50.916 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 02 August 2025 08:59:54 -0400 (0:00:00.031) 0:01:50.947 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "23c1325261234c03aeea4e1c14ffc924-5.14.0-601.el9.x86_64_clone2", "index": "0", "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": "23c1325261234c03aeea4e1c14ffc924-5.14.0-601.el9.x86_64_clone1", "index": "1", "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" }, { "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": "2", "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": "3", "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 settings for Clone2] ********************************************** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Saturday 02 August 2025 08:59:55 -0400 (0:00:00.551) 0:01:51.499 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 02 August 2025 08:59:55 -0400 (0:00:00.043) 0:01:51.543 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 August 2025 08:59:55 -0400 (0:00:00.036) 0:01:51.579 ******* included: /tmp/collections-JvI/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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 August 2025 08:59:55 -0400 (0:00:00.019) 0:01:51.598 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 August 2025 08:59:55 -0400 (0:00:00.037) 0:01:51.636 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 August 2025 08:59:55 -0400 (0:00:00.018) 0:01:51.654 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 August 2025 08:59:55 -0400 (0:00:00.018) 0:01:51.673 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 August 2025 08:59:55 -0400 (0:00:00.031) 0:01:51.705 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 02 August 2025 08:59:55 -0400 (0:00:00.014) 0:01:51.719 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 02 August 2025 08:59:55 -0400 (0:00:00.053) 0:01:51.773 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 02 August 2025 08:59:57 -0400 (0:00:01.331) 0:01:53.104 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139565.0787346, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754139565.0777347, "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": 1754139565.0777347, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "185579609", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 02 August 2025 08:59:57 -0400 (0:00:00.366) 0:01:53.471 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 02 August 2025 08:59:57 -0400 (0:00:00.013) 0:01:53.484 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 02 August 2025 08:59:57 -0400 (0:00:00.013) 0:01:53.498 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 02 August 2025 08:59:57 -0400 (0:00:00.344) 0:01:53.842 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 02 August 2025 08:59:57 -0400 (0:00:00.042) 0:01:53.884 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139565.0787346, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754139565.0777347, "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": 1754139565.0777347, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "185579609", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 02 August 2025 08:59:58 -0400 (0:00:00.354) 0:01:54.239 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139513.8943968, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754139508.1644342, "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": 1754139508.1646488, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "518063907", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 02 August 2025 08:59:58 -0400 (0:00:00.360) 0:01:54.599 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005569", "end": "2025-08-02 08:59:58.966579", "rc": 0, "start": "2025-08-02 08:59:58.961010" } 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 02 August 2025 08:59:59 -0400 (0:00:00.371) 0:01:54.971 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 02 August 2025 08:59:59 -0400 (0:00:00.035) 0:01:55.006 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 02 August 2025 08:59:59 -0400 (0:00:00.367) 0:01:55.374 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 02 August 2025 08:59:59 -0400 (0:00:00.367) 0:01:55.742 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Saturday 02 August 2025 09:00:00 -0400 (0:00:00.361) 0:01:56.103 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Saturday 02 August 2025 09:00:00 -0400 (0:00:00.018) 0:01:56.122 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 August 2025 09:00:00 -0400 (0:00:00.059) 0:01:56.181 ******* included: /tmp/collections-JvI/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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 August 2025 09:00:00 -0400 (0:00:00.019) 0:01:56.200 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 August 2025 09:00:00 -0400 (0:00:00.072) 0:01:56.273 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 August 2025 09:00:00 -0400 (0:00:00.019) 0:01:56.292 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 August 2025 09:00:00 -0400 (0:00:00.052) 0:01:56.345 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 August 2025 09:00:00 -0400 (0:00:00.094) 0:01:56.440 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 02 August 2025 09:00:00 -0400 (0:00:00.014) 0:01:56.454 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 02 August 2025 09:00:00 -0400 (0:00:00.057) 0:01:56.512 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 02 August 2025 09:00:01 -0400 (0:00:01.372) 0:01:57.885 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139565.0787346, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754139565.0777347, "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": 1754139565.0777347, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "185579609", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 02 August 2025 09:00:02 -0400 (0:00:00.378) 0:01:58.263 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 02 August 2025 09:00:02 -0400 (0:00:00.015) 0:01:58.278 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 02 August 2025 09:00:02 -0400 (0:00:00.014) 0:01:58.293 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 02 August 2025 09:00:02 -0400 (0:00:00.361) 0:01:58.654 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 02 August 2025 09:00:02 -0400 (0:00:00.044) 0:01:58.698 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139565.0787346, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754139565.0777347, "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": 1754139565.0777347, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "185579609", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 02 August 2025 09:00:03 -0400 (0:00:00.374) 0:01:59.073 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139513.8943968, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754139508.1644342, "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": 1754139508.1646488, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "518063907", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 02 August 2025 09:00:03 -0400 (0:00:00.377) 0:01:59.450 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004865", "end": "2025-08-02 09:00:03.833361", "rc": 0, "start": "2025-08-02 09:00:03.828496" } 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 02 August 2025 09:00:03 -0400 (0:00:00.389) 0:01:59.840 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 02 August 2025 09:00:03 -0400 (0:00:00.036) 0:01:59.877 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 02 August 2025 09:00:04 -0400 (0:00:00.385) 0:02:00.262 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 02 August 2025 09:00:04 -0400 (0:00:00.384) 0:02:00.647 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 August 2025 09:00:05 -0400 (0:00:00.702) 0:02:01.350 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 02 August 2025 09:00:05 -0400 (0:00:00.023) 0:02:01.373 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 02 August 2025 09:00:05 -0400 (0:00:00.018) 0:02:01.392 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 02 August 2025 09:00:05 -0400 (0:00:00.032) 0:02:01.425 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": true, "id": "23c1325261234c03aeea4e1c14ffc924-5.14.0-601.el9.x86_64_clone2", "index": "0", "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", "default": false, "id": "d42d4d920e7b4742881e6c201718e9ed-5.14.0-601.el9.x86_64", "index": "1", "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": "2", "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 [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Saturday 02 August 2025 09:00:05 -0400 (0:00:00.523) 0:02:01.948 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 August 2025 09:00:06 -0400 (0:00:00.075) 0:02:02.024 ******* included: /tmp/collections-JvI/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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 August 2025 09:00:06 -0400 (0:00:00.020) 0:02:02.045 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 August 2025 09:00:06 -0400 (0:00:00.037) 0:02:02.082 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 August 2025 09:00:06 -0400 (0:00:00.019) 0:02:02.102 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 August 2025 09:00:06 -0400 (0:00:00.021) 0:02:02.123 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 August 2025 09:00:06 -0400 (0:00:00.036) 0:02:02.160 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 02 August 2025 09:00:06 -0400 (0:00:00.014) 0:02:02.174 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 02 August 2025 09:00:06 -0400 (0:00:00.053) 0:02:02.228 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 02 August 2025 09:00:07 -0400 (0:00:01.388) 0:02:03.616 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139565.0787346, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754139565.0777347, "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": 1754139565.0777347, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "185579609", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 02 August 2025 09:00:08 -0400 (0:00:00.368) 0:02:03.984 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 02 August 2025 09:00:08 -0400 (0:00:00.015) 0:02:03.999 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 02 August 2025 09:00:08 -0400 (0:00:00.013) 0:02:04.012 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 02 August 2025 09:00:08 -0400 (0:00:00.350) 0:02:04.363 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 02 August 2025 09:00:08 -0400 (0:00:00.043) 0:02:04.406 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139565.0787346, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1754139565.0777347, "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": 1754139565.0777347, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "185579609", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 02 August 2025 09:00:08 -0400 (0:00:00.369) 0:02:04.776 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139513.8943968, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b632a31d971efc8f08bfa125aa79a024a9164cde", "ctime": 1754139508.1644342, "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": 1754139508.1646488, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "518063907", "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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 02 August 2025 09:00:09 -0400 (0:00:00.378) 0:02:05.155 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005922", "end": "2025-08-02 09:00:09.533610", "rc": 0, "start": "2025-08-02 09:00:09.527688" } 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 02 August 2025 09:00:09 -0400 (0:00:00.381) 0:02:05.537 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 02 August 2025 09:00:09 -0400 (0:00:00.039) 0:02:05.576 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 02 August 2025 09:00:09 -0400 (0:00:00.374) 0:02:05.951 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 02 August 2025 09:00:10 -0400 (0:00:00.375) 0:02:06.326 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 August 2025 09:00:10 -0400 (0:00:00.591) 0:02:06.917 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 02 August 2025 09:00:10 -0400 (0:00:00.020) 0:02:06.938 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 02 August 2025 09:00:11 -0400 (0:00:00.019) 0:02:06.957 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 02 August 2025 09:00:11 -0400 (0:00:00.034) 0:02:06.991 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Saturday 02 August 2025 09:00:11 -0400 (0:00:00.485) 0:02:07.477 ******* 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-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Saturday 02 August 2025 09:00:11 -0400 (0:00:00.058) 0:02:07.535 ******* 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.047822", "end": "2025-08-02 09:00:11.932426", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-08-02 09:00:11.884604" } 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.047478", "end": "2025-08-02 09:00:12.319001", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-08-02 09:00:12.271523" } 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 02 August 2025 09:00:12 -0400 (0:00:00.790) 0:02:08.326 ******* 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.110956", "end": "2025-08-02 09:00:12.788450", "rc": 0, "start": "2025-08-02 09:00:12.677494" } 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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 02 August 2025 09:00:12 -0400 (0:00:00.468) 0:02:08.794 ******* included: /tmp/collections-JvI/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-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 02 August 2025 09:00:12 -0400 (0:00:00.014) 0:02:08.809 ******* changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 02 August 2025 09:00:36 -0400 (0:00:23.879) 0:02:32.689 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 02 August 2025 09:00:36 -0400 (0:00:00.015) 0:02:32.704 ******* 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-02T13:00:00.147155+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-02T12:59:59.788908+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 02 August 2025 09:00:36 -0400 (0:00:00.015) 0:02:32.720 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.88s /tmp/collections-JvI/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.55s /tmp/collections-JvI/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.41s /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 18.53s /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.01s /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.97s /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Gather architecture facts ----------------------------------------------- 2.00s /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.39s /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.39s /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.37s /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.34s /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.33s /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.33s /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.33s /tmp/collections-JvI/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.32s /tmp/collections-JvI/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 --- 1.13s /tmp/collections-JvI/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.90s /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Remove cloned kernels --------------------------------------------------- 0.79s /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.70s /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.67s /tmp/collections-JvI/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114