ansible-playbook [core 2.16.14] 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-0Be executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/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-0Be/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-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Wednesday 25 June 2025 14:45:38 -0400 (0:00:00.019) 0:00:00.019 ******** included: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Wednesday 25 June 2025 14:45:38 -0400 (0:00:00.013) 0:00:00.033 ******** ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Wednesday 25 June 2025 14:45:39 -0400 (0:00:01.103) 0:00:01.136 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Wednesday 25 June 2025 14:45:39 -0400 (0:00:00.004) 0:00:01.141 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:45:39 -0400 (0:00:00.058) 0:00:01.200 ******** included: /tmp/collections-0Be/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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:45:39 -0400 (0:00:00.017) 0:00:01.217 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:45:39 -0400 (0:00:00.032) 0:00:01.249 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:45:40 -0400 (0:00:00.447) 0:00:01.697 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:45:40 -0400 (0:00:00.030) 0:00:01.727 ******** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:45:40 -0400 (0:00:00.043) 0:00:01.770 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:45:40 -0400 (0:00:00.018) 0:00:01.789 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:45:56 -0400 (0:00:16.498) 0:00:18.288 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.051647", "end": "2025-06-25 14:45:57.385171", "rc": 0, "start": "2025-06-25 14:45:57.333524" } STDOUT: /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:45:57 -0400 (0:00:00.530) 0:00:18.818 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1716968862.497, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:45:57 -0400 (0:00:00.379) 0:00:19.198 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:45:57 -0400 (0:00:00.012) 0:00:19.210 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:45:57 -0400 (0:00:00.012) 0:00:19.223 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:45:58 -0400 (0:00:00.352) 0:00:19.575 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:45:58 -0400 (0:00:00.039) 0:00:19.615 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877157.75352, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:45:58 -0400 (0:00:00.396) 0:00:20.011 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1716968863.313, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "33f81baef485d229f360bb8edb243c84b5829854", "ctime": 1716968863.314, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 998159, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716968863.314, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6406, "uid": 0, "version": "4098057869", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:45:59 -0400 (0:00:00.382) 0:00:20.394 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005231", "end": "2025-06-25 14:45:59.358580", "rc": 0, "start": "2025-06-25 14:45:59.353349" } 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:45:59 -0400 (0:00:00.399) 0:00:20.793 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:45:59 -0400 (0:00:00.047) 0:00:20.841 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:46:00 -0400 (0:00:00.553) 0:00:21.394 ******** changed: [managed-node1] => { "changed": true, "rc": 0 } MSG: 5 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:46:00 -0400 (0:00:00.383) 0:00:21.778 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:46:00 -0400 (0:00:00.486) 0:00:22.264 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:46:00 -0400 (0:00:00.020) 0:00:22.285 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:46:00 -0400 (0:00:00.018) 0:00:22.303 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:46:00 -0400 (0:00:00.033) 0:00:22.337 ******** 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-4.18.0-553.5.1.el8.x86_64 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:46:01 -0400 (0:00:00.697) 0:00:23.034 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Wednesday 25 June 2025 14:46:02 -0400 (0:00:00.588) 0:00:23.623 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Wednesday 25 June 2025 14:46:02 -0400 (0:00:00.004) 0:00:23.627 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 14:46:02 -0400 (0:00:00.001) 0:00:23.628 ******** 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.112165", "end": "2025-06-25 14:46:02.672892", "rc": 0, "start": "2025-06-25 14:46:02.560727" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 14:46:02 -0400 (0:00:00.477) 0:00:24.106 ******** included: /tmp/collections-0Be/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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 14:46:02 -0400 (0:00:00.022) 0:00:24.129 ******** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 14:46:26 -0400 (0:00:23.281) 0:00:47.410 ******** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 14:46:26 -0400 (0:00:00.012) 0:00:47.422 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Wednesday 25 June 2025 14:46:26 -0400 (0:00:00.013) 0:00:47.436 ******** ok: [managed-node1] => { "ansible_facts": { "__default_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" } }, "changed": false } TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Wednesday 25 June 2025 14:46:26 -0400 (0:00:00.036) 0:00:47.473 ******** included: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Wednesday 25 June 2025 14:46:26 -0400 (0:00:00.024) 0:00:47.498 ******** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "c8ac6dcb6cde0b4e8f1d9be544aa6ef6b78dd978", "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64" }, "md5sum": "4d651ec861d2a6a23cf61ad30367cd99", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 10873232, "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "819d5d5bd4679e855016d6b8e997b96e546aafdd", "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img" }, "md5sum": "ab248af65f1e45f1283e3ab1f2c8f51e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31361993, "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Wednesday 25 June 2025 14:46:27 -0400 (0:00:01.036) 0:00:48.534 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:46:27 -0400 (0:00:00.037) 0:00:48.572 ******** included: /tmp/collections-0Be/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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:46:27 -0400 (0:00:00.017) 0:00:48.589 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:46:27 -0400 (0:00:00.033) 0:00:48.622 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:46:27 -0400 (0:00:00.016) 0:00:48.639 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:46:27 -0400 (0:00:00.015) 0:00:48.655 ******** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:46:27 -0400 (0:00:00.029) 0:00:48.684 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:46:27 -0400 (0:00:00.012) 0:00:48.696 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:46:32 -0400 (0:00:05.359) 0:00:54.056 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:46:32 -0400 (0:00:00.042) 0:00:54.099 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877162.671546, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750877162.670546, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877162.670546, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "334023796", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:46:33 -0400 (0:00:00.397) 0:00:54.496 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:46:33 -0400 (0:00:00.012) 0:00:54.509 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:46:33 -0400 (0:00:00.011) 0:00:54.521 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:46:33 -0400 (0:00:00.356) 0:00:54.877 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:46:33 -0400 (0:00:00.040) 0:00:54.917 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877162.671546, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750877162.670546, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877162.670546, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "334023796", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:46:33 -0400 (0:00:00.377) 0:00:55.295 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877160.3435316, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750877160.3445315, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877160.3435316, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "4193708748", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:46:34 -0400 (0:00:00.378) 0:00:55.673 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005102", "end": "2025-06-25 14:46:34.493786", "rc": 0, "start": "2025-06-25 14:46:34.488684" } 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:46:34 -0400 (0:00:00.382) 0:00:56.056 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:46:34 -0400 (0:00:00.034) 0:00:56.091 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:46:35 -0400 (0:00:00.384) 0:00:56.475 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:46:35 -0400 (0:00:00.384) 0:00:56.860 ******** 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-4.18.0-553.5.1.el8.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default --make-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:46:36 -0400 (0:00:00.641) 0:00:57.502 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:46:36 -0400 (0:00:00.017) 0:00:57.520 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:46:36 -0400 (0:00:00.020) 0:00:57.540 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:46:36 -0400 (0:00:00.037) 0:00:57.578 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:46:36 -0400 (0:00:00.060) 0:00:57.639 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Wednesday 25 June 2025 14:46:36 -0400 (0:00:00.036) 0:00:57.675 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 14:46:36 -0400 (0:00:00.001) 0:00:57.677 ******** 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.140086", "end": "2025-06-25 14:46:36.760658", "rc": 0, "start": "2025-06-25 14:46:36.620572" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params 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" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 14:46:36 -0400 (0:00:00.513) 0:00:58.190 ******** included: /tmp/collections-0Be/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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 14:46:36 -0400 (0:00:00.013) 0:00:58.203 ******** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 14:46:59 -0400 (0:00:23.158) 0:01:21.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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 14:46:59 -0400 (0:00:00.012) 0:01:21.375 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Wednesday 25 June 2025 14:47:00 -0400 (0:00:00.015) 0:01:21.391 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Wednesday 25 June 2025 14:47:00 -0400 (0:00:00.014) 0:01:21.405 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:47:00 -0400 (0:00:00.054) 0:01:21.459 ******** included: /tmp/collections-0Be/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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:47:00 -0400 (0:00:00.017) 0:01:21.477 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:47:00 -0400 (0:00:00.035) 0:01:21.512 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:47:00 -0400 (0:00:00.018) 0:01:21.530 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:47:00 -0400 (0:00:00.016) 0:01:21.547 ******** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:47:00 -0400 (0:00:00.034) 0:01:21.581 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:47:00 -0400 (0:00:00.012) 0:01:21.593 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:47:05 -0400 (0:00:05.198) 0:01:26.792 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.073178", "end": "2025-06-25 14:47:05.629597", "rc": 0, "start": "2025-06-25 14:47:05.556419" } STDOUT: /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:47:05 -0400 (0:00:00.457) 0:01:27.250 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877196.7588027, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "292acb11e7bc697a2c06955d2dfa2c77fe6bca7f", "ctime": 1750877196.757803, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877196.757803, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "2703246900", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:47:06 -0400 (0:00:00.390) 0:01:27.640 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:47:06 -0400 (0:00:00.014) 0:01:27.654 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:47:06 -0400 (0:00:00.012) 0:01:27.666 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:47:06 -0400 (0:00:00.361) 0:01:28.027 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:47:06 -0400 (0:00:00.039) 0:01:28.067 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877196.7588027, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "292acb11e7bc697a2c06955d2dfa2c77fe6bca7f", "ctime": 1750877196.757803, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877196.757803, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "2703246900", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:47:07 -0400 (0:00:00.374) 0:01:28.441 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877194.0600922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750877160.3445315, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877160.3435316, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "4193708748", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:47:07 -0400 (0:00:00.379) 0:01:28.821 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005032", "end": "2025-06-25 14:47:07.748490", "rc": 0, "start": "2025-06-25 14:47:07.743458" } 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:47:07 -0400 (0:00:00.383) 0:01:29.204 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:47:07 -0400 (0:00:00.035) 0:01:29.240 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:47:08 -0400 (0:00:00.381) 0:01:29.621 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:47:08 -0400 (0:00:00.377) 0:01:29.999 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:47:08 -0400 (0:00:00.360) 0:01:30.360 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:47:08 -0400 (0:00:00.018) 0:01:30.378 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:47:09 -0400 (0:00:00.016) 0:01:30.394 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:47:09 -0400 (0:00:00.029) 0:01:30.424 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:47:09 -0400 (0:00:00.669) 0:01:31.094 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": false, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel test=kernel", "default": true, "id": "7c866f5b70c443579b6c8f985f98e071-4.18.0-553.5.1.el8.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "Clone1" } ] }, "changed": false } TASK [Clone again to check idempotency] **************************************** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Wednesday 25 June 2025 14:47:10 -0400 (0:00:00.528) 0:01:31.623 ******** included: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Wednesday 25 June 2025 14:47:10 -0400 (0:00:00.028) 0:01:31.651 ******** ok: [managed-node1] => (item={'src': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "c8ac6dcb6cde0b4e8f1d9be544aa6ef6b78dd978", "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64" }, "md5sum": "4d651ec861d2a6a23cf61ad30367cd99", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 10873232, "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "state": "file", "uid": 0 } ok: [managed-node1] => (item={'src': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "819d5d5bd4679e855016d6b8e997b96e546aafdd", "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img" }, "md5sum": "ab248af65f1e45f1283e3ab1f2c8f51e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31361993, "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Wednesday 25 June 2025 14:47:11 -0400 (0:00:00.942) 0:01:32.594 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:47:11 -0400 (0:00:00.036) 0:01:32.630 ******** included: /tmp/collections-0Be/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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:47:11 -0400 (0:00:00.019) 0:01:32.650 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:47:11 -0400 (0:00:00.037) 0:01:32.687 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:47:11 -0400 (0:00:00.017) 0:01:32.704 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:47:11 -0400 (0:00:00.017) 0:01:32.721 ******** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:47:11 -0400 (0:00:00.030) 0:01:32.751 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:47:11 -0400 (0:00:00.011) 0:01:32.763 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:47:14 -0400 (0:00:03.069) 0:01:35.832 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:47:14 -0400 (0:00:00.042) 0:01:35.875 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877196.7588027, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "292acb11e7bc697a2c06955d2dfa2c77fe6bca7f", "ctime": 1750877196.757803, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877196.757803, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "2703246900", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:47:14 -0400 (0:00:00.372) 0:01:36.248 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:47:14 -0400 (0:00:00.014) 0:01:36.262 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:47:14 -0400 (0:00:00.011) 0:01:36.274 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:47:15 -0400 (0:00:00.360) 0:01:36.634 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:47:15 -0400 (0:00:00.040) 0:01:36.674 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877196.7588027, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "292acb11e7bc697a2c06955d2dfa2c77fe6bca7f", "ctime": 1750877196.757803, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877196.757803, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "2703246900", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:47:15 -0400 (0:00:00.376) 0:01:37.051 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877194.0600922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750877160.3445315, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877160.3435316, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "4193708748", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:47:16 -0400 (0:00:00.377) 0:01:37.428 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004593", "end": "2025-06-25 14:47:16.384749", "rc": 0, "start": "2025-06-25 14:47:16.380156" } 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:47:16 -0400 (0:00:00.384) 0:01:37.813 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:47:16 -0400 (0:00:00.034) 0:01:37.847 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:47:16 -0400 (0:00:00.381) 0:01:38.229 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:47:17 -0400 (0:00:00.380) 0:01:38.610 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:47:17 -0400 (0:00:00.669) 0:01:39.280 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:47:17 -0400 (0:00:00.018) 0:01:39.299 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:47:17 -0400 (0:00:00.016) 0:01:39.315 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:47:17 -0400 (0:00:00.029) 0:01:39.345 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:47:18 -0400 (0:00:00.041) 0:01:39.386 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Wednesday 25 June 2025 14:47:18 -0400 (0:00:00.031) 0:01:39.418 ******** META: triggered running handlers for managed-node1 TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Wednesday 25 June 2025 14:47:18 -0400 (0:00:00.001) 0:01:39.419 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Wednesday 25 June 2025 14:47:18 -0400 (0:00:00.014) 0:01:39.434 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:47:18 -0400 (0:00:00.056) 0:01:39.491 ******** included: /tmp/collections-0Be/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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:47:18 -0400 (0:00:00.018) 0:01:39.510 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:47:18 -0400 (0:00:00.034) 0:01:39.544 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:47:18 -0400 (0:00:00.017) 0:01:39.561 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:47:18 -0400 (0:00:00.016) 0:01:39.578 ******** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:47:18 -0400 (0:00:00.030) 0:01:39.609 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:47:18 -0400 (0:00:00.012) 0:01:39.621 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:47:21 -0400 (0:00:03.065) 0:01:42.686 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.060076", "end": "2025-06-25 14:47:21.698340", "rc": 0, "start": "2025-06-25 14:47:21.638264" } STDOUT: /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:47:21 -0400 (0:00:00.441) 0:01:43.128 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877196.7588027, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "292acb11e7bc697a2c06955d2dfa2c77fe6bca7f", "ctime": 1750877196.757803, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877196.757803, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "2703246900", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:47:22 -0400 (0:00:00.374) 0:01:43.503 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:47:22 -0400 (0:00:00.014) 0:01:43.517 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:47:22 -0400 (0:00:00.013) 0:01:43.530 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:47:22 -0400 (0:00:00.355) 0:01:43.886 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:47:22 -0400 (0:00:00.041) 0:01:43.927 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877196.7588027, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "292acb11e7bc697a2c06955d2dfa2c77fe6bca7f", "ctime": 1750877196.757803, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877196.757803, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "2703246900", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:47:22 -0400 (0:00:00.377) 0:01:44.305 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877194.0600922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750877160.3445315, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877160.3435316, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "4193708748", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:47:23 -0400 (0:00:00.377) 0:01:44.682 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004867", "end": "2025-06-25 14:47:23.637746", "rc": 0, "start": "2025-06-25 14:47:23.632879" } 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:47:23 -0400 (0:00:00.384) 0:01:45.067 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:47:23 -0400 (0:00:00.037) 0:01:45.104 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:47:24 -0400 (0:00:00.381) 0:01:45.486 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:47:24 -0400 (0:00:00.381) 0:01:45.867 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:47:24 -0400 (0:00:00.363) 0:01:46.231 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:47:24 -0400 (0:00:00.018) 0:01:46.249 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:47:24 -0400 (0:00:00.017) 0:01:46.267 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:47:24 -0400 (0:00:00.031) 0:01:46.298 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:47:25 -0400 (0:00:00.668) 0:01:46.966 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": false, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel test=kernel", "default": true, "id": "7c866f5b70c443579b6c8f985f98e071-4.18.0-553.5.1.el8.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone1] ********************************************** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Wednesday 25 June 2025 14:47:26 -0400 (0:00:00.546) 0:01:47.513 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Wednesday 25 June 2025 14:47:26 -0400 (0:00:00.046) 0:01:47.559 ******** included: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Wednesday 25 June 2025 14:47:26 -0400 (0:00:00.027) 0:01:47.587 ******** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "c8ac6dcb6cde0b4e8f1d9be544aa6ef6b78dd978", "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64" }, "md5sum": "4d651ec861d2a6a23cf61ad30367cd99", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 10873232, "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "819d5d5bd4679e855016d6b8e997b96e546aafdd", "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2", "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img" }, "md5sum": "ab248af65f1e45f1283e3ab1f2c8f51e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31361993, "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Wednesday 25 June 2025 14:47:27 -0400 (0:00:00.928) 0:01:48.515 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:47:27 -0400 (0:00:00.046) 0:01:48.562 ******** included: /tmp/collections-0Be/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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:47:27 -0400 (0:00:00.017) 0:01:48.580 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:47:27 -0400 (0:00:00.033) 0:01:48.614 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:47:27 -0400 (0:00:00.017) 0:01:48.632 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:47:27 -0400 (0:00:00.016) 0:01:48.648 ******** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:47:27 -0400 (0:00:00.029) 0:01:48.678 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:47:27 -0400 (0:00:00.012) 0:01:48.690 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:47:30 -0400 (0:00:03.098) 0:01:51.789 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.059049", "end": "2025-06-25 14:47:30.817969", "rc": 0, "start": "2025-06-25 14:47:30.758920" } STDOUT: /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:47:30 -0400 (0:00:00.458) 0:01:52.247 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877196.7588027, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "292acb11e7bc697a2c06955d2dfa2c77fe6bca7f", "ctime": 1750877196.757803, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877196.757803, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "2703246900", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:47:31 -0400 (0:00:00.375) 0:01:52.623 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:47:31 -0400 (0:00:00.013) 0:01:52.636 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:47:31 -0400 (0:00:00.012) 0:01:52.649 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:47:31 -0400 (0:00:00.363) 0:01:53.012 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:47:31 -0400 (0:00:00.042) 0:01:53.055 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877196.7588027, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "292acb11e7bc697a2c06955d2dfa2c77fe6bca7f", "ctime": 1750877196.757803, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877196.757803, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "2703246900", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:47:32 -0400 (0:00:00.371) 0:01:53.427 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877194.0600922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750877160.3445315, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877160.3435316, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "4193708748", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:47:32 -0400 (0:00:00.378) 0:01:53.805 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004598", "end": "2025-06-25 14:47:32.766094", "rc": 0, "start": "2025-06-25 14:47:32.761496" } 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:47:32 -0400 (0:00:00.389) 0:01:54.195 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:47:32 -0400 (0:00:00.034) 0:01:54.229 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:47:33 -0400 (0:00:00.397) 0:01:54.626 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:47:33 -0400 (0:00:00.389) 0:01:55.016 ******** 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-4.18.0-553.5.1.el8.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:47:34 -0400 (0:00:00.686) 0:01:55.703 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:47:34 -0400 (0:00:00.019) 0:01:55.722 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:47:34 -0400 (0:00:00.017) 0:01:55.740 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:47:34 -0400 (0:00:00.030) 0:01:55.771 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:47:35 -0400 (0:00:00.759) 0:01:56.530 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Wednesday 25 June 2025 14:47:35 -0400 (0:00:00.044) 0:01:56.575 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 14:47:35 -0400 (0:00:00.003) 0:01:56.579 ******** 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.170159", "end": "2025-06-25 14:47:35.695892", "rc": 0, "start": "2025-06-25 14:47:35.525733" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params 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" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet 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" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 14:47:35 -0400 (0:00:00.545) 0:01:57.124 ******** included: /tmp/collections-0Be/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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 14:47:35 -0400 (0:00:00.014) 0:01:57.139 ******** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 14:47:58 -0400 (0:00:23.202) 0:02:20.341 ******** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 14:47:58 -0400 (0:00:00.014) 0:02:20.355 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Wednesday 25 June 2025 14:47:58 -0400 (0:00:00.015) 0:02:20.371 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Wednesday 25 June 2025 14:47:59 -0400 (0:00:00.015) 0:02:20.387 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:47:59 -0400 (0:00:00.057) 0:02:20.444 ******** included: /tmp/collections-0Be/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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:47:59 -0400 (0:00:00.019) 0:02:20.464 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:47:59 -0400 (0:00:00.034) 0:02:20.498 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:47:59 -0400 (0:00:00.018) 0:02:20.517 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:47:59 -0400 (0:00:00.018) 0:02:20.535 ******** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:47:59 -0400 (0:00:00.030) 0:02:20.565 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:47:59 -0400 (0:00:00.012) 0:02:20.578 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:48:04 -0400 (0:00:05.213) 0:02:25.791 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.088020", "end": "2025-06-25 14:48:04.641130", "rc": 0, "start": "2025-06-25 14:48:04.553110" } STDOUT: /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:48:04 -0400 (0:00:00.464) 0:02:26.256 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877255.6942248, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "292acb11e7bc697a2c06955d2dfa2c77fe6bca7f", "ctime": 1750877255.6932247, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877255.6932247, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1310458934", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:48:05 -0400 (0:00:00.388) 0:02:26.645 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:48:05 -0400 (0:00:00.014) 0:02:26.660 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:48:05 -0400 (0:00:00.013) 0:02:26.673 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:48:05 -0400 (0:00:00.359) 0:02:27.033 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:48:05 -0400 (0:00:00.043) 0:02:27.076 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877255.6942248, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "292acb11e7bc697a2c06955d2dfa2c77fe6bca7f", "ctime": 1750877255.6932247, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877255.6932247, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1310458934", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:48:06 -0400 (0:00:00.377) 0:02:27.454 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877194.0600922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750877160.3445315, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877160.3435316, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "4193708748", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:48:06 -0400 (0:00:00.380) 0:02:27.834 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005742", "end": "2025-06-25 14:48:06.772503", "rc": 0, "start": "2025-06-25 14:48:06.766761" } 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:48:06 -0400 (0:00:00.389) 0:02:28.223 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:48:06 -0400 (0:00:00.034) 0:02:28.258 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:48:07 -0400 (0:00:00.384) 0:02:28.643 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:48:07 -0400 (0:00:00.383) 0:02:29.026 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:48:08 -0400 (0:00:00.361) 0:02:29.388 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:48:08 -0400 (0:00:00.018) 0:02:29.406 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:48:08 -0400 (0:00:00.017) 0:02:29.424 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:48:08 -0400 (0:00:00.031) 0:02:29.456 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:48:08 -0400 (0:00:00.725) 0:02:30.182 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": false, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" }, { "args": "test=kernel", "default": false, "id": "7c866f5b70c443579b6c8f985f98e071-4.18.0-553.5.1.el8.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel test=kernel", "default": true, "id": "7c866f5b70c443579b6c8f985f98e071-4.18.0-553.5.1.el8.x86_64_clone1", "index": "3", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone2] ********************************************** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Wednesday 25 June 2025 14:48:09 -0400 (0:00:00.580) 0:02:30.762 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Wednesday 25 June 2025 14:48:09 -0400 (0:00:00.044) 0:02:30.807 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:48:09 -0400 (0:00:00.038) 0:02:30.845 ******** included: /tmp/collections-0Be/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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:48:09 -0400 (0:00:00.023) 0:02:30.868 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:48:09 -0400 (0:00:00.046) 0:02:30.914 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:48:09 -0400 (0:00:00.029) 0:02:30.944 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:48:09 -0400 (0:00:00.027) 0:02:30.971 ******** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:48:09 -0400 (0:00:00.035) 0:02:31.007 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:48:09 -0400 (0:00:00.014) 0:02:31.021 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:48:12 -0400 (0:00:03.084) 0:02:34.105 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:48:12 -0400 (0:00:00.048) 0:02:34.154 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877255.6942248, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "292acb11e7bc697a2c06955d2dfa2c77fe6bca7f", "ctime": 1750877255.6932247, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877255.6932247, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1310458934", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:48:13 -0400 (0:00:00.377) 0:02:34.532 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:48:13 -0400 (0:00:00.015) 0:02:34.547 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:48:13 -0400 (0:00:00.017) 0:02:34.565 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:48:13 -0400 (0:00:00.362) 0:02:34.928 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:48:13 -0400 (0:00:00.052) 0:02:34.980 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877255.6942248, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "292acb11e7bc697a2c06955d2dfa2c77fe6bca7f", "ctime": 1750877255.6932247, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877255.6932247, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1310458934", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:48:13 -0400 (0:00:00.392) 0:02:35.373 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877194.0600922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750877160.3445315, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877160.3435316, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "4193708748", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:48:14 -0400 (0:00:00.386) 0:02:35.759 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004638", "end": "2025-06-25 14:48:14.720340", "rc": 0, "start": "2025-06-25 14:48:14.715702" } 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:48:14 -0400 (0:00:00.391) 0:02:36.151 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:48:14 -0400 (0:00:00.035) 0:02:36.187 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:48:15 -0400 (0:00:00.385) 0:02:36.572 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:48:15 -0400 (0:00:00.387) 0:02:36.959 ******** fatal: [managed-node1]: FAILED! => { "changed": false } MSG: Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1, /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2 TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Wednesday 25 June 2025 14:48:15 -0400 (0:00:00.368) 0:02:37.327 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Wednesday 25 June 2025 14:48:15 -0400 (0:00:00.017) 0:02:37.344 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:48:16 -0400 (0:00:00.088) 0:02:37.433 ******** included: /tmp/collections-0Be/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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:48:16 -0400 (0:00:00.018) 0:02:37.451 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:48:16 -0400 (0:00:00.035) 0:02:37.487 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:48:16 -0400 (0:00:00.018) 0:02:37.505 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:48:16 -0400 (0:00:00.018) 0:02:37.523 ******** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:48:16 -0400 (0:00:00.031) 0:02:37.554 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:48:16 -0400 (0:00:00.012) 0:02:37.567 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:48:19 -0400 (0:00:03.065) 0:02:40.632 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.073659", "end": "2025-06-25 14:48:19.669148", "rc": 0, "start": "2025-06-25 14:48:19.595489" } STDOUT: /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:48:19 -0400 (0:00:00.465) 0:02:41.098 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877255.6942248, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "292acb11e7bc697a2c06955d2dfa2c77fe6bca7f", "ctime": 1750877255.6932247, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877255.6932247, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1310458934", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:48:20 -0400 (0:00:00.375) 0:02:41.474 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:48:20 -0400 (0:00:00.015) 0:02:41.489 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:48:20 -0400 (0:00:00.012) 0:02:41.502 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:48:20 -0400 (0:00:00.359) 0:02:41.862 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:48:20 -0400 (0:00:00.041) 0:02:41.904 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877255.6942248, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "292acb11e7bc697a2c06955d2dfa2c77fe6bca7f", "ctime": 1750877255.6932247, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877255.6932247, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1310458934", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:48:20 -0400 (0:00:00.373) 0:02:42.277 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877194.0600922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750877160.3445315, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877160.3435316, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "4193708748", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:48:21 -0400 (0:00:00.380) 0:02:42.657 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004668", "end": "2025-06-25 14:48:21.619945", "rc": 0, "start": "2025-06-25 14:48:21.615277" } 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:48:21 -0400 (0:00:00.390) 0:02:43.047 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:48:21 -0400 (0:00:00.036) 0:02:43.084 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:48:22 -0400 (0:00:00.386) 0:02:43.471 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:48:22 -0400 (0:00:00.385) 0:02:43.856 ******** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:48:23 -0400 (0:00:00.689) 0:02:44.546 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:48:23 -0400 (0:00:00.019) 0:02:44.566 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:48:23 -0400 (0:00:00.017) 0:02:44.584 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:48:23 -0400 (0:00:00.033) 0:02:44.617 ******** 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-4.18.0-553.5.1.el8.x86_64_clone1 --args=test=kernel --make-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:48:23 -0400 (0:00:00.716) 0:02:45.334 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" }, { "args": "test=kernel", "default": false, "id": "7c866f5b70c443579b6c8f985f98e071-4.18.0-553.5.1.el8.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "title": "Clone2" } ] }, "changed": false } TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Wednesday 25 June 2025 14:48:24 -0400 (0:00:00.535) 0:02:45.869 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 14:48:24 -0400 (0:00:00.072) 0:02:45.942 ******** included: /tmp/collections-0Be/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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 14:48:24 -0400 (0:00:00.020) 0:02:45.962 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 14:48:24 -0400 (0:00:00.036) 0:02:45.999 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 14:48:24 -0400 (0:00:00.017) 0:02:46.016 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 14:48:24 -0400 (0:00:00.017) 0:02:46.034 ******** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 14:48:24 -0400 (0:00:00.030) 0:02:46.065 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 14:48:24 -0400 (0:00:00.012) 0:02:46.078 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Wednesday 25 June 2025 14:48:27 -0400 (0:00:03.075) 0:02:49.153 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.060980", "end": "2025-06-25 14:48:28.177592", "rc": 0, "start": "2025-06-25 14:48:28.116612" } STDOUT: /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Wednesday 25 June 2025 14:48:28 -0400 (0:00:00.454) 0:02:49.608 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877255.6942248, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "292acb11e7bc697a2c06955d2dfa2c77fe6bca7f", "ctime": 1750877255.6932247, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877255.6932247, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1310458934", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Wednesday 25 June 2025 14:48:28 -0400 (0:00:00.381) 0:02:49.990 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Wednesday 25 June 2025 14:48:28 -0400 (0:00:00.014) 0:02:50.005 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Wednesday 25 June 2025 14:48:28 -0400 (0:00:00.014) 0:02:50.019 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Wednesday 25 June 2025 14:48:28 -0400 (0:00:00.357) 0:02:50.377 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Wednesday 25 June 2025 14:48:29 -0400 (0:00:00.041) 0:02:50.419 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877255.6942248, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "292acb11e7bc697a2c06955d2dfa2c77fe6bca7f", "ctime": 1750877255.6932247, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750877255.6932247, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 301, "uid": 0, "version": "1310458934", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Wednesday 25 June 2025 14:48:29 -0400 (0:00:00.377) 0:02:50.796 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750877194.0600922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750877160.3445315, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750877160.3435316, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "4193708748", "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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Wednesday 25 June 2025 14:48:29 -0400 (0:00:00.378) 0:02:51.174 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005296", "end": "2025-06-25 14:48:30.131881", "rc": 0, "start": "2025-06-25 14:48:30.126585" } 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Wednesday 25 June 2025 14:48:30 -0400 (0:00:00.384) 0:02:51.559 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Wednesday 25 June 2025 14:48:30 -0400 (0:00:00.035) 0:02:51.595 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Wednesday 25 June 2025 14:48:30 -0400 (0:00:00.385) 0:02:51.980 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Wednesday 25 June 2025 14:48:30 -0400 (0:00:00.382) 0:02:52.362 ******** 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-4.18.0-553.5.1.el8.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Wednesday 25 June 2025 14:48:31 -0400 (0:00:00.607) 0:02:52.970 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Wednesday 25 June 2025 14:48:31 -0400 (0:00:00.019) 0:02:52.990 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Wednesday 25 June 2025 14:48:31 -0400 (0:00:00.018) 0:02:53.008 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Wednesday 25 June 2025 14:48:31 -0400 (0:00:00.032) 0:02:53.041 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:164 Wednesday 25 June 2025 14:48:32 -0400 (0:00:00.613) 0:02:53.654 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" } ] }, "changed": false } TASK [Verify that kernel is removed {{ item }}] ******************************** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Wednesday 25 June 2025 14:48:32 -0400 (0:00:00.506) 0:02:54.161 ******** 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-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Wednesday 25 June 2025 14:48:32 -0400 (0:00:00.053) 0:02:54.214 ******** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1" ], "delta": "0:00:00.049160", "end": "2025-06-25 14:48:33.203157", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-06-25 14:48:33.153997" } STDERR: The param /boot/vmlinuz-4.18.0-553.5.1.el8.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-4.18.0-553.5.1.el8.x86_64_clone2" ], "delta": "0:00:00.050058", "end": "2025-06-25 14:48:33.601282", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-06-25 14:48:33.551224" } STDERR: The param /boot/vmlinuz-4.18.0-553.5.1.el8.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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 14:48:33 -0400 (0:00:00.816) 0:02:55.031 ******** 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.114107", "end": "2025-06-25 14:48:34.082522", "rc": 0, "start": "2025-06-25 14:48:33.968415" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 14:48:34 -0400 (0:00:00.478) 0:02:55.510 ******** included: /tmp/collections-0Be/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-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 14:48:34 -0400 (0:00:00.015) 0:02:55.525 ******** changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 14:48:57 -0400 (0:00:23.057) 0:03:18.582 ******** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 14:48:57 -0400 (0:00:00.013) 0:03:18.596 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=164 changed=18 unreachable=0 failed=0 skipped=117 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.16.14", "end_time": "2025-06-25T18:48:15.945881+00:00Z", "host": "managed-node1", "message": "Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1, /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "start_time": "2025-06-25T18:48:15.581147+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Wednesday 25 June 2025 14:48:57 -0400 (0:00:00.013) 0:03:18.610 ******** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.28s /tmp/collections-0Be/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.20s /tmp/collections-0Be/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.16s /tmp/collections-0Be/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.06s /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 16.50s /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.36s /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.21s /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.20s /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.10s /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.08s /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.08s /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.07s /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.07s /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.07s /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 1.10s /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64 --- 1.04s /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64 --- 0.94s /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64 --- 0.93s /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Remove cloned kernels --------------------------------------------------- 0.82s /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default --- 0.76s /tmp/collections-0Be/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147