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-b4N 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-b4N/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-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Wednesday 25 June 2025 08:09:45 -0400 (0:00:00.021) 0:00:00.021 ******** included: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Wednesday 25 June 2025 08:09:45 -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-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Wednesday 25 June 2025 08:09:47 -0400 (0:00:02.140) 0:00:02.175 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Wednesday 25 June 2025 08:09:47 -0400 (0:00:00.004) 0:00:02.179 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:09:47 -0400 (0:00:00.052) 0:00:02.231 ******** included: /tmp/collections-b4N/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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:09:47 -0400 (0:00:00.016) 0:00:02.248 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:09:47 -0400 (0:00:00.032) 0:00:02.281 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:09:48 -0400 (0:00:00.481) 0:00:02.762 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:09:48 -0400 (0:00:00.020) 0:00:02.783 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:09:48 -0400 (0:00:00.028) 0:00:02.811 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:09:48 -0400 (0:00:00.010) 0:00:02.822 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:09:54 -0400 (0:00:06.405) 0:00:09.227 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:09:55 -0400 (0:00:00.371) 0:00:09.599 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:09:55 -0400 (0:00:00.019) 0:00:09.618 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:09:55 -0400 (0:00:00.018) 0:00:09.637 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:09:55 -0400 (0:00:00.339) 0:00:09.976 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:09:55 -0400 (0:00:00.056) 0:00:10.033 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853395.1402082, "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:09:56 -0400 (0:00:00.352) 0:00:10.385 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:09:56 -0400 (0:00:00.353) 0:00:10.739 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004830", "end": "2025-06-25 08:09:56.813267", "rc": 0, "start": "2025-06-25 08:09:56.808437" } 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:09:56 -0400 (0:00:00.497) 0:00:11.236 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:09:56 -0400 (0:00:00.048) 0:00:11.284 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:09:57 -0400 (0:00:00.494) 0:00:11.779 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:09:57 -0400 (0:00:00.387) 0:00:12.166 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:09:58 -0400 (0:00:00.477) 0:00:12.643 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:09:58 -0400 (0:00:00.024) 0:00:12.668 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:09:58 -0400 (0:00:00.024) 0:00:12.693 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:09:58 -0400 (0:00:00.042) 0:00:12.735 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Wednesday 25 June 2025 08:09:59 -0400 (0:00:00.648) 0:00:13.384 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Wednesday 25 June 2025 08:09:59 -0400 (0:00:00.005) 0:00:13.389 ******** META: triggered running handlers for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Wednesday 25 June 2025 08:09:59 -0400 (0:00:00.001) 0:00:13.391 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Wednesday 25 June 2025 08:09:59 -0400 (0:00:00.043) 0:00:13.434 ******** included: /tmp/collections-b4N/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-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Wednesday 25 June 2025 08:09:59 -0400 (0:00:00.039) 0:00:13.474 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Wednesday 25 June 2025 08:10:00 -0400 (0:00:01.105) 0:00:14.579 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:10:00 -0400 (0:00:00.055) 0:00:14.635 ******** included: /tmp/collections-b4N/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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:10:00 -0400 (0:00:00.026) 0:00:14.662 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:10:00 -0400 (0:00:00.051) 0:00:14.714 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:10:00 -0400 (0:00:00.024) 0:00:14.738 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:10:00 -0400 (0:00:00.024) 0:00:14.763 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:10:00 -0400 (0:00:00.043) 0:00:14.806 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:10:00 -0400 (0:00:00.017) 0:00:14.824 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:10:01 -0400 (0:00:00.826) 0:00:15.650 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853395.1402082, "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:10:01 -0400 (0:00:00.389) 0:00:16.040 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:10:01 -0400 (0:00:00.018) 0:00:16.059 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:10:01 -0400 (0:00:00.016) 0:00:16.076 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:10:02 -0400 (0:00:00.375) 0:00:16.451 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:10:02 -0400 (0:00:00.059) 0:00:16.510 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853395.1402082, "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:10:02 -0400 (0:00:00.384) 0:00:16.894 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853397.7429755, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750853397.741233, "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": 1750853397.7429762, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2393171201", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:10:02 -0400 (0:00:00.374) 0:00:17.268 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004467", "end": "2025-06-25 08:10:03.232705", "rc": 0, "start": "2025-06-25 08:10:03.228238" } 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:10:03 -0400 (0:00:00.386) 0:00:17.655 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:10:03 -0400 (0:00:00.031) 0:00:17.686 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:10:03 -0400 (0:00:00.366) 0:00:18.053 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:10:04 -0400 (0:00:00.374) 0:00:18.427 ******** 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", "grubby --set-default=/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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:10:04 -0400 (0:00:00.640) 0:00:19.068 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:10:04 -0400 (0:00:00.017) 0:00:19.086 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:10:04 -0400 (0:00:00.016) 0:00:19.102 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:10:04 -0400 (0:00:00.026) 0:00:19.128 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Wednesday 25 June 2025 08:10:04 -0400 (0:00:00.028) 0:00:19.157 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 08:10:04 -0400 (0:00:00.001) 0:00:19.159 ******** 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.125069", "end": "2025-06-25 08:10:05.211654", "rc": 0, "start": "2025-06-25 08:10:05.086585" } 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 08:10:05 -0400 (0:00:00.485) 0:00:19.644 ******** included: /tmp/collections-b4N/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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 08:10:05 -0400 (0:00:00.018) 0:00:19.662 ******** changed: [managed-node1] => { "changed": true, "elapsed": 29, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 08:10:35 -0400 (0:00:30.155) 0:00:49.817 ******** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 08:10:35 -0400 (0:00:00.014) 0:00:49.831 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Wednesday 25 June 2025 08:10:35 -0400 (0:00:00.014) 0:00:49.846 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Wednesday 25 June 2025 08:10:35 -0400 (0:00:00.021) 0:00:49.868 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:10:35 -0400 (0:00:00.058) 0:00:49.926 ******** included: /tmp/collections-b4N/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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:10:35 -0400 (0:00:00.019) 0:00:49.946 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:10:35 -0400 (0:00:00.033) 0:00:49.980 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:10:35 -0400 (0:00:00.017) 0:00:49.997 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:10:35 -0400 (0:00:00.019) 0:00:50.017 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:10:35 -0400 (0:00:00.027) 0:00:50.044 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:10:35 -0400 (0:00:00.010) 0:00:50.055 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:10:37 -0400 (0:00:01.510) 0:00:51.566 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853405.2103045, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853405.2093046, "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": 1750853405.2093046, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1040389041", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:10:37 -0400 (0:00:00.396) 0:00:51.962 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:10:37 -0400 (0:00:00.012) 0:00:51.974 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:10:37 -0400 (0:00:00.011) 0:00:51.986 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:10:37 -0400 (0:00:00.346) 0:00:52.333 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:10:37 -0400 (0:00:00.037) 0:00:52.370 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853405.2103045, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853405.2093046, "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": 1750853405.2093046, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1040389041", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:10:38 -0400 (0:00:00.363) 0:00:52.734 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853402.8212817, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750853397.741233, "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": 1750853397.7429762, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2393171201", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:10:38 -0400 (0:00:00.372) 0:00:53.106 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004767", "end": "2025-06-25 08:10:39.021724", "rc": 0, "start": "2025-06-25 08:10:39.016957" } 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:10:39 -0400 (0:00:00.379) 0:00:53.486 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:10:39 -0400 (0:00:00.033) 0:00:53.519 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:10:39 -0400 (0:00:00.377) 0:00:53.897 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:10:39 -0400 (0:00:00.355) 0:00:54.252 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:10:40 -0400 (0:00:00.343) 0:00:54.596 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:10:40 -0400 (0:00:00.017) 0:00:54.613 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:10:40 -0400 (0:00:00.015) 0:00:54.628 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:10:40 -0400 (0:00:00.027) 0:00:54.656 ******** 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": "ec2b2940e9a4239b6b83a4ff2e07a13d-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-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Wednesday 25 June 2025 08:10:40 -0400 (0:00:00.497) 0:00:55.153 ******** included: /tmp/collections-b4N/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-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Wednesday 25 June 2025 08:10:40 -0400 (0:00:00.024) 0:00:55.178 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Wednesday 25 June 2025 08:10:41 -0400 (0:00:01.146) 0:00:56.325 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:10:41 -0400 (0:00:00.033) 0:00:56.358 ******** included: /tmp/collections-b4N/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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:10:42 -0400 (0:00:00.016) 0:00:56.375 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:10:42 -0400 (0:00:00.029) 0:00:56.404 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:10:42 -0400 (0:00:00.015) 0:00:56.420 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:10:42 -0400 (0:00:00.014) 0:00:56.434 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:10:42 -0400 (0:00:00.027) 0:00:56.462 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:10:42 -0400 (0:00:00.011) 0:00:56.473 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:10:42 -0400 (0:00:00.773) 0:00:57.247 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853405.2103045, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853405.2093046, "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": 1750853405.2093046, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1040389041", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:10:43 -0400 (0:00:00.356) 0:00:57.604 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:10:43 -0400 (0:00:00.014) 0:00:57.618 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:10:43 -0400 (0:00:00.011) 0:00:57.630 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:10:43 -0400 (0:00:00.341) 0:00:57.971 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:10:43 -0400 (0:00:00.038) 0:00:58.010 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853405.2103045, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853405.2093046, "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": 1750853405.2093046, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1040389041", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:10:43 -0400 (0:00:00.351) 0:00:58.362 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853402.8212817, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750853397.741233, "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": 1750853397.7429762, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2393171201", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:10:44 -0400 (0:00:00.360) 0:00:58.722 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004320", "end": "2025-06-25 08:10:44.668031", "rc": 0, "start": "2025-06-25 08:10:44.663711" } 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:10:44 -0400 (0:00:00.367) 0:00:59.089 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:10:44 -0400 (0:00:00.032) 0:00:59.121 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:10:45 -0400 (0:00:00.360) 0:00:59.481 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:10:45 -0400 (0:00:00.360) 0:00:59.841 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:10:46 -0400 (0:00:00.552) 0:01:00.394 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:10:46 -0400 (0:00:00.018) 0:01:00.412 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:10:46 -0400 (0:00:00.016) 0:01:00.429 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:10:46 -0400 (0:00:00.027) 0:01:00.456 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Wednesday 25 June 2025 08:10:46 -0400 (0:00:00.027) 0:01:00.484 ******** META: triggered running handlers for managed-node1 TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Wednesday 25 June 2025 08:10:46 -0400 (0:00:00.001) 0:01:00.486 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Wednesday 25 June 2025 08:10:46 -0400 (0:00:00.014) 0:01:00.500 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:10:46 -0400 (0:00:00.048) 0:01:00.549 ******** included: /tmp/collections-b4N/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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:10:46 -0400 (0:00:00.016) 0:01:00.565 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:10:46 -0400 (0:00:00.030) 0:01:00.596 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:10:46 -0400 (0:00:00.015) 0:01:00.611 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:10:46 -0400 (0:00:00.014) 0:01:00.626 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:10:46 -0400 (0:00:00.028) 0:01:00.654 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:10:46 -0400 (0:00:00.011) 0:01:00.665 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:10:47 -0400 (0:00:00.766) 0:01:01.432 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853405.2103045, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853405.2093046, "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": 1750853405.2093046, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1040389041", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:10:47 -0400 (0:00:00.360) 0:01:01.792 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:10:47 -0400 (0:00:00.013) 0:01:01.806 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:10:47 -0400 (0:00:00.012) 0:01:01.818 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:10:47 -0400 (0:00:00.340) 0:01:02.159 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:10:47 -0400 (0:00:00.038) 0:01:02.197 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853405.2103045, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853405.2093046, "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": 1750853405.2093046, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1040389041", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:10:48 -0400 (0:00:00.357) 0:01:02.555 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853402.8212817, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750853397.741233, "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": 1750853397.7429762, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2393171201", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:10:48 -0400 (0:00:00.360) 0:01:02.915 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004555", "end": "2025-06-25 08:10:48.857900", "rc": 0, "start": "2025-06-25 08:10:48.853345" } 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:10:48 -0400 (0:00:00.363) 0:01:03.279 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:10:48 -0400 (0:00:00.031) 0:01:03.311 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:10:49 -0400 (0:00:00.367) 0:01:03.678 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:10:49 -0400 (0:00:00.360) 0:01:04.038 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:10:50 -0400 (0:00:00.337) 0:01:04.376 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:10:50 -0400 (0:00:00.018) 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:10:50 -0400 (0:00:00.016) 0:01:04.412 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:10:50 -0400 (0:00:00.027) 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": "ec2b2940e9a4239b6b83a4ff2e07a13d-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-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Wednesday 25 June 2025 08:10:50 -0400 (0:00:00.490) 0:01:04.930 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Wednesday 25 June 2025 08:10:50 -0400 (0:00:00.040) 0:01:04.970 ******** included: /tmp/collections-b4N/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-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Wednesday 25 June 2025 08:10:50 -0400 (0:00:00.025) 0:01:04.995 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Wednesday 25 June 2025 08:10:51 -0400 (0:00:00.835) 0:01:05.830 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:10:51 -0400 (0:00:00.035) 0:01:05.866 ******** included: /tmp/collections-b4N/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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:10:51 -0400 (0:00:00.017) 0:01:05.883 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:10:51 -0400 (0:00:00.032) 0:01:05.915 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:10:51 -0400 (0:00:00.017) 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 platform/version specific variables] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:10:51 -0400 (0:00:00.016) 0:01:05.949 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:10:51 -0400 (0:00:00.029) 0:01:05.978 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:10:51 -0400 (0:00:00.012) 0:01:05.991 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:10:52 -0400 (0:00:00.778) 0:01:06.770 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853405.2103045, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853405.2093046, "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": 1750853405.2093046, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1040389041", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:10:52 -0400 (0:00:00.357) 0:01:07.128 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:10:52 -0400 (0:00:00.014) 0:01:07.142 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:10:52 -0400 (0:00:00.012) 0:01:07.155 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:10:53 -0400 (0:00:00.343) 0:01:07.498 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:10:53 -0400 (0:00:00.039) 0:01:07.537 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853405.2103045, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853405.2093046, "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": 1750853405.2093046, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1040389041", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:10:53 -0400 (0:00:00.357) 0:01:07.895 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853402.8212817, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750853397.741233, "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": 1750853397.7429762, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2393171201", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:10:53 -0400 (0:00:00.357) 0:01:08.252 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004941", "end": "2025-06-25 08:10:54.198492", "rc": 0, "start": "2025-06-25 08:10:54.193551" } 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:10:54 -0400 (0:00:00.366) 0:01:08.619 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:10:54 -0400 (0:00:00.031) 0:01:08.651 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:10:54 -0400 (0:00:00.356) 0:01:09.007 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:10:54 -0400 (0:00:00.359) 0:01:09.366 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:10:55 -0400 (0:00:00.613) 0:01:09.979 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:10:55 -0400 (0:00:00.017) 0:01:09.997 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:10:55 -0400 (0:00:00.016) 0:01:10.014 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:10:55 -0400 (0:00:00.028) 0:01:10.042 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Wednesday 25 June 2025 08:10:55 -0400 (0:00:00.028) 0:01:10.071 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 08:10:55 -0400 (0:00:00.001) 0:01:10.072 ******** 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.148855", "end": "2025-06-25 08:10:56.146093", "rc": 0, "start": "2025-06-25 08:10:55.997238" } 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 08:10:56 -0400 (0:00:00.494) 0:01:10.567 ******** included: /tmp/collections-b4N/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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 08:10:56 -0400 (0:00:00.014) 0:01:10.581 ******** changed: [managed-node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 08:11:28 -0400 (0:00:31.830) 0:01:42.412 ******** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 08:11:28 -0400 (0:00:00.012) 0:01:42.425 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Wednesday 25 June 2025 08:11:28 -0400 (0:00:00.016) 0:01:42.441 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Wednesday 25 June 2025 08:11:28 -0400 (0:00:00.016) 0:01:42.458 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:11:28 -0400 (0:00:00.051) 0:01:42.509 ******** included: /tmp/collections-b4N/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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:11:28 -0400 (0:00:00.018) 0:01:42.527 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:11:28 -0400 (0:00:00.032) 0:01:42.560 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:11:28 -0400 (0:00:00.017) 0:01:42.578 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:11:28 -0400 (0:00:00.017) 0:01:42.595 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:11:28 -0400 (0:00:00.029) 0:01:42.624 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:11:28 -0400 (0:00:00.012) 0:01:42.637 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:11:29 -0400 (0:00:01.513) 0:01:44.151 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853456.1456962, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853456.1446962, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 14121196, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853456.1446962, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1993582872", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:11:30 -0400 (0:00:00.386) 0:01:44.538 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:11:30 -0400 (0:00:00.014) 0:01:44.552 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:11:30 -0400 (0:00:00.013) 0:01:44.565 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:11:30 -0400 (0:00:00.345) 0:01:44.911 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:11:30 -0400 (0:00:00.038) 0:01:44.949 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853456.1456962, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853456.1446962, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 14121196, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853456.1446962, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1993582872", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:11:30 -0400 (0:00:00.360) 0:01:45.310 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853402.8212817, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750853397.741233, "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": 1750853397.7429762, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2393171201", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:11:31 -0400 (0:00:00.367) 0:01:45.678 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005249", "end": "2025-06-25 08:11:31.145208", "rc": 0, "start": "2025-06-25 08:11:31.139959" } 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:11:31 -0400 (0:00:00.367) 0:01:46.045 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:11:31 -0400 (0:00:00.033) 0:01:46.079 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:11:32 -0400 (0:00:00.365) 0:01:46.445 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:11:32 -0400 (0:00:00.357) 0:01:46.803 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:11:32 -0400 (0:00:00.345) 0:01:47.149 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:11:32 -0400 (0:00:00.018) 0:01:47.167 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:11:32 -0400 (0:00:00.016) 0:01:47.184 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:11:32 -0400 (0:00:00.030) 0:01:47.214 ******** 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": "ec2b2940e9a4239b6b83a4ff2e07a13d-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": "ec2b2940e9a4239b6b83a4ff2e07a13d-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-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Wednesday 25 June 2025 08:11:33 -0400 (0:00:00.528) 0:01:47.743 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Wednesday 25 June 2025 08:11:33 -0400 (0:00:00.041) 0:01:47.784 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:11:33 -0400 (0:00:00.032) 0:01:47.817 ******** included: /tmp/collections-b4N/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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:11:33 -0400 (0:00:00.016) 0:01:47.834 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:11:33 -0400 (0:00:00.031) 0:01:47.865 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:11:33 -0400 (0:00:00.018) 0:01:47.884 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:11:33 -0400 (0:00:00.016) 0:01:47.900 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:11:33 -0400 (0:00:00.028) 0:01:47.929 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:11:33 -0400 (0:00:00.013) 0:01:47.942 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:11:34 -0400 (0:00:00.779) 0:01:48.721 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853456.1456962, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853456.1446962, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 14121196, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853456.1446962, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1993582872", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:11:34 -0400 (0:00:00.356) 0:01:49.078 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:11:34 -0400 (0:00:00.015) 0:01:49.093 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:11:34 -0400 (0:00:00.011) 0:01:49.105 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:11:35 -0400 (0:00:00.346) 0:01:49.451 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:11:35 -0400 (0:00:00.040) 0:01:49.491 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853456.1456962, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853456.1446962, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 14121196, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853456.1446962, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1993582872", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:11:35 -0400 (0:00:00.360) 0:01:49.851 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853402.8212817, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750853397.741233, "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": 1750853397.7429762, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2393171201", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:11:35 -0400 (0:00:00.367) 0:01:50.218 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005003", "end": "2025-06-25 08:11:36.066662", "rc": 0, "start": "2025-06-25 08:11:36.061659" } 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:11:36 -0400 (0:00:00.372) 0:01:50.591 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:11:36 -0400 (0:00:00.033) 0:01:50.624 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:11:36 -0400 (0:00:00.364) 0:01:50.988 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:11:36 -0400 (0:00:00.372) 0:01:51.360 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Wednesday 25 June 2025 08:11:37 -0400 (0:00:00.349) 0:01:51.710 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Wednesday 25 June 2025 08:11:37 -0400 (0:00:00.015) 0:01:51.726 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:11:37 -0400 (0:00:00.055) 0:01:51.781 ******** included: /tmp/collections-b4N/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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:11:37 -0400 (0:00:00.018) 0:01:51.799 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:11:37 -0400 (0:00:00.031) 0:01:51.831 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:11:37 -0400 (0:00:00.017) 0:01:51.848 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:11:37 -0400 (0:00:00.019) 0:01:51.868 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:11:37 -0400 (0:00:00.029) 0:01:51.897 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:11:37 -0400 (0:00:00.013) 0:01:51.910 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:11:38 -0400 (0:00:00.776) 0:01:52.687 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853456.1456962, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853456.1446962, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 14121196, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853456.1446962, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1993582872", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:11:38 -0400 (0:00:00.356) 0:01:53.044 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:11:38 -0400 (0:00:00.013) 0:01:53.057 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:11:38 -0400 (0:00:00.012) 0:01:53.069 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:11:39 -0400 (0:00:00.340) 0:01:53.410 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:11:39 -0400 (0:00:00.066) 0:01:53.476 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853456.1456962, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853456.1446962, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 14121196, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853456.1446962, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1993582872", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:11:39 -0400 (0:00:00.360) 0:01:53.837 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853402.8212817, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750853397.741233, "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": 1750853397.7429762, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2393171201", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:11:39 -0400 (0:00:00.359) 0:01:54.197 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004338", "end": "2025-06-25 08:11:40.176516", "rc": 0, "start": "2025-06-25 08:11:40.172178" } 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:11:40 -0400 (0:00:00.400) 0:01:54.597 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:11:40 -0400 (0:00:00.063) 0:01:54.661 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:11:40 -0400 (0:00:00.389) 0:01:55.050 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:11:41 -0400 (0:00:00.389) 0:01:55.440 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:11:41 -0400 (0:00:00.687) 0:01:56.128 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:11:41 -0400 (0:00:00.018) 0:01:56.146 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:11:41 -0400 (0:00:00.016) 0:01:56.163 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:11:41 -0400 (0:00:00.027) 0:01:56.190 ******** 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": "ec2b2940e9a4239b6b83a4ff2e07a13d-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-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Wednesday 25 June 2025 08:11:42 -0400 (0:00:00.488) 0:01:56.679 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:11:42 -0400 (0:00:00.066) 0:01:56.745 ******** included: /tmp/collections-b4N/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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:11:42 -0400 (0:00:00.018) 0:01:56.764 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:11:42 -0400 (0:00:00.035) 0:01:56.799 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:11:42 -0400 (0:00:00.017) 0:01:56.817 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:11:42 -0400 (0:00:00.018) 0:01:56.835 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:11:42 -0400 (0:00:00.032) 0:01:56.868 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:11:42 -0400 (0:00:00.011) 0:01:56.880 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:11:43 -0400 (0:00:00.788) 0:01:57.668 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853456.1456962, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853456.1446962, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 14121196, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853456.1446962, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1993582872", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:11:43 -0400 (0:00:00.366) 0:01:58.035 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:11:43 -0400 (0:00:00.013) 0:01:58.049 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:11:43 -0400 (0:00:00.011) 0:01:58.060 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:11:44 -0400 (0:00:00.345) 0:01:58.406 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:11:44 -0400 (0:00:00.039) 0:01:58.445 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853456.1456962, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853456.1446962, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 14121196, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853456.1446962, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1993582872", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:11:44 -0400 (0:00:00.360) 0:01:58.806 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853402.8212817, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750853397.741233, "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": 1750853397.7429762, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2393171201", "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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:11:44 -0400 (0:00:00.362) 0:01:59.168 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004481", "end": "2025-06-25 08:11:45.115596", "rc": 0, "start": "2025-06-25 08:11:45.111115" } 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:11:45 -0400 (0:00:00.369) 0:01:59.537 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:11:45 -0400 (0:00:00.033) 0:01:59.571 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:11:45 -0400 (0:00:00.364) 0:01:59.936 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:11:45 -0400 (0:00:00.366) 0:02:00.302 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:11:46 -0400 (0:00:00.565) 0:02:00.868 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:11:46 -0400 (0:00:00.018) 0:02:00.886 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:11:46 -0400 (0:00:00.017) 0:02:00.904 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:11:46 -0400 (0:00:00.028) 0:02:00.933 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Wednesday 25 June 2025 08:11:47 -0400 (0:00:00.462) 0:02:01.396 ******** 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-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Wednesday 25 June 2025 08:11:47 -0400 (0:00:00.055) 0:02:01.452 ******** 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.042881", "end": "2025-06-25 08:11:47.420576", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-06-25 08:11:47.377695" } 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.043998", "end": "2025-06-25 08:11:47.796298", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-06-25 08:11:47.752300" } 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 08:11:47 -0400 (0:00:00.769) 0:02:02.221 ******** 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.099003", "end": "2025-06-25 08:11:48.246800", "rc": 0, "start": "2025-06-25 08:11:48.147797" } 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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 08:11:48 -0400 (0:00:00.448) 0:02:02.670 ******** included: /tmp/collections-b4N/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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 08:11:48 -0400 (0:00:00.014) 0:02:02.684 ******** changed: [managed-node1] => { "changed": true, "elapsed": 31, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 08:12:20 -0400 (0:00:32.101) 0:02:34.786 ******** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 08:12:20 -0400 (0:00:00.014) 0:02:34.800 ******** 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-25T12:11:37.337461+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-25T12:11:36.991139+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Wednesday 25 June 2025 08:12:20 -0400 (0:00:00.019) 0:02:34.819 ******** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 32.10s /tmp/collections-b4N/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 -- 31.83s /tmp/collections-b4N/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.16s /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 6.41s /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.14s /tmp/collections-b4N/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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.51s /tmp/collections-b4N/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.15s /tmp/collections-b4N/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.11s /tmp/collections-b4N/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.84s /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.83s /tmp/collections-b4N/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-b4N/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-b4N/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-b4N/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-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.77s /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Remove cloned kernels --------------------------------------------------- 0.77s /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.77s /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.69s /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.65s /tmp/collections-b4N/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139