ansible-playbook [core 2.17.12] 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-5PD executable location = /usr/local/bin/ansible-playbook python version = 3.12.10 (main, May 9 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-5)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-5PD/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-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 31 May 2025 08:50:43 -0400 (0:00:00.018) 0:00:00.018 ********** included: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 31 May 2025 08:50:43 -0400 (0:00:00.013) 0:00:00.031 ********** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 31 May 2025 08:50:46 -0400 (0:00:02.128) 0:00:02.160 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 31 May 2025 08:50:46 -0400 (0:00:00.005) 0:00:02.165 ********** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 May 2025 08:50:46 -0400 (0:00:00.055) 0:00:02.221 ********** included: /tmp/collections-5PD/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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 May 2025 08:50:46 -0400 (0:00:00.016) 0:00:02.238 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 May 2025 08:50:46 -0400 (0:00:00.031) 0:00:02.270 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 May 2025 08:50:46 -0400 (0:00:00.423) 0:00:02.693 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 May 2025 08:50:46 -0400 (0:00:00.020) 0:00:02.713 ********** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 May 2025 08:50:46 -0400 (0:00:00.028) 0:00:02.742 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 May 2025 08:50:46 -0400 (0:00:00.011) 0:00:02.753 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 May 2025 08:51:05 -0400 (0:00:18.368) 0:00:21.122 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747222208.0102766, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1747222208.0090227, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 639345, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747222208.0102768, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "1504326306", "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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 May 2025 08:51:05 -0400 (0:00:00.375) 0:00:21.498 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 May 2025 08:51:05 -0400 (0:00:00.013) 0:00:21.511 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 May 2025 08:51:05 -0400 (0:00:00.011) 0:00:21.522 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 May 2025 08:51:05 -0400 (0:00:00.338) 0:00:21.861 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 May 2025 08:51:05 -0400 (0:00:00.046) 0:00:21.908 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1748695865.352936, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1747222208.0090227, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 639345, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747222208.0102768, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "1504326306", "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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 May 2025 08:51:06 -0400 (0:00:00.352) 0:00:22.260 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747221269.2038276, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8ae230f9a8913bc0a4d079c0a687e3db0a73c894", "ctime": 1747221269.2048275, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 782129, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1747221269.2048275, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6744, "uid": 0, "version": "3365518718", "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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 May 2025 08:51:06 -0400 (0:00:00.356) 0:00:22.617 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004859", "end": "2025-05-31 08:51:06.952651", "rc": 0, "start": "2025-05-31 08:51:06.947792" } 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 May 2025 08:51:07 -0400 (0:00:00.445) 0:00:23.063 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 May 2025 08:51:07 -0400 (0:00:00.033) 0:00:23.096 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 May 2025 08:51:07 -0400 (0:00:00.460) 0:00:23.557 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 May 2025 08:51:07 -0400 (0:00:00.372) 0:00:23.929 ********** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 May 2025 08:51:08 -0400 (0:00:00.463) 0:00:24.393 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 May 2025 08:51:08 -0400 (0:00:00.017) 0:00:24.410 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 May 2025 08:51:08 -0400 (0:00:00.020) 0:00:24.430 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 May 2025 08:51:08 -0400 (0:00:00.033) 0:00:24.463 ********** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "72dbb896bb5848cfa189670654d7ed83-5.14.0-583.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-583.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-583.el9.x86_64", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (5.14.0-583.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "72dbb896bb5848cfa189670654d7ed83-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-72dbb896bb5848cfa189670654d7ed83.img", "kernel": "/boot/vmlinuz-0-rescue-72dbb896bb5848cfa189670654d7ed83", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (0-rescue-72dbb896bb5848cfa189670654d7ed83) 9" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 31 May 2025 08:51:08 -0400 (0:00:00.566) 0:00:25.029 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 31 May 2025 08:51:08 -0400 (0:00:00.006) 0:00:25.035 ********** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 31 May 2025 08:51:08 -0400 (0:00:00.001) 0:00:25.037 ********** included: /tmp/collections-5PD/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-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 31 May 2025 08:51:09 -0400 (0:00:00.023) 0:00:25.060 ********** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "72dbb896bb5848cfa189670654d7ed83-5.14.0-583.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-583.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-583.el9.x86_64", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (5.14.0-583.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 31 May 2025 08:51:09 -0400 (0:00:00.042) 0:00:25.103 ********** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-583.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-583.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "306cf459b9225d93fadd938b15ea2292ec914426", "dest": "/boot/vmlinuz-5.14.0-583.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-583.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-583.el9.x86_64" }, "md5sum": "f2f91273625e561bae4c6ff2ab2492d6", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 14968872, "src": "/boot/vmlinuz-5.14.0-583.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-583.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-583.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "5e015cdbb3c470af593df0bc09635d360986af8d", "dest": "/boot/initramfs-5.14.0-583.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-583.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-583.el9.x86_64.img" }, "md5sum": "d2cbc06e187fe60997f8b065e3d18c3c", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 37955106, "src": "/boot/initramfs-5.14.0-583.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 31 May 2025 08:51:10 -0400 (0:00:01.121) 0:00:26.225 ********** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 May 2025 08:51:10 -0400 (0:00:00.044) 0:00:26.269 ********** included: /tmp/collections-5PD/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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 May 2025 08:51:10 -0400 (0:00:00.028) 0:00:26.298 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 May 2025 08:51:10 -0400 (0:00:00.051) 0:00:26.350 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 May 2025 08:51:10 -0400 (0:00:00.025) 0:00:26.375 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 May 2025 08:51:10 -0400 (0:00:00.025) 0:00:26.401 ********** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 May 2025 08:51:10 -0400 (0:00:00.032) 0:00:26.433 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 May 2025 08:51:10 -0400 (0:00:00.015) 0:00:26.449 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 May 2025 08:51:11 -0400 (0:00:01.318) 0:00:27.767 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1748695865.352936, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1747222208.0090227, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 639345, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747222208.0102768, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "1504326306", "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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 May 2025 08:51:12 -0400 (0:00:00.357) 0:00:28.125 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 May 2025 08:51:12 -0400 (0:00:00.013) 0:00:28.138 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 May 2025 08:51:12 -0400 (0:00:00.011) 0:00:28.150 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 May 2025 08:51:12 -0400 (0:00:00.347) 0:00:28.497 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 May 2025 08:51:12 -0400 (0:00:00.056) 0:00:28.554 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1748695865.352936, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1747222208.0090227, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 639345, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747222208.0102768, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "1504326306", "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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 May 2025 08:51:12 -0400 (0:00:00.387) 0:00:28.942 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1748695867.819561, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "81b943fd96caaac1e2b2bd83209a676e567a1cf0", "ctime": 1748695867.8189476, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1748695867.8195617, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3886847453", "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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 May 2025 08:51:13 -0400 (0:00:00.393) 0:00:29.335 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004654", "end": "2025-05-31 08:51:13.631649", "rc": 0, "start": "2025-05-31 08:51:13.626995" } 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 May 2025 08:51:13 -0400 (0:00:00.414) 0:00:29.750 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 May 2025 08:51:13 -0400 (0:00:00.045) 0:00:29.796 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 May 2025 08:51:14 -0400 (0:00:00.416) 0:00:30.212 ********** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 May 2025 08:51:14 -0400 (0:00:00.399) 0:00:30.611 ********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-5.14.0-583.el9.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-5.14.0-583.el9.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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 May 2025 08:51:15 -0400 (0:00:00.588) 0:00:31.200 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 May 2025 08:51:15 -0400 (0:00:00.023) 0:00:31.224 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 May 2025 08:51:15 -0400 (0:00:00.027) 0:00:31.251 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 May 2025 08:51:15 -0400 (0:00:00.045) 0:00:31.297 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 31 May 2025 08:51:15 -0400 (0:00:00.050) 0:00:31.347 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 31 May 2025 08:51:15 -0400 (0:00:00.005) 0:00:31.353 ********** changed: [managed-node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.129921", "end": "2025-05-31 08:51:15.723247", "rc": 0, "start": "2025-05-31 08:51:15.593326" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 31 May 2025 08:51:15 -0400 (0:00:00.480) 0:00:31.833 ********** included: /tmp/collections-5PD/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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 31 May 2025 08:51:15 -0400 (0:00:00.015) 0:00:31.848 ********** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 31 May 2025 08:51:39 -0400 (0:00:23.658) 0:00:55.507 ********** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 31 May 2025 08:51:39 -0400 (0:00:00.017) 0:00:55.524 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 31 May 2025 08:51:39 -0400 (0:00:00.024) 0:00:55.549 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 31 May 2025 08:51:39 -0400 (0:00:00.022) 0:00:55.571 ********** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 May 2025 08:51:39 -0400 (0:00:00.085) 0:00:55.656 ********** included: /tmp/collections-5PD/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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 May 2025 08:51:39 -0400 (0:00:00.017) 0:00:55.674 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 May 2025 08:51:39 -0400 (0:00:00.034) 0:00:55.709 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 May 2025 08:51:39 -0400 (0:00:00.014) 0:00:55.724 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 May 2025 08:51:39 -0400 (0:00:00.015) 0:00:55.739 ********** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 May 2025 08:51:39 -0400 (0:00:00.036) 0:00:55.775 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 May 2025 08:51:39 -0400 (0:00:00.010) 0:00:55.786 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 May 2025 08:51:42 -0400 (0:00:02.957) 0:00:58.744 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1748695875.7219846, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1748695875.7209847, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8854093, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1748695875.7209847, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "406199559", "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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 May 2025 08:51:43 -0400 (0:00:00.388) 0:00:59.132 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 May 2025 08:51:43 -0400 (0:00:00.013) 0:00:59.145 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 May 2025 08:51:43 -0400 (0:00:00.012) 0:00:59.158 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 May 2025 08:51:43 -0400 (0:00:00.340) 0:00:59.499 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 May 2025 08:51:43 -0400 (0:00:00.039) 0:00:59.538 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1748695875.7219846, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1748695875.7209847, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8854093, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1748695875.7209847, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "406199559", "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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 May 2025 08:51:43 -0400 (0:00:00.361) 0:00:59.900 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1748695873.2019727, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "81b943fd96caaac1e2b2bd83209a676e567a1cf0", "ctime": 1748695867.8189476, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1748695867.8195617, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3886847453", "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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 May 2025 08:51:44 -0400 (0:00:00.368) 0:01:00.268 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004923", "end": "2025-05-31 08:51:44.205145", "rc": 0, "start": "2025-05-31 08:51:44.200222" } 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 May 2025 08:51:44 -0400 (0:00:00.384) 0:01:00.653 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 May 2025 08:51:44 -0400 (0:00:00.032) 0:01:00.686 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 May 2025 08:51:45 -0400 (0:00:00.373) 0:01:01.060 ********** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 May 2025 08:51:45 -0400 (0:00:00.368) 0:01:01.428 ********** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 May 2025 08:51:45 -0400 (0:00:00.342) 0:01:01.770 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 May 2025 08:51:45 -0400 (0:00:00.024) 0:01:01.795 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 May 2025 08:51:45 -0400 (0:00:00.025) 0:01:01.820 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 May 2025 08:51:45 -0400 (0:00:00.045) 0:01:01.866 ********** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "705ca11eaa4541fba30a8236932b1bba-5.14.0-583.el9.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-5.14.0-583.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-583.el9.x86_64_clone1", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "Clone1" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "72dbb896bb5848cfa189670654d7ed83-5.14.0-583.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-583.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-583.el9.x86_64", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (5.14.0-583.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "72dbb896bb5848cfa189670654d7ed83-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-72dbb896bb5848cfa189670654d7ed83.img", "kernel": "/boot/vmlinuz-0-rescue-72dbb896bb5848cfa189670654d7ed83", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (0-rescue-72dbb896bb5848cfa189670654d7ed83) 9" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 31 May 2025 08:51:46 -0400 (0:00:00.521) 0:01:02.387 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 31 May 2025 08:51:46 -0400 (0:00:00.039) 0:01:02.427 ********** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 May 2025 08:51:46 -0400 (0:00:00.055) 0:01:02.482 ********** included: /tmp/collections-5PD/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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 May 2025 08:51:46 -0400 (0:00:00.016) 0:01:02.498 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 May 2025 08:51:46 -0400 (0:00:00.035) 0:01:02.534 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 May 2025 08:51:46 -0400 (0:00:00.016) 0:01:02.550 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 May 2025 08:51:46 -0400 (0:00:00.023) 0:01:02.573 ********** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 May 2025 08:51:46 -0400 (0:00:00.034) 0:01:02.608 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 May 2025 08:51:46 -0400 (0:00:00.015) 0:01:02.623 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 May 2025 08:51:47 -0400 (0:00:01.307) 0:01:03.930 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1748695875.7219846, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1748695875.7209847, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8854093, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1748695875.7209847, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "406199559", "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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 May 2025 08:51:48 -0400 (0:00:00.364) 0:01:04.295 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 May 2025 08:51:48 -0400 (0:00:00.015) 0:01:04.310 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 May 2025 08:51:48 -0400 (0:00:00.012) 0:01:04.322 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 May 2025 08:51:48 -0400 (0:00:00.347) 0:01:04.670 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 May 2025 08:51:48 -0400 (0:00:00.040) 0:01:04.710 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1748695875.7219846, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1748695875.7209847, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8854093, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1748695875.7209847, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "406199559", "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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 May 2025 08:51:49 -0400 (0:00:00.371) 0:01:05.082 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1748695873.2019727, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "81b943fd96caaac1e2b2bd83209a676e567a1cf0", "ctime": 1748695867.8189476, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1748695867.8195617, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3886847453", "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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 May 2025 08:51:49 -0400 (0:00:00.366) 0:01:05.449 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005597", "end": "2025-05-31 08:51:49.708745", "rc": 0, "start": "2025-05-31 08:51:49.703148" } 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 May 2025 08:51:49 -0400 (0:00:00.369) 0:01:05.818 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 May 2025 08:51:49 -0400 (0:00:00.033) 0:01:05.851 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 May 2025 08:51:50 -0400 (0:00:00.367) 0:01:06.218 ********** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 May 2025 08:51:50 -0400 (0:00:00.373) 0:01:06.592 ********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-583.el9.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 May 2025 08:51:51 -0400 (0:00:00.600) 0:01:07.192 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 May 2025 08:51:51 -0400 (0:00:00.018) 0:01:07.211 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 May 2025 08:51:51 -0400 (0:00:00.022) 0:01:07.234 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 May 2025 08:51:51 -0400 (0:00:00.032) 0:01:07.267 ********** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "72dbb896bb5848cfa189670654d7ed83-5.14.0-583.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-583.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-583.el9.x86_64", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (5.14.0-583.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "72dbb896bb5848cfa189670654d7ed83-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-72dbb896bb5848cfa189670654d7ed83.img", "kernel": "/boot/vmlinuz-0-rescue-72dbb896bb5848cfa189670654d7ed83", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (0-rescue-72dbb896bb5848cfa189670654d7ed83) 9" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 31 May 2025 08:51:51 -0400 (0:00:00.467) 0:01:07.734 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 31 May 2025 08:51:51 -0400 (0:00:00.037) 0:01:07.772 ********** included: /tmp/collections-5PD/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-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 31 May 2025 08:51:51 -0400 (0:00:00.035) 0:01:07.807 ********** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "72dbb896bb5848cfa189670654d7ed83-5.14.0-583.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-583.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-583.el9.x86_64", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (5.14.0-583.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 31 May 2025 08:51:51 -0400 (0:00:00.044) 0:01:07.852 ********** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-583.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-583.el9.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "306cf459b9225d93fadd938b15ea2292ec914426", "dest": "/boot/vmlinuz-5.14.0-583.el9.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-583.el9.x86_64_clone2", "src": "/boot/vmlinuz-5.14.0-583.el9.x86_64" }, "md5sum": "f2f91273625e561bae4c6ff2ab2492d6", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 14968872, "src": "/boot/vmlinuz-5.14.0-583.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-583.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-583.el9.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "5e015cdbb3c470af593df0bc09635d360986af8d", "dest": "/boot/initramfs-5.14.0-583.el9.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-583.el9.x86_64.img_clone2", "src": "/boot/initramfs-5.14.0-583.el9.x86_64.img" }, "md5sum": "d2cbc06e187fe60997f8b065e3d18c3c", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 37955106, "src": "/boot/initramfs-5.14.0-583.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 31 May 2025 08:51:52 -0400 (0:00:01.061) 0:01:08.913 ********** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 May 2025 08:51:52 -0400 (0:00:00.035) 0:01:08.948 ********** included: /tmp/collections-5PD/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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 May 2025 08:51:52 -0400 (0:00:00.022) 0:01:08.971 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 May 2025 08:51:52 -0400 (0:00:00.043) 0:01:09.015 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 May 2025 08:51:52 -0400 (0:00:00.024) 0:01:09.040 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 May 2025 08:51:53 -0400 (0:00:00.024) 0:01:09.065 ********** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 May 2025 08:51:53 -0400 (0:00:00.035) 0:01:09.100 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 May 2025 08:51:53 -0400 (0:00:00.012) 0:01:09.113 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 May 2025 08:51:54 -0400 (0:00:01.291) 0:01:10.404 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1748695875.7219846, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1748695875.7209847, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8854093, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1748695875.7209847, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "406199559", "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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 May 2025 08:51:54 -0400 (0:00:00.367) 0:01:10.772 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 May 2025 08:51:54 -0400 (0:00:00.014) 0:01:10.787 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 May 2025 08:51:54 -0400 (0:00:00.015) 0:01:10.803 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 May 2025 08:51:55 -0400 (0:00:00.345) 0:01:11.149 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 May 2025 08:51:55 -0400 (0:00:00.043) 0:01:11.192 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1748695875.7219846, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1748695875.7209847, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8854093, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1748695875.7209847, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "406199559", "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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 May 2025 08:51:55 -0400 (0:00:00.359) 0:01:11.551 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1748695873.2019727, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "81b943fd96caaac1e2b2bd83209a676e567a1cf0", "ctime": 1748695867.8189476, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1748695867.8195617, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3886847453", "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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 May 2025 08:51:55 -0400 (0:00:00.365) 0:01:11.917 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004331", "end": "2025-05-31 08:51:56.179047", "rc": 0, "start": "2025-05-31 08:51:56.174716" } 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 May 2025 08:51:56 -0400 (0:00:00.371) 0:01:12.288 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 May 2025 08:51:56 -0400 (0:00:00.033) 0:01:12.321 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 May 2025 08:51:56 -0400 (0:00:00.366) 0:01:12.688 ********** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 May 2025 08:51:56 -0400 (0:00:00.365) 0:01:13.053 ********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-5.14.0-583.el9.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-5.14.0-583.el9.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 May 2025 08:51:57 -0400 (0:00:00.570) 0:01:13.624 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 May 2025 08:51:57 -0400 (0:00:00.017) 0:01:13.642 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 May 2025 08:51:57 -0400 (0:00:00.017) 0:01:13.659 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 May 2025 08:51:57 -0400 (0:00:00.027) 0:01:13.687 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 31 May 2025 08:51:57 -0400 (0:00:00.030) 0:01:13.718 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 31 May 2025 08:51:57 -0400 (0:00:00.002) 0:01:13.720 ********** 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.131250", "end": "2025-05-31 08:51:58.083990", "rc": 0, "start": "2025-05-31 08:51:57.952740" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 31 May 2025 08:51:58 -0400 (0:00:00.474) 0:01:14.194 ********** included: /tmp/collections-5PD/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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 31 May 2025 08:51:58 -0400 (0:00:00.014) 0:01:14.209 ********** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 31 May 2025 08:52:22 -0400 (0:00:24.056) 0:01:38.265 ********** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 31 May 2025 08:52:22 -0400 (0:00:00.015) 0:01:38.281 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 31 May 2025 08:52:22 -0400 (0:00:00.022) 0:01:38.303 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 31 May 2025 08:52:22 -0400 (0:00:00.024) 0:01:38.328 ********** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 May 2025 08:52:22 -0400 (0:00:00.064) 0:01:38.392 ********** included: /tmp/collections-5PD/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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 May 2025 08:52:22 -0400 (0:00:00.018) 0:01:38.411 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 May 2025 08:52:22 -0400 (0:00:00.037) 0:01:38.449 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 May 2025 08:52:22 -0400 (0:00:00.019) 0:01:38.469 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 May 2025 08:52:22 -0400 (0:00:00.019) 0:01:38.488 ********** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 May 2025 08:52:22 -0400 (0:00:00.032) 0:01:38.521 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 May 2025 08:52:22 -0400 (0:00:00.012) 0:01:38.533 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 May 2025 08:52:25 -0400 (0:00:02.886) 0:01:41.419 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1748695918.082618, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1748695918.082618, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8854097, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1748695918.082618, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "4032156102", "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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 May 2025 08:52:25 -0400 (0:00:00.395) 0:01:41.814 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 May 2025 08:52:25 -0400 (0:00:00.014) 0:01:41.829 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 May 2025 08:52:25 -0400 (0:00:00.012) 0:01:41.841 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 May 2025 08:52:26 -0400 (0:00:00.363) 0:01:42.205 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 May 2025 08:52:26 -0400 (0:00:00.059) 0:01:42.265 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1748695944.947696, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1748695918.082618, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8854097, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1748695918.082618, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "4032156102", "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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 May 2025 08:52:26 -0400 (0:00:00.360) 0:01:42.626 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1748695873.2019727, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "81b943fd96caaac1e2b2bd83209a676e567a1cf0", "ctime": 1748695867.8189476, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1748695867.8195617, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3886847453", "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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 May 2025 08:52:26 -0400 (0:00:00.363) 0:01:42.989 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005279", "end": "2025-05-31 08:52:26.663043", "rc": 0, "start": "2025-05-31 08:52:26.657764" } 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 May 2025 08:52:27 -0400 (0:00:00.370) 0:01:43.360 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 May 2025 08:52:27 -0400 (0:00:00.033) 0:01:43.394 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 May 2025 08:52:27 -0400 (0:00:00.379) 0:01:43.773 ********** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 May 2025 08:52:28 -0400 (0:00:00.370) 0:01:44.144 ********** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 May 2025 08:52:28 -0400 (0:00:00.355) 0:01:44.500 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 May 2025 08:52:28 -0400 (0:00:00.018) 0:01:44.518 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 May 2025 08:52:28 -0400 (0:00:00.017) 0:01:44.536 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 May 2025 08:52:28 -0400 (0:00:00.029) 0:01:44.566 ********** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "705ca11eaa4541fba30a8236932b1bba-5.14.0-583.el9.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-5.14.0-583.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-583.el9.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "72dbb896bb5848cfa189670654d7ed83-5.14.0-583.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-583.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-583.el9.x86_64", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (5.14.0-583.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "72dbb896bb5848cfa189670654d7ed83-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-72dbb896bb5848cfa189670654d7ed83.img", "kernel": "/boot/vmlinuz-0-rescue-72dbb896bb5848cfa189670654d7ed83", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (0-rescue-72dbb896bb5848cfa189670654d7ed83) 9" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 31 May 2025 08:52:29 -0400 (0:00:00.512) 0:01:45.078 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 31 May 2025 08:52:29 -0400 (0:00:00.047) 0:01:45.125 ********** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 May 2025 08:52:29 -0400 (0:00:00.072) 0:01:45.198 ********** included: /tmp/collections-5PD/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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 May 2025 08:52:29 -0400 (0:00:00.023) 0:01:45.221 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 May 2025 08:52:29 -0400 (0:00:00.036) 0:01:45.258 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 May 2025 08:52:29 -0400 (0:00:00.017) 0:01:45.275 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 May 2025 08:52:29 -0400 (0:00:00.015) 0:01:45.290 ********** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 May 2025 08:52:29 -0400 (0:00:00.029) 0:01:45.319 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 May 2025 08:52:29 -0400 (0:00:00.011) 0:01:45.331 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 May 2025 08:52:30 -0400 (0:00:01.309) 0:01:46.641 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1748695944.947696, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1748695918.082618, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8854097, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1748695918.082618, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "4032156102", "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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 May 2025 08:52:30 -0400 (0:00:00.356) 0:01:46.998 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 May 2025 08:52:30 -0400 (0:00:00.014) 0:01:47.012 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 May 2025 08:52:30 -0400 (0:00:00.012) 0:01:47.024 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 May 2025 08:52:31 -0400 (0:00:00.346) 0:01:47.371 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 May 2025 08:52:31 -0400 (0:00:00.060) 0:01:47.432 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1748695944.947696, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1748695918.082618, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8854097, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1748695918.082618, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "4032156102", "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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 May 2025 08:52:31 -0400 (0:00:00.381) 0:01:47.814 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1748695873.2019727, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "81b943fd96caaac1e2b2bd83209a676e567a1cf0", "ctime": 1748695867.8189476, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1748695867.8195617, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3886847453", "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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 May 2025 08:52:32 -0400 (0:00:00.367) 0:01:48.181 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005196", "end": "2025-05-31 08:52:32.287722", "rc": 0, "start": "2025-05-31 08:52:32.282526" } 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 May 2025 08:52:32 -0400 (0:00:00.369) 0:01:48.551 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 May 2025 08:52:32 -0400 (0:00:00.040) 0:01:48.592 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 May 2025 08:52:32 -0400 (0:00:00.380) 0:01:48.973 ********** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 May 2025 08:52:33 -0400 (0:00:00.379) 0:01:49.352 ********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-583.el9.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 May 2025 08:52:33 -0400 (0:00:00.573) 0:01:49.926 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 May 2025 08:52:33 -0400 (0:00:00.017) 0:01:49.944 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 May 2025 08:52:33 -0400 (0:00:00.016) 0:01:49.960 ********** 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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 May 2025 08:52:33 -0400 (0:00:00.028) 0:01:49.988 ********** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "72dbb896bb5848cfa189670654d7ed83-5.14.0-583.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-583.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-583.el9.x86_64", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (5.14.0-583.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "72dbb896bb5848cfa189670654d7ed83-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-72dbb896bb5848cfa189670654d7ed83.img", "kernel": "/boot/vmlinuz-0-rescue-72dbb896bb5848cfa189670654d7ed83", "root": "UUID=5de771f1-9acb-4b75-bf56-ae0a7779ba73", "title": "CentOS Stream (0-rescue-72dbb896bb5848cfa189670654d7ed83) 9" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 31 May 2025 08:52:34 -0400 (0:00:00.469) 0:01:50.457 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 31 May 2025 08:52:34 -0400 (0:00:00.038) 0:01:50.496 ********** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-583.el9.x86_64_clone1" ], "delta": "0:00:00.046063", "end": "2025-05-31 08:52:34.779735", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-05-31 08:52:34.733672" } STDERR: The param /boot/vmlinuz-5.14.0-583.el9.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-583.el9.x86_64_clone2" ], "delta": "0:00:00.046147", "end": "2025-05-31 08:52:35.157669", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-05-31 08:52:35.111522" } STDERR: The param /boot/vmlinuz-5.14.0-583.el9.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 31 May 2025 08:52:35 -0400 (0:00:00.770) 0:01:51.266 ********** 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.104363", "end": "2025-05-31 08:52:35.609209", "rc": 0, "start": "2025-05-31 08:52:35.504846" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 31 May 2025 08:52:35 -0400 (0:00:00.452) 0:01:51.719 ********** included: /tmp/collections-5PD/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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 31 May 2025 08:52:35 -0400 (0:00:00.014) 0:01:51.733 ********** changed: [managed-node1] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 31 May 2025 08:52:59 -0400 (0:00:24.169) 0:02:15.903 ********** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 31 May 2025 08:52:59 -0400 (0:00:00.014) 0:02:15.918 ********** 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 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 31 May 2025 08:52:59 -0400 (0:00:00.013) 0:02:15.931 ********** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 24.17s /tmp/collections-5PD/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 -- 24.06s /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.66s /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 18.37s /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.96s /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.89s /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.13s /tmp/collections-5PD/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.32s /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.31s /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.31s /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.29s /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.12s /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.06s /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.77s /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-5PD/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-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.57s /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.57s /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.57s /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.52s /tmp/collections-5PD/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139