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-9A1 executable location = /usr/local/bin/ansible-playbook python version = 3.12.11 (main, Jun 12 2025, 00:00:00) [GCC 14.2.1 20250110 (Red Hat 14.2.1-8)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-9A1/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-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:11 Thursday 07 August 2025 11:03:59 -0400 (0:00:00.021) 0:00:00.021 ******* included: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Thursday 07 August 2025 11:03:59 -0400 (0:00:00.012) 0:00:00.033 ******* [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Thursday 07 August 2025 11:04:01 -0400 (0:00:01.975) 0:00:02.009 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Thursday 07 August 2025 11:04:01 -0400 (0:00:00.008) 0:00:02.018 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:04:01 -0400 (0:00:00.078) 0:00:02.096 ******* included: /tmp/collections-9A1/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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:04:01 -0400 (0:00:00.019) 0:00:02.116 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:04:01 -0400 (0:00:00.030) 0:00:02.146 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:04:01 -0400 (0:00:00.423) 0:00:02.570 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:04:01 -0400 (0:00:00.020) 0:00:02.591 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:04:01 -0400 (0:00:00.029) 0:00:02.620 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:04:01 -0400 (0:00:00.011) 0:00:02.632 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:04:01 -0400 (0:00:00.042) 0:00:02.674 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:04:07 -0400 (0:00:05.881) 0:00:08.555 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753980341.6005576, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1753980341.5998538, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5314483, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753980341.600558, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2128853484", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:04:07 -0400 (0:00:00.389) 0:00:08.944 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:04:07 -0400 (0:00:00.015) 0:00:08.959 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:04:07 -0400 (0:00:00.013) 0:00:08.973 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:04:08 -0400 (0:00:00.352) 0:00:09.325 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:04:08 -0400 (0:00:00.040) 0:00:09.366 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579047.8702419, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1753980341.5998538, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5314483, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753980341.600558, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2128853484", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:04:08 -0400 (0:00:00.362) 0:00:09.729 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753978327.369, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8972281f1ca6a8fea01f77353c25a78fce1f6c11", "ctime": 1753978327.37, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8943922, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753978327.37, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6975, "uid": 0, "version": "1134783182", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:04:09 -0400 (0:00:00.383) 0:00:10.112 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004951", "end": "2025-08-07 11:04:09.521908", "rc": 0, "start": "2025-08-07 11:04:09.516957" } 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:04:09 -0400 (0:00:00.443) 0:00:10.556 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:04:09 -0400 (0:00:00.030) 0:00:10.586 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:04:10 -0400 (0:00:00.432) 0:00:11.019 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:04:10 -0400 (0:00:00.361) 0:00:11.380 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:04:10 -0400 (0:00:00.420) 0:00:11.801 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:04:10 -0400 (0:00:00.025) 0:00:11.826 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:04:10 -0400 (0:00:00.018) 0:00:11.845 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:04:10 -0400 (0:00:00.025) 0:00:11.871 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "6244c38ae249433e87b65fbfbe3f4f2d-6.12.0-114.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (6.12.0-114.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "6244c38ae249433e87b65fbfbe3f4f2d-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d.img", "kernel": "/boot/vmlinuz-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (0-rescue-6244c38ae249433e87b65fbfbe3f4f2d) 10 (Coughlan)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Thursday 07 August 2025 11:04:11 -0400 (0:00:00.531) 0:00:12.402 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Thursday 07 August 2025 11:04:11 -0400 (0:00:00.004) 0:00:12.406 ******* META: triggered running handlers for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Thursday 07 August 2025 11:04:11 -0400 (0:00:00.001) 0:00:12.408 ******* ok: [managed-node1] => { "ansible_facts": { "__default_kernel": { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "6244c38ae249433e87b65fbfbe3f4f2d-6.12.0-114.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (6.12.0-114.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Thursday 07 August 2025 11:04:11 -0400 (0:00:00.036) 0:00:12.444 ******* included: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-6.12.0-114.el10.x86_64] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 07 August 2025 11:04:11 -0400 (0:00:00.024) 0:00:12.468 ******* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-114.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "99e149672d97bdaa501e90ae6c11e7a3a0fe6d3b", "dest": "/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1", "src": "/boot/vmlinuz-6.12.0-114.el10.x86_64" }, "md5sum": "7221bead18e7da345cadeaee64b241d9", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15939624, "src": "/boot/vmlinuz-6.12.0-114.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-114.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-114.el10.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "916b35272be073f4a3f1609f592dc6767f021894", "dest": "/boot/initramfs-6.12.0-114.el10.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-114.el10.x86_64.img_clone1", "src": "/boot/initramfs-6.12.0-114.el10.x86_64.img" }, "md5sum": "3de2ede7545b849e9a7095a0fa951299", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 47230528, "src": "/boot/initramfs-6.12.0-114.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 07 August 2025 11:04:12 -0400 (0:00:01.168) 0:00:13.637 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:04:12 -0400 (0:00:00.033) 0:00:13.671 ******* included: /tmp/collections-9A1/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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:04:12 -0400 (0:00:00.017) 0:00:13.688 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:04:12 -0400 (0:00:00.031) 0:00:13.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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:04:12 -0400 (0:00:00.016) 0:00:13.736 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:04:12 -0400 (0:00:00.015) 0:00:13.751 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:04:12 -0400 (0:00:00.028) 0:00:13.780 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:04:12 -0400 (0:00:00.010) 0:00:13.791 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:04:12 -0400 (0:00:00.056) 0:00:13.847 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:04:13 -0400 (0:00:00.790) 0:00:14.638 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579047.8702419, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1753980341.5998538, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5314483, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753980341.600558, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2128853484", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:04:14 -0400 (0:00:00.356) 0:00:14.994 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:04:14 -0400 (0:00:00.015) 0:00:15.009 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:04:14 -0400 (0:00:00.013) 0:00:15.023 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:04:14 -0400 (0:00:00.346) 0:00:15.369 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:04:14 -0400 (0:00:00.042) 0:00:15.412 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579047.8702419, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1753980341.5998538, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5314483, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753980341.600558, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2128853484", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:04:14 -0400 (0:00:00.359) 0:00:15.771 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579050.3468204, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754579050.345256, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754579050.346821, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2525420867", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:04:15 -0400 (0:00:00.360) 0:00:16.131 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004606", "end": "2025-08-07 11:04:15.478229", "rc": 0, "start": "2025-08-07 11:04:15.473623" } 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:04:15 -0400 (0:00:00.383) 0:00:16.515 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:04:15 -0400 (0:00:00.037) 0:00:16.553 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:04:15 -0400 (0:00:00.391) 0:00:16.944 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:04:16 -0400 (0:00:00.372) 0:00:17.316 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.12.0-114.el10.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default --make-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:04:17 -0400 (0:00:00.693) 0:00:18.010 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:04:17 -0400 (0:00:00.038) 0:00:18.049 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:04:17 -0400 (0:00:00.024) 0:00:18.074 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:04:17 -0400 (0:00:00.040) 0:00:18.115 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Thursday 07 August 2025 11:04:17 -0400 (0:00:00.045) 0:00:18.161 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 07 August 2025 11:04:17 -0400 (0:00:00.003) 0:00:18.164 ******* 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.129006", "end": "2025-08-07 11:04:17.650553", "rc": 0, "start": "2025-08-07 11:04:17.521547" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 07 August 2025 11:04:17 -0400 (0:00:00.528) 0:00:18.692 ******* included: /tmp/collections-9A1/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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 07 August 2025 11:04:17 -0400 (0:00:00.024) 0:00:18.717 ******* changed: [managed-node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 07 August 2025 11:04:49 -0400 (0:00:31.328) 0:00:50.045 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 07 August 2025 11:04:49 -0400 (0:00:00.012) 0:00:50.058 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 07 August 2025 11:04:49 -0400 (0:00:00.014) 0:00:50.072 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 07 August 2025 11:04:49 -0400 (0:00:00.015) 0:00:50.088 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:04:49 -0400 (0:00:00.051) 0:00:50.139 ******* included: /tmp/collections-9A1/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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:04:49 -0400 (0:00:00.021) 0:00:50.160 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:04:49 -0400 (0:00:00.043) 0:00:50.204 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:04:49 -0400 (0:00:00.018) 0:00:50.222 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:04:49 -0400 (0:00:00.018) 0:00:50.241 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:04:49 -0400 (0:00:00.034) 0:00:50.275 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:04:49 -0400 (0:00:00.019) 0:00:50.295 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:04:49 -0400 (0:00:00.069) 0:00:50.364 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:04:51 -0400 (0:00:01.714) 0:00:52.079 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579057.649298, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754579057.648298, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161084, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579057.648298, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2145251416", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:04:51 -0400 (0:00:00.410) 0:00:52.489 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:04:51 -0400 (0:00:00.019) 0:00:52.508 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:04:51 -0400 (0:00:00.017) 0:00:52.526 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:04:51 -0400 (0:00:00.373) 0:00:52.900 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:04:51 -0400 (0:00:00.037) 0:00:52.937 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579057.649298, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754579057.648298, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161084, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579057.648298, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2145251416", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:04:52 -0400 (0:00:00.360) 0:00:53.297 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579055.0792832, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754579050.345256, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754579050.346821, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2525420867", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:04:52 -0400 (0:00:00.365) 0:00:53.663 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005341", "end": "2025-08-07 11:04:53.007838", "rc": 0, "start": "2025-08-07 11:04:53.002497" } 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:04:53 -0400 (0:00:00.375) 0:00:54.039 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:04:53 -0400 (0:00:00.032) 0:00:54.072 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:04:53 -0400 (0:00:00.371) 0:00:54.443 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:04:53 -0400 (0:00:00.370) 0:00:54.814 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:04:54 -0400 (0:00:00.348) 0:00:55.163 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:04:54 -0400 (0:00:00.018) 0:00:55.181 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:04:54 -0400 (0:00:00.016) 0:00:55.197 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:04:54 -0400 (0:00:00.028) 0:00:55.225 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "ec285c561734530d8dff8ac3874cfc32-6.12.0-114.el10.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "Clone1" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "6244c38ae249433e87b65fbfbe3f4f2d-6.12.0-114.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (6.12.0-114.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "6244c38ae249433e87b65fbfbe3f4f2d-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d.img", "kernel": "/boot/vmlinuz-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (0-rescue-6244c38ae249433e87b65fbfbe3f4f2d) 10 (Coughlan)" } ] }, "changed": false } TASK [Clone again to check idempotency] **************************************** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Thursday 07 August 2025 11:04:54 -0400 (0:00:00.521) 0:00:55.747 ******* included: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-6.12.0-114.el10.x86_64] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 07 August 2025 11:04:54 -0400 (0:00:00.037) 0:00:55.785 ******* ok: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-114.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "99e149672d97bdaa501e90ae6c11e7a3a0fe6d3b", "dest": "/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1", "src": "/boot/vmlinuz-6.12.0-114.el10.x86_64" }, "md5sum": "7221bead18e7da345cadeaee64b241d9", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15939624, "src": "/boot/vmlinuz-6.12.0-114.el10.x86_64", "state": "file", "uid": 0 } ok: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-114.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-114.el10.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "916b35272be073f4a3f1609f592dc6767f021894", "dest": "/boot/initramfs-6.12.0-114.el10.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-114.el10.x86_64.img_clone1", "src": "/boot/initramfs-6.12.0-114.el10.x86_64.img" }, "md5sum": "3de2ede7545b849e9a7095a0fa951299", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 47230528, "src": "/boot/initramfs-6.12.0-114.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 07 August 2025 11:04:56 -0400 (0:00:01.498) 0:00:57.283 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:04:56 -0400 (0:00:00.045) 0:00:57.329 ******* included: /tmp/collections-9A1/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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:04:56 -0400 (0:00:00.017) 0:00:57.346 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:04:56 -0400 (0:00:00.035) 0:00:57.382 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:04:56 -0400 (0:00:00.021) 0:00:57.403 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:04:56 -0400 (0:00:00.018) 0:00:57.422 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:04:56 -0400 (0:00:00.032) 0:00:57.455 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:04:56 -0400 (0:00:00.011) 0:00:57.467 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:04:56 -0400 (0:00:00.059) 0:00:57.526 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:04:57 -0400 (0:00:00.787) 0:00:58.314 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579057.649298, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754579057.648298, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161084, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579057.648298, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2145251416", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:04:57 -0400 (0:00:00.359) 0:00:58.674 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:04:57 -0400 (0:00:00.013) 0:00:58.688 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:04:57 -0400 (0:00:00.012) 0:00:58.700 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:04:58 -0400 (0:00:00.348) 0:00:59.049 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:04:58 -0400 (0:00:00.039) 0:00:59.088 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579057.649298, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754579057.648298, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161084, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579057.648298, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2145251416", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:04:58 -0400 (0:00:00.364) 0:00:59.452 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579055.0792832, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754579050.345256, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754579050.346821, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2525420867", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:04:58 -0400 (0:00:00.367) 0:00:59.820 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004672", "end": "2025-08-07 11:04:59.159689", "rc": 0, "start": "2025-08-07 11:04:59.155017" } 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:04:59 -0400 (0:00:00.373) 0:01:00.193 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:04:59 -0400 (0:00:00.033) 0:01:00.227 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:04:59 -0400 (0:00:00.367) 0:01:00.594 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:04:59 -0400 (0:00:00.365) 0:01:00.959 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:05:00 -0400 (0:00:00.621) 0:01:01.581 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:05:00 -0400 (0:00:00.017) 0:01:01.599 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:05:00 -0400 (0:00:00.015) 0:01:01.614 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:05:00 -0400 (0:00:00.027) 0:01:01.641 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Thursday 07 August 2025 11:05:00 -0400 (0:00:00.030) 0:01:01.672 ******* META: triggered running handlers for managed-node1 TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 07 August 2025 11:05:00 -0400 (0:00:00.001) 0:01:01.673 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 07 August 2025 11:05:00 -0400 (0:00:00.014) 0:01:01.688 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:05:00 -0400 (0:00:00.051) 0:01:01.740 ******* included: /tmp/collections-9A1/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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:05:00 -0400 (0:00:00.017) 0:01:01.757 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:05:00 -0400 (0:00:00.032) 0:01:01.790 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:05:00 -0400 (0:00:00.016) 0:01:01.807 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:05:00 -0400 (0:00:00.015) 0:01:01.823 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:05:00 -0400 (0:00:00.029) 0:01:01.852 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:05:00 -0400 (0:00:00.014) 0:01:01.867 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:05:00 -0400 (0:00:00.050) 0:01:01.917 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:05:01 -0400 (0:00:00.799) 0:01:02.717 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579057.649298, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754579057.648298, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161084, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579057.648298, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2145251416", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:05:02 -0400 (0:00:00.374) 0:01:03.091 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:05:02 -0400 (0:00:00.013) 0:01:03.105 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:05:02 -0400 (0:00:00.012) 0:01:03.118 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:05:02 -0400 (0:00:00.358) 0:01:03.477 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:05:02 -0400 (0:00:00.039) 0:01:03.516 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579057.649298, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754579057.648298, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161084, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579057.648298, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2145251416", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:05:02 -0400 (0:00:00.371) 0:01:03.888 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579055.0792832, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754579050.345256, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754579050.346821, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2525420867", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:05:03 -0400 (0:00:00.382) 0:01:04.270 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005049", "end": "2025-08-07 11:05:03.619980", "rc": 0, "start": "2025-08-07 11:05:03.614931" } 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:05:03 -0400 (0:00:00.383) 0:01:04.654 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:05:03 -0400 (0:00:00.032) 0:01:04.687 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:05:04 -0400 (0:00:00.368) 0:01:05.055 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:05:04 -0400 (0:00:00.378) 0:01:05.434 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:05:04 -0400 (0:00:00.363) 0:01:05.797 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:05:04 -0400 (0:00:00.018) 0:01:05.816 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:05:04 -0400 (0:00:00.016) 0:01:05.833 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:05:04 -0400 (0:00:00.026) 0:01:05.860 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "ec285c561734530d8dff8ac3874cfc32-6.12.0-114.el10.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "Clone1" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "6244c38ae249433e87b65fbfbe3f4f2d-6.12.0-114.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (6.12.0-114.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "6244c38ae249433e87b65fbfbe3f4f2d-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d.img", "kernel": "/boot/vmlinuz-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (0-rescue-6244c38ae249433e87b65fbfbe3f4f2d) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings for Clone1] ********************************************** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Thursday 07 August 2025 11:05:05 -0400 (0:00:00.504) 0:01:06.364 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Thursday 07 August 2025 11:05:05 -0400 (0:00:00.040) 0:01:06.405 ******* included: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-6.12.0-114.el10.x86_64] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 07 August 2025 11:05:05 -0400 (0:00:00.026) 0:01:06.431 ******* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-114.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-114.el10.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "99e149672d97bdaa501e90ae6c11e7a3a0fe6d3b", "dest": "/boot/vmlinuz-6.12.0-114.el10.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-114.el10.x86_64_clone2", "src": "/boot/vmlinuz-6.12.0-114.el10.x86_64" }, "md5sum": "7221bead18e7da345cadeaee64b241d9", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15939624, "src": "/boot/vmlinuz-6.12.0-114.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-114.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-114.el10.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "916b35272be073f4a3f1609f592dc6767f021894", "dest": "/boot/initramfs-6.12.0-114.el10.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-114.el10.x86_64.img_clone2", "src": "/boot/initramfs-6.12.0-114.el10.x86_64.img" }, "md5sum": "3de2ede7545b849e9a7095a0fa951299", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 47230528, "src": "/boot/initramfs-6.12.0-114.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 07 August 2025 11:05:06 -0400 (0:00:00.925) 0:01:07.356 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:05:06 -0400 (0:00:00.036) 0:01:07.393 ******* included: /tmp/collections-9A1/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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:05:06 -0400 (0:00:00.017) 0:01:07.410 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:05:06 -0400 (0:00:00.031) 0:01:07.442 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:05:06 -0400 (0:00:00.017) 0:01:07.460 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:05:06 -0400 (0:00:00.016) 0:01:07.476 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:05:06 -0400 (0:00:00.029) 0:01:07.506 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:05:06 -0400 (0:00:00.013) 0:01:07.519 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:05:06 -0400 (0:00:00.058) 0:01:07.577 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:05:07 -0400 (0:00:00.784) 0:01:08.362 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579057.649298, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754579057.648298, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161084, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579057.648298, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2145251416", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:05:07 -0400 (0:00:00.366) 0:01:08.729 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:05:07 -0400 (0:00:00.013) 0:01:08.742 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:05:07 -0400 (0:00:00.012) 0:01:08.755 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:05:08 -0400 (0:00:00.346) 0:01:09.101 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:05:08 -0400 (0:00:00.040) 0:01:09.142 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579057.649298, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754579057.648298, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161084, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579057.648298, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2145251416", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:05:08 -0400 (0:00:00.371) 0:01:09.513 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579055.0792832, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754579050.345256, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754579050.346821, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2525420867", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:05:08 -0400 (0:00:00.365) 0:01:09.878 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004971", "end": "2025-08-07 11:05:09.214698", "rc": 0, "start": "2025-08-07 11:05:09.209727" } 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:05:09 -0400 (0:00:00.369) 0:01:10.247 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:05:09 -0400 (0:00:00.033) 0:01:10.281 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:05:09 -0400 (0:00:00.368) 0:01:10.649 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:05:10 -0400 (0:00:00.374) 0:01:11.024 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.12.0-114.el10.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.12.0-114.el10.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:05:10 -0400 (0:00:00.637) 0:01:11.661 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:05:10 -0400 (0:00:00.018) 0:01:11.679 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:05:10 -0400 (0:00:00.017) 0:01:11.697 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:05:10 -0400 (0:00:00.029) 0:01:11.726 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Thursday 07 August 2025 11:05:10 -0400 (0:00:00.030) 0:01:11.757 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 07 August 2025 11:05:10 -0400 (0:00:00.002) 0:01:11.759 ******* 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.151459", "end": "2025-08-07 11:05:11.223741", "rc": 0, "start": "2025-08-07 11:05:11.072282" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 07 August 2025 11:05:11 -0400 (0:00:00.497) 0:01:12.257 ******* included: /tmp/collections-9A1/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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 07 August 2025 11:05:11 -0400 (0:00:00.014) 0:01:12.272 ******* changed: [managed-node1] => { "changed": true, "elapsed": 31, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 07 August 2025 11:05:43 -0400 (0:00:32.348) 0:01:44.621 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 07 August 2025 11:05:43 -0400 (0:00:00.012) 0:01:44.633 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 07 August 2025 11:05:43 -0400 (0:00:00.015) 0:01:44.648 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 07 August 2025 11:05:43 -0400 (0:00:00.016) 0:01:44.665 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:05:43 -0400 (0:00:00.051) 0:01:44.717 ******* included: /tmp/collections-9A1/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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:05:43 -0400 (0:00:00.017) 0:01:44.735 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:05:43 -0400 (0:00:00.031) 0:01:44.766 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:05:43 -0400 (0:00:00.017) 0:01:44.783 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:05:43 -0400 (0:00:00.015) 0:01:44.799 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:05:43 -0400 (0:00:00.028) 0:01:44.827 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:05:43 -0400 (0:00:00.012) 0:01:44.839 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:05:43 -0400 (0:00:00.043) 0:01:44.883 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:05:45 -0400 (0:00:01.678) 0:01:46.561 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579111.2225094, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754579111.2215095, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161062, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579111.2215095, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "4002824257", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:05:45 -0400 (0:00:00.391) 0:01:46.953 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:05:45 -0400 (0:00:00.013) 0:01:46.967 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:05:45 -0400 (0:00:00.012) 0:01:46.979 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:05:46 -0400 (0:00:00.340) 0:01:47.320 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:05:46 -0400 (0:00:00.039) 0:01:47.360 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579111.2225094, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754579111.2215095, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161062, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579111.2215095, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "4002824257", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:05:46 -0400 (0:00:00.358) 0:01:47.719 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579055.0792832, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754579050.345256, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754579050.346821, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2525420867", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:05:47 -0400 (0:00:00.363) 0:01:48.082 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004367", "end": "2025-08-07 11:05:47.416067", "rc": 0, "start": "2025-08-07 11:05:47.411700" } 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:05:47 -0400 (0:00:00.374) 0:01:48.457 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:05:47 -0400 (0:00:00.033) 0:01:48.490 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:05:47 -0400 (0:00:00.364) 0:01:48.855 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:05:48 -0400 (0:00:00.363) 0:01:49.219 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:05:48 -0400 (0:00:00.348) 0:01:49.567 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:05:48 -0400 (0:00:00.017) 0:01:49.585 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:05:48 -0400 (0:00:00.016) 0:01:49.602 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:05:48 -0400 (0:00:00.027) 0:01:49.630 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec285c561734530d8dff8ac3874cfc32-6.12.0-114.el10.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "ec285c561734530d8dff8ac3874cfc32-6.12.0-114.el10.x86_64_clone1", "index": "1", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "Clone1" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "6244c38ae249433e87b65fbfbe3f4f2d-6.12.0-114.el10.x86_64", "index": "2", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (6.12.0-114.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "6244c38ae249433e87b65fbfbe3f4f2d-0-rescue", "index": "3", "initrd": "/boot/initramfs-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d.img", "kernel": "/boot/vmlinuz-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (0-rescue-6244c38ae249433e87b65fbfbe3f4f2d) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings for Clone2] ********************************************** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Thursday 07 August 2025 11:05:49 -0400 (0:00:00.531) 0:01:50.161 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Thursday 07 August 2025 11:05:49 -0400 (0:00:00.039) 0:01:50.201 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:05:49 -0400 (0:00:00.033) 0:01:50.234 ******* included: /tmp/collections-9A1/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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:05:49 -0400 (0:00:00.016) 0:01:50.251 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:05:49 -0400 (0:00:00.030) 0:01:50.282 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:05:49 -0400 (0:00:00.017) 0:01:50.299 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:05:49 -0400 (0:00:00.016) 0:01:50.316 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:05:49 -0400 (0:00:00.028) 0:01:50.345 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:05:49 -0400 (0:00:00.012) 0:01:50.357 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:05:49 -0400 (0:00:00.049) 0:01:50.407 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.781) 0:01:51.188 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579111.2225094, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754579111.2215095, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161062, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579111.2215095, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "4002824257", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.363) 0:01:51.552 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.013) 0:01:51.566 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.014) 0:01:51.580 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.349) 0:01:51.930 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.040) 0:01:51.970 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579111.2225094, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754579111.2215095, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161062, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579111.2215095, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "4002824257", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:05:51 -0400 (0:00:00.364) 0:01:52.334 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579055.0792832, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754579050.345256, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754579050.346821, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2525420867", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:05:51 -0400 (0:00:00.371) 0:01:52.706 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005966", "end": "2025-08-07 11:05:52.041514", "rc": 0, "start": "2025-08-07 11:05:52.035548" } 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:05:52 -0400 (0:00:00.370) 0:01:53.076 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:05:52 -0400 (0:00:00.032) 0:01:53.109 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:05:52 -0400 (0:00:00.371) 0:01:53.481 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:05:52 -0400 (0:00:00.375) 0:01:53.857 ******* fatal: [managed-node1]: FAILED! => { "changed": false } MSG: Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-6.12.0-114.el10.x86_64_clone1, /boot/vmlinuz-6.12.0-114.el10.x86_64_clone2 TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Thursday 07 August 2025 11:05:53 -0400 (0:00:00.350) 0:01:54.208 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Thursday 07 August 2025 11:05:53 -0400 (0:00:00.017) 0:01:54.225 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:05:53 -0400 (0:00:00.054) 0:01:54.280 ******* included: /tmp/collections-9A1/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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:05:53 -0400 (0:00:00.017) 0:01:54.297 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:05:53 -0400 (0:00:00.035) 0:01:54.333 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:05:53 -0400 (0:00:00.017) 0:01:54.350 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:05:53 -0400 (0:00:00.017) 0:01:54.368 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:05:53 -0400 (0:00:00.030) 0:01:54.398 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:05:53 -0400 (0:00:00.012) 0:01:54.411 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:05:53 -0400 (0:00:00.080) 0:01:54.491 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:05:54 -0400 (0:00:00.813) 0:01:55.305 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579111.2225094, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754579111.2215095, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161062, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579111.2215095, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "4002824257", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:05:54 -0400 (0:00:00.360) 0:01:55.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 : Generate /etc/default/grub] ******* task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:05:54 -0400 (0:00:00.013) 0:01:55.679 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:05:54 -0400 (0:00:00.011) 0:01:55.691 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:05:55 -0400 (0:00:00.399) 0:01:56.090 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:05:55 -0400 (0:00:00.039) 0:01:56.130 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579111.2225094, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754579111.2215095, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161062, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579111.2215095, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "4002824257", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:05:55 -0400 (0:00:00.362) 0:01:56.492 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579055.0792832, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754579050.345256, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754579050.346821, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2525420867", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:05:55 -0400 (0:00:00.367) 0:01:56.860 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005125", "end": "2025-08-07 11:05:56.195335", "rc": 0, "start": "2025-08-07 11:05:56.190210" } 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:05:56 -0400 (0:00:00.369) 0:01:57.230 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:05:56 -0400 (0:00:00.034) 0:01:57.264 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:05:56 -0400 (0:00:00.369) 0:01:57.634 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.360) 0:01:57.994 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.645) 0:01:58.639 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.018) 0:01:58.658 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.017) 0:01:58.675 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.029) 0:01:58.705 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": true, "id": "ec285c561734530d8dff8ac3874cfc32-6.12.0-114.el10.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "6244c38ae249433e87b65fbfbe3f4f2d-6.12.0-114.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (6.12.0-114.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "6244c38ae249433e87b65fbfbe3f4f2d-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d.img", "kernel": "/boot/vmlinuz-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (0-rescue-6244c38ae249433e87b65fbfbe3f4f2d) 10 (Coughlan)" } ] }, "changed": false } TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Thursday 07 August 2025 11:05:58 -0400 (0:00:00.488) 0:01:59.193 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:05:58 -0400 (0:00:00.067) 0:01:59.260 ******* included: /tmp/collections-9A1/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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:05:58 -0400 (0:00:00.017) 0:01:59.278 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:05:58 -0400 (0:00:00.031) 0:01:59.310 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:05:58 -0400 (0:00:00.017) 0:01:59.327 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:05:58 -0400 (0:00:00.016) 0:01:59.343 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:05:58 -0400 (0:00:00.029) 0:01:59.373 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:05:58 -0400 (0:00:00.013) 0:01:59.386 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:05:58 -0400 (0:00:00.046) 0:01:59.432 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:05:59 -0400 (0:00:00.782) 0:02:00.215 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579111.2225094, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754579111.2215095, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161062, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579111.2215095, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "4002824257", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:05:59 -0400 (0:00:00.360) 0:02:00.575 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:05:59 -0400 (0:00:00.020) 0:02:00.596 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:05:59 -0400 (0:00:00.012) 0:02:00.609 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:05:59 -0400 (0:00:00.343) 0:02:00.953 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:06:00 -0400 (0:00:00.039) 0:02:00.992 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579111.2225094, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754579111.2215095, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161062, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754579111.2215095, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "4002824257", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:06:00 -0400 (0:00:00.361) 0:02:01.354 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579055.0792832, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754579050.345256, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754579050.346821, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2525420867", "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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:06:00 -0400 (0:00:00.366) 0:02:01.720 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005340", "end": "2025-08-07 11:06:01.060880", "rc": 0, "start": "2025-08-07 11:06:01.055540" } 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.374) 0:02:02.094 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.034) 0:02:02.129 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.382) 0:02:02.511 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.377) 0:02:02.888 ******* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.12.0-114.el10.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:06:02 -0400 (0:00:00.579) 0:02:03.468 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:06:02 -0400 (0:00:00.018) 0:02:03.487 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:06:02 -0400 (0:00:00.018) 0:02:03.506 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:06:02 -0400 (0:00:00.029) 0:02:03.536 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "6244c38ae249433e87b65fbfbe3f4f2d-6.12.0-114.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (6.12.0-114.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "6244c38ae249433e87b65fbfbe3f4f2d-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d.img", "kernel": "/boot/vmlinuz-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (0-rescue-6244c38ae249433e87b65fbfbe3f4f2d) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that kernel is removed {{ item }}] ******************************** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Thursday 07 August 2025 11:06:03 -0400 (0:00:00.477) 0:02:04.013 ******* 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-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Thursday 07 August 2025 11:06:03 -0400 (0:00:00.051) 0:02:04.065 ******* changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1" ], "delta": "0:00:00.043322", "end": "2025-08-07 11:06:03.430828", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-08-07 11:06:03.387506" } STDERR: The param /boot/vmlinuz-6.12.0-114.el10.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.0-114.el10.x86_64_clone2" ], "delta": "0:00:00.043911", "end": "2025-08-07 11:06:03.819425", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-08-07 11:06:03.775514" } STDERR: The param /boot/vmlinuz-6.12.0-114.el10.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 07 August 2025 11:06:03 -0400 (0:00:00.792) 0:02:04.857 ******* 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.099840", "end": "2025-08-07 11:06:04.271375", "rc": 0, "start": "2025-08-07 11:06:04.171535" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 07 August 2025 11:06:04 -0400 (0:00:00.450) 0:02:05.308 ******* included: /tmp/collections-9A1/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-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 07 August 2025 11:06:04 -0400 (0:00:00.014) 0:02:05.323 ******* changed: [managed-node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 07 August 2025 11:06:35 -0400 (0:00:31.353) 0:02:36.676 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 07 August 2025 11:06:35 -0400 (0:00:00.013) 0:02:36.690 ******* 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-07T15:05:53.221292+00:00Z", "host": "managed-node1", "message": "Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-6.12.0-114.el10.x86_64_clone1, /boot/vmlinuz-6.12.0-114.el10.x86_64_clone2", "start_time": "2025-08-07T15:05:52.873708+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 07 August 2025 11:06:35 -0400 (0:00:00.014) 0:02:36.704 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 32.35s /tmp/collections-9A1/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 -- 31.35s /tmp/collections-9A1/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 -- 31.33s /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.88s /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Gather architecture facts ----------------------------------------------- 1.98s /tmp/collections-9A1/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.71s /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.68s /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Copy kernel and initrd for test purposes from /boot/vmlinuz-6.12.0-114.el10.x86_64 --- 1.50s /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-6.12.0-114.el10.x86_64 --- 1.17s /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-6.12.0-114.el10.x86_64 --- 0.93s /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.81s /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.80s /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Remove cloned kernels --------------------------------------------------- 0.79s /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.79s /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.79s /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.78s /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.78s /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.78s /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.69s /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.65s /tmp/collections-9A1/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114