ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', 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 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** META: ran handlers TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 19 July 2025 08:54:25 -0400 (0:00:00.019) 0:00:00.019 ********* included: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 19 July 2025 08:54:25 -0400 (0:00:00.030) 0:00:00.050 ********* ok: [managed-node1] META: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 19 July 2025 08:54:26 -0400 (0:00:00.983) 0:00:01.033 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 19 July 2025 08:54:26 -0400 (0:00:00.038) 0:00:01.071 ********* included: /tmp/collections-8WS/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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 19 July 2025 08:54:26 -0400 (0:00:00.017) 0:00:01.089 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 19 July 2025 08:54:26 -0400 (0:00:00.013) 0:00:01.103 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 19 July 2025 08:54:27 -0400 (0:00:00.415) 0:00:01.518 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 19 July 2025 08:54:27 -0400 (0:00:00.018) 0:00:01.537 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 19 July 2025 08:54:27 -0400 (0:00:00.031) 0:00:01.568 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 19 July 2025 08:54:27 -0400 (0:00:00.013) 0:00:01.581 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 19 July 2025 08:54:42 -0400 (0:00:15.299) 0:00:16.881 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1716968862.497, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 19 July 2025 08:54:42 -0400 (0:00:00.333) 0:00:17.214 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 19 July 2025 08:54:42 -0400 (0:00:00.015) 0:00:17.230 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 19 July 2025 08:54:42 -0400 (0:00:00.013) 0:00:17.243 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 19 July 2025 08:54:43 -0400 (0:00:00.324) 0:00:17.568 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 19 July 2025 08:54:43 -0400 (0:00:00.022) 0:00:17.590 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752929682.8861475, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 19 July 2025 08:54:43 -0400 (0:00:00.331) 0:00:17.922 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1716968863.313, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "33f81baef485d229f360bb8edb243c84b5829854", "ctime": 1716968863.314, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 998159, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716968863.314, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6406, "uid": 0, "version": "4098057869", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 19 July 2025 08:54:43 -0400 (0:00:00.339) 0:00:18.262 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004079", "end": "2025-07-19 08:54:44.375686", "rc": 0, "start": "2025-07-19 08:54:44.371607" } 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 19 July 2025 08:54:44 -0400 (0:00:00.429) 0:00:18.692 ********* skipping: [managed-node1] => { "changed": false, "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 19 July 2025 08:54:44 -0400 (0:00:00.016) 0:00:18.708 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 19 July 2025 08:54:44 -0400 (0:00:00.464) 0:00:19.173 ********* changed: [managed-node1] => { "changed": true } MSG: 5 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 19 July 2025 08:54:45 -0400 (0:00:00.345) 0:00:19.518 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 19 July 2025 08:54:45 -0400 (0:00:00.443) 0:00:19.962 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 19 July 2025 08:54:45 -0400 (0:00:00.020) 0:00:19.982 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 19 July 2025 08:54:45 -0400 (0:00:00.016) 0:00:19.999 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 19 July 2025 08:54:45 -0400 (0:00:00.017) 0:00:20.016 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" } ] }, "changed": false } META: end_host conditional evaluated to false, continuing execution for managed-node1 META: ran handlers TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 19 July 2025 08:54:46 -0400 (0:00:00.607) 0:00:20.624 ********* ok: [managed-node1] => { "ansible_facts": { "__default_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" } }, "changed": false } TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Saturday 19 July 2025 08:54:46 -0400 (0:00:00.017) 0:00:20.641 ********* included: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 19 July 2025 08:54:46 -0400 (0:00:00.029) 0:00:20.671 ********* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "c8ac6dcb6cde0b4e8f1d9be544aa6ef6b78dd978", "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64" }, "md5sum": "4d651ec861d2a6a23cf61ad30367cd99", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 10873232, "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "819d5d5bd4679e855016d6b8e997b96e546aafdd", "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img" }, "md5sum": "ab248af65f1e45f1283e3ab1f2c8f51e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31361993, "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 19 July 2025 08:54:47 -0400 (0:00:01.018) 0:00:21.689 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 19 July 2025 08:54:47 -0400 (0:00:00.045) 0:00:21.735 ********* included: /tmp/collections-8WS/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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 19 July 2025 08:54:47 -0400 (0:00:00.020) 0:00:21.755 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 19 July 2025 08:54:47 -0400 (0:00:00.018) 0:00:21.774 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 19 July 2025 08:54:47 -0400 (0:00:00.013) 0:00:21.788 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 19 July 2025 08:54:47 -0400 (0:00:00.013) 0:00:21.802 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 19 July 2025 08:54:47 -0400 (0:00:00.033) 0:00:21.835 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 19 July 2025 08:54:47 -0400 (0:00:00.013) 0:00:21.848 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 19 July 2025 08:54:50 -0400 (0:00:02.892) 0:00:24.740 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752929682.8861475, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 19 July 2025 08:54:50 -0400 (0:00:00.381) 0:00:25.122 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 19 July 2025 08:54:50 -0400 (0:00:00.024) 0:00:25.146 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 19 July 2025 08:54:50 -0400 (0:00:00.020) 0:00:25.166 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 19 July 2025 08:54:51 -0400 (0:00:00.379) 0:00:25.546 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 19 July 2025 08:54:51 -0400 (0:00:00.035) 0:00:25.581 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752929682.8861475, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 19 July 2025 08:54:51 -0400 (0:00:00.381) 0:00:25.963 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752929685.1931624, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1752929685.1941624, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1752929685.1931624, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "381644499", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 19 July 2025 08:54:52 -0400 (0:00:00.414) 0:00:26.378 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003847", "end": "2025-07-19 08:54:52.439646", "rc": 0, "start": "2025-07-19 08:54:52.435799" } 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 19 July 2025 08:54:52 -0400 (0:00:00.377) 0:00:26.755 ********* skipping: [managed-node1] => { "changed": false, "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 19 July 2025 08:54:52 -0400 (0:00:00.018) 0:00:26.773 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 19 July 2025 08:54:52 -0400 (0:00:00.360) 0:00:27.134 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 19 July 2025 08:54:53 -0400 (0:00:00.349) 0:00:27.483 ********* 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 changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default --make-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 19 July 2025 08:54:53 -0400 (0:00:00.540) 0:00:28.024 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 19 July 2025 08:54:53 -0400 (0:00:00.019) 0:00:28.044 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 19 July 2025 08:54:53 -0400 (0:00:00.017) 0:00:28.062 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 19 July 2025 08:54:53 -0400 (0:00:00.014) 0:00:28.076 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 19 July 2025 08:54:53 -0400 (0:00:00.010) 0:00:28.087 ********* 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.137319", "end": "2025-07-19 08:54:54.237209", "rc": 0, "start": "2025-07-19 08:54:54.099890" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb quiet" 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" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 19 July 2025 08:54:54 -0400 (0:00:00.466) 0:00:28.553 ********* included: /tmp/collections-8WS/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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 19 July 2025 08:54:54 -0400 (0:00:00.016) 0:00:28.569 ********* changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 19 July 2025 08:55:17 -0400 (0:00:23.386) 0:00:51.956 ********* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 19 July 2025 08:55:17 -0400 (0:00:00.015) 0:00:51.971 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 19 July 2025 08:55:17 -0400 (0:00:00.019) 0:00:51.990 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 19 July 2025 08:55:17 -0400 (0:00:00.017) 0:00:52.008 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 19 July 2025 08:55:17 -0400 (0:00:00.034) 0:00:52.042 ********* included: /tmp/collections-8WS/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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 19 July 2025 08:55:17 -0400 (0:00:00.019) 0:00:52.062 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 19 July 2025 08:55:17 -0400 (0:00:00.016) 0:00:52.078 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 19 July 2025 08:55:17 -0400 (0:00:00.013) 0:00:52.092 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 19 July 2025 08:55:17 -0400 (0:00:00.013) 0:00:52.105 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 19 July 2025 08:55:17 -0400 (0:00:00.031) 0:00:52.136 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 19 July 2025 08:55:17 -0400 (0:00:00.013) 0:00:52.149 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 19 July 2025 08:55:22 -0400 (0:00:04.908) 0:00:57.058 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752929694.2362194, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752929694.2362194, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752929694.2352195, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2294035516", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 19 July 2025 08:55:23 -0400 (0:00:00.350) 0:00:57.409 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 19 July 2025 08:55:23 -0400 (0:00:00.016) 0:00:57.426 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 19 July 2025 08:55:23 -0400 (0:00:00.015) 0:00:57.441 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 19 July 2025 08:55:23 -0400 (0:00:00.376) 0:00:57.818 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 19 July 2025 08:55:23 -0400 (0:00:00.041) 0:00:57.859 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752929722.5252285, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752929694.2362194, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752929694.2352195, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2294035516", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 19 July 2025 08:55:23 -0400 (0:00:00.397) 0:00:58.257 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752929692.0342057, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1752929685.1941624, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1752929685.1931624, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "381644499", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 19 July 2025 08:55:24 -0400 (0:00:00.359) 0:00:58.617 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004341", "end": "2025-07-19 08:55:24.225178", "rc": 0, "start": "2025-07-19 08:55:24.220837" } 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 19 July 2025 08:55:24 -0400 (0:00:00.350) 0:00:58.967 ********* skipping: [managed-node1] => { "changed": false, "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 19 July 2025 08:55:24 -0400 (0:00:00.027) 0:00:58.994 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 19 July 2025 08:55:25 -0400 (0:00:00.353) 0:00:59.348 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 19 July 2025 08:55:25 -0400 (0:00:00.363) 0:00:59.712 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 19 July 2025 08:55:25 -0400 (0:00:00.324) 0:01:00.036 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 19 July 2025 08:55:25 -0400 (0:00:00.015) 0:01:00.052 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 19 July 2025 08:55:25 -0400 (0:00:00.014) 0:01:00.066 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 19 July 2025 08:55:25 -0400 (0:00:00.013) 0:01:00.079 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": false, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": true, "id": "c751a5fa895845119f472bd1b19a4dcc-4.18.0-553.5.1.el8.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "Clone1" } ] }, "changed": false } TASK [Clone again to check idempotency] **************************************** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Saturday 19 July 2025 08:55:26 -0400 (0:00:00.482) 0:01:00.562 ********* included: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 19 July 2025 08:55:26 -0400 (0:00:00.026) 0:01:00.589 ********* ok: [managed-node1] => (item={'src': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "c8ac6dcb6cde0b4e8f1d9be544aa6ef6b78dd978", "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64" }, "md5sum": "4d651ec861d2a6a23cf61ad30367cd99", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 10873232, "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "state": "file", "uid": 0 } ok: [managed-node1] => (item={'src': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "819d5d5bd4679e855016d6b8e997b96e546aafdd", "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img" }, "md5sum": "ab248af65f1e45f1283e3ab1f2c8f51e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31361993, "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 19 July 2025 08:55:27 -0400 (0:00:00.875) 0:01:01.464 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 19 July 2025 08:55:27 -0400 (0:00:00.021) 0:01:01.486 ********* included: /tmp/collections-8WS/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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 19 July 2025 08:55:27 -0400 (0:00:00.022) 0:01:01.509 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 19 July 2025 08:55:27 -0400 (0:00:00.015) 0:01:01.524 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 19 July 2025 08:55:27 -0400 (0:00:00.013) 0:01:01.537 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 19 July 2025 08:55:27 -0400 (0:00:00.013) 0:01:01.550 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 19 July 2025 08:55:27 -0400 (0:00:00.032) 0:01:01.583 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 19 July 2025 08:55:27 -0400 (0:00:00.013) 0:01:01.596 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 19 July 2025 08:55:30 -0400 (0:00:02.846) 0:01:04.442 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752929722.5252285, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752929694.2362194, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752929694.2352195, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2294035516", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 19 July 2025 08:55:30 -0400 (0:00:00.353) 0:01:04.796 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 19 July 2025 08:55:30 -0400 (0:00:00.016) 0:01:04.812 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 19 July 2025 08:55:30 -0400 (0:00:00.013) 0:01:04.826 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 19 July 2025 08:55:30 -0400 (0:00:00.341) 0:01:05.168 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 19 July 2025 08:55:30 -0400 (0:00:00.023) 0:01:05.191 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752929722.5252285, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752929694.2362194, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752929694.2352195, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2294035516", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 19 July 2025 08:55:31 -0400 (0:00:00.358) 0:01:05.549 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752929692.0342057, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1752929685.1941624, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1752929685.1931624, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "381644499", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 19 July 2025 08:55:31 -0400 (0:00:00.355) 0:01:05.905 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004221", "end": "2025-07-19 08:55:31.957197", "rc": 0, "start": "2025-07-19 08:55:31.952976" } 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 19 July 2025 08:55:32 -0400 (0:00:00.368) 0:01:06.273 ********* skipping: [managed-node1] => { "changed": false, "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 19 July 2025 08:55:32 -0400 (0:00:00.017) 0:01:06.290 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 19 July 2025 08:55:32 -0400 (0:00:00.336) 0:01:06.627 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 19 July 2025 08:55:32 -0400 (0:00:00.337) 0:01:06.965 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 19 July 2025 08:55:33 -0400 (0:00:00.654) 0:01:07.620 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 19 July 2025 08:55:33 -0400 (0:00:00.016) 0:01:07.637 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 19 July 2025 08:55:33 -0400 (0:00:00.014) 0:01:07.651 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 19 July 2025 08:55:33 -0400 (0:00:00.014) 0:01:07.666 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 19 July 2025 08:55:33 -0400 (0:00:00.014) 0:01:07.680 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 19 July 2025 08:55:33 -0400 (0:00:00.016) 0:01:07.697 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 19 July 2025 08:55:33 -0400 (0:00:00.035) 0:01:07.733 ********* included: /tmp/collections-8WS/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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 19 July 2025 08:55:33 -0400 (0:00:00.019) 0:01:07.752 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 19 July 2025 08:55:33 -0400 (0:00:00.015) 0:01:07.768 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 19 July 2025 08:55:33 -0400 (0:00:00.015) 0:01:07.783 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 19 July 2025 08:55:33 -0400 (0:00:00.012) 0:01:07.796 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 19 July 2025 08:55:33 -0400 (0:00:00.068) 0:01:07.865 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 19 July 2025 08:55:33 -0400 (0:00:00.014) 0:01:07.879 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 19 July 2025 08:55:36 -0400 (0:00:02.854) 0:01:10.733 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752929722.5252285, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752929694.2362194, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752929694.2352195, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2294035516", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 19 July 2025 08:55:36 -0400 (0:00:00.343) 0:01:11.076 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 19 July 2025 08:55:36 -0400 (0:00:00.016) 0:01:11.093 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 19 July 2025 08:55:36 -0400 (0:00:00.014) 0:01:11.107 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 19 July 2025 08:55:37 -0400 (0:00:00.326) 0:01:11.433 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 19 July 2025 08:55:37 -0400 (0:00:00.023) 0:01:11.457 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752929722.5252285, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752929694.2362194, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752929694.2352195, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2294035516", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 19 July 2025 08:55:37 -0400 (0:00:00.337) 0:01:11.794 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752929692.0342057, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1752929685.1941624, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1752929685.1931624, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "381644499", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 19 July 2025 08:55:37 -0400 (0:00:00.342) 0:01:12.137 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004586", "end": "2025-07-19 08:55:38.159879", "rc": 0, "start": "2025-07-19 08:55:38.155293" } 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 19 July 2025 08:55:38 -0400 (0:00:00.339) 0:01:12.477 ********* skipping: [managed-node1] => { "changed": false, "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 19 July 2025 08:55:38 -0400 (0:00:00.018) 0:01:12.495 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 19 July 2025 08:55:38 -0400 (0:00:00.351) 0:01:12.846 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 19 July 2025 08:55:38 -0400 (0:00:00.337) 0:01:13.184 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 19 July 2025 08:55:39 -0400 (0:00:00.323) 0:01:13.507 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 19 July 2025 08:55:39 -0400 (0:00:00.015) 0:01:13.523 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 19 July 2025 08:55:39 -0400 (0:00:00.014) 0:01:13.537 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 19 July 2025 08:55:39 -0400 (0:00:00.013) 0:01:13.551 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": false, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": true, "id": "c751a5fa895845119f472bd1b19a4dcc-4.18.0-553.5.1.el8.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone1] ********************************************** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Saturday 19 July 2025 08:55:39 -0400 (0:00:00.483) 0:01:14.034 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Saturday 19 July 2025 08:55:39 -0400 (0:00:00.023) 0:01:14.058 ********* included: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 19 July 2025 08:55:39 -0400 (0:00:00.028) 0:01:14.086 ********* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "c8ac6dcb6cde0b4e8f1d9be544aa6ef6b78dd978", "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64" }, "md5sum": "4d651ec861d2a6a23cf61ad30367cd99", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 10873232, "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "819d5d5bd4679e855016d6b8e997b96e546aafdd", "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2", "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img" }, "md5sum": "ab248af65f1e45f1283e3ab1f2c8f51e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31361993, "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 19 July 2025 08:55:40 -0400 (0:00:00.832) 0:01:14.919 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 19 July 2025 08:55:40 -0400 (0:00:00.022) 0:01:14.941 ********* included: /tmp/collections-8WS/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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 19 July 2025 08:55:40 -0400 (0:00:00.018) 0:01:14.959 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 19 July 2025 08:55:40 -0400 (0:00:00.015) 0:01:14.974 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 19 July 2025 08:55:40 -0400 (0:00:00.013) 0:01:14.988 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 19 July 2025 08:55:40 -0400 (0:00:00.012) 0:01:15.001 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 19 July 2025 08:55:40 -0400 (0:00:00.032) 0:01:15.034 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 19 July 2025 08:55:40 -0400 (0:00:00.014) 0:01:15.049 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 19 July 2025 08:55:43 -0400 (0:00:02.835) 0:01:17.885 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752929722.5252285, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752929694.2362194, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752929694.2352195, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2294035516", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 19 July 2025 08:55:43 -0400 (0:00:00.345) 0:01:18.230 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 19 July 2025 08:55:43 -0400 (0:00:00.016) 0:01:18.246 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 19 July 2025 08:55:43 -0400 (0:00:00.014) 0:01:18.260 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 19 July 2025 08:55:44 -0400 (0:00:00.321) 0:01:18.582 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 19 July 2025 08:55:44 -0400 (0:00:00.024) 0:01:18.606 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752929722.5252285, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752929694.2362194, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752929694.2352195, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2294035516", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 19 July 2025 08:55:44 -0400 (0:00:00.344) 0:01:18.951 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752929692.0342057, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1752929685.1941624, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1752929685.1931624, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "381644499", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 19 July 2025 08:55:45 -0400 (0:00:00.340) 0:01:19.291 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004056", "end": "2025-07-19 08:55:45.310554", "rc": 0, "start": "2025-07-19 08:55:45.306498" } 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 19 July 2025 08:55:45 -0400 (0:00:00.336) 0:01:19.628 ********* skipping: [managed-node1] => { "changed": false, "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 19 July 2025 08:55:45 -0400 (0:00:00.021) 0:01:19.650 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 19 July 2025 08:55:45 -0400 (0:00:00.330) 0:01:19.981 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 19 July 2025 08:55:46 -0400 (0:00:00.335) 0:01:20.317 ********* 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 changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 19 July 2025 08:55:46 -0400 (0:00:00.597) 0:01:20.914 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 19 July 2025 08:55:46 -0400 (0:00:00.015) 0:01:20.929 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 19 July 2025 08:55:46 -0400 (0:00:00.013) 0:01:20.943 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 19 July 2025 08:55:46 -0400 (0:00:00.013) 0:01:20.957 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 19 July 2025 08:55:46 -0400 (0:00:00.010) 0:01:20.968 ********* 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.162135", "end": "2025-07-19 08:55:47.138878", "rc": 0, "start": "2025-07-19 08:55:46.976743" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 19 July 2025 08:55:47 -0400 (0:00:00.486) 0:01:21.454 ********* included: /tmp/collections-8WS/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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 19 July 2025 08:55:47 -0400 (0:00:00.015) 0:01:21.469 ********* changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 19 July 2025 08:56:09 -0400 (0:00:22.062) 0:01:43.532 ********* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 19 July 2025 08:56:09 -0400 (0:00:00.023) 0:01:43.555 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 19 July 2025 08:56:09 -0400 (0:00:00.018) 0:01:43.574 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 19 July 2025 08:56:09 -0400 (0:00:00.017) 0:01:43.592 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 19 July 2025 08:56:09 -0400 (0:00:00.042) 0:01:43.635 ********* included: /tmp/collections-8WS/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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 19 July 2025 08:56:09 -0400 (0:00:00.021) 0:01:43.656 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 19 July 2025 08:56:09 -0400 (0:00:00.019) 0:01:43.676 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 19 July 2025 08:56:09 -0400 (0:00:00.014) 0:01:43.690 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 19 July 2025 08:56:09 -0400 (0:00:00.016) 0:01:43.706 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 19 July 2025 08:56:09 -0400 (0:00:00.033) 0:01:43.739 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 19 July 2025 08:56:09 -0400 (0:00:00.014) 0:01:43.754 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 19 July 2025 08:56:14 -0400 (0:00:04.910) 0:01:48.664 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752929747.1381414, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752929747.1371412, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752929747.1371412, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "873456440", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 19 July 2025 08:56:14 -0400 (0:00:00.349) 0:01:49.014 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 19 July 2025 08:56:14 -0400 (0:00:00.016) 0:01:49.030 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 19 July 2025 08:56:14 -0400 (0:00:00.014) 0:01:49.045 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 19 July 2025 08:56:15 -0400 (0:00:00.323) 0:01:49.369 ********* ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 19 July 2025 08:56:15 -0400 (0:00:00.023) 0:01:49.393 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752929747.1381414, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752929747.1371412, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752929747.1371412, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "873456440", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 19 July 2025 08:56:15 -0400 (0:00:00.353) 0:01:49.747 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752929692.0342057, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1752929685.1941624, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1752929685.1931624, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "381644499", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 19 July 2025 08:56:15 -0400 (0:00:00.350) 0:01:50.097 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004518", "end": "2025-07-19 08:56:16.116535", "rc": 0, "start": "2025-07-19 08:56:16.112017" } 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 19 July 2025 08:56:16 -0400 (0:00:00.334) 0:01:50.432 ********* skipping: [managed-node1] => { "changed": false, "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 19 July 2025 08:56:16 -0400 (0:00:00.017) 0:01:50.450 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 19 July 2025 08:56:16 -0400 (0:00:00.333) 0:01:50.784 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 19 July 2025 08:56:16 -0400 (0:00:00.327) 0:01:51.111 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 19 July 2025 08:56:17 -0400 (0:00:00.329) 0:01:51.441 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 19 July 2025 08:56:17 -0400 (0:00:00.015) 0:01:51.456 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 19 July 2025 08:56:17 -0400 (0:00:00.013) 0:01:51.470 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 19 July 2025 08:56:17 -0400 (0:00:00.014) 0:01:51.484 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": false, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" }, { "args": "test=kernel", "default": false, "id": "c751a5fa895845119f472bd1b19a4dcc-4.18.0-553.5.1.el8.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": true, "id": "c751a5fa895845119f472bd1b19a4dcc-4.18.0-553.5.1.el8.x86_64_clone1", "index": "3", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone2] ********************************************** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Saturday 19 July 2025 08:56:17 -0400 (0:00:00.511) 0:01:51.996 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 19 July 2025 08:56:17 -0400 (0:00:00.023) 0:01:52.020 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 19 July 2025 08:56:17 -0400 (0:00:00.033) 0:01:52.053 ********* included: /tmp/collections-8WS/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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 19 July 2025 08:56:17 -0400 (0:00:00.019) 0:01:52.072 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 19 July 2025 08:56:17 -0400 (0:00:00.015) 0:01:52.088 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 19 July 2025 08:56:17 -0400 (0:00:00.013) 0:01:52.102 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 19 July 2025 08:56:17 -0400 (0:00:00.014) 0:01:52.116 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 19 July 2025 08:56:17 -0400 (0:00:00.038) 0:01:52.155 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 19 July 2025 08:56:17 -0400 (0:00:00.016) 0:01:52.171 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 19 July 2025 08:56:20 -0400 (0:00:02.866) 0:01:55.038 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752929747.1381414, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752929747.1371412, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752929747.1371412, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "873456440", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 19 July 2025 08:56:21 -0400 (0:00:00.336) 0:01:55.375 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 19 July 2025 08:56:21 -0400 (0:00:00.016) 0:01:55.391 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 19 July 2025 08:56:21 -0400 (0:00:00.014) 0:01:55.406 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 19 July 2025 08:56:21 -0400 (0:00:00.324) 0:01:55.730 ********* 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 19 July 2025 08:56:21 -0400 (0:00:00.024) 0:01:55.755 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752929747.1381414, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1752929747.1371412, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1752929747.1371412, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "873456440", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 19 July 2025 08:56:21 -0400 (0:00:00.345) 0:01:56.100 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1752929692.0342057, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1752929685.1941624, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1752929685.1931624, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "381644499", "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 19 July 2025 08:56:22 -0400 (0:00:00.343) 0:01:56.444 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004651", "end": "2025-07-19 08:56:22.460539", "rc": 0, "start": "2025-07-19 08:56:22.455888" } 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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 19 July 2025 08:56:22 -0400 (0:00:00.334) 0:01:56.778 ********* skipping: [managed-node1] => { "changed": false, "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-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 19 July 2025 08:56:22 -0400 (0:00:00.018) 0:01:56.797 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 19 July 2025 08:56:22 -0400 (0:00:00.330) 0:01:57.128 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 19 July 2025 08:56:23 -0400 (0:00:00.331) 0:01:57.460 ********* An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: fail_json() takes 1 positional argument but 2 were given fatal: [managed-node1]: FAILED! => { "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDOUT: Traceback (most recent call last): File "/root/.ansible/tmp/ansible-tmp-1752929783.2302766-11263-178057638377817/AnsiballZ_bootloader_settings.py", line 102, in _ansiballz_main() File "/root/.ansible/tmp/ansible-tmp-1752929783.2302766-11263-178057638377817/AnsiballZ_bootloader_settings.py", line 94, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "/root/.ansible/tmp/ansible-tmp-1752929783.2302766-11263-178057638377817/AnsiballZ_bootloader_settings.py", line 40, in invoke_module runpy.run_module(mod_name='ansible_collections.fedora.linux_system_roles.plugins.modules.bootloader_settings', init_globals=None, run_name='__main__', alter_sys=True) File "/usr/lib64/python3.6/runpy.py", line 205, in run_module return _run_module_code(code, init_globals, run_name, mod_spec) File "/usr/lib64/python3.6/runpy.py", line 96, in _run_module_code mod_name, mod_spec, pkg_name, script_name) File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/tmp/ansible_fedora.linux_system_roles.bootloader_settings_payload_fwmqe78o/ansible_fedora.linux_system_roles.bootloader_settings_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/bootloader_settings.py", line 485, in File "/tmp/ansible_fedora.linux_system_roles.bootloader_settings_payload_fwmqe78o/ansible_fedora.linux_system_roles.bootloader_settings_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/bootloader_settings.py", line 481, in main File "/tmp/ansible_fedora.linux_system_roles.bootloader_settings_payload_fwmqe78o/ansible_fedora.linux_system_roles.bootloader_settings_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/bootloader_settings.py", line 435, in run_module File "/tmp/ansible_fedora.linux_system_roles.bootloader_settings_payload_fwmqe78o/ansible_fedora.linux_system_roles.bootloader_settings_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/bootloader_settings.py", line 182, in validate_default_kernel TypeError: fail_json() takes 1 positional argument but 2 were given MODULE_STDERR: Shared connection to 10.31.42.86 closed. TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Saturday 19 July 2025 08:56:23 -0400 (0:00:00.330) 0:01:57.790 ********* fatal: [managed-node1]: FAILED! => { "assertion": "'Only one kernel can be set as default' in ansible_failed_result.msg", "changed": false, "evaluated_to": false } MSG: Assertion failed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Saturday 19 July 2025 08:56:23 -0400 (0:00:00.018) 0:01:57.808 ********* changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1" ], "delta": "0:00:00.107606", "end": "2025-07-19 08:56:23.933784", "failed_when_result": false, "item": 1, "rc": 0, "start": "2025-07-19 08:56:23.826178" } changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2" ], "delta": "0:00:00.080503", "end": "2025-07-19 08:56:24.331376", "failed_when_result": false, "item": 2, "rc": 0, "start": "2025-07-19 08:56:24.250873" } PLAY RECAP ********************************************************************* managed-node1 : ok=116 changed=10 unreachable=0 failed=1 skipped=88 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.9.27", "end_time": "2025-07-19T12:56:23.518076+00:00Z", "host": "managed-node1", "message": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1, "start_time": "2025-07-19T12:56:23.191334+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102" }, { "ansible_version": "2.9.27", "end_time": "2025-07-19T12:56:23.536443+00:00Z", "host": "managed-node1", "message": "Assertion failed", "start_time": "2025-07-19T12:56:23.521759+00:00Z", "task_name": "Assert that the role failed with multiple default kernels set", "task_path": "/tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 19 July 2025 08:56:24 -0400 (0:00:00.838) 0:01:58.647 ********* =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 27.97s /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.39s /tmp/collections-8WS/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 -- 22.06s /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 8.57s /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.87s /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 2.09s /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.79s /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 1.50s /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 1.45s /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.42s /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.42s /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 1.39s /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.38s /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 1.38s /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 fedora.linux_system_roles.bootloader : Determine platform type ---------- 1.35s /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 1.11s /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.08s /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 1.08s /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.08s /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Determine platform type ---------- 1.04s /tmp/collections-8WS/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44