ansible-playbook [core 2.17.8] 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-gIQ executable location = /usr/local/bin/ansible-playbook python version = 3.12.9 (main, Feb 4 2025, 00:00:00) [GCC 14.2.1 20250110 (Red Hat 14.2.1-7)] (/usr/bin/python3.12) jinja version = 3.1.5 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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-gIQ/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-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 15 February 2025 08:06:58 -0500 (0:00:00.008) 0:00:00.008 ***** included: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 15 February 2025 08:06:58 -0500 (0:00:00.013) 0:00:00.022 ***** [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-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 15 February 2025 08:07:01 -0500 (0:00:03.203) 0:00:03.226 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 15 February 2025 08:07:01 -0500 (0:00:00.006) 0:00:03.233 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 15 February 2025 08:07:01 -0500 (0:00:00.057) 0:00:03.290 ***** included: /tmp/collections-gIQ/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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 15 February 2025 08:07:01 -0500 (0:00:00.021) 0:00:03.311 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 15 February 2025 08:07:01 -0500 (0:00:00.037) 0:00:03.349 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 15 February 2025 08:07:02 -0500 (0:00:00.522) 0:00:03.871 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 15 February 2025 08:07:02 -0500 (0:00:00.059) 0:00:03.931 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 15 February 2025 08:07:02 -0500 (0:00:00.051) 0:00:03.982 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 15 February 2025 08:07:02 -0500 (0:00:00.019) 0:00:04.001 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 15 February 2025 08:07:07 -0500 (0:00:05.009) 0:00:09.011 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739311139.034668, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1739311136.4206681, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9108817, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1739311136.4206681, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "3031487069", "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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 15 February 2025 08:07:08 -0500 (0:00:00.400) 0:00:09.411 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 15 February 2025 08:07:08 -0500 (0:00:00.017) 0:00:09.428 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 15 February 2025 08:07:08 -0500 (0:00:00.012) 0:00:09.440 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 15 February 2025 08:07:08 -0500 (0:00:00.351) 0:00:09.792 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 15 February 2025 08:07:08 -0500 (0:00:00.042) 0:00:09.835 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739624827.9319372, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1739311136.4206681, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9108817, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1739311136.4206681, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "3031487069", "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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 15 February 2025 08:07:08 -0500 (0:00:00.368) 0:00:10.203 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739272063.0877326, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dfb49473cfdfb0692b6563d6f37b8c29eefe8529", "ctime": 1739272063.0897324, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8965131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739272063.0897324, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6986, "uid": 0, "version": "3319865539", "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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 15 February 2025 08:07:09 -0500 (0:00:00.366) 0:00:10.570 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004369", "end": "2025-02-15 08:07:09.623847", "rc": 0, "start": "2025-02-15 08:07:09.619478" } 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 15 February 2025 08:07:09 -0500 (0:00:00.496) 0:00:11.067 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 15 February 2025 08:07:09 -0500 (0:00:00.037) 0:00:11.104 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 15 February 2025 08:07:10 -0500 (0:00:00.488) 0:00:11.593 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 15 February 2025 08:07:10 -0500 (0:00:00.388) 0:00:11.981 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 15 February 2025 08:07:11 -0500 (0:00:00.463) 0:00:12.445 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 15 February 2025 08:07:11 -0500 (0:00:00.017) 0:00:12.463 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 15 February 2025 08:07:11 -0500 (0:00:00.020) 0:00:12.483 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 15 February 2025 08:07:11 -0500 (0:00:00.033) 0:00:12.517 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "230932c71f8b4734bd13caf0b8b42bc9-6.12.0-51.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-51.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-51.el10.x86_64", "root": "UUID=49b6cb19-cb2a-494e-b555-a0de8d1dbbd4", "title": "CentOS Stream (6.12.0-51.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "230932c71f8b4734bd13caf0b8b42bc9-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-230932c71f8b4734bd13caf0b8b42bc9.img", "kernel": "/boot/vmlinuz-0-rescue-230932c71f8b4734bd13caf0b8b42bc9", "root": "UUID=49b6cb19-cb2a-494e-b555-a0de8d1dbbd4", "title": "CentOS Stream (0-rescue-230932c71f8b4734bd13caf0b8b42bc9) 10 (Coughlan)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 15 February 2025 08:07:11 -0500 (0:00:00.650) 0:00:13.167 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 15 February 2025 08:07:11 -0500 (0:00:00.006) 0:00:13.173 ***** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 15 February 2025 08:07:11 -0500 (0:00:00.002) 0:00:13.176 ***** included: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 15 February 2025 08:07:11 -0500 (0:00:00.038) 0:00:13.215 ***** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "230932c71f8b4734bd13caf0b8b42bc9-6.12.0-51.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-51.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-51.el10.x86_64", "root": "UUID=49b6cb19-cb2a-494e-b555-a0de8d1dbbd4", "title": "CentOS Stream (6.12.0-51.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 15 February 2025 08:07:11 -0500 (0:00:00.057) 0:00:13.272 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-51.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-51.el10.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "92cbd0d7abaf110987784d8529a62cb1f319b1b6", "dest": "/boot/vmlinuz-6.12.0-51.el10.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-51.el10.x86_64_clone1", "src": "/boot/vmlinuz-6.12.0-51.el10.x86_64" }, "md5sum": "e2321a43d912e1a68a7429911fbedfe5", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15857912, "src": "/boot/vmlinuz-6.12.0-51.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-51.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-51.el10.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "e50b84c9a11c68177a86fe79ba2d500460fbe285", "dest": "/boot/initramfs-6.12.0-51.el10.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-51.el10.x86_64.img_clone1", "src": "/boot/initramfs-6.12.0-51.el10.x86_64.img" }, "md5sum": "4a30d68eca237082785d7e7e2c5d94ed", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 29528353, "src": "/boot/initramfs-6.12.0-51.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 15 February 2025 08:07:13 -0500 (0:00:01.199) 0:00:14.472 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 15 February 2025 08:07:13 -0500 (0:00:00.064) 0:00:14.536 ***** included: /tmp/collections-gIQ/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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 15 February 2025 08:07:13 -0500 (0:00:00.035) 0:00:14.571 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 15 February 2025 08:07:13 -0500 (0:00:00.060) 0:00:14.632 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 15 February 2025 08:07:13 -0500 (0:00:00.021) 0:00:14.653 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 15 February 2025 08:07:13 -0500 (0:00:00.017) 0:00:14.671 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 15 February 2025 08:07:13 -0500 (0:00:00.037) 0:00:14.708 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 15 February 2025 08:07:13 -0500 (0:00:00.015) 0:00:14.724 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 15 February 2025 08:07:14 -0500 (0:00:00.774) 0:00:15.498 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739624827.9319372, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1739311136.4206681, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9108817, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1739311136.4206681, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "3031487069", "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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 15 February 2025 08:07:14 -0500 (0:00:00.388) 0:00:15.887 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 15 February 2025 08:07:14 -0500 (0:00:00.039) 0:00:15.927 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 15 February 2025 08:07:14 -0500 (0:00:00.019) 0:00:15.946 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 15 February 2025 08:07:14 -0500 (0:00:00.352) 0:00:16.299 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 15 February 2025 08:07:14 -0500 (0:00:00.063) 0:00:16.362 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739624827.9319372, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1739311136.4206681, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9108817, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1739311136.4206681, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "3031487069", "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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 15 February 2025 08:07:15 -0500 (0:00:00.398) 0:00:16.761 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739624830.5380192, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "24dd1d280771c0273a6ee13450afd165ec6490bf", "ctime": 1739624830.5369356, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134217922, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739624830.5380204, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "41362848", "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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 15 February 2025 08:07:15 -0500 (0:00:00.411) 0:00:17.172 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004394", "end": "2025-02-15 08:07:16.140092", "rc": 0, "start": "2025-02-15 08:07:16.135698" } 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 15 February 2025 08:07:16 -0500 (0:00:00.435) 0:00:17.608 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 15 February 2025 08:07:16 -0500 (0:00:00.064) 0:00:17.672 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 15 February 2025 08:07:16 -0500 (0:00:00.443) 0:00:18.116 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 15 February 2025 08:07:17 -0500 (0:00:00.452) 0:00:18.568 ***** 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-51.el10.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.12.0-51.el10.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 15 February 2025 08:07:17 -0500 (0:00:00.613) 0:00:19.182 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 15 February 2025 08:07:17 -0500 (0:00:00.051) 0:00:19.233 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 15 February 2025 08:07:17 -0500 (0:00:00.036) 0:00:19.270 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 15 February 2025 08:07:17 -0500 (0:00:00.048) 0:00:19.319 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 15 February 2025 08:07:17 -0500 (0:00:00.055) 0:00:19.375 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 15 February 2025 08:07:17 -0500 (0:00:00.006) 0:00:19.381 ***** 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.128928", "end": "2025-02-15 08:07:18.489183", "rc": 0, "start": "2025-02-15 08:07:18.360255" } STDOUT: args="ro rhgb crashkernel=1G-4G:192M,4G-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="rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-4G:192M,4G-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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 15 February 2025 08:07:18 -0500 (0:00:00.561) 0:00:19.943 ***** included: /tmp/collections-gIQ/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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 15 February 2025 08:07:18 -0500 (0:00:00.046) 0:00:19.989 ***** changed: [managed-node1] => { "changed": true, "elapsed": 28, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 15 February 2025 08:07:48 -0500 (0:00:29.492) 0:00:49.482 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 15 February 2025 08:07:48 -0500 (0:00:00.012) 0:00:49.494 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 15 February 2025 08:07:48 -0500 (0:00:00.015) 0:00:49.510 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 15 February 2025 08:07:48 -0500 (0:00:00.013) 0:00:49.524 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 15 February 2025 08:07:48 -0500 (0:00:00.051) 0:00:49.575 ***** included: /tmp/collections-gIQ/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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 15 February 2025 08:07:48 -0500 (0:00:00.016) 0:00:49.592 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 15 February 2025 08:07:48 -0500 (0:00:00.032) 0:00:49.624 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 15 February 2025 08:07:48 -0500 (0:00:00.016) 0:00:49.641 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 15 February 2025 08:07:48 -0500 (0:00:00.016) 0:00:49.657 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 15 February 2025 08:07:48 -0500 (0:00:00.029) 0:00:49.686 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 15 February 2025 08:07:48 -0500 (0:00:00.012) 0:00:49.699 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 15 February 2025 08:07:49 -0500 (0:00:01.374) 0:00:51.073 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739624838.4879305, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1739624838.4869306, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8965144, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1739624838.4869306, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "189834758", "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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 15 February 2025 08:07:50 -0500 (0:00:00.393) 0:00:51.467 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 15 February 2025 08:07:50 -0500 (0:00:00.013) 0:00:51.480 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 15 February 2025 08:07:50 -0500 (0:00:00.012) 0:00:51.493 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 15 February 2025 08:07:50 -0500 (0:00:00.346) 0:00:51.839 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 15 February 2025 08:07:50 -0500 (0:00:00.038) 0:00:51.878 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739624838.4879305, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1739624838.4869306, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8965144, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1739624838.4869306, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "189834758", "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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 15 February 2025 08:07:50 -0500 (0:00:00.356) 0:00:52.234 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739624835.7029321, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "24dd1d280771c0273a6ee13450afd165ec6490bf", "ctime": 1739624830.5369356, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134217922, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739624830.5380204, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "41362848", "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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 15 February 2025 08:07:51 -0500 (0:00:00.368) 0:00:52.602 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004435", "end": "2025-02-15 08:07:51.529568", "rc": 0, "start": "2025-02-15 08:07:51.525133" } 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 15 February 2025 08:07:51 -0500 (0:00:00.368) 0:00:52.971 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 15 February 2025 08:07:51 -0500 (0:00:00.032) 0:00:53.004 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 15 February 2025 08:07:51 -0500 (0:00:00.370) 0:00:53.374 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 15 February 2025 08:07:52 -0500 (0:00:00.369) 0:00:53.744 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 15 February 2025 08:07:52 -0500 (0:00:00.346) 0:00:54.091 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 15 February 2025 08:07:52 -0500 (0:00:00.019) 0:00:54.110 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 15 February 2025 08:07:52 -0500 (0:00:00.018) 0:00:54.128 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 15 February 2025 08:07:52 -0500 (0:00:00.028) 0:00:54.157 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "ec29e6bb6cd9cb72bfafc81e0b198f1a-6.12.0-51.el10.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.12.0-51.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.0-51.el10.x86_64_clone1", "root": "UUID=49b6cb19-cb2a-494e-b555-a0de8d1dbbd4", "title": "Clone1" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "230932c71f8b4734bd13caf0b8b42bc9-6.12.0-51.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.0-51.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-51.el10.x86_64", "root": "UUID=49b6cb19-cb2a-494e-b555-a0de8d1dbbd4", "title": "CentOS Stream (6.12.0-51.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "230932c71f8b4734bd13caf0b8b42bc9-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-230932c71f8b4734bd13caf0b8b42bc9.img", "kernel": "/boot/vmlinuz-0-rescue-230932c71f8b4734bd13caf0b8b42bc9", "root": "UUID=49b6cb19-cb2a-494e-b555-a0de8d1dbbd4", "title": "CentOS Stream (0-rescue-230932c71f8b4734bd13caf0b8b42bc9) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 15 February 2025 08:07:53 -0500 (0:00:00.503) 0:00:54.661 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 15 February 2025 08:07:53 -0500 (0:00:00.041) 0:00:54.702 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 15 February 2025 08:07:53 -0500 (0:00:00.050) 0:00:54.753 ***** included: /tmp/collections-gIQ/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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 15 February 2025 08:07:53 -0500 (0:00:00.016) 0:00:54.770 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 15 February 2025 08:07:53 -0500 (0:00:00.032) 0:00:54.803 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 15 February 2025 08:07:53 -0500 (0:00:00.017) 0:00:54.820 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 15 February 2025 08:07:53 -0500 (0:00:00.016) 0:00:54.837 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 15 February 2025 08:07:53 -0500 (0:00:00.029) 0:00:54.866 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 15 February 2025 08:07:53 -0500 (0:00:00.012) 0:00:54.879 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 15 February 2025 08:07:54 -0500 (0:00:00.745) 0:00:55.625 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739624838.4879305, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1739624838.4869306, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8965144, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1739624838.4869306, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "189834758", "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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 15 February 2025 08:07:54 -0500 (0:00:00.361) 0:00:55.986 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 15 February 2025 08:07:54 -0500 (0:00:00.014) 0:00:56.001 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 15 February 2025 08:07:54 -0500 (0:00:00.013) 0:00:56.014 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 15 February 2025 08:07:54 -0500 (0:00:00.344) 0:00:56.358 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 15 February 2025 08:07:55 -0500 (0:00:00.039) 0:00:56.398 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739624838.4879305, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1739624838.4869306, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8965144, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1739624838.4869306, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "189834758", "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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 15 February 2025 08:07:55 -0500 (0:00:00.360) 0:00:56.758 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739624835.7029321, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "24dd1d280771c0273a6ee13450afd165ec6490bf", "ctime": 1739624830.5369356, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134217922, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739624830.5380204, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "41362848", "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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 15 February 2025 08:07:55 -0500 (0:00:00.365) 0:00:57.123 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004696", "end": "2025-02-15 08:07:56.056436", "rc": 0, "start": "2025-02-15 08:07:56.051740" } 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 15 February 2025 08:07:56 -0500 (0:00:00.379) 0:00:57.503 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 15 February 2025 08:07:56 -0500 (0:00:00.033) 0:00:57.537 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 15 February 2025 08:07:56 -0500 (0:00:00.365) 0:00:57.902 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 15 February 2025 08:07:56 -0500 (0:00:00.371) 0:00:58.273 ***** 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-51.el10.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 15 February 2025 08:07:57 -0500 (0:00:00.586) 0:00:58.859 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 15 February 2025 08:07:57 -0500 (0:00:00.018) 0:00:58.877 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 15 February 2025 08:07:57 -0500 (0:00:00.017) 0:00:58.895 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 15 February 2025 08:07:57 -0500 (0:00:00.028) 0:00:58.924 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "230932c71f8b4734bd13caf0b8b42bc9-6.12.0-51.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-51.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-51.el10.x86_64", "root": "UUID=49b6cb19-cb2a-494e-b555-a0de8d1dbbd4", "title": "CentOS Stream (6.12.0-51.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "230932c71f8b4734bd13caf0b8b42bc9-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-230932c71f8b4734bd13caf0b8b42bc9.img", "kernel": "/boot/vmlinuz-0-rescue-230932c71f8b4734bd13caf0b8b42bc9", "root": "UUID=49b6cb19-cb2a-494e-b555-a0de8d1dbbd4", "title": "CentOS Stream (0-rescue-230932c71f8b4734bd13caf0b8b42bc9) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 15 February 2025 08:07:57 -0500 (0:00:00.466) 0:00:59.390 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 15 February 2025 08:07:58 -0500 (0:00:00.037) 0:00:59.428 ***** included: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 15 February 2025 08:07:58 -0500 (0:00:00.029) 0:00:59.458 ***** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "230932c71f8b4734bd13caf0b8b42bc9-6.12.0-51.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-51.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-51.el10.x86_64", "root": "UUID=49b6cb19-cb2a-494e-b555-a0de8d1dbbd4", "title": "CentOS Stream (6.12.0-51.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 15 February 2025 08:07:58 -0500 (0:00:00.044) 0:00:59.502 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-51.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-51.el10.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "92cbd0d7abaf110987784d8529a62cb1f319b1b6", "dest": "/boot/vmlinuz-6.12.0-51.el10.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-51.el10.x86_64_clone2", "src": "/boot/vmlinuz-6.12.0-51.el10.x86_64" }, "md5sum": "e2321a43d912e1a68a7429911fbedfe5", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15857912, "src": "/boot/vmlinuz-6.12.0-51.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-51.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-51.el10.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "e50b84c9a11c68177a86fe79ba2d500460fbe285", "dest": "/boot/initramfs-6.12.0-51.el10.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-51.el10.x86_64.img_clone2", "src": "/boot/initramfs-6.12.0-51.el10.x86_64.img" }, "md5sum": "4a30d68eca237082785d7e7e2c5d94ed", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 29528353, "src": "/boot/initramfs-6.12.0-51.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 15 February 2025 08:07:59 -0500 (0:00:00.966) 0:01:00.468 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 15 February 2025 08:07:59 -0500 (0:00:00.035) 0:01:00.504 ***** included: /tmp/collections-gIQ/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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 15 February 2025 08:07:59 -0500 (0:00:00.023) 0:01:00.527 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 15 February 2025 08:07:59 -0500 (0:00:00.034) 0:01:00.561 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 15 February 2025 08:07:59 -0500 (0:00:00.017) 0:01:00.579 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 15 February 2025 08:07:59 -0500 (0:00:00.018) 0:01:00.597 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 15 February 2025 08:07:59 -0500 (0:00:00.032) 0:01:00.629 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 15 February 2025 08:07:59 -0500 (0:00:00.012) 0:01:00.642 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 15 February 2025 08:07:59 -0500 (0:00:00.745) 0:01:01.388 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739624838.4879305, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1739624838.4869306, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8965144, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1739624838.4869306, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "189834758", "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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 15 February 2025 08:08:00 -0500 (0:00:00.368) 0:01:01.756 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 15 February 2025 08:08:00 -0500 (0:00:00.014) 0:01:01.770 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 15 February 2025 08:08:00 -0500 (0:00:00.012) 0:01:01.783 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 15 February 2025 08:08:00 -0500 (0:00:00.347) 0:01:02.130 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 15 February 2025 08:08:00 -0500 (0:00:00.043) 0:01:02.174 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739624838.4879305, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1739624838.4869306, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8965144, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1739624838.4869306, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "189834758", "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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 15 February 2025 08:08:01 -0500 (0:00:00.367) 0:01:02.541 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739624835.7029321, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "24dd1d280771c0273a6ee13450afd165ec6490bf", "ctime": 1739624830.5369356, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134217922, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739624830.5380204, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "41362848", "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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 15 February 2025 08:08:01 -0500 (0:00:00.369) 0:01:02.911 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005101", "end": "2025-02-15 08:08:01.869315", "rc": 0, "start": "2025-02-15 08:08:01.864214" } 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 15 February 2025 08:08:01 -0500 (0:00:00.405) 0:01:03.316 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 15 February 2025 08:08:01 -0500 (0:00:00.038) 0:01:03.355 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 15 February 2025 08:08:02 -0500 (0:00:00.370) 0:01:03.726 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 15 February 2025 08:08:02 -0500 (0:00:00.369) 0:01:04.096 ***** 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-51.el10.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.12.0-51.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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 15 February 2025 08:08:03 -0500 (0:00:00.565) 0:01:04.662 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 15 February 2025 08:08:03 -0500 (0:00:00.020) 0:01:04.682 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 15 February 2025 08:08:03 -0500 (0:00:00.021) 0:01:04.704 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 15 February 2025 08:08:03 -0500 (0:00:00.034) 0:01:04.738 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 15 February 2025 08:08:03 -0500 (0:00:00.033) 0:01:04.771 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 15 February 2025 08:08:03 -0500 (0:00:00.002) 0:01:04.773 ***** 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.125949", "end": "2025-02-15 08:08:03.809469", "rc": 0, "start": "2025-02-15 08:08:03.683520" } STDOUT: args="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-4G:192M,4G-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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 15 February 2025 08:08:03 -0500 (0:00:00.479) 0:01:05.253 ***** included: /tmp/collections-gIQ/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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 15 February 2025 08:08:03 -0500 (0:00:00.014) 0:01:05.268 ***** changed: [managed-node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 15 February 2025 08:08:35 -0500 (0:00:31.630) 0:01:36.898 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 15 February 2025 08:08:35 -0500 (0:00:00.014) 0:01:36.912 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 15 February 2025 08:08:35 -0500 (0:00:00.017) 0:01:36.929 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 15 February 2025 08:08:35 -0500 (0:00:00.019) 0:01:36.949 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 15 February 2025 08:08:35 -0500 (0:00:00.056) 0:01:37.005 ***** included: /tmp/collections-gIQ/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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 15 February 2025 08:08:35 -0500 (0:00:00.020) 0:01:37.026 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 15 February 2025 08:08:35 -0500 (0:00:00.032) 0:01:37.059 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 15 February 2025 08:08:35 -0500 (0:00:00.016) 0:01:37.076 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 15 February 2025 08:08:35 -0500 (0:00:00.017) 0:01:37.094 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 15 February 2025 08:08:35 -0500 (0:00:00.032) 0:01:37.126 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 15 February 2025 08:08:35 -0500 (0:00:00.013) 0:01:37.139 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 15 February 2025 08:08:37 -0500 (0:00:01.381) 0:01:38.521 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739624883.8081183, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1739624883.8071184, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8965136, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1739624883.8071184, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3302016651", "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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 15 February 2025 08:08:37 -0500 (0:00:00.399) 0:01:38.920 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 15 February 2025 08:08:37 -0500 (0:00:00.013) 0:01:38.934 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 15 February 2025 08:08:37 -0500 (0:00:00.012) 0:01:38.947 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 15 February 2025 08:08:37 -0500 (0:00:00.347) 0:01:39.294 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 15 February 2025 08:08:37 -0500 (0:00:00.042) 0:01:39.337 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739624883.8081183, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1739624883.8071184, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8965136, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1739624883.8071184, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3302016651", "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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 15 February 2025 08:08:38 -0500 (0:00:00.359) 0:01:39.697 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739624835.7029321, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "24dd1d280771c0273a6ee13450afd165ec6490bf", "ctime": 1739624830.5369356, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134217922, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739624830.5380204, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "41362848", "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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 15 February 2025 08:08:38 -0500 (0:00:00.367) 0:01:40.064 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005016", "end": "2025-02-15 08:08:38.991533", "rc": 0, "start": "2025-02-15 08:08:38.986517" } 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 15 February 2025 08:08:39 -0500 (0:00:00.369) 0:01:40.433 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 15 February 2025 08:08:39 -0500 (0:00:00.032) 0:01:40.466 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 15 February 2025 08:08:39 -0500 (0:00:00.367) 0:01:40.834 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 15 February 2025 08:08:39 -0500 (0:00:00.366) 0:01:41.201 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 15 February 2025 08:08:40 -0500 (0:00:00.349) 0:01:41.551 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 15 February 2025 08:08:40 -0500 (0:00:00.018) 0:01:41.570 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 15 February 2025 08:08:40 -0500 (0:00:00.017) 0:01:41.588 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 15 February 2025 08:08:40 -0500 (0:00:00.029) 0:01:41.617 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec29e6bb6cd9cb72bfafc81e0b198f1a-6.12.0-51.el10.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.12.0-51.el10.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.12.0-51.el10.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "230932c71f8b4734bd13caf0b8b42bc9-6.12.0-51.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.0-51.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-51.el10.x86_64", "root": "UUID=49b6cb19-cb2a-494e-b555-a0de8d1dbbd4", "title": "CentOS Stream (6.12.0-51.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "230932c71f8b4734bd13caf0b8b42bc9-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-230932c71f8b4734bd13caf0b8b42bc9.img", "kernel": "/boot/vmlinuz-0-rescue-230932c71f8b4734bd13caf0b8b42bc9", "root": "UUID=49b6cb19-cb2a-494e-b555-a0de8d1dbbd4", "title": "CentOS Stream (0-rescue-230932c71f8b4734bd13caf0b8b42bc9) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 15 February 2025 08:08:40 -0500 (0:00:00.495) 0:01:42.113 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 15 February 2025 08:08:40 -0500 (0:00:00.038) 0:01:42.152 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 15 February 2025 08:08:40 -0500 (0:00:00.063) 0:01:42.215 ***** included: /tmp/collections-gIQ/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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 15 February 2025 08:08:40 -0500 (0:00:00.017) 0:01:42.233 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 15 February 2025 08:08:40 -0500 (0:00:00.031) 0:01:42.265 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 15 February 2025 08:08:40 -0500 (0:00:00.017) 0:01:42.282 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 15 February 2025 08:08:40 -0500 (0:00:00.015) 0:01:42.298 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 15 February 2025 08:08:40 -0500 (0:00:00.029) 0:01:42.327 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 15 February 2025 08:08:40 -0500 (0:00:00.011) 0:01:42.338 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 15 February 2025 08:08:41 -0500 (0:00:00.745) 0:01:43.084 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739624883.8081183, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1739624883.8071184, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8965136, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1739624883.8071184, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3302016651", "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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 15 February 2025 08:08:42 -0500 (0:00:00.357) 0:01:43.441 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 15 February 2025 08:08:42 -0500 (0:00:00.014) 0:01:43.455 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 15 February 2025 08:08:42 -0500 (0:00:00.012) 0:01:43.467 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 15 February 2025 08:08:42 -0500 (0:00:00.346) 0:01:43.814 ***** ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 15 February 2025 08:08:42 -0500 (0:00:00.042) 0:01:43.857 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739624883.8081183, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1739624883.8071184, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8965136, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1739624883.8071184, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3302016651", "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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 15 February 2025 08:08:42 -0500 (0:00:00.367) 0:01:44.224 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1739624835.7029321, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "24dd1d280771c0273a6ee13450afd165ec6490bf", "ctime": 1739624830.5369356, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134217922, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739624830.5380204, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "41362848", "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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 15 February 2025 08:08:43 -0500 (0:00:00.367) 0:01:44.592 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004566", "end": "2025-02-15 08:08:43.523057", "rc": 0, "start": "2025-02-15 08:08:43.518491" } 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 15 February 2025 08:08:43 -0500 (0:00:00.373) 0:01:44.965 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 15 February 2025 08:08:43 -0500 (0:00:00.036) 0:01:45.001 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 15 February 2025 08:08:43 -0500 (0:00:00.378) 0:01:45.380 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 15 February 2025 08:08:44 -0500 (0:00:00.367) 0:01:45.748 ***** 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-51.el10.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 15 February 2025 08:08:44 -0500 (0:00:00.558) 0:01:46.306 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 15 February 2025 08:08:44 -0500 (0:00:00.018) 0:01:46.325 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 15 February 2025 08:08:44 -0500 (0:00:00.017) 0:01:46.343 ***** 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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 15 February 2025 08:08:44 -0500 (0:00:00.029) 0:01:46.372 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "230932c71f8b4734bd13caf0b8b42bc9-6.12.0-51.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-51.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-51.el10.x86_64", "root": "UUID=49b6cb19-cb2a-494e-b555-a0de8d1dbbd4", "title": "CentOS Stream (6.12.0-51.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "230932c71f8b4734bd13caf0b8b42bc9-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-230932c71f8b4734bd13caf0b8b42bc9.img", "kernel": "/boot/vmlinuz-0-rescue-230932c71f8b4734bd13caf0b8b42bc9", "root": "UUID=49b6cb19-cb2a-494e-b555-a0de8d1dbbd4", "title": "CentOS Stream (0-rescue-230932c71f8b4734bd13caf0b8b42bc9) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 15 February 2025 08:08:45 -0500 (0:00:00.462) 0:01:46.834 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 15 February 2025 08:08:45 -0500 (0:00:00.038) 0:01:46.873 ***** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.0-51.el10.x86_64_clone1" ], "delta": "0:00:00.042690", "end": "2025-02-15 08:08:45.820444", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-02-15 08:08:45.777754" } STDERR: The param /boot/vmlinuz-6.12.0-51.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-51.el10.x86_64_clone2" ], "delta": "0:00:00.041966", "end": "2025-02-15 08:08:46.200662", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-02-15 08:08:46.158696" } STDERR: The param /boot/vmlinuz-6.12.0-51.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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 15 February 2025 08:08:46 -0500 (0:00:00.783) 0:01:47.656 ***** 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.098978", "end": "2025-02-15 08:08:46.686187", "rc": 0, "start": "2025-02-15 08:08:46.587209" } STDOUT: args="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-4G:192M,4G-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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 15 February 2025 08:08:46 -0500 (0:00:00.474) 0:01:48.130 ***** included: /tmp/collections-gIQ/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-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 15 February 2025 08:08:46 -0500 (0:00:00.014) 0:01:48.145 ***** changed: [managed-node1] => { "changed": true, "elapsed": 27, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 15 February 2025 08:09:15 -0500 (0:00:28.806) 0:02:16.951 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 15 February 2025 08:09:15 -0500 (0:00:00.013) 0:02:16.964 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=118 changed=14 unreachable=0 failed=0 skipped=80 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 15 February 2025 08:09:15 -0500 (0:00:00.014) 0:02:16.978 ***** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 31.63s /tmp/collections-gIQ/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 -- 29.49s /tmp/collections-gIQ/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 -- 28.81s /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.01s /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 3.20s /tmp/collections-gIQ/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.38s /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.37s /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.20s /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 0.97s /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.78s /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.77s /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.75s /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.75s /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.75s /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.65s /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.61s /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.59s /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.57s /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.56s /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.56s /tmp/collections-gIQ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102