ansible-playbook [core 2.17.12] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-Ju2 executable location = /usr/local/bin/ansible-playbook python version = 3.12.11 (main, Jun 4 2025, 00:00:00) [GCC 14.2.1 20250110 (Red Hat 14.2.1-8)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Thursday 26 June 2025 15:55:57 -0400 (0:00:00.022) 0:00:00.022 ********* included: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Thursday 26 June 2025 15:55:57 -0400 (0:00:00.013) 0:00:00.035 ********* [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Thursday 26 June 2025 15:55:59 -0400 (0:00:02.586) 0:00:02.622 ********* META: end_host conditional evaluated to False, continuing execution for managed-node1 skipping: [managed-node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node1" } MSG: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Thursday 26 June 2025 15:55:59 -0400 (0:00:00.004) 0:00:02.627 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 15:56:00 -0400 (0:00:00.054) 0:00:02.681 ********* included: /tmp/collections-Ju2/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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 15:56:00 -0400 (0:00:00.017) 0:00:02.699 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 15:56:00 -0400 (0:00:00.029) 0:00:02.728 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 15:56:00 -0400 (0:00:00.421) 0:00:03.149 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 15:56:00 -0400 (0:00:00.022) 0:00:03.172 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 15:56:00 -0400 (0:00:00.038) 0:00:03.211 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 15:56:00 -0400 (0:00:00.017) 0:00:03.228 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 15:56:06 -0400 (0:00:05.901) 0:00:09.130 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750750198.9026294, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1750750198.9013596, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 208510, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750750198.9026296, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "4038928334", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 15:56:06 -0400 (0:00:00.381) 0:00:09.512 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 15:56:06 -0400 (0:00:00.013) 0:00:09.525 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 15:56:06 -0400 (0:00:00.011) 0:00:09.537 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 15:56:07 -0400 (0:00:00.343) 0:00:09.880 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 15:56:07 -0400 (0:00:00.037) 0:00:09.917 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967766.7451885, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1750750198.9013596, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 208510, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750750198.9026296, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "4038928334", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 15:56:07 -0400 (0:00:00.355) 0:00:10.272 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750749311.64, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "df39325c4bee1865cb4dd102dbd182f8b1b28f5c", "ctime": 1750749311.641, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 208474, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750749311.641, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6975, "uid": 0, "version": "2879669531", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 15:56:07 -0400 (0:00:00.369) 0:00:10.642 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004809", "end": "2025-06-26 15:56:08.406548", "rc": 0, "start": "2025-06-26 15:56:08.401739" } 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 15:56:08 -0400 (0:00:00.487) 0:00:11.130 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 15:56:08 -0400 (0:00:00.035) 0:00:11.165 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 15:56:08 -0400 (0:00:00.455) 0:00:11.621 ********* changed: [managed-node1] => { "changed": true, "rc": 0 } MSG: 6 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 15:56:09 -0400 (0:00:00.392) 0:00:12.013 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 15:56:09 -0400 (0:00:00.466) 0:00:12.480 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 15:56:09 -0400 (0:00:00.017) 0:00:12.498 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 15:56:09 -0400 (0:00:00.015) 0:00:12.513 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 15:56:09 -0400 (0:00:00.031) 0:00:12.544 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "fa691548f0134ed0b2ae365b54460e12-6.12.0-98.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-98.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-98.el10.x86_64", "root": "UUID=0a4c0384-ac05-49a1-bf2b-0105495224f1", "title": "CentOS Stream (6.12.0-98.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "fa691548f0134ed0b2ae365b54460e12-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-fa691548f0134ed0b2ae365b54460e12.img", "kernel": "/boot/vmlinuz-0-rescue-fa691548f0134ed0b2ae365b54460e12", "root": "UUID=0a4c0384-ac05-49a1-bf2b-0105495224f1", "title": "CentOS Stream (0-rescue-fa691548f0134ed0b2ae365b54460e12) 10 (Coughlan)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Thursday 26 June 2025 15:56:10 -0400 (0:00:00.593) 0:00:13.138 ********* META: end_host conditional evaluated to False, continuing execution for managed-node1 skipping: [managed-node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node1" } MSG: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Thursday 26 June 2025 15:56:10 -0400 (0:00:00.006) 0:00:13.145 ********* META: triggered running handlers for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Thursday 26 June 2025 15:56:10 -0400 (0:00:00.001) 0:00:13.147 ********* ok: [managed-node1] => { "ansible_facts": { "__default_kernel": { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "fa691548f0134ed0b2ae365b54460e12-6.12.0-98.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-98.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-98.el10.x86_64", "root": "UUID=0a4c0384-ac05-49a1-bf2b-0105495224f1", "title": "CentOS Stream (6.12.0-98.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Thursday 26 June 2025 15:56:10 -0400 (0:00:00.041) 0:00:13.188 ********* included: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-6.12.0-98.el10.x86_64] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 26 June 2025 15:56:10 -0400 (0:00:00.029) 0:00:13.217 ********* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-98.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-98.el10.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "9fbb8fd74a651e7f8c5d63d51f995a64c303a06e", "dest": "/boot/vmlinuz-6.12.0-98.el10.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-98.el10.x86_64_clone1", "src": "/boot/vmlinuz-6.12.0-98.el10.x86_64" }, "md5sum": "3da04735ca92239ff7c9f3b3a3c5b0c5", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15919144, "src": "/boot/vmlinuz-6.12.0-98.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-98.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-98.el10.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "f085cd941df360c08ed2aa13b9e20f27396eae14", "dest": "/boot/initramfs-6.12.0-98.el10.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-98.el10.x86_64.img_clone1", "src": "/boot/initramfs-6.12.0-98.el10.x86_64.img" }, "md5sum": "7a2ce4c34fc2e350a9293cb4e89cf297", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 28472404, "src": "/boot/initramfs-6.12.0-98.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 26 June 2025 15:56:11 -0400 (0:00:01.054) 0:00:14.271 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 15:56:11 -0400 (0:00:00.058) 0:00:14.330 ********* included: /tmp/collections-Ju2/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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 15:56:11 -0400 (0:00:00.043) 0:00:14.373 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 15:56:11 -0400 (0:00:00.052) 0:00:14.426 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 15:56:11 -0400 (0:00:00.024) 0:00:14.451 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 15:56:11 -0400 (0:00:00.025) 0:00:14.476 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 15:56:11 -0400 (0:00:00.042) 0:00:14.519 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 15:56:11 -0400 (0:00:00.017) 0:00:14.536 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 15:56:12 -0400 (0:00:00.796) 0:00:15.332 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967766.7451885, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1750750198.9013596, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 208510, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750750198.9026296, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "4038928334", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 15:56:13 -0400 (0:00:00.359) 0:00:15.692 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 15:56:13 -0400 (0:00:00.020) 0:00:15.713 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 15:56:13 -0400 (0:00:00.018) 0:00:15.732 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 15:56:13 -0400 (0:00:00.374) 0:00:16.106 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 15:56:13 -0400 (0:00:00.059) 0:00:16.165 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967766.7451885, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1750750198.9013596, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 208510, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750750198.9026296, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "4038928334", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 15:56:13 -0400 (0:00:00.381) 0:00:16.547 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967769.2908018, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750967769.2902315, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750967769.2908025, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "900041546", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 15:56:14 -0400 (0:00:00.387) 0:00:16.935 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004338", "end": "2025-06-26 15:56:14.607712", "rc": 0, "start": "2025-06-26 15:56:14.603374" } 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 15:56:14 -0400 (0:00:00.398) 0:00:17.334 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 15:56:14 -0400 (0:00:00.049) 0:00:17.383 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 15:56:15 -0400 (0:00:00.389) 0:00:17.772 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 15:56:15 -0400 (0:00:00.369) 0:00:18.142 ********* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.12.0-98.el10.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.12.0-98.el10.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default --make-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 15:56:16 -0400 (0:00:00.591) 0:00:18.733 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 15:56:16 -0400 (0:00:00.017) 0:00:18.750 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 15:56:16 -0400 (0:00:00.016) 0:00:18.767 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 15:56:16 -0400 (0:00:00.026) 0:00:18.793 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Thursday 26 June 2025 15:56:16 -0400 (0:00:00.028) 0:00:18.822 ********* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 META: triggered running handlers for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 26 June 2025 15:56:16 -0400 (0:00:00.002) 0:00:18.824 ********* 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.122363", "end": "2025-06-26 15:56:16.570966", "rc": 0, "start": "2025-06-26 15:56:16.448603" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 26 June 2025 15:56:16 -0400 (0:00:00.467) 0:00:19.292 ********* included: /tmp/collections-Ju2/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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 26 June 2025 15:56:16 -0400 (0:00:00.020) 0:00:19.312 ********* changed: [managed-node1] => { "changed": true, "elapsed": 29, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 26 June 2025 15:56:46 -0400 (0:00:30.272) 0:00:49.585 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 26 June 2025 15:56:46 -0400 (0:00:00.011) 0:00:49.597 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 26 June 2025 15:56:46 -0400 (0:00:00.014) 0:00:49.611 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 26 June 2025 15:56:46 -0400 (0:00:00.013) 0:00:49.625 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 15:56:47 -0400 (0:00:00.049) 0:00:49.674 ********* included: /tmp/collections-Ju2/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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 15:56:47 -0400 (0:00:00.016) 0:00:49.691 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 15:56:47 -0400 (0:00:00.029) 0:00:49.721 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 15:56:47 -0400 (0:00:00.016) 0:00:49.737 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 15:56:47 -0400 (0:00:00.014) 0:00:49.752 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 15:56:47 -0400 (0:00:00.028) 0:00:49.780 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 15:56:47 -0400 (0:00:00.010) 0:00:49.791 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 15:56:48 -0400 (0:00:01.501) 0:00:51.293 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967776.5703542, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750967776.5693543, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763612, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750967776.5693543, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1943706527", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 15:56:49 -0400 (0:00:00.390) 0:00:51.684 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 15:56:49 -0400 (0:00:00.014) 0:00:51.699 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 15:56:49 -0400 (0:00:00.013) 0:00:51.713 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 15:56:49 -0400 (0:00:00.350) 0:00:52.063 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 15:56:49 -0400 (0:00:00.040) 0:00:52.103 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967776.5703542, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750967776.5693543, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763612, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750967776.5693543, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1943706527", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 15:56:49 -0400 (0:00:00.368) 0:00:52.471 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967774.190314, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750967769.2902315, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750967769.2908025, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "900041546", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 15:56:50 -0400 (0:00:00.372) 0:00:52.844 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005258", "end": "2025-06-26 15:56:50.079266", "rc": 0, "start": "2025-06-26 15:56:50.074008" } 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 15:56:50 -0400 (0:00:00.379) 0:00:53.224 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 15:56:50 -0400 (0:00:00.032) 0:00:53.257 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 15:56:50 -0400 (0:00:00.372) 0:00:53.629 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 15:56:51 -0400 (0:00:00.372) 0:00:54.002 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 15:56:51 -0400 (0:00:00.355) 0:00:54.358 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 15:56:51 -0400 (0:00:00.017) 0:00:54.375 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 15:56:51 -0400 (0:00:00.015) 0:00:54.390 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 15:56:51 -0400 (0:00:00.027) 0:00:54.417 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "fa691548f0134ed0b2ae365b54460e12-6.12.0-98.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-98.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-98.el10.x86_64", "root": "UUID=0a4c0384-ac05-49a1-bf2b-0105495224f1", "title": "CentOS Stream (6.12.0-98.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "fa691548f0134ed0b2ae365b54460e12-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-fa691548f0134ed0b2ae365b54460e12.img", "kernel": "/boot/vmlinuz-0-rescue-fa691548f0134ed0b2ae365b54460e12", "root": "UUID=0a4c0384-ac05-49a1-bf2b-0105495224f1", "title": "CentOS Stream (0-rescue-fa691548f0134ed0b2ae365b54460e12) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "ec25e5ecc375153c26bc01f36ac207cc-6.12.0-98.el10.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-6.12.0-98.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.0-98.el10.x86_64_clone1", "root": "UUID=0a4c0384-ac05-49a1-bf2b-0105495224f1", "title": "Clone1" } ] }, "changed": false } TASK [Clone again to check idempotency] **************************************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Thursday 26 June 2025 15:56:52 -0400 (0:00:00.514) 0:00:54.932 ********* included: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-6.12.0-98.el10.x86_64] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 26 June 2025 15:56:52 -0400 (0:00:00.030) 0:00:54.963 ********* ok: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-98.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-98.el10.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "9fbb8fd74a651e7f8c5d63d51f995a64c303a06e", "dest": "/boot/vmlinuz-6.12.0-98.el10.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-98.el10.x86_64_clone1", "src": "/boot/vmlinuz-6.12.0-98.el10.x86_64" }, "md5sum": "3da04735ca92239ff7c9f3b3a3c5b0c5", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15919144, "src": "/boot/vmlinuz-6.12.0-98.el10.x86_64", "state": "file", "uid": 0 } ok: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-98.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-98.el10.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "f085cd941df360c08ed2aa13b9e20f27396eae14", "dest": "/boot/initramfs-6.12.0-98.el10.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-98.el10.x86_64.img_clone1", "src": "/boot/initramfs-6.12.0-98.el10.x86_64.img" }, "md5sum": "7a2ce4c34fc2e350a9293cb4e89cf297", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 28472404, "src": "/boot/initramfs-6.12.0-98.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 26 June 2025 15:56:53 -0400 (0:00:01.201) 0:00:56.164 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 15:56:53 -0400 (0:00:00.033) 0:00:56.198 ********* included: /tmp/collections-Ju2/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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 15:56:53 -0400 (0:00:00.016) 0:00:56.215 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 15:56:53 -0400 (0:00:00.030) 0:00:56.245 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 15:56:53 -0400 (0:00:00.016) 0:00:56.262 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 15:56:53 -0400 (0:00:00.015) 0:00:56.278 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 15:56:53 -0400 (0:00:00.028) 0:00:56.307 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 15:56:53 -0400 (0:00:00.011) 0:00:56.319 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 15:56:54 -0400 (0:00:00.780) 0:00:57.099 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967776.5703542, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750967776.5693543, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763612, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750967776.5693543, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1943706527", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 15:56:54 -0400 (0:00:00.354) 0:00:57.454 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 15:56:54 -0400 (0:00:00.014) 0:00:57.468 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 15:56:54 -0400 (0:00:00.011) 0:00:57.480 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 15:56:55 -0400 (0:00:00.345) 0:00:57.826 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 15:56:55 -0400 (0:00:00.038) 0:00:57.865 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967776.5703542, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750967776.5693543, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763612, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750967776.5693543, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1943706527", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 15:56:55 -0400 (0:00:00.359) 0:00:58.225 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967774.190314, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750967769.2902315, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750967769.2908025, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "900041546", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 15:56:55 -0400 (0:00:00.362) 0:00:58.588 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004468", "end": "2025-06-26 15:56:56.241783", "rc": 0, "start": "2025-06-26 15:56:56.237315" } 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 15:56:56 -0400 (0:00:00.375) 0:00:58.963 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 15:56:56 -0400 (0:00:00.032) 0:00:58.996 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 15:56:56 -0400 (0:00:00.359) 0:00:59.355 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 15:56:57 -0400 (0:00:00.364) 0:00:59.720 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 15:56:57 -0400 (0:00:00.610) 0:01:00.331 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 15:56:57 -0400 (0:00:00.017) 0:01:00.348 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 15:56:57 -0400 (0:00:00.015) 0:01:00.364 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 15:56:57 -0400 (0:00:00.027) 0:01:00.391 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Thursday 26 June 2025 15:56:57 -0400 (0:00:00.028) 0:01:00.420 ********* META: triggered running handlers for managed-node1 TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 26 June 2025 15:56:57 -0400 (0:00:00.001) 0:01:00.422 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 26 June 2025 15:56:57 -0400 (0:00:00.015) 0:01:00.437 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 15:56:57 -0400 (0:00:00.049) 0:01:00.487 ********* included: /tmp/collections-Ju2/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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 15:56:57 -0400 (0:00:00.017) 0:01:00.504 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 15:56:57 -0400 (0:00:00.032) 0:01:00.537 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 15:56:57 -0400 (0:00:00.016) 0:01:00.554 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 15:56:57 -0400 (0:00:00.016) 0:01:00.570 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 15:56:57 -0400 (0:00:00.029) 0:01:00.599 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 15:56:57 -0400 (0:00:00.012) 0:01:00.611 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 15:56:58 -0400 (0:00:00.787) 0:01:01.399 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967776.5703542, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750967776.5693543, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763612, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750967776.5693543, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1943706527", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 15:56:59 -0400 (0:00:00.366) 0:01:01.765 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 15:56:59 -0400 (0:00:00.015) 0:01:01.780 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 15:56:59 -0400 (0:00:00.012) 0:01:01.793 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 15:56:59 -0400 (0:00:00.342) 0:01:02.135 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 15:56:59 -0400 (0:00:00.038) 0:01:02.173 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967776.5703542, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750967776.5693543, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763612, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750967776.5693543, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1943706527", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 15:56:59 -0400 (0:00:00.356) 0:01:02.530 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967774.190314, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750967769.2902315, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750967769.2908025, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "900041546", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 15:57:00 -0400 (0:00:00.362) 0:01:02.892 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004583", "end": "2025-06-26 15:57:00.537805", "rc": 0, "start": "2025-06-26 15:57:00.533222" } 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 15:57:00 -0400 (0:00:00.366) 0:01:03.259 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 15:57:00 -0400 (0:00:00.031) 0:01:03.290 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 15:57:00 -0400 (0:00:00.363) 0:01:03.654 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 15:57:01 -0400 (0:00:00.370) 0:01:04.024 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 15:57:01 -0400 (0:00:00.353) 0:01:04.377 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 15:57:01 -0400 (0:00:00.017) 0:01:04.395 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 15:57:01 -0400 (0:00:00.016) 0:01:04.411 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 15:57:01 -0400 (0:00:00.028) 0:01:04.439 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "fa691548f0134ed0b2ae365b54460e12-6.12.0-98.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-98.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-98.el10.x86_64", "root": "UUID=0a4c0384-ac05-49a1-bf2b-0105495224f1", "title": "CentOS Stream (6.12.0-98.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "fa691548f0134ed0b2ae365b54460e12-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-fa691548f0134ed0b2ae365b54460e12.img", "kernel": "/boot/vmlinuz-0-rescue-fa691548f0134ed0b2ae365b54460e12", "root": "UUID=0a4c0384-ac05-49a1-bf2b-0105495224f1", "title": "CentOS Stream (0-rescue-fa691548f0134ed0b2ae365b54460e12) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "ec25e5ecc375153c26bc01f36ac207cc-6.12.0-98.el10.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-6.12.0-98.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.0-98.el10.x86_64_clone1", "root": "UUID=0a4c0384-ac05-49a1-bf2b-0105495224f1", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone1] ********************************************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Thursday 26 June 2025 15:57:02 -0400 (0:00:00.493) 0:01:04.933 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Thursday 26 June 2025 15:57:02 -0400 (0:00:00.039) 0:01:04.973 ********* included: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-6.12.0-98.el10.x86_64] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 26 June 2025 15:57:02 -0400 (0:00:00.026) 0:01:04.999 ********* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-98.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-98.el10.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "9fbb8fd74a651e7f8c5d63d51f995a64c303a06e", "dest": "/boot/vmlinuz-6.12.0-98.el10.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-98.el10.x86_64_clone2", "src": "/boot/vmlinuz-6.12.0-98.el10.x86_64" }, "md5sum": "3da04735ca92239ff7c9f3b3a3c5b0c5", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15919144, "src": "/boot/vmlinuz-6.12.0-98.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-98.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-98.el10.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "f085cd941df360c08ed2aa13b9e20f27396eae14", "dest": "/boot/initramfs-6.12.0-98.el10.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-98.el10.x86_64.img_clone2", "src": "/boot/initramfs-6.12.0-98.el10.x86_64.img" }, "md5sum": "7a2ce4c34fc2e350a9293cb4e89cf297", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 28472404, "src": "/boot/initramfs-6.12.0-98.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 26 June 2025 15:57:03 -0400 (0:00:00.849) 0:01:05.849 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 15:57:03 -0400 (0:00:00.035) 0:01:05.884 ********* included: /tmp/collections-Ju2/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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 15:57:03 -0400 (0:00:00.017) 0:01:05.902 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 15:57:03 -0400 (0:00:00.031) 0:01:05.933 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 15:57:03 -0400 (0:00:00.017) 0:01:05.951 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 15:57:03 -0400 (0:00:00.016) 0:01:05.968 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 15:57:03 -0400 (0:00:00.030) 0:01:05.998 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 15:57:03 -0400 (0:00:00.013) 0:01:06.011 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 15:57:04 -0400 (0:00:00.784) 0:01:06.796 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967776.5703542, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750967776.5693543, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763612, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750967776.5693543, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1943706527", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 15:57:04 -0400 (0:00:00.357) 0:01:07.153 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 15:57:04 -0400 (0:00:00.014) 0:01:07.168 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 15:57:04 -0400 (0:00:00.012) 0:01:07.180 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 15:57:04 -0400 (0:00:00.343) 0:01:07.523 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 15:57:04 -0400 (0:00:00.038) 0:01:07.562 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967776.5703542, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750967776.5693543, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763612, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750967776.5693543, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1943706527", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 15:57:05 -0400 (0:00:00.360) 0:01:07.923 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967774.190314, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750967769.2902315, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750967769.2908025, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "900041546", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 15:57:05 -0400 (0:00:00.364) 0:01:08.287 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004547", "end": "2025-06-26 15:57:05.938719", "rc": 0, "start": "2025-06-26 15:57:05.934172" } 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 15:57:05 -0400 (0:00:00.373) 0:01:08.660 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 15:57:06 -0400 (0:00:00.032) 0:01:08.693 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 15:57:06 -0400 (0:00:00.361) 0:01:09.054 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 15:57:06 -0400 (0:00:00.361) 0:01:09.416 ********* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.12.0-98.el10.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.12.0-98.el10.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 15:57:07 -0400 (0:00:00.617) 0:01:10.033 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 15:57:07 -0400 (0:00:00.018) 0:01:10.051 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 15:57:07 -0400 (0:00:00.016) 0:01:10.068 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 15:57:07 -0400 (0:00:00.028) 0:01:10.097 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Thursday 26 June 2025 15:57:07 -0400 (0:00:00.029) 0:01:10.127 ********* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 META: triggered running handlers for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 26 June 2025 15:57:07 -0400 (0:00:00.001) 0:01:10.129 ********* 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.152132", "end": "2025-06-26 15:57:07.905627", "rc": 0, "start": "2025-06-26 15:57:07.753495" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 26 June 2025 15:57:07 -0400 (0:00:00.499) 0:01:10.628 ********* included: /tmp/collections-Ju2/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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 26 June 2025 15:57:07 -0400 (0:00:00.013) 0:01:10.641 ********* changed: [managed-node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 26 June 2025 15:57:39 -0400 (0:00:31.150) 0:01:41.792 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 26 June 2025 15:57:39 -0400 (0:00:00.012) 0:01:41.805 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 26 June 2025 15:57:39 -0400 (0:00:00.014) 0:01:41.820 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 26 June 2025 15:57:39 -0400 (0:00:00.015) 0:01:41.836 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 15:57:39 -0400 (0:00:00.051) 0:01:41.887 ********* included: /tmp/collections-Ju2/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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 15:57:39 -0400 (0:00:00.017) 0:01:41.905 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 15:57:39 -0400 (0:00:00.032) 0:01:41.937 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 15:57:39 -0400 (0:00:00.017) 0:01:41.955 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 15:57:39 -0400 (0:00:00.016) 0:01:41.972 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 15:57:39 -0400 (0:00:00.028) 0:01:42.001 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 15:57:39 -0400 (0:00:00.011) 0:01:42.012 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 15:57:40 -0400 (0:00:01.508) 0:01:43.521 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967827.9041407, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750967827.9041407, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763593, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750967827.9041407, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2270572277", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 15:57:41 -0400 (0:00:00.391) 0:01:43.913 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 15:57:41 -0400 (0:00:00.012) 0:01:43.926 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 15:57:41 -0400 (0:00:00.012) 0:01:43.938 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 15:57:41 -0400 (0:00:00.346) 0:01:44.285 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 15:57:41 -0400 (0:00:00.039) 0:01:44.324 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967860.7725594, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750967827.9041407, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763593, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750967827.9041407, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2270572277", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 15:57:42 -0400 (0:00:00.361) 0:01:44.685 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967774.190314, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750967769.2902315, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750967769.2908025, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "900041546", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 15:57:42 -0400 (0:00:00.362) 0:01:45.047 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005203", "end": "2025-06-26 15:57:42.452153", "rc": 0, "start": "2025-06-26 15:57:42.446950" } 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 15:57:42 -0400 (0:00:00.368) 0:01:45.415 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 15:57:42 -0400 (0:00:00.034) 0:01:45.450 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 15:57:43 -0400 (0:00:00.365) 0:01:45.816 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 15:57:43 -0400 (0:00:00.366) 0:01:46.182 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 15:57:43 -0400 (0:00:00.346) 0:01:46.528 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 15:57:43 -0400 (0:00:00.018) 0:01:46.547 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 15:57:43 -0400 (0:00:00.015) 0:01:46.563 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 15:57:43 -0400 (0:00:00.029) 0:01:46.593 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "fa691548f0134ed0b2ae365b54460e12-6.12.0-98.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-98.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-98.el10.x86_64", "root": "UUID=0a4c0384-ac05-49a1-bf2b-0105495224f1", "title": "CentOS Stream (6.12.0-98.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "fa691548f0134ed0b2ae365b54460e12-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-fa691548f0134ed0b2ae365b54460e12.img", "kernel": "/boot/vmlinuz-0-rescue-fa691548f0134ed0b2ae365b54460e12", "root": "UUID=0a4c0384-ac05-49a1-bf2b-0105495224f1", "title": "CentOS Stream (0-rescue-fa691548f0134ed0b2ae365b54460e12) 10 (Coughlan)" }, { "args": "test=kernel", "default": false, "id": "ec25e5ecc375153c26bc01f36ac207cc-6.12.0-98.el10.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-6.12.0-98.el10.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.12.0-98.el10.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "ec25e5ecc375153c26bc01f36ac207cc-6.12.0-98.el10.x86_64_clone1", "index": "3", "initrd": "/boot/initramfs-6.12.0-98.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.0-98.el10.x86_64_clone1", "root": "UUID=0a4c0384-ac05-49a1-bf2b-0105495224f1", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone2] ********************************************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Thursday 26 June 2025 15:57:44 -0400 (0:00:00.526) 0:01:47.119 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Thursday 26 June 2025 15:57:44 -0400 (0:00:00.039) 0:01:47.159 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 15:57:44 -0400 (0:00:00.039) 0:01:47.198 ********* included: /tmp/collections-Ju2/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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 15:57:44 -0400 (0:00:00.016) 0:01:47.215 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 15:57:44 -0400 (0:00:00.031) 0:01:47.247 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 15:57:44 -0400 (0:00:00.017) 0:01:47.264 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 15:57:44 -0400 (0:00:00.017) 0:01:47.281 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 15:57:44 -0400 (0:00:00.028) 0:01:47.310 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 15:57:44 -0400 (0:00:00.012) 0:01:47.322 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 15:57:45 -0400 (0:00:00.779) 0:01:48.102 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967860.7725594, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750967827.9041407, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763593, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750967827.9041407, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2270572277", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 15:57:45 -0400 (0:00:00.358) 0:01:48.461 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 15:57:45 -0400 (0:00:00.014) 0:01:48.475 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 15:57:45 -0400 (0:00:00.012) 0:01:48.487 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 15:57:46 -0400 (0:00:00.346) 0:01:48.834 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 15:57:46 -0400 (0:00:00.040) 0:01:48.874 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967860.7725594, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750967827.9041407, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763593, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750967827.9041407, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2270572277", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 15:57:46 -0400 (0:00:00.365) 0:01:49.239 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967774.190314, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750967769.2902315, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750967769.2908025, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "900041546", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 15:57:46 -0400 (0:00:00.364) 0:01:49.604 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004567", "end": "2025-06-26 15:57:47.251695", "rc": 0, "start": "2025-06-26 15:57:47.247128" } 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 15:57:47 -0400 (0:00:00.370) 0:01:49.975 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 15:57:47 -0400 (0:00:00.034) 0:01:50.010 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 15:57:47 -0400 (0:00:00.365) 0:01:50.375 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 15:57:48 -0400 (0:00:00.365) 0:01:50.740 ********* fatal: [managed-node1]: FAILED! => { "changed": false } MSG: Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-6.12.0-98.el10.x86_64_clone1, /boot/vmlinuz-6.12.0-98.el10.x86_64_clone2 TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Thursday 26 June 2025 15:57:48 -0400 (0:00:00.346) 0:01:51.087 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Thursday 26 June 2025 15:57:48 -0400 (0:00:00.016) 0:01:51.103 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 15:57:48 -0400 (0:00:00.057) 0:01:51.160 ********* included: /tmp/collections-Ju2/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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 15:57:48 -0400 (0:00:00.018) 0:01:51.178 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 15:57:48 -0400 (0:00:00.032) 0:01:51.211 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 15:57:48 -0400 (0:00:00.023) 0:01:51.234 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 15:57:48 -0400 (0:00:00.017) 0:01:51.252 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 15:57:48 -0400 (0:00:00.030) 0:01:51.282 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 15:57:48 -0400 (0:00:00.011) 0:01:51.294 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 15:57:49 -0400 (0:00:00.786) 0:01:52.080 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967860.7725594, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750967827.9041407, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763593, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750967827.9041407, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2270572277", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 15:57:49 -0400 (0:00:00.359) 0:01:52.440 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 15:57:49 -0400 (0:00:00.013) 0:01:52.453 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 15:57:49 -0400 (0:00:00.013) 0:01:52.467 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 15:57:50 -0400 (0:00:00.339) 0:01:52.806 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 15:57:50 -0400 (0:00:00.068) 0:01:52.875 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967860.7725594, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750967827.9041407, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763593, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750967827.9041407, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2270572277", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 15:57:50 -0400 (0:00:00.361) 0:01:53.236 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967774.190314, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750967769.2902315, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750967769.2908025, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "900041546", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 15:57:50 -0400 (0:00:00.371) 0:01:53.608 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004427", "end": "2025-06-26 15:57:51.283719", "rc": 0, "start": "2025-06-26 15:57:51.279292" } 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 15:57:51 -0400 (0:00:00.397) 0:01:54.006 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 15:57:51 -0400 (0:00:00.062) 0:01:54.068 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 15:57:51 -0400 (0:00:00.395) 0:01:54.464 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 15:57:52 -0400 (0:00:00.392) 0:01:54.856 ********* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.12.0-98.el10.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 15:57:52 -0400 (0:00:00.692) 0:01:55.549 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 15:57:52 -0400 (0:00:00.020) 0:01:55.569 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 15:57:52 -0400 (0:00:00.018) 0:01:55.588 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 15:57:52 -0400 (0:00:00.030) 0:01:55.618 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "fa691548f0134ed0b2ae365b54460e12-6.12.0-98.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-98.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-98.el10.x86_64", "root": "UUID=0a4c0384-ac05-49a1-bf2b-0105495224f1", "title": "CentOS Stream (6.12.0-98.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "fa691548f0134ed0b2ae365b54460e12-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-fa691548f0134ed0b2ae365b54460e12.img", "kernel": "/boot/vmlinuz-0-rescue-fa691548f0134ed0b2ae365b54460e12", "root": "UUID=0a4c0384-ac05-49a1-bf2b-0105495224f1", "title": "CentOS Stream (0-rescue-fa691548f0134ed0b2ae365b54460e12) 10 (Coughlan)" }, { "args": "test=kernel", "default": false, "id": "ec25e5ecc375153c26bc01f36ac207cc-6.12.0-98.el10.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-6.12.0-98.el10.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.12.0-98.el10.x86_64_clone2", "title": "Clone2" } ] }, "changed": false } TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Thursday 26 June 2025 15:57:53 -0400 (0:00:00.486) 0:01:56.105 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 15:57:53 -0400 (0:00:00.066) 0:01:56.171 ********* included: /tmp/collections-Ju2/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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 15:57:53 -0400 (0:00:00.017) 0:01:56.189 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 15:57:53 -0400 (0:00:00.034) 0:01:56.224 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 15:57:53 -0400 (0:00:00.017) 0:01:56.241 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 15:57:53 -0400 (0:00:00.018) 0:01:56.260 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 15:57:53 -0400 (0:00:00.040) 0:01:56.301 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 15:57:53 -0400 (0:00:00.012) 0:01:56.313 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Thursday 26 June 2025 15:57:54 -0400 (0:00:00.786) 0:01:57.100 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967860.7725594, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750967827.9041407, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763593, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750967827.9041407, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2270572277", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Thursday 26 June 2025 15:57:54 -0400 (0:00:00.365) 0:01:57.465 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Thursday 26 June 2025 15:57:54 -0400 (0:00:00.014) 0:01:57.480 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Thursday 26 June 2025 15:57:54 -0400 (0:00:00.012) 0:01:57.492 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Thursday 26 June 2025 15:57:55 -0400 (0:00:00.344) 0:01:57.837 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Thursday 26 June 2025 15:57:55 -0400 (0:00:00.040) 0:01:57.878 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967860.7725594, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750967827.9041407, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763593, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750967827.9041407, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "2270572277", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Thursday 26 June 2025 15:57:55 -0400 (0:00:00.361) 0:01:58.240 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750967774.190314, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750967769.2902315, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750967769.2908025, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "900041546", "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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Thursday 26 June 2025 15:57:55 -0400 (0:00:00.369) 0:01:58.609 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005060", "end": "2025-06-26 15:57:56.256717", "rc": 0, "start": "2025-06-26 15:57:56.251657" } 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Thursday 26 June 2025 15:57:56 -0400 (0:00:00.369) 0:01:58.979 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Thursday 26 June 2025 15:57:56 -0400 (0:00:00.034) 0:01:59.014 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Thursday 26 June 2025 15:57:56 -0400 (0:00:00.367) 0:01:59.382 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Thursday 26 June 2025 15:57:57 -0400 (0:00:00.364) 0:01:59.747 ********* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.12.0-98.el10.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Thursday 26 June 2025 15:57:57 -0400 (0:00:00.553) 0:02:00.300 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 26 June 2025 15:57:57 -0400 (0:00:00.019) 0:02:00.319 ********* 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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Thursday 26 June 2025 15:57:57 -0400 (0:00:00.017) 0:02:00.337 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Thursday 26 June 2025 15:57:57 -0400 (0:00:00.034) 0:02:00.372 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "fa691548f0134ed0b2ae365b54460e12-6.12.0-98.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-98.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-98.el10.x86_64", "root": "UUID=0a4c0384-ac05-49a1-bf2b-0105495224f1", "title": "CentOS Stream (6.12.0-98.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "fa691548f0134ed0b2ae365b54460e12-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-fa691548f0134ed0b2ae365b54460e12.img", "kernel": "/boot/vmlinuz-0-rescue-fa691548f0134ed0b2ae365b54460e12", "root": "UUID=0a4c0384-ac05-49a1-bf2b-0105495224f1", "title": "CentOS Stream (0-rescue-fa691548f0134ed0b2ae365b54460e12) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that kernel is removed {{ item }}] ******************************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Thursday 26 June 2025 15:57:58 -0400 (0:00:00.455) 0:02:00.827 ********* ok: [managed-node1] => (item=Clone1) => { "ansible_loop_var": "item", "changed": false, "item": "Clone1" } MSG: All assertions passed ok: [managed-node1] => (item=Clone2) => { "ansible_loop_var": "item", "changed": false, "item": "Clone2" } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Thursday 26 June 2025 15:57:58 -0400 (0:00:00.050) 0:02:00.878 ********* changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.0-98.el10.x86_64_clone1" ], "delta": "0:00:00.041890", "end": "2025-06-26 15:57:58.539009", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-06-26 15:57:58.497119" } STDERR: The param /boot/vmlinuz-6.12.0-98.el10.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.0-98.el10.x86_64_clone2" ], "delta": "0:00:00.042426", "end": "2025-06-26 15:57:58.908315", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-06-26 15:57:58.865889" } STDERR: The param /boot/vmlinuz-6.12.0-98.el10.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 26 June 2025 15:57:58 -0400 (0:00:00.753) 0:02:01.631 ********* 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.099367", "end": "2025-06-26 15:57:59.355310", "rc": 0, "start": "2025-06-26 15:57:59.255943" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 26 June 2025 15:57:59 -0400 (0:00:00.446) 0:02:02.078 ********* included: /tmp/collections-Ju2/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-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 26 June 2025 15:57:59 -0400 (0:00:00.015) 0:02:02.093 ********* changed: [managed-node1] => { "changed": true, "elapsed": 28, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 26 June 2025 15:58:29 -0400 (0:00:29.653) 0:02:31.746 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 26 June 2025 15:58:29 -0400 (0:00:00.013) 0:02:31.760 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=156 changed=14 unreachable=0 failed=0 skipped=111 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.12", "end_time": "2025-06-26T19:57:48.413810+00:00Z", "host": "managed-node1", "message": "Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-6.12.0-98.el10.x86_64_clone1, /boot/vmlinuz-6.12.0-98.el10.x86_64_clone2", "start_time": "2025-06-26T19:57:48.070764+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 26 June 2025 15:58:29 -0400 (0:00:00.014) 0:02:31.774 ********* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 31.15s /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 30.27s /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 29.65s /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.90s /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.59s /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.51s /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.50s /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Copy kernel and initrd for test purposes from /boot/vmlinuz-6.12.0-98.el10.x86_64 --- 1.20s /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-6.12.0-98.el10.x86_64 --- 1.05s /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-6.12.0-98.el10.x86_64 --- 0.85s /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.80s /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.79s /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.79s /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.79s /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.78s /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.78s /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.78s /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Remove cloned kernels --------------------------------------------------- 0.75s /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.69s /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.62s /tmp/collections-Ju2/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102