ansible-playbook [core 2.17.7] 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-PiL executable location = /usr/local/bin/ansible-playbook python version = 3.12.8 (main, Dec 3 2024, 00:00:00) [GCC 14.2.1 20241104 (Red Hat 14.2.1-6)] (/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-PiL/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-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 25 January 2025 07:47:52 -0500 (0:00:00.008) 0:00:00.008 ****** included: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 25 January 2025 07:47:52 -0500 (0:00:00.013) 0:00:00.021 ****** [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-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 25 January 2025 07:47:54 -0500 (0:00:02.663) 0:00:02.685 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 25 January 2025 07:47:54 -0500 (0:00:00.004) 0:00:02.689 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 January 2025 07:47:54 -0500 (0:00:00.054) 0:00:02.744 ****** included: /tmp/collections-PiL/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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 January 2025 07:47:54 -0500 (0:00:00.017) 0:00:02.761 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 January 2025 07:47:54 -0500 (0:00:00.031) 0:00:02.793 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 January 2025 07:47:55 -0500 (0:00:00.436) 0:00:03.229 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 January 2025 07:47:55 -0500 (0:00:00.020) 0:00:03.250 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 January 2025 07:47:55 -0500 (0:00:00.032) 0:00:03.282 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 25 January 2025 07:47:55 -0500 (0:00:00.013) 0:00:03.296 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 25 January 2025 07:48:00 -0500 (0:00:05.543) 0:00:08.840 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737446595.828486, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1737446595.828486, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4647950, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737446595.828486, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2628227407", "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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 25 January 2025 07:48:01 -0500 (0:00:01.049) 0:00:09.889 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 25 January 2025 07:48:01 -0500 (0:00:00.013) 0:00:09.902 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 25 January 2025 07:48:01 -0500 (0:00:00.012) 0:00:09.915 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 25 January 2025 07:48:02 -0500 (0:00:00.367) 0:00:10.283 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 25 January 2025 07:48:02 -0500 (0:00:00.040) 0:00:10.323 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809281.1687958, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1737446595.828486, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4647950, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737446595.828486, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2628227407", "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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 25 January 2025 07:48:02 -0500 (0:00:00.371) 0:00:10.694 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737438816.313, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "330dc9438f3fb1e462f164818743522c7d6bbca3", "ctime": 1737438816.315, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 239500, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737438816.315, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6986, "uid": 0, "version": "740964853", "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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 25 January 2025 07:48:03 -0500 (0:00:00.384) 0:00:11.079 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004659", "end": "2025-01-25 07:48:03.537184", "rc": 0, "start": "2025-01-25 07:48:03.532525" } 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 25 January 2025 07:48:03 -0500 (0:00:00.505) 0:00:11.585 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 25 January 2025 07:48:03 -0500 (0:00:00.036) 0:00:11.621 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 25 January 2025 07:48:04 -0500 (0:00:00.487) 0:00:12.108 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 25 January 2025 07:48:04 -0500 (0:00:00.413) 0:00:12.522 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 25 January 2025 07:48:05 -0500 (0:00:00.510) 0:00:13.033 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 January 2025 07:48:05 -0500 (0:00:00.026) 0:00:13.060 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 25 January 2025 07:48:05 -0500 (0:00:00.027) 0:00:13.087 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 25 January 2025 07:48:05 -0500 (0:00:00.039) 0:00:13.127 ****** 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": "c8dbca566833498d9d543b811562ebde-6.12.0-42.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-42.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-42.el10.x86_64", "root": "UUID=8e3ecef0-4590-480b-8dbf-cbc78e439f71", "title": "CentOS Stream (6.12.0-42.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": "c8dbca566833498d9d543b811562ebde-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-c8dbca566833498d9d543b811562ebde.img", "kernel": "/boot/vmlinuz-0-rescue-c8dbca566833498d9d543b811562ebde", "root": "UUID=8e3ecef0-4590-480b-8dbf-cbc78e439f71", "title": "CentOS Stream (0-rescue-c8dbca566833498d9d543b811562ebde) 10 (Coughlan)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 25 January 2025 07:48:05 -0500 (0:00:00.568) 0:00:13.695 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 25 January 2025 07:48:05 -0500 (0:00:00.003) 0:00:13.699 ****** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 25 January 2025 07:48:05 -0500 (0:00:00.001) 0:00:13.701 ****** included: /tmp/collections-PiL/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-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 25 January 2025 07:48:05 -0500 (0:00:00.023) 0:00:13.724 ****** 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": "c8dbca566833498d9d543b811562ebde-6.12.0-42.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-42.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-42.el10.x86_64", "root": "UUID=8e3ecef0-4590-480b-8dbf-cbc78e439f71", "title": "CentOS Stream (6.12.0-42.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 25 January 2025 07:48:05 -0500 (0:00:00.035) 0:00:13.760 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-42.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-42.el10.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "3ae6eed81d89b337a2138aabc4df7e3090579cef", "dest": "/boot/vmlinuz-6.12.0-42.el10.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-42.el10.x86_64_clone1", "src": "/boot/vmlinuz-6.12.0-42.el10.x86_64" }, "md5sum": "77755d5d051fa772e395fb9be7adfc16", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15882488, "src": "/boot/vmlinuz-6.12.0-42.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-42.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-42.el10.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "c001998e024b093610a24a17288842eff08566e7", "dest": "/boot/initramfs-6.12.0-42.el10.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-42.el10.x86_64.img_clone1", "src": "/boot/initramfs-6.12.0-42.el10.x86_64.img" }, "md5sum": "3a32a24727fab2da4f4a4e8ea92eb75e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 26562666, "src": "/boot/initramfs-6.12.0-42.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 25 January 2025 07:48:06 -0500 (0:00:01.206) 0:00:14.966 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 January 2025 07:48:07 -0500 (0:00:00.040) 0:00:15.007 ****** included: /tmp/collections-PiL/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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 January 2025 07:48:07 -0500 (0:00:00.016) 0:00:15.023 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 January 2025 07:48:07 -0500 (0:00:00.032) 0:00:15.056 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 January 2025 07:48:07 -0500 (0:00:00.019) 0:00:15.075 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 January 2025 07:48:07 -0500 (0:00:00.026) 0:00:15.102 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 January 2025 07:48:07 -0500 (0:00:00.047) 0:00:15.150 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 25 January 2025 07:48:07 -0500 (0:00:00.017) 0:00:15.168 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 25 January 2025 07:48:08 -0500 (0:00:00.875) 0:00:16.043 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809281.1687958, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1737446595.828486, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4647950, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737446595.828486, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2628227407", "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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 25 January 2025 07:48:08 -0500 (0:00:00.402) 0:00:16.445 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 25 January 2025 07:48:08 -0500 (0:00:00.016) 0:00:16.462 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 25 January 2025 07:48:08 -0500 (0:00:00.011) 0:00:16.474 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 25 January 2025 07:48:08 -0500 (0:00:00.394) 0:00:16.868 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 25 January 2025 07:48:08 -0500 (0:00:00.054) 0:00:16.923 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809281.1687958, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1737446595.828486, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4647950, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737446595.828486, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2628227407", "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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 25 January 2025 07:48:09 -0500 (0:00:00.409) 0:00:17.332 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809284.4681578, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "5eb25249b456076e3413805d967998911dda09c0", "ctime": 1737809284.4678051, "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": 1737809284.4681587, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "3835471955", "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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 25 January 2025 07:48:09 -0500 (0:00:00.466) 0:00:17.799 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005200", "end": "2025-01-25 07:48:10.170807", "rc": 0, "start": "2025-01-25 07:48:10.165607" } 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 25 January 2025 07:48:10 -0500 (0:00:00.439) 0:00:18.239 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 25 January 2025 07:48:10 -0500 (0:00:00.062) 0:00:18.301 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 25 January 2025 07:48:10 -0500 (0:00:00.450) 0:00:18.752 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 25 January 2025 07:48:11 -0500 (0:00:00.393) 0:00:19.145 ****** 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-42.el10.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.12.0-42.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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 25 January 2025 07:48:11 -0500 (0:00:00.615) 0:00:19.761 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 January 2025 07:48:11 -0500 (0:00:00.024) 0:00:19.785 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 25 January 2025 07:48:11 -0500 (0:00:00.027) 0:00:19.813 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 25 January 2025 07:48:11 -0500 (0:00:00.040) 0:00:19.853 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 25 January 2025 07:48:11 -0500 (0:00:00.047) 0:00:19.900 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 25 January 2025 07:48:11 -0500 (0:00:00.003) 0:00:19.903 ****** 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.132534", "end": "2025-01-25 07:48:12.402872", "rc": 0, "start": "2025-01-25 07:48:12.270338" } 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 25 January 2025 07:48:12 -0500 (0:00:00.551) 0:00:20.455 ****** included: /tmp/collections-PiL/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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 25 January 2025 07:48:12 -0500 (0:00:00.024) 0:00:20.479 ****** changed: [managed-node1] => { "changed": true, "elapsed": 27, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 25 January 2025 07:48:40 -0500 (0:00:28.444) 0:00:48.924 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 25 January 2025 07:48:40 -0500 (0:00:00.011) 0:00:48.936 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 25 January 2025 07:48:40 -0500 (0:00:00.016) 0:00:48.953 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 25 January 2025 07:48:40 -0500 (0:00:00.015) 0:00:48.968 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 January 2025 07:48:41 -0500 (0:00:00.052) 0:00:49.020 ****** included: /tmp/collections-PiL/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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 January 2025 07:48:41 -0500 (0:00:00.018) 0:00:49.039 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 January 2025 07:48:41 -0500 (0:00:00.032) 0:00:49.072 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 January 2025 07:48:41 -0500 (0:00:00.017) 0:00:49.089 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 January 2025 07:48:41 -0500 (0:00:00.017) 0:00:49.106 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 January 2025 07:48:41 -0500 (0:00:00.029) 0:00:49.136 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 25 January 2025 07:48:41 -0500 (0:00:00.011) 0:00:49.148 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 25 January 2025 07:48:42 -0500 (0:00:01.378) 0:00:50.526 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809292.4018273, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1737809292.4008274, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9504336, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809292.4008274, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2980326859", "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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 25 January 2025 07:48:42 -0500 (0:00:00.407) 0:00:50.933 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 25 January 2025 07:48:42 -0500 (0:00:00.013) 0:00:50.947 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 25 January 2025 07:48:42 -0500 (0:00:00.012) 0:00:50.960 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 25 January 2025 07:48:43 -0500 (0:00:00.359) 0:00:51.319 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 25 January 2025 07:48:43 -0500 (0:00:00.038) 0:00:51.357 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809292.4018273, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1737809292.4008274, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9504336, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809292.4008274, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2980326859", "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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 25 January 2025 07:48:43 -0500 (0:00:00.376) 0:00:51.733 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809289.72782, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "5eb25249b456076e3413805d967998911dda09c0", "ctime": 1737809284.4678051, "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": 1737809284.4681587, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "3835471955", "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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 25 January 2025 07:48:44 -0500 (0:00:00.379) 0:00:52.113 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004807", "end": "2025-01-25 07:48:44.448248", "rc": 0, "start": "2025-01-25 07:48:44.443441" } 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 25 January 2025 07:48:44 -0500 (0:00:00.380) 0:00:52.493 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 25 January 2025 07:48:44 -0500 (0:00:00.032) 0:00:52.526 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 25 January 2025 07:48:44 -0500 (0:00:00.378) 0:00:52.905 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 25 January 2025 07:48:45 -0500 (0:00:00.379) 0:00:53.285 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 25 January 2025 07:48:45 -0500 (0:00:00.363) 0:00:53.649 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 January 2025 07:48:45 -0500 (0:00:00.018) 0:00:53.667 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 25 January 2025 07:48:45 -0500 (0:00:00.017) 0:00:53.685 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 25 January 2025 07:48:45 -0500 (0:00:00.028) 0:00:53.714 ****** 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": "ec21dbbeefc3cbeab948a7b9a8a3da2c-6.12.0-42.el10.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.12.0-42.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.0-42.el10.x86_64_clone1", "root": "UUID=8e3ecef0-4590-480b-8dbf-cbc78e439f71", "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": "c8dbca566833498d9d543b811562ebde-6.12.0-42.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.0-42.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-42.el10.x86_64", "root": "UUID=8e3ecef0-4590-480b-8dbf-cbc78e439f71", "title": "CentOS Stream (6.12.0-42.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": "c8dbca566833498d9d543b811562ebde-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-c8dbca566833498d9d543b811562ebde.img", "kernel": "/boot/vmlinuz-0-rescue-c8dbca566833498d9d543b811562ebde", "root": "UUID=8e3ecef0-4590-480b-8dbf-cbc78e439f71", "title": "CentOS Stream (0-rescue-c8dbca566833498d9d543b811562ebde) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 25 January 2025 07:48:46 -0500 (0:00:00.522) 0:00:54.236 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 25 January 2025 07:48:46 -0500 (0:00:00.039) 0:00:54.276 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 January 2025 07:48:46 -0500 (0:00:00.051) 0:00:54.327 ****** included: /tmp/collections-PiL/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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 January 2025 07:48:46 -0500 (0:00:00.017) 0:00:54.345 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 January 2025 07:48:46 -0500 (0:00:00.032) 0:00:54.377 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 January 2025 07:48:46 -0500 (0:00:00.017) 0:00:54.395 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 January 2025 07:48:46 -0500 (0:00:00.017) 0:00:54.413 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 January 2025 07:48:46 -0500 (0:00:00.030) 0:00:54.443 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 25 January 2025 07:48:46 -0500 (0:00:00.013) 0:00:54.457 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 25 January 2025 07:48:47 -0500 (0:00:00.753) 0:00:55.211 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809292.4018273, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1737809292.4008274, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9504336, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809292.4008274, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2980326859", "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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 25 January 2025 07:48:47 -0500 (0:00:00.367) 0:00:55.578 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 25 January 2025 07:48:47 -0500 (0:00:00.013) 0:00:55.592 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 25 January 2025 07:48:47 -0500 (0:00:00.013) 0:00:55.605 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 25 January 2025 07:48:47 -0500 (0:00:00.357) 0:00:55.963 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 25 January 2025 07:48:48 -0500 (0:00:00.039) 0:00:56.003 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809292.4018273, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1737809292.4008274, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9504336, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809292.4008274, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2980326859", "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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 25 January 2025 07:48:48 -0500 (0:00:00.375) 0:00:56.378 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809289.72782, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "5eb25249b456076e3413805d967998911dda09c0", "ctime": 1737809284.4678051, "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": 1737809284.4681587, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "3835471955", "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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 25 January 2025 07:48:48 -0500 (0:00:00.383) 0:00:56.762 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004622", "end": "2025-01-25 07:48:49.099478", "rc": 0, "start": "2025-01-25 07:48:49.094856" } 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 25 January 2025 07:48:49 -0500 (0:00:00.384) 0:00:57.146 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 25 January 2025 07:48:49 -0500 (0:00:00.035) 0:00:57.181 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 25 January 2025 07:48:49 -0500 (0:00:00.379) 0:00:57.561 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 25 January 2025 07:48:49 -0500 (0:00:00.382) 0:00:57.943 ****** 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-42.el10.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 25 January 2025 07:48:50 -0500 (0:00:00.599) 0:00:58.542 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 January 2025 07:48:50 -0500 (0:00:00.017) 0:00:58.560 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 25 January 2025 07:48:50 -0500 (0:00:00.016) 0:00:58.577 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 25 January 2025 07:48:50 -0500 (0:00:00.030) 0:00:58.607 ****** 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": "c8dbca566833498d9d543b811562ebde-6.12.0-42.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-42.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-42.el10.x86_64", "root": "UUID=8e3ecef0-4590-480b-8dbf-cbc78e439f71", "title": "CentOS Stream (6.12.0-42.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": "c8dbca566833498d9d543b811562ebde-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-c8dbca566833498d9d543b811562ebde.img", "kernel": "/boot/vmlinuz-0-rescue-c8dbca566833498d9d543b811562ebde", "root": "UUID=8e3ecef0-4590-480b-8dbf-cbc78e439f71", "title": "CentOS Stream (0-rescue-c8dbca566833498d9d543b811562ebde) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 25 January 2025 07:48:51 -0500 (0:00:00.474) 0:00:59.082 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 25 January 2025 07:48:51 -0500 (0:00:00.039) 0:00:59.121 ****** included: /tmp/collections-PiL/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-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 25 January 2025 07:48:51 -0500 (0:00:00.030) 0:00:59.152 ****** 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": "c8dbca566833498d9d543b811562ebde-6.12.0-42.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-42.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-42.el10.x86_64", "root": "UUID=8e3ecef0-4590-480b-8dbf-cbc78e439f71", "title": "CentOS Stream (6.12.0-42.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 25 January 2025 07:48:51 -0500 (0:00:00.038) 0:00:59.190 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-42.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-42.el10.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "3ae6eed81d89b337a2138aabc4df7e3090579cef", "dest": "/boot/vmlinuz-6.12.0-42.el10.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-42.el10.x86_64_clone2", "src": "/boot/vmlinuz-6.12.0-42.el10.x86_64" }, "md5sum": "77755d5d051fa772e395fb9be7adfc16", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15882488, "src": "/boot/vmlinuz-6.12.0-42.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-42.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-42.el10.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "c001998e024b093610a24a17288842eff08566e7", "dest": "/boot/initramfs-6.12.0-42.el10.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-42.el10.x86_64.img_clone2", "src": "/boot/initramfs-6.12.0-42.el10.x86_64.img" }, "md5sum": "3a32a24727fab2da4f4a4e8ea92eb75e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 26562666, "src": "/boot/initramfs-6.12.0-42.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 25 January 2025 07:48:52 -0500 (0:00:00.946) 0:01:00.137 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 January 2025 07:48:52 -0500 (0:00:00.040) 0:01:00.177 ****** included: /tmp/collections-PiL/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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 January 2025 07:48:52 -0500 (0:00:00.020) 0:01:00.197 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 January 2025 07:48:52 -0500 (0:00:00.041) 0:01:00.239 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 January 2025 07:48:52 -0500 (0:00:00.020) 0:01:00.259 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 January 2025 07:48:52 -0500 (0:00:00.017) 0:01:00.276 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 January 2025 07:48:52 -0500 (0:00:00.030) 0:01:00.307 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 25 January 2025 07:48:52 -0500 (0:00:00.013) 0:01:00.321 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 25 January 2025 07:48:53 -0500 (0:00:00.753) 0:01:01.074 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809292.4018273, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1737809292.4008274, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9504336, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809292.4008274, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2980326859", "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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 25 January 2025 07:48:53 -0500 (0:00:00.365) 0:01:01.439 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 25 January 2025 07:48:53 -0500 (0:00:00.014) 0:01:01.454 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 25 January 2025 07:48:53 -0500 (0:00:00.013) 0:01:01.468 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 25 January 2025 07:48:53 -0500 (0:00:00.360) 0:01:01.829 ****** ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 25 January 2025 07:48:53 -0500 (0:00:00.043) 0:01:01.872 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809292.4018273, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1737809292.4008274, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9504336, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809292.4008274, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2980326859", "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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 25 January 2025 07:48:54 -0500 (0:00:00.389) 0:01:02.261 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809289.72782, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "5eb25249b456076e3413805d967998911dda09c0", "ctime": 1737809284.4678051, "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": 1737809284.4681587, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "3835471955", "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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 25 January 2025 07:48:54 -0500 (0:00:00.394) 0:01:02.655 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004803", "end": "2025-01-25 07:48:55.002013", "rc": 0, "start": "2025-01-25 07:48:54.997210" } 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 25 January 2025 07:48:55 -0500 (0:00:00.394) 0:01:03.049 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 25 January 2025 07:48:55 -0500 (0:00:00.038) 0:01:03.088 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 25 January 2025 07:48:55 -0500 (0:00:00.395) 0:01:03.483 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 25 January 2025 07:48:55 -0500 (0:00:00.392) 0:01:03.876 ****** 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-42.el10.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.12.0-42.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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 25 January 2025 07:48:56 -0500 (0:00:00.587) 0:01:04.464 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 January 2025 07:48:56 -0500 (0:00:00.018) 0:01:04.482 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 25 January 2025 07:48:56 -0500 (0:00:00.017) 0:01:04.500 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 25 January 2025 07:48:56 -0500 (0:00:00.028) 0:01:04.529 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 25 January 2025 07:48:56 -0500 (0:00:00.032) 0:01:04.561 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 25 January 2025 07:48:56 -0500 (0:00:00.002) 0:01:04.563 ****** 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.131164", "end": "2025-01-25 07:48:57.021848", "rc": 0, "start": "2025-01-25 07:48:56.890684" } 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 25 January 2025 07:48:57 -0500 (0:00:00.505) 0:01:05.069 ****** included: /tmp/collections-PiL/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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 25 January 2025 07:48:57 -0500 (0:00:00.014) 0:01:05.083 ****** changed: [managed-node1] => { "changed": true, "elapsed": 27, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 25 January 2025 07:49:25 -0500 (0:00:28.125) 0:01:33.209 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 25 January 2025 07:49:25 -0500 (0:00:00.012) 0:01:33.221 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 25 January 2025 07:49:25 -0500 (0:00:00.015) 0:01:33.237 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 25 January 2025 07:49:25 -0500 (0:00:00.016) 0:01:33.254 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 January 2025 07:49:25 -0500 (0:00:00.051) 0:01:33.305 ****** included: /tmp/collections-PiL/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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 January 2025 07:49:25 -0500 (0:00:00.019) 0:01:33.325 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 January 2025 07:49:25 -0500 (0:00:00.033) 0:01:33.358 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 January 2025 07:49:25 -0500 (0:00:00.018) 0:01:33.377 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 January 2025 07:49:25 -0500 (0:00:00.017) 0:01:33.395 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 January 2025 07:49:25 -0500 (0:00:00.031) 0:01:33.426 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 25 January 2025 07:49:25 -0500 (0:00:00.013) 0:01:33.440 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 25 January 2025 07:49:26 -0500 (0:00:01.437) 0:01:34.877 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809337.0204098, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1737809337.01941, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8923911, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809337.01941, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "904130981", "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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 25 January 2025 07:49:27 -0500 (0:00:00.399) 0:01:35.277 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 25 January 2025 07:49:27 -0500 (0:00:00.014) 0:01:35.292 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 25 January 2025 07:49:27 -0500 (0:00:00.012) 0:01:35.304 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 25 January 2025 07:49:27 -0500 (0:00:00.352) 0:01:35.657 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 25 January 2025 07:49:27 -0500 (0:00:00.039) 0:01:35.696 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809337.0204098, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1737809337.01941, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8923911, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809337.01941, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "904130981", "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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 25 January 2025 07:49:28 -0500 (0:00:00.377) 0:01:36.074 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809289.72782, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "5eb25249b456076e3413805d967998911dda09c0", "ctime": 1737809284.4678051, "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": 1737809284.4681587, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "3835471955", "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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 25 January 2025 07:49:28 -0500 (0:00:00.386) 0:01:36.460 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004828", "end": "2025-01-25 07:49:28.798877", "rc": 0, "start": "2025-01-25 07:49:28.794049" } 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 25 January 2025 07:49:28 -0500 (0:00:00.384) 0:01:36.845 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 25 January 2025 07:49:28 -0500 (0:00:00.032) 0:01:36.877 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 25 January 2025 07:49:29 -0500 (0:00:00.381) 0:01:37.258 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 25 January 2025 07:49:29 -0500 (0:00:00.371) 0:01:37.630 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 25 January 2025 07:49:30 -0500 (0:00:00.365) 0:01:37.995 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 January 2025 07:49:30 -0500 (0:00:00.017) 0:01:38.013 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 25 January 2025 07:49:30 -0500 (0:00:00.016) 0:01:38.030 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 25 January 2025 07:49:30 -0500 (0:00:00.028) 0:01:38.059 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec21dbbeefc3cbeab948a7b9a8a3da2c-6.12.0-42.el10.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.12.0-42.el10.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.12.0-42.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": "c8dbca566833498d9d543b811562ebde-6.12.0-42.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.0-42.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-42.el10.x86_64", "root": "UUID=8e3ecef0-4590-480b-8dbf-cbc78e439f71", "title": "CentOS Stream (6.12.0-42.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": "c8dbca566833498d9d543b811562ebde-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-c8dbca566833498d9d543b811562ebde.img", "kernel": "/boot/vmlinuz-0-rescue-c8dbca566833498d9d543b811562ebde", "root": "UUID=8e3ecef0-4590-480b-8dbf-cbc78e439f71", "title": "CentOS Stream (0-rescue-c8dbca566833498d9d543b811562ebde) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 25 January 2025 07:49:30 -0500 (0:00:00.519) 0:01:38.579 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 25 January 2025 07:49:30 -0500 (0:00:00.036) 0:01:38.616 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 January 2025 07:49:30 -0500 (0:00:00.062) 0:01:38.679 ****** included: /tmp/collections-PiL/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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 January 2025 07:49:30 -0500 (0:00:00.018) 0:01:38.697 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 January 2025 07:49:30 -0500 (0:00:00.031) 0:01:38.728 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 January 2025 07:49:30 -0500 (0:00:00.016) 0:01:38.745 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 January 2025 07:49:30 -0500 (0:00:00.017) 0:01:38.762 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 January 2025 07:49:30 -0500 (0:00:00.028) 0:01:38.791 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 25 January 2025 07:49:30 -0500 (0:00:00.012) 0:01:38.803 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 25 January 2025 07:49:31 -0500 (0:00:00.778) 0:01:39.581 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809337.0204098, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1737809337.01941, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8923911, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809337.01941, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "904130981", "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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 25 January 2025 07:49:31 -0500 (0:00:00.380) 0:01:39.961 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 25 January 2025 07:49:31 -0500 (0:00:00.013) 0:01:39.975 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 25 January 2025 07:49:31 -0500 (0:00:00.012) 0:01:39.988 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 25 January 2025 07:49:32 -0500 (0:00:00.358) 0:01:40.346 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 25 January 2025 07:49:32 -0500 (0:00:00.039) 0:01:40.386 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809337.0204098, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1737809337.01941, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8923911, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809337.01941, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "904130981", "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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 25 January 2025 07:49:32 -0500 (0:00:00.378) 0:01:40.764 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809289.72782, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "5eb25249b456076e3413805d967998911dda09c0", "ctime": 1737809284.4678051, "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": 1737809284.4681587, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "3835471955", "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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 25 January 2025 07:49:33 -0500 (0:00:00.380) 0:01:41.145 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005494", "end": "2025-01-25 07:49:33.494495", "rc": 0, "start": "2025-01-25 07:49:33.489001" } 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 25 January 2025 07:49:33 -0500 (0:00:00.397) 0:01:41.542 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 25 January 2025 07:49:33 -0500 (0:00:00.036) 0:01:41.579 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 25 January 2025 07:49:33 -0500 (0:00:00.391) 0:01:41.971 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 25 January 2025 07:49:34 -0500 (0:00:00.385) 0:01:42.356 ****** 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-42.el10.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 25 January 2025 07:49:34 -0500 (0:00:00.582) 0:01:42.939 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 January 2025 07:49:34 -0500 (0:00:00.021) 0:01:42.960 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 25 January 2025 07:49:34 -0500 (0:00:00.018) 0:01:42.979 ****** 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 25 January 2025 07:49:35 -0500 (0:00:00.037) 0:01:43.016 ****** 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": "c8dbca566833498d9d543b811562ebde-6.12.0-42.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-42.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-42.el10.x86_64", "root": "UUID=8e3ecef0-4590-480b-8dbf-cbc78e439f71", "title": "CentOS Stream (6.12.0-42.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": "c8dbca566833498d9d543b811562ebde-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-c8dbca566833498d9d543b811562ebde.img", "kernel": "/boot/vmlinuz-0-rescue-c8dbca566833498d9d543b811562ebde", "root": "UUID=8e3ecef0-4590-480b-8dbf-cbc78e439f71", "title": "CentOS Stream (0-rescue-c8dbca566833498d9d543b811562ebde) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 25 January 2025 07:49:35 -0500 (0:00:00.511) 0:01:43.528 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 25 January 2025 07:49:35 -0500 (0:00:00.063) 0:01:43.591 ****** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.0-42.el10.x86_64_clone1" ], "delta": "0:00:00.044403", "end": "2025-01-25 07:49:35.987796", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-01-25 07:49:35.943393" } STDERR: The param /boot/vmlinuz-6.12.0-42.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-42.el10.x86_64_clone2" ], "delta": "0:00:00.044082", "end": "2025-01-25 07:49:36.385241", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-01-25 07:49:36.341159" } STDERR: The param /boot/vmlinuz-6.12.0-42.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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 25 January 2025 07:49:36 -0500 (0:00:00.843) 0:01:44.434 ****** 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.102062", "end": "2025-01-25 07:49:36.858445", "rc": 0, "start": "2025-01-25 07:49:36.756383" } 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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 25 January 2025 07:49:36 -0500 (0:00:00.470) 0:01:44.905 ****** included: /tmp/collections-PiL/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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 25 January 2025 07:49:36 -0500 (0:00:00.015) 0:01:44.921 ****** changed: [managed-node1] => { "changed": true, "elapsed": 29, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 25 January 2025 07:50:07 -0500 (0:00:30.486) 0:02:15.407 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 25 January 2025 07:50:07 -0500 (0:00:00.013) 0:02:15.420 ****** 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 25 January 2025 07:50:07 -0500 (0:00:00.015) 0:02:15.436 ****** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 30.49s /tmp/collections-PiL/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.44s /tmp/collections-PiL/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.13s /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.54s /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.66s /tmp/collections-PiL/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.44s /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.38s /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.21s /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.05s /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Clone test_kernel kernel and initrd for test purposes ------------------- 0.95s /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.88s /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Remove cloned kernels --------------------------------------------------- 0.84s /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.78s /tmp/collections-PiL/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-PiL/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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.62s /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-PiL/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-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.58s /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.57s /tmp/collections-PiL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139