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-t8X 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-t8X/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-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Wednesday 25 June 2025 14:45:46 -0400 (0:00:00.022) 0:00:00.022 ******** included: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Wednesday 25 June 2025 14:45:46 -0400 (0:00:00.014) 0:00:00.036 ******** [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-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Wednesday 25 June 2025 14:45:49 -0400 (0:00:02.401) 0:00:02.438 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Wednesday 25 June 2025 14:45:49 -0400 (0:00:00.004) 0:00:02.443 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:45:49 -0400 (0:00:00.054) 0:00:02.498 ******** included: /tmp/collections-t8X/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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:45:49 -0400 (0:00:00.017) 0:00:02.515 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:45:49 -0400 (0:00:00.030) 0:00:02.546 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:45:49 -0400 (0:00:00.416) 0:00:02.963 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:45:49 -0400 (0:00:00.021) 0:00:02.984 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:45:49 -0400 (0:00:00.027) 0:00:03.012 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:45:49 -0400 (0:00:00.011) 0:00:03.023 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:45:55 -0400 (0:00:05.734) 0:00:08.758 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.044784", "end": "2025-06-25 14:45:56.054427", "rc": 0, "start": "2025-06-25 14:45:56.009643" } STDOUT: /boot/vmlinuz-6.12.0-98.el10.x86_64 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:45:56 -0400 (0:00:00.492) 0:00:09.250 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:45:56 -0400 (0:00:00.383) 0:00:09.634 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:45:56 -0400 (0:00:00.012) 0:00:09.646 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:45:56 -0400 (0:00:00.011) 0:00:09.657 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:45:56 -0400 (0:00:00.343) 0:00:10.001 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:45:56 -0400 (0:00:00.036) 0:00:10.037 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877156.4035814, "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:45:57 -0400 (0:00:00.353) 0:00:10.390 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:45:57 -0400 (0:00:00.365) 0:00:10.756 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004558", "end": "2025-06-25 14:45:57.947478", "rc": 0, "start": "2025-06-25 14:45:57.942920" } 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:45:58 -0400 (0:00:00.388) 0:00:11.145 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:45:58 -0400 (0:00:00.042) 0:00:11.187 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:45:58 -0400 (0:00:00.447) 0:00:11.634 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:45:58 -0400 (0:00:00.370) 0:00:12.005 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:45:59 -0400 (0:00:00.431) 0:00:12.436 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:45:59 -0400 (0:00:00.021) 0:00:12.457 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:45:59 -0400 (0:00:00.020) 0:00:12.477 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:45:59 -0400 (0:00:00.026) 0:00:12.504 ******** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --update-kernel=/boot/vmlinuz-6.12.0-98.el10.x86_64 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:45:59 -0400 (0:00:00.601) 0:00:13.105 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": 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-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Wednesday 25 June 2025 14:46:00 -0400 (0:00:00.568) 0:00:13.674 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Wednesday 25 June 2025 14:46:00 -0400 (0:00:00.005) 0:00:13.679 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 14:46:00 -0400 (0:00:00.003) 0:00:13.683 ******** 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.098861", "end": "2025-06-25 14:46:00.941556", "rc": 0, "start": "2025-06-25 14:46:00.842695" } 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 14:46:00 -0400 (0:00:00.454) 0:00:14.138 ******** included: /tmp/collections-t8X/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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 14:46:01 -0400 (0:00:00.016) 0:00:14.154 ******** changed: [managed-node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 14:46:32 -0400 (0:00:31.645) 0:00:45.799 ******** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 14:46:32 -0400 (0:00:00.011) 0:00:45.811 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Wednesday 25 June 2025 14:46:32 -0400 (0:00:00.014) 0:00:45.825 ******** ok: [managed-node1] => { "ansible_facts": { "__default_kernel": { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "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-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Wednesday 25 June 2025 14:46:32 -0400 (0:00:00.034) 0:00:45.860 ******** included: /tmp/collections-t8X/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-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Wednesday 25 June 2025 14:46:32 -0400 (0:00:00.023) 0:00:45.883 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Wednesday 25 June 2025 14:46:33 -0400 (0:00:01.085) 0:00:46.968 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:46:33 -0400 (0:00:00.067) 0:00:47.036 ******** included: /tmp/collections-t8X/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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:46:33 -0400 (0:00:00.029) 0:00:47.066 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:46:33 -0400 (0:00:00.048) 0:00:47.115 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:46:33 -0400 (0:00:00.026) 0:00:47.141 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:46:34 -0400 (0:00:00.029) 0:00:47.171 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:46:34 -0400 (0:00:00.077) 0:00:47.248 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:46:34 -0400 (0:00:00.014) 0:00:47.263 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:46:35 -0400 (0:00:01.506) 0:00:48.770 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_settings | selectattr('default', 'defined') | selectattr('default', 'equalto', true) | list | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:46:35 -0400 (0:00:00.063) 0:00:48.833 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877160.9406114, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750877160.9396114, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763590, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877160.9396114, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1899859973", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:46:36 -0400 (0:00:00.402) 0:00:49.236 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:46:36 -0400 (0:00:00.013) 0:00:49.249 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:46:36 -0400 (0:00:00.011) 0:00:49.260 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:46:36 -0400 (0:00:00.358) 0:00:49.618 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:46:36 -0400 (0:00:00.047) 0:00:49.666 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877160.9406114, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750877160.9396114, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763590, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877160.9396114, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1899859973", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:46:36 -0400 (0:00:00.372) 0:00:50.038 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877158.81047, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750877158.8095973, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877158.810471, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2595612361", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:46:37 -0400 (0:00:00.370) 0:00:50.409 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005256", "end": "2025-06-25 14:46:37.099864", "rc": 0, "start": "2025-06-25 14:46:37.094608" } 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:46:37 -0400 (0:00:00.384) 0:00:50.794 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:46:37 -0400 (0:00:00.034) 0:00:50.828 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:46:38 -0400 (0:00:00.378) 0:00:51.207 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:46:38 -0400 (0:00:00.369) 0:00:51.576 ******** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.12.0-98.el10.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.12.0-98.el10.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default --make-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:46:39 -0400 (0:00:00.593) 0:00:52.169 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:46:39 -0400 (0:00:00.027) 0:00:52.197 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:46:39 -0400 (0:00:00.027) 0:00:52.224 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:46:39 -0400 (0:00:00.046) 0:00:52.270 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_settings | selectattr('default', 'defined') | selectattr('default', 'equalto', true) | list | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:46:39 -0400 (0:00:00.047) 0:00:52.318 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Wednesday 25 June 2025 14:46:39 -0400 (0:00:00.034) 0:00:52.353 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 14:46:39 -0400 (0:00:00.001) 0:00:52.354 ******** 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.135414", "end": "2025-06-25 14:46:39.305180", "rc": 0, "start": "2025-06-25 14:46:39.169766" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel 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 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 14:46:39 -0400 (0:00:00.477) 0:00:52.832 ******** included: /tmp/collections-t8X/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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 14:46:39 -0400 (0:00:00.014) 0:00:52.846 ******** changed: [managed-node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 14:47:10 -0400 (0:00:31.049) 0:01:23.896 ******** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 14:47:10 -0400 (0:00:00.011) 0:01:23.908 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Wednesday 25 June 2025 14:47:10 -0400 (0:00:00.015) 0:01:23.924 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Wednesday 25 June 2025 14:47:10 -0400 (0:00:00.014) 0:01:23.938 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:47:10 -0400 (0:00:00.053) 0:01:23.992 ******** included: /tmp/collections-t8X/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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:47:10 -0400 (0:00:00.018) 0:01:24.010 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:47:10 -0400 (0:00:00.037) 0:01:24.047 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:47:10 -0400 (0:00:00.016) 0:01:24.064 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:47:10 -0400 (0:00:00.015) 0:01:24.079 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:47:10 -0400 (0:00:00.028) 0:01:24.108 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:47:10 -0400 (0:00:00.012) 0:01:24.120 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:47:12 -0400 (0:00:01.511) 0:01:25.632 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.063277", "end": "2025-06-25 14:47:12.498779", "rc": 0, "start": "2025-06-25 14:47:12.435502" } STDOUT: /boot/vmlinuz-6.12.0-98.el10.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:47:12 -0400 (0:00:00.435) 0:01:26.067 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877199.3034859, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877199.3024025, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763594, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877199.3024025, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "975529920", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:47:13 -0400 (0:00:00.397) 0:01:26.464 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:47:13 -0400 (0:00:00.012) 0:01:26.477 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:47:13 -0400 (0:00:00.012) 0:01:26.489 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:47:13 -0400 (0:00:00.343) 0:01:26.833 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:47:13 -0400 (0:00:00.038) 0:01:26.871 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877199.3034859, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877199.3024025, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763594, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877199.3024025, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "975529920", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:47:14 -0400 (0:00:00.360) 0:01:27.232 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877196.664468, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750877158.8095973, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877158.810471, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2595612361", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:47:14 -0400 (0:00:00.369) 0:01:27.602 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005080", "end": "2025-06-25 14:47:14.573706", "rc": 0, "start": "2025-06-25 14:47:14.568626" } 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:47:14 -0400 (0:00:00.374) 0:01:27.976 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:47:14 -0400 (0:00:00.032) 0:01:28.009 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:47:15 -0400 (0:00:00.366) 0:01:28.376 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:47:15 -0400 (0:00:00.362) 0:01:28.738 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:47:15 -0400 (0:00:00.351) 0:01:29.089 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:47:15 -0400 (0:00:00.023) 0:01:29.113 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:47:15 -0400 (0:00:00.016) 0:01:29.129 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:47:16 -0400 (0:00:00.027) 0:01:29.157 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:47:16 -0400 (0:00:00.621) 0:01:29.779 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "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 test=kernel", "default": true, "id": "ec28fe666d7055ed15c6bffc2865d701-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-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Wednesday 25 June 2025 14:47:17 -0400 (0:00:00.531) 0:01:30.310 ******** included: /tmp/collections-t8X/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-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Wednesday 25 June 2025 14:47:17 -0400 (0:00:00.025) 0:01:30.335 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Wednesday 25 June 2025 14:47:18 -0400 (0:00:01.155) 0:01:31.490 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:47:18 -0400 (0:00:00.047) 0:01:31.538 ******** included: /tmp/collections-t8X/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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:47:18 -0400 (0:00:00.020) 0:01:31.558 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:47:18 -0400 (0:00:00.037) 0:01:31.595 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:47:18 -0400 (0:00:00.022) 0:01:31.618 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:47:18 -0400 (0:00:00.018) 0:01:31.636 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:47:18 -0400 (0:00:00.031) 0:01:31.668 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:47:18 -0400 (0:00:00.013) 0:01:31.682 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:47:19 -0400 (0:00:00.782) 0:01:32.464 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_settings | selectattr('default', 'defined') | selectattr('default', 'equalto', true) | list | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:47:19 -0400 (0:00:00.047) 0:01:32.511 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877199.3034859, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877199.3024025, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763594, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877199.3024025, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "975529920", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:47:19 -0400 (0:00:00.362) 0:01:32.874 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:47:19 -0400 (0:00:00.016) 0:01:32.890 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:47:19 -0400 (0:00:00.012) 0:01:32.902 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:47:20 -0400 (0:00:00.353) 0:01:33.255 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:47:20 -0400 (0:00:00.045) 0:01:33.300 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877199.3034859, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877199.3024025, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763594, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877199.3024025, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "975529920", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:47:20 -0400 (0:00:00.363) 0:01:33.664 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877196.664468, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750877158.8095973, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877158.810471, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2595612361", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:47:20 -0400 (0:00:00.363) 0:01:34.027 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005090", "end": "2025-06-25 14:47:21.209003", "rc": 0, "start": "2025-06-25 14:47:21.203913" } 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:47:21 -0400 (0:00:00.374) 0:01:34.402 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:47:21 -0400 (0:00:00.036) 0:01:34.439 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:47:21 -0400 (0:00:00.371) 0:01:34.810 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:47:22 -0400 (0:00:00.375) 0:01:35.185 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:47:22 -0400 (0:00:00.620) 0:01:35.806 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:47:22 -0400 (0:00:00.020) 0:01:35.827 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:47:22 -0400 (0:00:00.020) 0:01:35.847 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:47:22 -0400 (0:00:00.027) 0:01:35.874 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_settings | selectattr('default', 'defined') | selectattr('default', 'equalto', true) | list | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:47:22 -0400 (0:00:00.048) 0:01:35.923 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Wednesday 25 June 2025 14:47:22 -0400 (0:00:00.034) 0:01:35.958 ******** META: triggered running handlers for managed-node1 TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Wednesday 25 June 2025 14:47:22 -0400 (0:00:00.001) 0:01:35.959 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Wednesday 25 June 2025 14:47:22 -0400 (0:00:00.014) 0:01:35.974 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:47:22 -0400 (0:00:00.053) 0:01:36.027 ******** included: /tmp/collections-t8X/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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:47:22 -0400 (0:00:00.017) 0:01:36.045 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:47:22 -0400 (0:00:00.031) 0:01:36.077 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:47:22 -0400 (0:00:00.017) 0:01:36.094 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:47:22 -0400 (0:00:00.015) 0:01:36.110 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:47:22 -0400 (0:00:00.028) 0:01:36.139 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:47:23 -0400 (0:00:00.012) 0:01:36.151 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:47:23 -0400 (0:00:00.795) 0:01:36.946 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.053579", "end": "2025-06-25 14:47:24.193391", "rc": 0, "start": "2025-06-25 14:47:24.139812" } STDOUT: /boot/vmlinuz-6.12.0-98.el10.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:47:24 -0400 (0:00:00.441) 0:01:37.387 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877199.3034859, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877199.3024025, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763594, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877199.3024025, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "975529920", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:47:24 -0400 (0:00:00.359) 0:01:37.746 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:47:24 -0400 (0:00:00.015) 0:01:37.762 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:47:24 -0400 (0:00:00.012) 0:01:37.775 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:47:24 -0400 (0:00:00.348) 0:01:38.123 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:47:25 -0400 (0:00:00.039) 0:01:38.163 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877199.3034859, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877199.3024025, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763594, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877199.3024025, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "975529920", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:47:25 -0400 (0:00:00.369) 0:01:38.532 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877196.664468, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750877158.8095973, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877158.810471, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2595612361", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:47:25 -0400 (0:00:00.373) 0:01:38.906 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004933", "end": "2025-06-25 14:47:26.096967", "rc": 0, "start": "2025-06-25 14:47:26.092034" } 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:47:26 -0400 (0:00:00.383) 0:01:39.289 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:47:26 -0400 (0:00:00.033) 0:01:39.322 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:47:26 -0400 (0:00:00.370) 0:01:39.693 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:47:26 -0400 (0:00:00.366) 0:01:40.060 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:47:27 -0400 (0:00:00.351) 0:01:40.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 : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:47:27 -0400 (0:00:00.018) 0:01:40.430 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:47:27 -0400 (0:00:00.017) 0:01:40.447 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:47:27 -0400 (0:00:00.028) 0:01:40.476 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:47:27 -0400 (0:00:00.632) 0:01:41.108 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "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 test=kernel", "default": true, "id": "ec28fe666d7055ed15c6bffc2865d701-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-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Wednesday 25 June 2025 14:47:28 -0400 (0:00:00.504) 0:01:41.613 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Wednesday 25 June 2025 14:47:28 -0400 (0:00:00.040) 0:01:41.654 ******** included: /tmp/collections-t8X/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-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Wednesday 25 June 2025 14:47:28 -0400 (0:00:00.026) 0:01:41.680 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Wednesday 25 June 2025 14:47:29 -0400 (0:00:00.868) 0:01:42.548 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:47:29 -0400 (0:00:00.036) 0:01:42.585 ******** included: /tmp/collections-t8X/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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:47:29 -0400 (0:00:00.018) 0:01:42.603 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:47:29 -0400 (0:00:00.032) 0:01:42.636 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:47:29 -0400 (0:00:00.016) 0:01:42.653 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:47:29 -0400 (0:00:00.016) 0:01:42.669 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:47:29 -0400 (0:00:00.028) 0:01:42.698 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:47:29 -0400 (0:00:00.011) 0:01:42.710 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:47:30 -0400 (0:00:00.781) 0:01:43.491 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.052235", "end": "2025-06-25 14:47:30.723354", "rc": 0, "start": "2025-06-25 14:47:30.671119" } STDOUT: /boot/vmlinuz-6.12.0-98.el10.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:47:30 -0400 (0:00:00.427) 0:01:43.919 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877199.3034859, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877199.3024025, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763594, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877199.3024025, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "975529920", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:47:31 -0400 (0:00:00.367) 0:01:44.286 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:47:31 -0400 (0:00:00.020) 0:01:44.306 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:47:31 -0400 (0:00:00.016) 0:01:44.323 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:47:31 -0400 (0:00:00.352) 0:01:44.676 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:47:31 -0400 (0:00:00.039) 0:01:44.716 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877199.3034859, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877199.3024025, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12763594, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877199.3024025, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "975529920", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:47:31 -0400 (0:00:00.364) 0:01:45.081 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877196.664468, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750877158.8095973, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877158.810471, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2595612361", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:47:32 -0400 (0:00:00.361) 0:01:45.443 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004513", "end": "2025-06-25 14:47:32.617844", "rc": 0, "start": "2025-06-25 14:47:32.613331" } 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:47:32 -0400 (0:00:00.366) 0:01:45.809 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:47:32 -0400 (0:00:00.033) 0:01:45.843 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:47:33 -0400 (0:00:00.365) 0:01:46.209 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:47:33 -0400 (0:00:00.365) 0:01:46.575 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:47:34 -0400 (0:00:00.623) 0:01:47.198 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:47:34 -0400 (0:00:00.017) 0:01:47.215 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:47:34 -0400 (0:00:00.016) 0:01:47.232 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:47:34 -0400 (0:00:00.027) 0:01:47.259 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:47:34 -0400 (0:00:00.678) 0:01:47.938 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Wednesday 25 June 2025 14:47:34 -0400 (0:00:00.030) 0:01:47.968 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 14:47:34 -0400 (0:00:00.002) 0:01:47.971 ******** 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.152319", "end": "2025-06-25 14:47:35.280848", "rc": 0, "start": "2025-06-25 14:47:35.128529" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel 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 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 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 14:47:35 -0400 (0:00:00.504) 0:01:48.475 ******** included: /tmp/collections-t8X/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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 14:47:35 -0400 (0:00:00.014) 0:01:48.489 ******** changed: [managed-node1] => { "changed": true, "elapsed": 29, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 14:48:06 -0400 (0:00:30.891) 0:02:19.381 ******** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 14:48:06 -0400 (0:00:00.013) 0:02:19.394 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Wednesday 25 June 2025 14:48:06 -0400 (0:00:00.019) 0:02:19.413 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Wednesday 25 June 2025 14:48:06 -0400 (0:00:00.019) 0:02:19.432 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:48:06 -0400 (0:00:00.060) 0:02:19.493 ******** included: /tmp/collections-t8X/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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:48:06 -0400 (0:00:00.019) 0:02:19.512 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:48:06 -0400 (0:00:00.032) 0:02:19.545 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:48:06 -0400 (0:00:00.017) 0:02:19.562 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:48:06 -0400 (0:00:00.016) 0:02:19.579 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:48:06 -0400 (0:00:00.030) 0:02:19.609 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:48:06 -0400 (0:00:00.013) 0:02:19.623 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:48:08 -0400 (0:00:01.544) 0:02:21.167 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.071464", "end": "2025-06-25 14:48:08.414956", "rc": 0, "start": "2025-06-25 14:48:08.343492" } STDOUT: /boot/vmlinuz-6.12.0-98.el10.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:48:08 -0400 (0:00:00.441) 0:02:21.609 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877255.2795413, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877255.2795413, "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": 1750877255.2795413, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "2817313289", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:48:08 -0400 (0:00:00.395) 0:02:22.004 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:48:08 -0400 (0:00:00.014) 0:02:22.018 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:48:08 -0400 (0:00:00.017) 0:02:22.036 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:48:09 -0400 (0:00:00.345) 0:02:22.381 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:48:09 -0400 (0:00:00.042) 0:02:22.424 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877288.7667353, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877255.2795413, "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": 1750877255.2795413, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "2817313289", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:48:09 -0400 (0:00:00.371) 0:02:22.795 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877196.664468, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750877158.8095973, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877158.810471, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2595612361", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:48:10 -0400 (0:00:00.364) 0:02:23.160 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004663", "end": "2025-06-25 14:48:10.340278", "rc": 0, "start": "2025-06-25 14:48:10.335615" } 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:48:10 -0400 (0:00:00.371) 0:02:23.531 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:48:10 -0400 (0:00:00.032) 0:02:23.563 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:48:10 -0400 (0:00:00.368) 0:02:23.932 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:48:11 -0400 (0:00:00.368) 0:02:24.300 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:48:11 -0400 (0:00:00.349) 0:02:24.650 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:48:11 -0400 (0:00:00.018) 0:02:24.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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:48:11 -0400 (0:00:00.017) 0:02:24.686 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:48:11 -0400 (0:00:00.029) 0:02:24.716 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:48:12 -0400 (0:00:00.671) 0:02:25.388 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "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": "ec28fe666d7055ed15c6bffc2865d701-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 test=kernel", "default": true, "id": "ec28fe666d7055ed15c6bffc2865d701-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-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Wednesday 25 June 2025 14:48:12 -0400 (0:00:00.522) 0:02:25.911 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Wednesday 25 June 2025 14:48:12 -0400 (0:00:00.042) 0:02:25.953 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:48:12 -0400 (0:00:00.035) 0:02:25.989 ******** included: /tmp/collections-t8X/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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:48:12 -0400 (0:00:00.017) 0:02:26.007 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:48:12 -0400 (0:00:00.030) 0:02:26.038 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:48:12 -0400 (0:00:00.017) 0:02:26.055 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:48:12 -0400 (0:00:00.016) 0:02:26.072 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:48:12 -0400 (0:00:00.029) 0:02:26.101 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:48:12 -0400 (0:00:00.013) 0:02:26.115 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:48:13 -0400 (0:00:00.794) 0:02:26.909 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_settings | selectattr('default', 'defined') | selectattr('default', 'equalto', true) | list | length == 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:48:13 -0400 (0:00:00.039) 0:02:26.948 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877288.7667353, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877255.2795413, "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": 1750877255.2795413, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "2817313289", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:48:14 -0400 (0:00:00.365) 0:02:27.314 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:48:14 -0400 (0:00:00.013) 0:02:27.328 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:48:14 -0400 (0:00:00.012) 0:02:27.341 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:48:14 -0400 (0:00:00.349) 0:02:27.690 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:48:14 -0400 (0:00:00.038) 0:02:27.728 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877288.7667353, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877255.2795413, "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": 1750877255.2795413, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "2817313289", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:48:14 -0400 (0:00:00.364) 0:02:28.093 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877196.664468, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750877158.8095973, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877158.810471, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2595612361", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:48:15 -0400 (0:00:00.364) 0:02:28.457 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004467", "end": "2025-06-25 14:48:15.634925", "rc": 0, "start": "2025-06-25 14:48:15.630458" } 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:48:15 -0400 (0:00:00.370) 0:02:28.828 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:48:15 -0400 (0:00:00.032) 0:02:28.860 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:48:16 -0400 (0:00:00.367) 0:02:29.228 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:48:16 -0400 (0:00:00.369) 0:02:29.598 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Wednesday 25 June 2025 14:48:16 -0400 (0:00:00.349) 0:02:29.948 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Wednesday 25 June 2025 14:48:16 -0400 (0:00:00.015) 0:02:29.963 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:48:16 -0400 (0:00:00.080) 0:02:30.044 ******** included: /tmp/collections-t8X/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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:48:16 -0400 (0:00:00.018) 0:02:30.062 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:48:16 -0400 (0:00:00.031) 0:02:30.094 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:48:16 -0400 (0:00:00.016) 0:02:30.111 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:48:16 -0400 (0:00:00.016) 0:02:30.127 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:48:17 -0400 (0:00:00.029) 0:02:30.156 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:48:17 -0400 (0:00:00.011) 0:02:30.168 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:48:17 -0400 (0:00:00.782) 0:02:30.951 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.065447", "end": "2025-06-25 14:48:18.196930", "rc": 0, "start": "2025-06-25 14:48:18.131483" } STDOUT: /boot/vmlinuz-6.12.0-98.el10.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:48:18 -0400 (0:00:00.440) 0:02:31.391 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877288.7667353, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877255.2795413, "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": 1750877255.2795413, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "2817313289", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:48:18 -0400 (0:00:00.359) 0:02:31.750 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:48:18 -0400 (0:00:00.014) 0:02:31.765 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:48:18 -0400 (0:00:00.012) 0:02:31.778 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:48:18 -0400 (0:00:00.345) 0:02:32.123 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:48:19 -0400 (0:00:00.041) 0:02:32.165 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877288.7667353, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877255.2795413, "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": 1750877255.2795413, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "2817313289", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:48:19 -0400 (0:00:00.358) 0:02:32.523 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877196.664468, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750877158.8095973, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877158.810471, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2595612361", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:48:19 -0400 (0:00:00.364) 0:02:32.887 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004708", "end": "2025-06-25 14:48:20.065635", "rc": 0, "start": "2025-06-25 14:48:20.060927" } 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:48:20 -0400 (0:00:00.369) 0:02:33.257 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:48:20 -0400 (0:00:00.034) 0:02:33.292 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:48:20 -0400 (0:00:00.370) 0:02:33.663 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:48:20 -0400 (0:00:00.366) 0:02:34.029 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:48:21 -0400 (0:00:00.645) 0:02:34.675 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:48:21 -0400 (0:00:00.018) 0:02:34.693 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:48:21 -0400 (0:00:00.017) 0:02:34.710 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:48:21 -0400 (0:00:00.028) 0:02:34.739 ******** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --update-kernel=/boot/vmlinuz-6.12.0-98.el10.x86_64_clone1 --args=test=kernel --make-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:48:22 -0400 (0:00:00.659) 0:02:35.399 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": 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": "ec28fe666d7055ed15c6bffc2865d701-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-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Wednesday 25 June 2025 14:48:22 -0400 (0:00:00.494) 0:02:35.894 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:48:22 -0400 (0:00:00.069) 0:02:35.963 ******** included: /tmp/collections-t8X/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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:48:22 -0400 (0:00:00.018) 0:02:35.982 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:48:22 -0400 (0:00:00.034) 0:02:36.016 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:48:22 -0400 (0:00:00.017) 0:02:36.034 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:48:22 -0400 (0:00:00.017) 0:02:36.051 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:48:22 -0400 (0:00:00.029) 0:02:36.081 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:48:22 -0400 (0:00:00.012) 0:02:36.093 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:48:23 -0400 (0:00:00.783) 0:02:36.877 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.053670", "end": "2025-06-25 14:48:24.126871", "rc": 0, "start": "2025-06-25 14:48:24.073201" } STDOUT: /boot/vmlinuz-6.12.0-98.el10.x86_64 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:48:24 -0400 (0:00:00.447) 0:02:37.324 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877288.7667353, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877255.2795413, "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": 1750877255.2795413, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "2817313289", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:48:24 -0400 (0:00:00.364) 0:02:37.689 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:48:24 -0400 (0:00:00.014) 0:02:37.703 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:48:24 -0400 (0:00:00.012) 0:02:37.716 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:48:24 -0400 (0:00:00.346) 0:02:38.062 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:48:24 -0400 (0:00:00.040) 0:02:38.102 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877288.7667353, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877255.2795413, "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": 1750877255.2795413, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "2817313289", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:48:25 -0400 (0:00:00.365) 0:02:38.468 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877196.664468, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ce7797d0ac6249c6748a824a72db7bb805fbc109", "ctime": 1750877158.8095973, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877158.810471, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "2595612361", "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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:48:25 -0400 (0:00:00.363) 0:02:38.831 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004497", "end": "2025-06-25 14:48:26.011058", "rc": 0, "start": "2025-06-25 14:48:26.006561" } 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:48:26 -0400 (0:00:00.373) 0:02:39.205 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:48:26 -0400 (0:00:00.035) 0:02:39.240 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:48:26 -0400 (0:00:00.372) 0:02:39.612 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:48:26 -0400 (0:00:00.371) 0:02:39.984 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:48:27 -0400 (0:00:00.562) 0:02:40.546 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:48:27 -0400 (0:00:00.018) 0:02:40.565 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:48:27 -0400 (0:00:00.017) 0:02:40.582 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:48:27 -0400 (0:00:00.028) 0:02:40.611 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:48:28 -0400 (0:00:00.559) 0:02:41.170 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": 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-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Wednesday 25 June 2025 14:48:28 -0400 (0:00:00.466) 0:02:41.636 ******** 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-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Wednesday 25 June 2025 14:48:28 -0400 (0:00:00.052) 0:02:41.689 ******** 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.042697", "end": "2025-06-25 14:48:28.892282", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-06-25 14:48:28.849585" } 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.042068", "end": "2025-06-25 14:48:29.268484", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-06-25 14:48:29.226416" } 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 14:48:29 -0400 (0:00:00.772) 0:02:42.461 ******** 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.099691", "end": "2025-06-25 14:48:29.729250", "rc": 0, "start": "2025-06-25 14:48:29.629559" } 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 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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 14:48:29 -0400 (0:00:00.462) 0:02:42.924 ******** included: /tmp/collections-t8X/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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 14:48:29 -0400 (0:00:00.015) 0:02:42.940 ******** changed: [managed-node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 14:49:01 -0400 (0:00:31.883) 0:03:14.823 ******** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 14:49:01 -0400 (0:00:00.014) 0:03:14.838 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=174 changed=18 unreachable=0 failed=0 skipped=117 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.12", "end_time": "2025-06-25T18:48:16.803840+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-25T18:48:16.457333+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Wednesday 25 June 2025 14:49:01 -0400 (0:00:00.014) 0:03:14.853 ******** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 31.88s /tmp/collections-t8X/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.65s /tmp/collections-t8X/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.05s /tmp/collections-t8X/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.89s /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.73s /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.40s /tmp/collections-t8X/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.54s /tmp/collections-t8X/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-t8X/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-t8X/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.16s /tmp/collections-t8X/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.09s /tmp/collections-t8X/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.87s /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.80s /tmp/collections-t8X/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-t8X/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-t8X/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-t8X/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-t8X/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-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Remove cloned kernels --------------------------------------------------- 0.77s /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default --- 0.68s /tmp/collections-t8X/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147