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-7qB executable location = /usr/local/bin/ansible-playbook python version = 3.12.10 (main, May 9 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-5)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-7qB/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-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Wednesday 25 June 2025 14:46:18 -0400 (0:00:00.018) 0:00:00.018 ******** included: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Wednesday 25 June 2025 14:46:18 -0400 (0:00:00.013) 0:00:00.032 ******** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Wednesday 25 June 2025 14:46:20 -0400 (0:00:02.516) 0:00:02.548 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Wednesday 25 June 2025 14:46:20 -0400 (0:00:00.004) 0:00:02.553 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:46:20 -0400 (0:00:00.055) 0:00:02.609 ******** included: /tmp/collections-7qB/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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:46:20 -0400 (0:00:00.017) 0:00:02.626 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:46:20 -0400 (0:00:00.030) 0:00:02.657 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:46:21 -0400 (0:00:00.417) 0:00:03.075 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:46:21 -0400 (0:00:00.020) 0:00:03.096 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:46:21 -0400 (0:00:00.028) 0:00:03.124 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:46:21 -0400 (0:00:00.010) 0:00:03.134 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:46:39 -0400 (0:00:18.144) 0:00:21.279 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.048472", "end": "2025-06-25 14:46:39.715790", "rc": 0, "start": "2025-06-25 14:46:39.667318" } STDOUT: /boot/vmlinuz-5.14.0-592.el9.x86_64 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:46:39 -0400 (0:00:00.482) 0:00:21.762 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750750197.9157193, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1750750197.91456, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2865, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750750197.9157195, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2400229692", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:46:40 -0400 (0:00:00.771) 0:00:22.533 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:46:40 -0400 (0:00:00.012) 0:00:22.546 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:46:40 -0400 (0:00:00.011) 0:00:22.557 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:46:40 -0400 (0:00:00.343) 0:00:22.901 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:46:40 -0400 (0:00:00.076) 0:00:22.977 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877200.0552459, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1750750197.91456, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2865, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750750197.9157195, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2400229692", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:46:41 -0400 (0:00:00.354) 0:00:23.331 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750749332.095, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fae114f2ec96cd42b53428a4af2e61e33b104367", "ctime": 1750749332.096, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 365703, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750749332.096, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6744, "uid": 0, "version": "4141666804", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:46:41 -0400 (0:00:00.353) 0:00:23.685 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004882", "end": "2025-06-25 14:46:41.993843", "rc": 0, "start": "2025-06-25 14:46:41.988961" } 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:46:42 -0400 (0:00:00.351) 0:00:24.037 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:46:42 -0400 (0:00:00.035) 0:00:24.073 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:46:42 -0400 (0:00:00.467) 0:00:24.541 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:46:42 -0400 (0:00:00.362) 0:00:24.903 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:46:43 -0400 (0:00:00.444) 0:00:25.348 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:46:43 -0400 (0:00:00.018) 0:00:25.366 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:46:43 -0400 (0:00:00.022) 0:00:25.389 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:46:43 -0400 (0:00:00.032) 0:00:25.421 ******** 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-5.14.0-592.el9.x86_64 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:46:44 -0400 (0:00:00.731) 0:00:26.152 ******** 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": "20c8a4be80104666a71438f3e903c4b9-5.14.0-592.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (5.14.0-592.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-20c8a4be80104666a71438f3e903c4b9.img", "kernel": "/boot/vmlinuz-0-rescue-20c8a4be80104666a71438f3e903c4b9", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (0-rescue-20c8a4be80104666a71438f3e903c4b9) 9" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Wednesday 25 June 2025 14:46:44 -0400 (0:00:00.545) 0:00:26.697 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Wednesday 25 June 2025 14:46:44 -0400 (0:00:00.003) 0:00:26.701 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 14:46:44 -0400 (0:00:00.001) 0:00:26.703 ******** 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.106774", "end": "2025-06-25 14:46:45.103364", "rc": 0, "start": "2025-06-25 14:46:44.996590" } 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 14:46:45 -0400 (0:00:00.444) 0:00:27.148 ******** included: /tmp/collections-7qB/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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 14:46:45 -0400 (0:00:00.015) 0:00:27.163 ******** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 14:47:08 -0400 (0:00:23.298) 0:00:50.461 ******** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 14:47:08 -0400 (0:00:00.012) 0:00:50.473 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Wednesday 25 June 2025 14:47:08 -0400 (0:00:00.015) 0:00:50.488 ******** 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": "20c8a4be80104666a71438f3e903c4b9-5.14.0-592.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (5.14.0-592.el9.x86_64) 9" } }, "changed": false } TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Wednesday 25 June 2025 14:47:08 -0400 (0:00:00.035) 0:00:50.524 ******** included: /tmp/collections-7qB/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-5.14.0-592.el9.x86_64] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Wednesday 25 June 2025 14:47:08 -0400 (0:00:00.023) 0:00:50.547 ******** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-592.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "72132134a81f86d417397acbc1a985824546d404", "dest": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-592.el9.x86_64" }, "md5sum": "f1bd5becc0f084c1f0bc173c3c638e0c", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15063080, "src": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-592.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a16d53a0222ad40fa0238266a3e64c315177a158", "dest": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-592.el9.x86_64.img" }, "md5sum": "25644a36b6e597bac6e9517a18e531b7", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38257742, "src": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Wednesday 25 June 2025 14:47:09 -0400 (0:00:01.235) 0:00:51.783 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:47:09 -0400 (0:00:00.040) 0:00:51.824 ******** included: /tmp/collections-7qB/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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:47:09 -0400 (0:00:00.016) 0:00:51.840 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:47:09 -0400 (0:00:00.044) 0:00:51.884 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:47:09 -0400 (0:00:00.025) 0:00:51.910 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:47:09 -0400 (0:00:00.024) 0:00:51.935 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:47:09 -0400 (0:00:00.034) 0:00:51.970 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:47:09 -0400 (0:00:00.013) 0:00:51.983 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:47:12 -0400 (0:00:02.999) 0:00:54.983 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:47:13 -0400 (0:00:00.040) 0:00:55.023 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877205.10223, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750877205.1012301, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277993, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877205.1012301, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3567081719", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:47:13 -0400 (0:00:00.406) 0:00:55.430 ******** 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-7qB/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:00:55.442 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:47:13 -0400 (0:00:00.017) 0:00:55.460 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:47:13 -0400 (0:00:00.369) 0:00:55.830 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:47:13 -0400 (0:00:00.042) 0:00:55.873 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877205.10223, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750877205.1012301, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277993, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877205.1012301, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3567081719", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:47:14 -0400 (0:00:00.354) 0:00:56.227 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877202.8543956, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750877202.8532372, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 297795908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877202.8543966, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3431878981", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:47:14 -0400 (0:00:00.351) 0:00:56.579 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005561", "end": "2025-06-25 14:47:14.688742", "rc": 0, "start": "2025-06-25 14:47:14.683181" } 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:47:14 -0400 (0:00:00.363) 0:00:56.942 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:47:14 -0400 (0:00:00.048) 0:00:56.991 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:47:15 -0400 (0:00:00.379) 0:00:57.370 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:47:15 -0400 (0:00:00.373) 0:00:57.744 ******** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-5.14.0-592.el9.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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:47:16 -0400 (0:00:00.607) 0:00:58.351 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:47:16 -0400 (0:00:00.018) 0:00:58.369 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:47:16 -0400 (0:00:00.016) 0:00:58.385 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:47:16 -0400 (0:00:00.029) 0:00:58.415 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:47:16 -0400 (0:00:00.042) 0:00:58.457 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Wednesday 25 June 2025 14:47:16 -0400 (0:00:00.050) 0:00:58.507 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 14:47:16 -0400 (0:00:00.002) 0:00:58.510 ******** 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.145040", "end": "2025-06-25 14:47:16.914600", "rc": 0, "start": "2025-06-25 14:47:16.769560" } 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 14:47:16 -0400 (0:00:00.486) 0:00:58.997 ******** included: /tmp/collections-7qB/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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 14:47:17 -0400 (0:00:00.016) 0:00:59.013 ******** changed: [managed-node1] => { "changed": true, "elapsed": 27, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 14:47:45 -0400 (0:00:28.607) 0:01:27.620 ******** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 14:47:45 -0400 (0:00:00.011) 0:01:27.632 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Wednesday 25 June 2025 14:47:45 -0400 (0:00:00.015) 0:01:27.648 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Wednesday 25 June 2025 14:47:45 -0400 (0:00:00.013) 0:01:27.661 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:47:45 -0400 (0:00:00.053) 0:01:27.714 ******** included: /tmp/collections-7qB/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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:47:45 -0400 (0:00:00.021) 0:01:27.735 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:47:45 -0400 (0:00:00.031) 0:01:27.767 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:47:45 -0400 (0:00:00.016) 0:01:27.783 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:47:45 -0400 (0:00:00.015) 0:01:27.799 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:47:45 -0400 (0:00:00.028) 0:01:27.827 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:47:45 -0400 (0:00:00.011) 0:01:27.839 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:47:48 -0400 (0:00:02.889) 0:01:30.728 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.063253", "end": "2025-06-25 14:47:49.114761", "rc": 0, "start": "2025-06-25 14:47:49.051508" } STDOUT: /boot/vmlinuz-5.14.0-592.el9.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:47:49 -0400 (0:00:00.433) 0:01:31.161 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877236.9124384, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877236.9124384, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277998, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877236.9124384, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "3937911042", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:47:49 -0400 (0:00:00.388) 0:01:31.550 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:47:49 -0400 (0:00:00.013) 0:01:31.564 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:47:49 -0400 (0:00:00.011) 0:01:31.576 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:47:49 -0400 (0:00:00.335) 0:01:31.912 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:47:49 -0400 (0:00:00.039) 0:01:31.951 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877269.4598892, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877236.9124384, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277998, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877236.9124384, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "3937911042", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:47:50 -0400 (0:00:00.352) 0:01:32.303 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877234.2831895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750877202.8532372, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 297795908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877202.8543966, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3431878981", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:47:50 -0400 (0:00:00.357) 0:01:32.661 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005283", "end": "2025-06-25 14:47:50.973889", "rc": 0, "start": "2025-06-25 14:47:50.968606" } 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:47:51 -0400 (0:00:00.359) 0:01:33.020 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:47:51 -0400 (0:00:00.032) 0:01:33.053 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:47:51 -0400 (0:00:00.361) 0:01:33.414 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:47:51 -0400 (0:00:00.358) 0:01:33.773 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:47:52 -0400 (0:00:00.342) 0:01:34.115 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:47:52 -0400 (0:00:00.017) 0:01:34.133 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:47:52 -0400 (0:00:00.015) 0:01:34.149 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:47:52 -0400 (0:00:00.027) 0:01:34.176 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:47:52 -0400 (0:00:00.623) 0:01:34.800 ******** 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 test=kernel", "default": true, "id": "5138e77483c74cadbca49662b2064ea0-5.14.0-592.el9.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "Clone1" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-5.14.0-592.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (5.14.0-592.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-20c8a4be80104666a71438f3e903c4b9.img", "kernel": "/boot/vmlinuz-0-rescue-20c8a4be80104666a71438f3e903c4b9", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (0-rescue-20c8a4be80104666a71438f3e903c4b9) 9" } ] }, "changed": false } TASK [Clone again to check idempotency] **************************************** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Wednesday 25 June 2025 14:47:53 -0400 (0:00:00.494) 0:01:35.294 ******** included: /tmp/collections-7qB/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-5.14.0-592.el9.x86_64] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Wednesday 25 June 2025 14:47:53 -0400 (0:00:00.025) 0:01:35.320 ******** ok: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-592.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "72132134a81f86d417397acbc1a985824546d404", "dest": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-592.el9.x86_64" }, "md5sum": "f1bd5becc0f084c1f0bc173c3c638e0c", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15063080, "src": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "state": "file", "uid": 0 } ok: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-592.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "a16d53a0222ad40fa0238266a3e64c315177a158", "dest": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-592.el9.x86_64.img" }, "md5sum": "25644a36b6e597bac6e9517a18e531b7", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38257742, "src": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Wednesday 25 June 2025 14:47:54 -0400 (0:00:01.288) 0:01:36.608 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:47:54 -0400 (0:00:00.036) 0:01:36.645 ******** included: /tmp/collections-7qB/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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:47:54 -0400 (0:00:00.016) 0:01:36.662 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:47:54 -0400 (0:00:00.031) 0:01:36.694 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:47:54 -0400 (0:00:00.016) 0:01:36.711 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:47:54 -0400 (0:00:00.014) 0:01:36.725 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:47:54 -0400 (0:00:00.027) 0:01:36.753 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:47:54 -0400 (0:00:00.011) 0:01:36.765 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:47:56 -0400 (0:00:01.293) 0:01:38.059 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:47:56 -0400 (0:00:00.041) 0:01:38.100 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877269.4598892, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877236.9124384, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277998, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877236.9124384, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "3937911042", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:47:56 -0400 (0:00:00.354) 0:01:38.454 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:47:56 -0400 (0:00:00.013) 0:01:38.468 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:47:56 -0400 (0:00:00.011) 0:01:38.480 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:47:56 -0400 (0:00:00.340) 0:01:38.820 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:47:56 -0400 (0:00:00.042) 0:01:38.862 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877269.4598892, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877236.9124384, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277998, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877236.9124384, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "3937911042", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:47:57 -0400 (0:00:00.353) 0:01:39.215 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877234.2831895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750877202.8532372, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 297795908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877202.8543966, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3431878981", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:47:57 -0400 (0:00:00.360) 0:01:39.576 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004995", "end": "2025-06-25 14:47:57.894649", "rc": 0, "start": "2025-06-25 14:47:57.889654" } 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:47:57 -0400 (0:00:00.362) 0:01:39.939 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:47:57 -0400 (0:00:00.034) 0:01:39.973 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:47:58 -0400 (0:00:00.356) 0:01:40.330 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:47:58 -0400 (0:00:00.360) 0:01:40.690 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:47:59 -0400 (0:00:00.623) 0:01:41.314 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:47:59 -0400 (0:00:00.020) 0:01:41.334 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:47:59 -0400 (0:00:00.021) 0:01:41.356 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:47:59 -0400 (0:00:00.034) 0:01:41.391 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:47:59 -0400 (0:00:00.044) 0:01:41.435 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Wednesday 25 June 2025 14:47:59 -0400 (0:00:00.031) 0:01:41.467 ******** META: triggered running handlers for managed-node1 TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Wednesday 25 June 2025 14:47:59 -0400 (0:00:00.001) 0:01:41.469 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Wednesday 25 June 2025 14:47:59 -0400 (0:00:00.014) 0:01:41.483 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:47:59 -0400 (0:00:00.054) 0:01:41.537 ******** included: /tmp/collections-7qB/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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:47:59 -0400 (0:00:00.017) 0:01:41.555 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:47:59 -0400 (0:00:00.031) 0:01:41.587 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:47:59 -0400 (0:00:00.016) 0:01:41.603 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:47:59 -0400 (0:00:00.015) 0:01:41.619 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:47:59 -0400 (0:00:00.029) 0:01:41.648 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:47:59 -0400 (0:00:00.011) 0:01:41.660 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:48:00 -0400 (0:00:01.279) 0:01:42.940 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.056542", "end": "2025-06-25 14:48:01.322297", "rc": 0, "start": "2025-06-25 14:48:01.265755" } STDOUT: /boot/vmlinuz-5.14.0-592.el9.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:48:01 -0400 (0:00:00.431) 0:01:43.371 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877269.4598892, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877236.9124384, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277998, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877236.9124384, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "3937911042", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:48:01 -0400 (0:00:00.358) 0:01:43.730 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:48:01 -0400 (0:00:00.014) 0:01:43.744 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:48:01 -0400 (0:00:00.012) 0:01:43.757 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:48:02 -0400 (0:00:00.345) 0:01:44.102 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:48:02 -0400 (0:00:00.040) 0:01:44.143 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877269.4598892, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877236.9124384, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277998, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877236.9124384, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "3937911042", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:48:02 -0400 (0:00:00.361) 0:01:44.505 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877234.2831895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750877202.8532372, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 297795908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877202.8543966, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3431878981", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:48:02 -0400 (0:00:00.374) 0:01:44.879 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004647", "end": "2025-06-25 14:48:03.208581", "rc": 0, "start": "2025-06-25 14:48:03.203934" } 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:48:03 -0400 (0:00:00.376) 0:01:45.256 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:48:03 -0400 (0:00:00.036) 0:01:45.293 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:48:03 -0400 (0:00:00.374) 0:01:45.668 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:48:04 -0400 (0:00:00.371) 0:01:46.039 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:48:04 -0400 (0:00:00.346) 0:01:46.386 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:48:04 -0400 (0:00:00.018) 0:01:46.405 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:48:04 -0400 (0:00:00.017) 0:01:46.422 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:48:04 -0400 (0:00:00.031) 0:01:46.454 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:48:05 -0400 (0:00:00.637) 0:01:47.091 ******** 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 test=kernel", "default": true, "id": "5138e77483c74cadbca49662b2064ea0-5.14.0-592.el9.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "Clone1" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-5.14.0-592.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (5.14.0-592.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-20c8a4be80104666a71438f3e903c4b9.img", "kernel": "/boot/vmlinuz-0-rescue-20c8a4be80104666a71438f3e903c4b9", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (0-rescue-20c8a4be80104666a71438f3e903c4b9) 9" } ] }, "changed": false } TASK [Verify settings for Clone1] ********************************************** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Wednesday 25 June 2025 14:48:05 -0400 (0:00:00.500) 0:01:47.592 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Wednesday 25 June 2025 14:48:05 -0400 (0:00:00.042) 0:01:47.635 ******** included: /tmp/collections-7qB/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-5.14.0-592.el9.x86_64] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Wednesday 25 June 2025 14:48:05 -0400 (0:00:00.026) 0:01:47.661 ******** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-592.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-592.el9.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "72132134a81f86d417397acbc1a985824546d404", "dest": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone2", "src": "/boot/vmlinuz-5.14.0-592.el9.x86_64" }, "md5sum": "f1bd5becc0f084c1f0bc173c3c638e0c", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15063080, "src": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-592.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-592.el9.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a16d53a0222ad40fa0238266a3e64c315177a158", "dest": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone2", "src": "/boot/initramfs-5.14.0-592.el9.x86_64.img" }, "md5sum": "25644a36b6e597bac6e9517a18e531b7", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38257742, "src": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Wednesday 25 June 2025 14:48:06 -0400 (0:00:00.880) 0:01:48.542 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:48:06 -0400 (0:00:00.036) 0:01:48.579 ******** included: /tmp/collections-7qB/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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:48:06 -0400 (0:00:00.017) 0:01:48.596 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:48:06 -0400 (0:00:00.033) 0:01:48.630 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:48:06 -0400 (0:00:00.016) 0:01:48.647 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:48:06 -0400 (0:00:00.015) 0:01:48.662 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:48:06 -0400 (0:00:00.029) 0:01:48.692 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:48:06 -0400 (0:00:00.010) 0:01:48.703 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:48:07 -0400 (0:00:01.285) 0:01:49.988 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.056997", "end": "2025-06-25 14:48:08.369387", "rc": 0, "start": "2025-06-25 14:48:08.312390" } STDOUT: /boot/vmlinuz-5.14.0-592.el9.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:48:08 -0400 (0:00:00.427) 0:01:50.416 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877269.4598892, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877236.9124384, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277998, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877236.9124384, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "3937911042", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:48:08 -0400 (0:00:00.353) 0:01:50.769 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:48:08 -0400 (0:00:00.013) 0:01:50.783 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:48:08 -0400 (0:00:00.015) 0:01:50.798 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:48:09 -0400 (0:00:00.360) 0:01:51.158 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:48:09 -0400 (0:00:00.039) 0:01:51.198 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877269.4598892, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877236.9124384, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277998, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877236.9124384, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "3937911042", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:48:09 -0400 (0:00:00.361) 0:01:51.559 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877234.2831895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750877202.8532372, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 297795908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877202.8543966, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3431878981", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:48:09 -0400 (0:00:00.358) 0:01:51.918 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005567", "end": "2025-06-25 14:48:10.247465", "rc": 0, "start": "2025-06-25 14:48:10.241898" } 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:48:10 -0400 (0:00:00.376) 0:01:52.295 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:48:10 -0400 (0:00:00.033) 0:01:52.329 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:48:10 -0400 (0:00:00.365) 0:01:52.694 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:48:11 -0400 (0:00:00.373) 0:01:53.067 ******** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-5.14.0-592.el9.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-5.14.0-592.el9.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:48:11 -0400 (0:00:00.656) 0:01:53.723 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:48:11 -0400 (0:00:00.021) 0:01:53.745 ******** 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-7qB/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:01:53.762 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:48:11 -0400 (0:00:00.031) 0:01:53.794 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:48:12 -0400 (0:00:00.700) 0:01:54.494 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Wednesday 25 June 2025 14:48:12 -0400 (0:00:00.037) 0:01:54.531 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 14:48:12 -0400 (0:00:00.003) 0:01:54.534 ******** 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.161935", "end": "2025-06-25 14:48:12.994594", "rc": 0, "start": "2025-06-25 14:48:12.832659" } 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 14:48:13 -0400 (0:00:00.515) 0:01:55.050 ******** included: /tmp/collections-7qB/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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 14:48:13 -0400 (0:00:00.014) 0:01:55.064 ******** changed: [managed-node1] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 14:48:37 -0400 (0:00:24.581) 0:02:19.646 ******** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 14:48:37 -0400 (0:00:00.012) 0:02:19.658 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Wednesday 25 June 2025 14:48:37 -0400 (0:00:00.015) 0:02:19.674 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Wednesday 25 June 2025 14:48:37 -0400 (0:00:00.015) 0:02:19.689 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:48:37 -0400 (0:00:00.054) 0:02:19.744 ******** included: /tmp/collections-7qB/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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:48:37 -0400 (0:00:00.018) 0:02:19.762 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:48:37 -0400 (0:00:00.032) 0:02:19.795 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:48:37 -0400 (0:00:00.017) 0:02:19.813 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:48:37 -0400 (0:00:00.016) 0:02:19.829 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:48:37 -0400 (0:00:00.031) 0:02:19.860 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:48:37 -0400 (0:00:00.013) 0:02:19.874 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:48:40 -0400 (0:00:02.913) 0:02:22.787 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.077073", "end": "2025-06-25 14:48:41.179492", "rc": 0, "start": "2025-06-25 14:48:41.102419" } STDOUT: /boot/vmlinuz-5.14.0-592.el9.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:48:41 -0400 (0:00:00.443) 0:02:23.231 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877292.9938912, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877292.9928913, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877292.9928913, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "4197780239", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:48:41 -0400 (0:00:00.387) 0:02:23.619 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:48:41 -0400 (0:00:00.014) 0:02:23.633 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:48:41 -0400 (0:00:00.012) 0:02:23.646 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:48:41 -0400 (0:00:00.341) 0:02:23.987 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:48:42 -0400 (0:00:00.041) 0:02:24.029 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877292.9938912, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877292.9928913, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877292.9928913, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "4197780239", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:48:42 -0400 (0:00:00.367) 0:02:24.396 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877234.2831895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750877202.8532372, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 297795908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877202.8543966, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3431878981", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:48:42 -0400 (0:00:00.371) 0:02:24.768 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004849", "end": "2025-06-25 14:48:43.094712", "rc": 0, "start": "2025-06-25 14:48:43.089863" } 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:48:43 -0400 (0:00:00.373) 0:02:25.141 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:48:43 -0400 (0:00:00.034) 0:02:25.175 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:48:43 -0400 (0:00:00.370) 0:02:25.545 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:48:43 -0400 (0:00:00.366) 0:02:25.912 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:48:44 -0400 (0:00:00.347) 0:02:26.259 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:48:44 -0400 (0:00:00.018) 0:02:26.278 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:48:44 -0400 (0:00:00.017) 0:02:26.296 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:48:44 -0400 (0:00:00.028) 0:02:26.325 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:48:45 -0400 (0:00:00.687) 0:02:27.012 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "5138e77483c74cadbca49662b2064ea0-5.14.0-592.el9.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-592.el9.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": "5138e77483c74cadbca49662b2064ea0-5.14.0-592.el9.x86_64_clone1", "index": "1", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "Clone1" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-5.14.0-592.el9.x86_64", "index": "2", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (5.14.0-592.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-0-rescue", "index": "3", "initrd": "/boot/initramfs-0-rescue-20c8a4be80104666a71438f3e903c4b9.img", "kernel": "/boot/vmlinuz-0-rescue-20c8a4be80104666a71438f3e903c4b9", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (0-rescue-20c8a4be80104666a71438f3e903c4b9) 9" } ] }, "changed": false } TASK [Verify settings for Clone2] ********************************************** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Wednesday 25 June 2025 14:48:45 -0400 (0:00:00.535) 0:02:27.548 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Wednesday 25 June 2025 14:48:45 -0400 (0:00:00.044) 0:02:27.592 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:48:45 -0400 (0:00:00.036) 0:02:27.628 ******** included: /tmp/collections-7qB/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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:48:45 -0400 (0:00:00.017) 0:02:27.645 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:48:45 -0400 (0:00:00.034) 0:02:27.679 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:48:45 -0400 (0:00:00.017) 0:02:27.697 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:48:45 -0400 (0:00:00.016) 0:02:27.713 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:48:45 -0400 (0:00:00.030) 0:02:27.743 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:48:45 -0400 (0:00:00.013) 0:02:27.757 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:48:47 -0400 (0:00:01.308) 0:02:29.065 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:48:47 -0400 (0:00:00.039) 0:02:29.105 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877292.9938912, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877292.9928913, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877292.9928913, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "4197780239", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:48:47 -0400 (0:00:00.360) 0:02:29.465 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:48:47 -0400 (0:00:00.014) 0:02:29.480 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:48:47 -0400 (0:00:00.014) 0:02:29.495 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:48:47 -0400 (0:00:00.339) 0:02:29.834 ******** ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:48:47 -0400 (0:00:00.040) 0:02:29.875 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877292.9938912, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877292.9928913, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877292.9928913, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "4197780239", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:48:48 -0400 (0:00:00.357) 0:02:30.232 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877234.2831895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750877202.8532372, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 297795908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877202.8543966, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3431878981", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:48:48 -0400 (0:00:00.360) 0:02:30.592 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005515", "end": "2025-06-25 14:48:48.910743", "rc": 0, "start": "2025-06-25 14:48:48.905228" } 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:48:48 -0400 (0:00:00.370) 0:02:30.962 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:48:49 -0400 (0:00:00.049) 0:02:31.012 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:48:49 -0400 (0:00:00.375) 0:02:31.388 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:48:49 -0400 (0:00:00.402) 0:02:31.790 ******** fatal: [managed-node1]: FAILED! => { "changed": false } MSG: Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-5.14.0-592.el9.x86_64_clone1, /boot/vmlinuz-5.14.0-592.el9.x86_64_clone2 TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Wednesday 25 June 2025 14:48:50 -0400 (0:00:00.346) 0:02:32.137 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Wednesday 25 June 2025 14:48:50 -0400 (0:00:00.015) 0:02:32.152 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:48:50 -0400 (0:00:00.080) 0:02:32.232 ******** included: /tmp/collections-7qB/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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:48:50 -0400 (0:00:00.018) 0:02:32.251 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:48:50 -0400 (0:00:00.037) 0:02:32.288 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:48:50 -0400 (0:00:00.016) 0:02:32.305 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:48:50 -0400 (0:00:00.016) 0:02:32.321 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:48:50 -0400 (0:00:00.028) 0:02:32.350 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:48:50 -0400 (0:00:00.012) 0:02:32.362 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:48:51 -0400 (0:00:01.288) 0:02:33.650 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.070545", "end": "2025-06-25 14:48:52.041523", "rc": 0, "start": "2025-06-25 14:48:51.970978" } STDOUT: /boot/vmlinuz-5.14.0-592.el9.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:48:52 -0400 (0:00:00.437) 0:02:34.088 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877292.9938912, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877292.9928913, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877292.9928913, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "4197780239", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:48:52 -0400 (0:00:00.354) 0:02:34.442 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:48:52 -0400 (0:00:00.017) 0:02:34.459 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:48:52 -0400 (0:00:00.012) 0:02:34.471 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:48:52 -0400 (0:00:00.359) 0:02:34.831 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:48:52 -0400 (0:00:00.040) 0:02:34.871 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877292.9938912, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877292.9928913, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877292.9928913, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "4197780239", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:48:53 -0400 (0:00:00.357) 0:02:35.229 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877234.2831895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750877202.8532372, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 297795908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877202.8543966, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3431878981", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:48:53 -0400 (0:00:00.372) 0:02:35.602 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004680", "end": "2025-06-25 14:48:53.933214", "rc": 0, "start": "2025-06-25 14:48:53.928534" } 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:48:53 -0400 (0:00:00.377) 0:02:35.979 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:48:54 -0400 (0:00:00.035) 0:02:36.014 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:48:54 -0400 (0:00:00.367) 0:02:36.382 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:48:54 -0400 (0:00:00.375) 0:02:36.758 ******** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:48:55 -0400 (0:00:00.680) 0:02:37.438 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:48:55 -0400 (0:00:00.018) 0:02:37.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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:48:55 -0400 (0:00:00.017) 0:02:37.474 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:48:55 -0400 (0:00:00.030) 0:02:37.505 ******** 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-5.14.0-592.el9.x86_64_clone1 --args=test=kernel --make-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:48:56 -0400 (0:00:00.697) 0:02:38.202 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": true, "id": "5138e77483c74cadbca49662b2064ea0-5.14.0-592.el9.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-5.14.0-592.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (5.14.0-592.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-20c8a4be80104666a71438f3e903c4b9.img", "kernel": "/boot/vmlinuz-0-rescue-20c8a4be80104666a71438f3e903c4b9", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (0-rescue-20c8a4be80104666a71438f3e903c4b9) 9" } ] }, "changed": false } TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Wednesday 25 June 2025 14:48:56 -0400 (0:00:00.537) 0:02:38.739 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:48:56 -0400 (0:00:00.071) 0:02:38.810 ******** included: /tmp/collections-7qB/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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:48:56 -0400 (0:00:00.016) 0:02:38.827 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:48:56 -0400 (0:00:00.034) 0:02:38.861 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:48:56 -0400 (0:00:00.016) 0:02:38.878 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:48:56 -0400 (0:00:00.016) 0:02:38.894 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:48:56 -0400 (0:00:00.033) 0:02:38.927 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:48:56 -0400 (0:00:00.017) 0:02:38.944 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:48:58 -0400 (0:00:01.343) 0:02:40.287 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.057958", "end": "2025-06-25 14:48:58.676506", "rc": 0, "start": "2025-06-25 14:48:58.618548" } STDOUT: /boot/vmlinuz-5.14.0-592.el9.x86_64_clone2 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:48:58 -0400 (0:00:00.439) 0:02:40.727 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877292.9938912, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877292.9928913, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877292.9928913, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "4197780239", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:48:59 -0400 (0:00:00.361) 0:02:41.089 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:48:59 -0400 (0:00:00.014) 0:02:41.103 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:48:59 -0400 (0:00:00.012) 0:02:41.116 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:48:59 -0400 (0:00:00.342) 0:02:41.458 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:48:59 -0400 (0:00:00.040) 0:02:41.499 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877292.9938912, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "239a4f4e374a6f425b7d684c165fdb5561cd6849", "ctime": 1750877292.9928913, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877292.9928913, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 354, "uid": 0, "version": "4197780239", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:48:59 -0400 (0:00:00.360) 0:02:41.860 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877234.2831895, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750877202.8532372, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 297795908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877202.8543966, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "3431878981", "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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:49:00 -0400 (0:00:00.361) 0:02:42.221 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004984", "end": "2025-06-25 14:49:00.550284", "rc": 0, "start": "2025-06-25 14:49:00.545300" } 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:49:00 -0400 (0:00:00.373) 0:02:42.595 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:49:00 -0400 (0:00:00.035) 0:02:42.631 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:49:01 -0400 (0:00:00.376) 0:02:43.007 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:49:01 -0400 (0:00:00.371) 0:02:43.378 ******** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-592.el9.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:49:01 -0400 (0:00:00.588) 0:02:43.966 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:49:01 -0400 (0:00:00.018) 0:02:43.985 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:49:02 -0400 (0:00:00.018) 0:02:44.003 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:49:02 -0400 (0:00:00.031) 0:02:44.034 ******** 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-5.14.0-592.el9.x86_64_clone2 --args=test=kernel --make-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:49:02 -0400 (0:00:00.623) 0:02:44.658 ******** 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": "20c8a4be80104666a71438f3e903c4b9-5.14.0-592.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (5.14.0-592.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-20c8a4be80104666a71438f3e903c4b9.img", "kernel": "/boot/vmlinuz-0-rescue-20c8a4be80104666a71438f3e903c4b9", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (0-rescue-20c8a4be80104666a71438f3e903c4b9) 9" } ] }, "changed": false } TASK [Verify that kernel is removed {{ item }}] ******************************** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Wednesday 25 June 2025 14:49:03 -0400 (0:00:00.487) 0:02:45.145 ******** 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-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Wednesday 25 June 2025 14:49:03 -0400 (0:00:00.051) 0:02:45.197 ******** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1" ], "delta": "0:00:00.047877", "end": "2025-06-25 14:49:03.554204", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-06-25 14:49:03.506327" } STDERR: The param /boot/vmlinuz-5.14.0-592.el9.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-592.el9.x86_64_clone2" ], "delta": "0:00:00.046912", "end": "2025-06-25 14:49:03.943388", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-06-25 14:49:03.896476" } STDERR: The param /boot/vmlinuz-5.14.0-592.el9.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 14:49:03 -0400 (0:00:00.794) 0:02:45.992 ******** 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:01.111588", "end": "2025-06-25 14:49:05.417387", "rc": 0, "start": "2025-06-25 14:49:04.305799" } 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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 14:49:05 -0400 (0:00:01.472) 0:02:47.464 ******** included: /tmp/collections-7qB/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-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 14:49:05 -0400 (0:00:00.014) 0:02:47.478 ******** changed: [managed-node1] => { "changed": true, "elapsed": 26, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 14:49:33 -0400 (0:00:27.883) 0:03:15.362 ******** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 14:49:33 -0400 (0:00:00.012) 0:03:15.375 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=174 changed=19 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:50.138321+00:00Z", "host": "managed-node1", "message": "Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-5.14.0-592.el9.x86_64_clone1, /boot/vmlinuz-5.14.0-592.el9.x86_64_clone2", "start_time": "2025-06-25T18:48:49.795623+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-7qB/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:33 -0400 (0:00:00.014) 0:03:15.389 ******** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 28.61s /tmp/collections-7qB/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 -- 27.88s /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 24.58s /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.30s /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 18.14s /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.00s /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.91s /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.89s /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.52s /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 1.47s /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.34s /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.31s /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.29s /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-592.el9.x86_64 --- 1.29s /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.29s /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.29s /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.28s /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-592.el9.x86_64 --- 1.24s /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-592.el9.x86_64 --- 0.88s /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Remove cloned kernels --------------------------------------------------- 0.79s /tmp/collections-7qB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138