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-NXq 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-NXq/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-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 02 August 2025 09:01:32 -0400 (0:00:00.029) 0:00:00.029 ******* included: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 02 August 2025 09:01:32 -0400 (0:00:00.016) 0:00:00.045 ******* [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-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 02 August 2025 09:01:35 -0400 (0:00:02.061) 0:00:02.107 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 02 August 2025 09:01:35 -0400 (0:00:00.008) 0:00:02.115 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 August 2025 09:01:35 -0400 (0:00:00.075) 0:00:02.191 ******* included: /tmp/collections-NXq/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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 August 2025 09:01:35 -0400 (0:00:00.022) 0:00:02.213 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 August 2025 09:01:35 -0400 (0:00:00.038) 0:00:02.252 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 August 2025 09:01:35 -0400 (0:00:00.449) 0:00:02.702 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 August 2025 09:01:35 -0400 (0:00:00.023) 0:00:02.725 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 August 2025 09:01:35 -0400 (0:00:00.033) 0:00:02.759 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 02 August 2025 09:01:35 -0400 (0:00:00.012) 0:00:02.771 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 02 August 2025 09:01:35 -0400 (0:00:00.050) 0:00:02.821 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 02 August 2025 09:01:44 -0400 (0:00:08.840) 0:00:11.662 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 02 August 2025 09:01:44 -0400 (0:00:00.403) 0:00:12.066 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 02 August 2025 09:01:45 -0400 (0:00:00.015) 0:00:12.081 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 02 August 2025 09:01:45 -0400 (0:00:00.013) 0:00:12.094 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 02 August 2025 09:01:45 -0400 (0:00:00.363) 0:00:12.458 ******* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 02 August 2025 09:01:45 -0400 (0:00:00.044) 0:00:12.503 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139704.9148228, "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 02 August 2025 09:01:45 -0400 (0:00:00.387) 0:00:12.890 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 02 August 2025 09:01:46 -0400 (0:00:00.381) 0:00:13.271 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004212", "end": "2025-08-02 09:01:46.682420", "rc": 0, "start": "2025-08-02 09:01:46.678208" } 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 02 August 2025 09:01:46 -0400 (0:00:00.530) 0:00:13.802 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 02 August 2025 09:01:46 -0400 (0:00:00.036) 0:00:13.838 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 02 August 2025 09:01:47 -0400 (0:00:00.545) 0:00:14.384 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 02 August 2025 09:01:47 -0400 (0:00:00.384) 0:00:14.768 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 August 2025 09:01:48 -0400 (0:00:00.523) 0:00:15.292 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 02 August 2025 09:01:48 -0400 (0:00:00.020) 0:00:15.312 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 02 August 2025 09:01:48 -0400 (0:00:00.019) 0:00:15.332 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 02 August 2025 09:01:48 -0400 (0:00:00.035) 0:00:15.368 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 02 August 2025 09:01:48 -0400 (0:00:00.667) 0:00:16.035 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 02 August 2025 09:01:48 -0400 (0:00:00.007) 0:00:16.043 ******* META: triggered running handlers for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 02 August 2025 09:01:48 -0400 (0:00:00.003) 0:00:16.046 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Saturday 02 August 2025 09:01:49 -0400 (0:00:00.073) 0:00:16.120 ******* included: /tmp/collections-NXq/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-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 02 August 2025 09:01:49 -0400 (0:00:00.051) 0:00:16.171 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 02 August 2025 09:01:50 -0400 (0:00:01.300) 0:00:17.471 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 August 2025 09:01:50 -0400 (0:00:00.042) 0:00:17.514 ******* included: /tmp/collections-NXq/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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 August 2025 09:01:50 -0400 (0:00:00.020) 0:00:17.534 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 August 2025 09:01:50 -0400 (0:00:00.036) 0:00:17.571 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 August 2025 09:01:50 -0400 (0:00:00.019) 0:00:17.591 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 August 2025 09:01:50 -0400 (0:00:00.018) 0:00:17.610 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 August 2025 09:01:50 -0400 (0:00:00.034) 0:00:17.644 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 02 August 2025 09:01:50 -0400 (0:00:00.013) 0:00:17.658 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 02 August 2025 09:01:50 -0400 (0:00:00.067) 0:00:17.726 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 02 August 2025 09:01:51 -0400 (0:00:00.822) 0:00:18.549 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139704.9148228, "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 02 August 2025 09:01:51 -0400 (0:00:00.416) 0:00:18.965 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 02 August 2025 09:01:51 -0400 (0:00:00.024) 0:00:18.990 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 02 August 2025 09:01:51 -0400 (0:00:00.022) 0:00:19.012 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 02 August 2025 09:01:52 -0400 (0:00:00.410) 0:00:19.423 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 02 August 2025 09:01:52 -0400 (0:00:00.067) 0:00:19.490 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139704.9148228, "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 02 August 2025 09:01:52 -0400 (0:00:00.411) 0:00:19.902 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139707.649186, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754139707.6478279, "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": 1754139707.6491868, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "996752965", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 02 August 2025 09:01:53 -0400 (0:00:00.420) 0:00:20.322 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004233", "end": "2025-08-02 09:01:53.625835", "rc": 0, "start": "2025-08-02 09:01:53.621602" } 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 02 August 2025 09:01:53 -0400 (0:00:00.424) 0:00:20.746 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 02 August 2025 09:01:53 -0400 (0:00:00.036) 0:00:20.783 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 02 August 2025 09:01:54 -0400 (0:00:00.405) 0:00:21.189 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 02 August 2025 09:01:54 -0400 (0:00:00.437) 0:00:21.626 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 August 2025 09:01:55 -0400 (0:00:00.594) 0:00:22.220 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 02 August 2025 09:01:55 -0400 (0:00:00.020) 0:00:22.240 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 02 August 2025 09:01:55 -0400 (0:00:00.019) 0:00:22.260 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 02 August 2025 09:01:55 -0400 (0:00:00.033) 0:00:22.293 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Saturday 02 August 2025 09:01:55 -0400 (0:00:00.055) 0:00:22.349 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 02 August 2025 09:01:55 -0400 (0:00:00.003) 0:00:22.353 ******* 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.130430", "end": "2025-08-02 09:01:55.739913", "rc": 0, "start": "2025-08-02 09:01:55.609483" } 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 02 August 2025 09:01:55 -0400 (0:00:00.512) 0:00:22.866 ******* included: /tmp/collections-NXq/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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 02 August 2025 09:01:55 -0400 (0:00:00.022) 0:00:22.888 ******* changed: [managed-node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 02 August 2025 09:02:27 -0400 (0:00:31.558) 0:00:54.446 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 02 August 2025 09:02:27 -0400 (0:00:00.023) 0:00:54.470 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 02 August 2025 09:02:27 -0400 (0:00:00.031) 0:00:54.501 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 02 August 2025 09:02:27 -0400 (0:00:00.028) 0:00:54.530 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 August 2025 09:02:27 -0400 (0:00:00.111) 0:00:54.642 ******* included: /tmp/collections-NXq/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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 August 2025 09:02:27 -0400 (0:00:00.036) 0:00:54.678 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 August 2025 09:02:27 -0400 (0:00:00.059) 0:00:54.737 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 August 2025 09:02:27 -0400 (0:00:00.027) 0:00:54.764 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 August 2025 09:02:27 -0400 (0:00:00.021) 0:00:54.786 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 August 2025 09:02:27 -0400 (0:00:00.039) 0:00:54.826 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 02 August 2025 09:02:27 -0400 (0:00:00.016) 0:00:54.843 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 02 August 2025 09:02:27 -0400 (0:00:00.058) 0:00:54.902 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 02 August 2025 09:02:29 -0400 (0:00:01.604) 0:00:56.506 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139715.7388432, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754139715.7378433, "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": 1754139715.7378433, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "4170184658", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 02 August 2025 09:02:29 -0400 (0:00:00.400) 0:00:56.906 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 02 August 2025 09:02:29 -0400 (0:00:00.014) 0:00:56.921 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 02 August 2025 09:02:29 -0400 (0:00:00.013) 0:00:56.934 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 02 August 2025 09:02:30 -0400 (0:00:00.376) 0:00:57.311 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 02 August 2025 09:02:30 -0400 (0:00:00.046) 0:00:57.357 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139715.7388432, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754139715.7378433, "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": 1754139715.7378433, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "4170184658", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 02 August 2025 09:02:30 -0400 (0:00:00.395) 0:00:57.753 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139713.1748383, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754139707.6478279, "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": 1754139707.6491868, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "996752965", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 02 August 2025 09:02:31 -0400 (0:00:00.393) 0:00:58.146 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004796", "end": "2025-08-02 09:02:31.129908", "rc": 0, "start": "2025-08-02 09:02:31.125112" } 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 02 August 2025 09:02:31 -0400 (0:00:00.398) 0:00:58.544 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 02 August 2025 09:02:31 -0400 (0:00:00.037) 0:00:58.581 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 02 August 2025 09:02:31 -0400 (0:00:00.392) 0:00:58.974 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 02 August 2025 09:02:32 -0400 (0:00:00.405) 0:00:59.380 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 August 2025 09:02:32 -0400 (0:00:00.378) 0:00:59.759 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 02 August 2025 09:02:32 -0400 (0:00:00.019) 0:00:59.778 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 02 August 2025 09:02:32 -0400 (0:00:00.019) 0:00:59.798 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 02 August 2025 09:02:32 -0400 (0:00:00.032) 0:00:59.830 ******* 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": "ec228de4e5b26bc47b7678a4db53caa6-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-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Saturday 02 August 2025 09:02:33 -0400 (0:00:00.517) 0:01:00.347 ******* included: /tmp/collections-NXq/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-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 02 August 2025 09:02:33 -0400 (0:00:00.040) 0:01:00.388 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 02 August 2025 09:02:34 -0400 (0:00:01.399) 0:01:01.787 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 August 2025 09:02:34 -0400 (0:00:00.040) 0:01:01.828 ******* included: /tmp/collections-NXq/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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 August 2025 09:02:34 -0400 (0:00:00.020) 0:01:01.849 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 August 2025 09:02:34 -0400 (0:00:00.037) 0:01:01.887 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 August 2025 09:02:34 -0400 (0:00:00.019) 0:01:01.906 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 August 2025 09:02:34 -0400 (0:00:00.019) 0:01:01.925 ******* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 August 2025 09:02:34 -0400 (0:00:00.034) 0:01:01.959 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 02 August 2025 09:02:34 -0400 (0:00:00.012) 0:01:01.972 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 02 August 2025 09:02:34 -0400 (0:00:00.067) 0:01:02.040 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 02 August 2025 09:02:35 -0400 (0:00:00.816) 0:01:02.856 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139715.7388432, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754139715.7378433, "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": 1754139715.7378433, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "4170184658", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 02 August 2025 09:02:36 -0400 (0:00:00.377) 0:01:03.234 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 02 August 2025 09:02:36 -0400 (0:00:00.015) 0:01:03.249 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 02 August 2025 09:02:36 -0400 (0:00:00.014) 0:01:03.264 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 02 August 2025 09:02:36 -0400 (0:00:00.365) 0:01:03.629 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 02 August 2025 09:02:36 -0400 (0:00:00.044) 0:01:03.674 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139715.7388432, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754139715.7378433, "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": 1754139715.7378433, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "4170184658", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 02 August 2025 09:02:36 -0400 (0:00:00.380) 0:01:04.054 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139713.1748383, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754139707.6478279, "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": 1754139707.6491868, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "996752965", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 02 August 2025 09:02:37 -0400 (0:00:00.391) 0:01:04.445 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004476", "end": "2025-08-02 09:02:37.710129", "rc": 0, "start": "2025-08-02 09:02:37.705653" } 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 02 August 2025 09:02:37 -0400 (0:00:00.387) 0:01:04.833 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 02 August 2025 09:02:37 -0400 (0:00:00.037) 0:01:04.870 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 02 August 2025 09:02:38 -0400 (0:00:00.384) 0:01:05.255 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 02 August 2025 09:02:38 -0400 (0:00:00.379) 0:01:05.634 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 August 2025 09:02:39 -0400 (0:00:00.643) 0:01:06.278 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 02 August 2025 09:02:39 -0400 (0:00:00.020) 0:01:06.298 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 02 August 2025 09:02:39 -0400 (0:00:00.018) 0:01:06.316 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 02 August 2025 09:02:39 -0400 (0:00:00.032) 0:01:06.348 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Saturday 02 August 2025 09:02:39 -0400 (0:00:00.034) 0:01:06.383 ******* META: triggered running handlers for managed-node1 TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 02 August 2025 09:02:39 -0400 (0:00:00.001) 0:01:06.385 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 02 August 2025 09:02:39 -0400 (0:00:00.017) 0:01:06.403 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 August 2025 09:02:39 -0400 (0:00:00.068) 0:01:06.471 ******* included: /tmp/collections-NXq/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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 August 2025 09:02:39 -0400 (0:00:00.027) 0:01:06.498 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 August 2025 09:02:39 -0400 (0:00:00.036) 0:01:06.535 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 August 2025 09:02:39 -0400 (0:00:00.020) 0:01:06.555 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 August 2025 09:02:39 -0400 (0:00:00.021) 0:01:06.576 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 August 2025 09:02:39 -0400 (0:00:00.035) 0:01:06.612 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 02 August 2025 09:02:39 -0400 (0:00:00.014) 0:01:06.626 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 02 August 2025 09:02:39 -0400 (0:00:00.052) 0:01:06.678 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 02 August 2025 09:02:40 -0400 (0:00:00.850) 0:01:07.529 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139715.7388432, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754139715.7378433, "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": 1754139715.7378433, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "4170184658", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 02 August 2025 09:02:40 -0400 (0:00:00.378) 0:01:07.908 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 02 August 2025 09:02:40 -0400 (0:00:00.016) 0:01:07.924 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 02 August 2025 09:02:40 -0400 (0:00:00.014) 0:01:07.939 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 02 August 2025 09:02:41 -0400 (0:00:00.358) 0:01:08.298 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 02 August 2025 09:02:41 -0400 (0:00:00.045) 0:01:08.344 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139715.7388432, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754139715.7378433, "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": 1754139715.7378433, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "4170184658", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 02 August 2025 09:02:41 -0400 (0:00:00.374) 0:01:08.718 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139713.1748383, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754139707.6478279, "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": 1754139707.6491868, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "996752965", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 02 August 2025 09:02:42 -0400 (0:00:00.380) 0:01:09.098 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004740", "end": "2025-08-02 09:02:42.365942", "rc": 0, "start": "2025-08-02 09:02:42.361202" } 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 02 August 2025 09:02:42 -0400 (0:00:00.389) 0:01:09.488 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 02 August 2025 09:02:42 -0400 (0:00:00.041) 0:01:09.529 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 02 August 2025 09:02:42 -0400 (0:00:00.385) 0:01:09.915 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 02 August 2025 09:02:43 -0400 (0:00:00.385) 0:01:10.300 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 August 2025 09:02:43 -0400 (0:00:00.366) 0:01:10.667 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 02 August 2025 09:02:43 -0400 (0:00:00.023) 0:01:10.690 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 02 August 2025 09:02:43 -0400 (0:00:00.020) 0:01:10.710 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 02 August 2025 09:02:43 -0400 (0:00:00.033) 0:01:10.744 ******* 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": "ec228de4e5b26bc47b7678a4db53caa6-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-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Saturday 02 August 2025 09:02:44 -0400 (0:00:00.523) 0:01:11.268 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Saturday 02 August 2025 09:02:44 -0400 (0:00:00.047) 0:01:11.315 ******* included: /tmp/collections-NXq/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-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 02 August 2025 09:02:44 -0400 (0:00:00.032) 0:01:11.348 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 02 August 2025 09:02:45 -0400 (0:00:00.940) 0:01:12.289 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 August 2025 09:02:45 -0400 (0:00:00.043) 0:01:12.333 ******* included: /tmp/collections-NXq/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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 August 2025 09:02:45 -0400 (0:00:00.021) 0:01:12.354 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 August 2025 09:02:45 -0400 (0:00:00.036) 0:01:12.391 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 August 2025 09:02:45 -0400 (0:00:00.019) 0:01:12.411 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 August 2025 09:02:45 -0400 (0:00:00.019) 0:01:12.430 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 August 2025 09:02:45 -0400 (0:00:00.034) 0:01:12.465 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 02 August 2025 09:02:45 -0400 (0:00:00.014) 0:01:12.480 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 02 August 2025 09:02:45 -0400 (0:00:00.068) 0:01:12.548 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 02 August 2025 09:02:46 -0400 (0:00:00.827) 0:01:13.376 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139715.7388432, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754139715.7378433, "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": 1754139715.7378433, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "4170184658", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 02 August 2025 09:02:46 -0400 (0:00:00.376) 0:01:13.752 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 02 August 2025 09:02:46 -0400 (0:00:00.015) 0:01:13.768 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 02 August 2025 09:02:46 -0400 (0:00:00.014) 0:01:13.783 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 02 August 2025 09:02:47 -0400 (0:00:00.359) 0:01:14.142 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 02 August 2025 09:02:47 -0400 (0:00:00.045) 0:01:14.188 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139715.7388432, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754139715.7378433, "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": 1754139715.7378433, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "4170184658", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 02 August 2025 09:02:47 -0400 (0:00:00.377) 0:01:14.566 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139713.1748383, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754139707.6478279, "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": 1754139707.6491868, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "996752965", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 02 August 2025 09:02:47 -0400 (0:00:00.381) 0:01:14.947 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004340", "end": "2025-08-02 09:02:48.214146", "rc": 0, "start": "2025-08-02 09:02:48.209806" } 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 02 August 2025 09:02:48 -0400 (0:00:00.386) 0:01:15.334 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 02 August 2025 09:02:48 -0400 (0:00:00.038) 0:01:15.372 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 02 August 2025 09:02:48 -0400 (0:00:00.385) 0:01:15.757 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 02 August 2025 09:02:49 -0400 (0:00:00.383) 0:01:16.140 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 August 2025 09:02:49 -0400 (0:00:00.660) 0:01:16.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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 02 August 2025 09:02:49 -0400 (0:00:00.020) 0:01:16.821 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 02 August 2025 09:02:49 -0400 (0:00:00.019) 0:01:16.841 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 02 August 2025 09:02:49 -0400 (0:00:00.033) 0:01:16.875 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Saturday 02 August 2025 09:02:49 -0400 (0:00:00.036) 0:01:16.912 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 02 August 2025 09:02:49 -0400 (0:00:00.002) 0:01:16.914 ******* 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.156739", "end": "2025-08-02 09:02:50.313971", "rc": 0, "start": "2025-08-02 09:02:50.157232" } 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 02 August 2025 09:02:50 -0400 (0:00:00.522) 0:01:17.437 ******* included: /tmp/collections-NXq/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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 02 August 2025 09:02:50 -0400 (0:00:00.016) 0:01:17.454 ******* changed: [managed-node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 02 August 2025 09:03:22 -0400 (0:00:31.803) 0:01:49.257 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 02 August 2025 09:03:22 -0400 (0:00:00.014) 0:01:49.271 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 02 August 2025 09:03:22 -0400 (0:00:00.017) 0:01:49.289 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 02 August 2025 09:03:22 -0400 (0:00:00.017) 0:01:49.307 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 August 2025 09:03:22 -0400 (0:00:00.061) 0:01:49.369 ******* included: /tmp/collections-NXq/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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 August 2025 09:03:22 -0400 (0:00:00.021) 0:01:49.390 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 August 2025 09:03:22 -0400 (0:00:00.036) 0:01:49.426 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 August 2025 09:03:22 -0400 (0:00:00.020) 0:01:49.446 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 August 2025 09:03:22 -0400 (0:00:00.018) 0:01:49.465 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 August 2025 09:03:22 -0400 (0:00:00.033) 0:01:49.499 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 02 August 2025 09:03:22 -0400 (0:00:00.014) 0:01:49.514 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 02 August 2025 09:03:22 -0400 (0:00:00.050) 0:01:49.564 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 02 August 2025 09:03:24 -0400 (0:00:01.611) 0:01:51.176 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139770.3126922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754139770.311692, "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": 1754139770.311692, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2583445714", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 02 August 2025 09:03:24 -0400 (0:00:00.410) 0:01:51.587 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 02 August 2025 09:03:24 -0400 (0:00:00.014) 0:01:51.602 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 02 August 2025 09:03:24 -0400 (0:00:00.013) 0:01:51.615 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 02 August 2025 09:03:24 -0400 (0:00:00.359) 0:01:51.975 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 02 August 2025 09:03:24 -0400 (0:00:00.043) 0:01:52.018 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139770.3126922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754139770.311692, "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": 1754139770.311692, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2583445714", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 02 August 2025 09:03:25 -0400 (0:00:00.377) 0:01:52.396 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139713.1748383, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754139707.6478279, "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": 1754139707.6491868, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "996752965", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 02 August 2025 09:03:25 -0400 (0:00:00.377) 0:01:52.774 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005044", "end": "2025-08-02 09:03:26.042842", "rc": 0, "start": "2025-08-02 09:03:26.037798" } 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 02 August 2025 09:03:26 -0400 (0:00:00.392) 0:01:53.166 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 02 August 2025 09:03:26 -0400 (0:00:00.042) 0:01:53.208 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 02 August 2025 09:03:26 -0400 (0:00:00.390) 0:01:53.599 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 02 August 2025 09:03:26 -0400 (0:00:00.386) 0:01:53.986 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 August 2025 09:03:27 -0400 (0:00:00.365) 0:01:54.351 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 02 August 2025 09:03:27 -0400 (0:00:00.021) 0:01:54.373 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 02 August 2025 09:03:27 -0400 (0:00:00.021) 0:01:54.394 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 02 August 2025 09:03:27 -0400 (0:00:00.033) 0:01:54.428 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec228de4e5b26bc47b7678a4db53caa6-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": "ec228de4e5b26bc47b7678a4db53caa6-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-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Saturday 02 August 2025 09:03:27 -0400 (0:00:00.556) 0:01:54.984 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 02 August 2025 09:03:27 -0400 (0:00:00.047) 0:01:55.031 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 August 2025 09:03:28 -0400 (0:00:00.040) 0:01:55.072 ******* included: /tmp/collections-NXq/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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 August 2025 09:03:28 -0400 (0:00:00.021) 0:01:55.094 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 August 2025 09:03:28 -0400 (0:00:00.040) 0:01:55.134 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 August 2025 09:03:28 -0400 (0:00:00.020) 0:01:55.155 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 August 2025 09:03:28 -0400 (0:00:00.020) 0:01:55.175 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 August 2025 09:03:28 -0400 (0:00:00.035) 0:01:55.211 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 02 August 2025 09:03:28 -0400 (0:00:00.015) 0:01:55.226 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 02 August 2025 09:03:28 -0400 (0:00:00.069) 0:01:55.296 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 02 August 2025 09:03:29 -0400 (0:00:00.828) 0:01:56.124 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139770.3126922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754139770.311692, "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": 1754139770.311692, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2583445714", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 02 August 2025 09:03:29 -0400 (0:00:00.381) 0:01:56.506 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 02 August 2025 09:03:29 -0400 (0:00:00.015) 0:01:56.521 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 02 August 2025 09:03:29 -0400 (0:00:00.014) 0:01:56.536 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 02 August 2025 09:03:29 -0400 (0:00:00.358) 0:01:56.894 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 02 August 2025 09:03:29 -0400 (0:00:00.044) 0:01:56.939 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139770.3126922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754139770.311692, "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": 1754139770.311692, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2583445714", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 02 August 2025 09:03:30 -0400 (0:00:00.384) 0:01:57.324 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139713.1748383, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754139707.6478279, "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": 1754139707.6491868, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "996752965", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 02 August 2025 09:03:30 -0400 (0:00:00.377) 0:01:57.701 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004474", "end": "2025-08-02 09:03:30.968405", "rc": 0, "start": "2025-08-02 09:03:30.963931" } 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 02 August 2025 09:03:31 -0400 (0:00:00.388) 0:01:58.090 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 02 August 2025 09:03:31 -0400 (0:00:00.037) 0:01:58.128 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 02 August 2025 09:03:31 -0400 (0:00:00.387) 0:01:58.515 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 02 August 2025 09:03:31 -0400 (0:00:00.380) 0:01:58.895 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Saturday 02 August 2025 09:03:32 -0400 (0:00:00.368) 0:01:59.263 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Saturday 02 August 2025 09:03:32 -0400 (0:00:00.019) 0:01:59.282 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 August 2025 09:03:32 -0400 (0:00:00.077) 0:01:59.360 ******* included: /tmp/collections-NXq/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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 August 2025 09:03:32 -0400 (0:00:00.020) 0:01:59.380 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 August 2025 09:03:32 -0400 (0:00:00.069) 0:01:59.450 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 August 2025 09:03:32 -0400 (0:00:00.019) 0:01:59.470 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 August 2025 09:03:32 -0400 (0:00:00.046) 0:01:59.517 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 August 2025 09:03:32 -0400 (0:00:00.087) 0:01:59.604 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 02 August 2025 09:03:32 -0400 (0:00:00.014) 0:01:59.618 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 02 August 2025 09:03:32 -0400 (0:00:00.059) 0:01:59.678 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 02 August 2025 09:03:33 -0400 (0:00:00.804) 0:02:00.483 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139770.3126922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754139770.311692, "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": 1754139770.311692, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2583445714", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 02 August 2025 09:03:33 -0400 (0:00:00.375) 0:02:00.858 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 02 August 2025 09:03:33 -0400 (0:00:00.016) 0:02:00.875 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 02 August 2025 09:03:33 -0400 (0:00:00.015) 0:02:00.890 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 02 August 2025 09:03:34 -0400 (0:00:00.360) 0:02:01.251 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 02 August 2025 09:03:34 -0400 (0:00:00.044) 0:02:01.295 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139770.3126922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754139770.311692, "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": 1754139770.311692, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2583445714", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 02 August 2025 09:03:34 -0400 (0:00:00.375) 0:02:01.671 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139713.1748383, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754139707.6478279, "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": 1754139707.6491868, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "996752965", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 02 August 2025 09:03:34 -0400 (0:00:00.378) 0:02:02.049 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005163", "end": "2025-08-02 09:03:35.315664", "rc": 0, "start": "2025-08-02 09:03:35.310501" } 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 02 August 2025 09:03:35 -0400 (0:00:00.388) 0:02:02.438 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 02 August 2025 09:03:35 -0400 (0:00:00.037) 0:02:02.476 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 02 August 2025 09:03:35 -0400 (0:00:00.385) 0:02:02.862 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 02 August 2025 09:03:36 -0400 (0:00:00.384) 0:02:03.246 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 August 2025 09:03:36 -0400 (0:00:00.681) 0:02:03.928 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 02 August 2025 09:03:36 -0400 (0:00:00.021) 0:02:03.950 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 02 August 2025 09:03:36 -0400 (0:00:00.020) 0:02:03.971 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 02 August 2025 09:03:36 -0400 (0:00:00.033) 0:02:04.004 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": true, "id": "ec228de4e5b26bc47b7678a4db53caa6-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-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Saturday 02 August 2025 09:03:37 -0400 (0:00:00.514) 0:02:04.519 ******* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 02 August 2025 09:03:37 -0400 (0:00:00.083) 0:02:04.603 ******* included: /tmp/collections-NXq/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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 02 August 2025 09:03:37 -0400 (0:00:00.021) 0:02:04.624 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 02 August 2025 09:03:37 -0400 (0:00:00.038) 0:02:04.662 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 02 August 2025 09:03:37 -0400 (0:00:00.020) 0:02:04.682 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 02 August 2025 09:03:37 -0400 (0:00:00.020) 0:02:04.703 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 02 August 2025 09:03:37 -0400 (0:00:00.036) 0:02:04.740 ******* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 02 August 2025 09:03:37 -0400 (0:00:00.014) 0:02:04.755 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 02 August 2025 09:03:37 -0400 (0:00:00.057) 0:02:04.813 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 02 August 2025 09:03:38 -0400 (0:00:00.809) 0:02:05.622 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139770.3126922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754139770.311692, "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": 1754139770.311692, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2583445714", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 02 August 2025 09:03:38 -0400 (0:00:00.375) 0:02:05.998 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 02 August 2025 09:03:38 -0400 (0:00:00.015) 0:02:06.014 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 02 August 2025 09:03:38 -0400 (0:00:00.014) 0:02:06.028 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 02 August 2025 09:03:39 -0400 (0:00:00.361) 0:02:06.390 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 02 August 2025 09:03:39 -0400 (0:00:00.053) 0:02:06.444 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139770.3126922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754139770.311692, "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": 1754139770.311692, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2583445714", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 02 August 2025 09:03:39 -0400 (0:00:00.377) 0:02:06.821 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754139713.1748383, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754139707.6478279, "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": 1754139707.6491868, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "996752965", "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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 02 August 2025 09:03:40 -0400 (0:00:00.381) 0:02:07.202 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004495", "end": "2025-08-02 09:03:40.470803", "rc": 0, "start": "2025-08-02 09:03:40.466308" } 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 02 August 2025 09:03:40 -0400 (0:00:00.389) 0:02:07.592 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 02 August 2025 09:03:40 -0400 (0:00:00.040) 0:02:07.633 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 02 August 2025 09:03:40 -0400 (0:00:00.386) 0:02:08.019 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 02 August 2025 09:03:41 -0400 (0:00:00.387) 0:02:08.407 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 02 August 2025 09:03:41 -0400 (0:00:00.585) 0:02:08.992 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 02 August 2025 09:03:41 -0400 (0:00:00.021) 0:02:09.013 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 02 August 2025 09:03:41 -0400 (0:00:00.020) 0:02:09.034 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 02 August 2025 09:03:41 -0400 (0:00:00.035) 0:02:09.070 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Saturday 02 August 2025 09:03:42 -0400 (0:00:00.486) 0:02:09.556 ******* 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-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Saturday 02 August 2025 09:03:42 -0400 (0:00:00.063) 0:02:09.620 ******* 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.044327", "end": "2025-08-02 09:03:42.907076", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-08-02 09:03:42.862749" } 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.045116", "end": "2025-08-02 09:03:43.308528", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-08-02 09:03:43.263412" } 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 02 August 2025 09:03:43 -0400 (0:00:00.813) 0:02:10.433 ******* 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.102796", "end": "2025-08-02 09:03:43.780040", "rc": 0, "start": "2025-08-02 09:03:43.677244" } 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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 02 August 2025 09:03:43 -0400 (0:00:00.470) 0:02:10.904 ******* included: /tmp/collections-NXq/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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 02 August 2025 09:03:43 -0400 (0:00:00.017) 0:02:10.922 ******* changed: [managed-node1] => { "changed": true, "elapsed": 29, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 02 August 2025 09:04:14 -0400 (0:00:30.884) 0:02:41.806 ******* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 02 August 2025 09:04:14 -0400 (0:00:00.015) 0:02:41.822 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=156 changed=14 unreachable=0 failed=0 skipped=121 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.13", "end_time": "2025-08-02T13:03:32.191695+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-02T13:03:31.827048+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 02 August 2025 09:04:14 -0400 (0:00:00.016) 0:02:41.839 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 31.80s /tmp/collections-NXq/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.56s /tmp/collections-NXq/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 -- 30.88s /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 8.84s /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Gather architecture facts ----------------------------------------------- 2.06s /tmp/collections-NXq/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.61s /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.60s /tmp/collections-NXq/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.40s /tmp/collections-NXq/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.30s /tmp/collections-NXq/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.94s /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.85s /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.83s /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.83s /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.82s /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.82s /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Remove cloned kernels --------------------------------------------------- 0.81s /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.81s /tmp/collections-NXq/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-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.68s /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.67s /tmp/collections-NXq/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151