ansible-playbook [core 2.17.12] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-V4t executable location = /usr/local/bin/ansible-playbook python version = 3.12.10 (main, May 9 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-5)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-V4t/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-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Wednesday 25 June 2025 08:12:05 -0400 (0:00:00.020) 0:00:00.020 ******** included: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Wednesday 25 June 2025 08:12:05 -0400 (0:00:00.015) 0:00:00.035 ******** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Wednesday 25 June 2025 08:12:07 -0400 (0:00:02.698) 0:00:02.733 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Wednesday 25 June 2025 08:12:07 -0400 (0:00:00.004) 0:00:02.738 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:12:07 -0400 (0:00:00.061) 0:00:02.799 ******** included: /tmp/collections-V4t/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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:12:07 -0400 (0:00:00.017) 0:00:02.817 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:12:07 -0400 (0:00:00.034) 0:00:02.851 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:12:08 -0400 (0:00:00.424) 0:00:03.276 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:12:08 -0400 (0:00:00.021) 0:00:03.298 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:12:08 -0400 (0:00:00.035) 0:00:03.333 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:12:08 -0400 (0:00:00.012) 0:00:03.346 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:12:26 -0400 (0:00:18.414) 0:00:21.760 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750750197.9157193, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1750750197.91456, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2865, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750750197.9157195, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2400229692", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:12:27 -0400 (0:00:00.374) 0:00:22.135 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:12:27 -0400 (0:00:00.013) 0:00:22.148 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:12:27 -0400 (0:00:00.013) 0:00:22.161 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:12:27 -0400 (0:00:00.333) 0:00:22.494 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:12:27 -0400 (0:00:00.048) 0:00:22.543 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853547.0982037, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1750750197.91456, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2865, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750750197.9157195, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2400229692", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:12:27 -0400 (0:00:00.356) 0:00:22.900 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750749332.095, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "fae114f2ec96cd42b53428a4af2e61e33b104367", "ctime": 1750749332.096, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 365703, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750749332.096, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6744, "uid": 0, "version": "4141666804", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:12:28 -0400 (0:00:00.357) 0:00:23.257 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004415", "end": "2025-06-25 08:12:28.715737", "rc": 0, "start": "2025-06-25 08:12:28.711322" } 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:12:28 -0400 (0:00:00.465) 0:00:23.722 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:12:28 -0400 (0:00:00.034) 0:00:23.757 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:12:29 -0400 (0:00:00.467) 0:00:24.225 ******** changed: [managed-node1] => { "changed": true, "rc": 0 } MSG: 6 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:12:29 -0400 (0:00:00.366) 0:00:24.591 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:12:30 -0400 (0:00:00.448) 0:00:25.039 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:12:30 -0400 (0:00:00.021) 0:00:25.061 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:12:30 -0400 (0:00:00.020) 0:00:25.082 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:12:30 -0400 (0:00:00.034) 0:00:25.116 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "20c8a4be80104666a71438f3e903c4b9-5.14.0-592.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (5.14.0-592.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-20c8a4be80104666a71438f3e903c4b9.img", "kernel": "/boot/vmlinuz-0-rescue-20c8a4be80104666a71438f3e903c4b9", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (0-rescue-20c8a4be80104666a71438f3e903c4b9) 9" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Wednesday 25 June 2025 08:12:30 -0400 (0:00:00.556) 0:00:25.672 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Wednesday 25 June 2025 08:12:30 -0400 (0:00:00.004) 0:00:25.676 ******** META: triggered running handlers for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Wednesday 25 June 2025 08:12:30 -0400 (0:00:00.001) 0:00:25.678 ******** ok: [managed-node1] => { "ansible_facts": { "__default_kernel": { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "20c8a4be80104666a71438f3e903c4b9-5.14.0-592.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (5.14.0-592.el9.x86_64) 9" } }, "changed": false } TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Wednesday 25 June 2025 08:12:30 -0400 (0:00:00.043) 0:00:25.722 ******** included: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-592.el9.x86_64] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Wednesday 25 June 2025 08:12:30 -0400 (0:00:00.042) 0:00:25.764 ******** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-592.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "72132134a81f86d417397acbc1a985824546d404", "dest": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-592.el9.x86_64" }, "md5sum": "f1bd5becc0f084c1f0bc173c3c638e0c", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15063080, "src": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-592.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a16d53a0222ad40fa0238266a3e64c315177a158", "dest": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-592.el9.x86_64.img" }, "md5sum": "25644a36b6e597bac6e9517a18e531b7", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38257742, "src": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Wednesday 25 June 2025 08:12:32 -0400 (0:00:01.226) 0:00:26.991 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:12:32 -0400 (0:00:00.039) 0:00:27.031 ******** included: /tmp/collections-V4t/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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:12:32 -0400 (0:00:00.024) 0:00:27.055 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:12:32 -0400 (0:00:00.037) 0:00:27.093 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:12:32 -0400 (0:00:00.017) 0:00:27.110 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:12:32 -0400 (0:00:00.017) 0:00:27.127 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:12:32 -0400 (0:00:00.031) 0:00:27.159 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:12:32 -0400 (0:00:00.013) 0:00:27.172 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:12:33 -0400 (0:00:01.297) 0:00:28.470 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853547.0982037, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1750750197.91456, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2865, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750750197.9157195, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2400229692", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:12:33 -0400 (0:00:00.383) 0:00:28.853 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:12:33 -0400 (0:00:00.021) 0:00:28.874 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:12:33 -0400 (0:00:00.019) 0:00:28.893 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:12:34 -0400 (0:00:00.384) 0:00:29.277 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:12:34 -0400 (0:00:00.062) 0:00:29.340 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853547.0982037, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1750750197.91456, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2865, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750750197.9157195, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2400229692", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:12:34 -0400 (0:00:00.386) 0:00:29.727 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853549.5777419, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750853549.577215, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750853549.5777426, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "587824907", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:12:35 -0400 (0:00:00.355) 0:00:30.083 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004310", "end": "2025-06-25 08:12:35.459993", "rc": 0, "start": "2025-06-25 08:12:35.455683" } 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:12:35 -0400 (0:00:00.378) 0:00:30.462 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:12:35 -0400 (0:00:00.037) 0:00:30.499 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:12:35 -0400 (0:00:00.352) 0:00:30.852 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:12:36 -0400 (0:00:00.353) 0:00:31.205 ******** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default", "grubby --set-default=/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:12:37 -0400 (0:00:00.830) 0:00:32.036 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:12:37 -0400 (0:00:00.022) 0:00:32.058 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:12:37 -0400 (0:00:00.020) 0:00:32.078 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:12:37 -0400 (0:00:00.047) 0:00:32.126 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Wednesday 25 June 2025 08:12:37 -0400 (0:00:00.038) 0:00:32.164 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 08:12:37 -0400 (0:00:00.001) 0:00:32.166 ******** 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.132108", "end": "2025-06-25 08:12:37.631277", "rc": 0, "start": "2025-06-25 08:12:37.499169" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 08:12:37 -0400 (0:00:00.468) 0:00:32.635 ******** included: /tmp/collections-V4t/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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 08:12:37 -0400 (0:00:00.015) 0:00:32.651 ******** changed: [managed-node1] => { "changed": true, "elapsed": 31, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 08:13:10 -0400 (0:00:32.401) 0:01:05.052 ******** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 08:13:10 -0400 (0:00:00.013) 0:01:05.066 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Wednesday 25 June 2025 08:13:10 -0400 (0:00:00.018) 0:01:05.084 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Wednesday 25 June 2025 08:13:10 -0400 (0:00:00.016) 0:01:05.101 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:13:10 -0400 (0:00:00.055) 0:01:05.156 ******** included: /tmp/collections-V4t/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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:13:10 -0400 (0:00:00.020) 0:01:05.176 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:13:10 -0400 (0:00:00.035) 0:01:05.211 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:13:10 -0400 (0:00:00.018) 0:01:05.230 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:13:10 -0400 (0:00:00.018) 0:01:05.249 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:13:10 -0400 (0:00:00.037) 0:01:05.287 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:13:10 -0400 (0:00:00.018) 0:01:05.306 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:13:19 -0400 (0:00:09.636) 0:01:14.942 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853557.630252, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853557.629252, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277999, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853557.629252, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1724509755", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:13:20 -0400 (0:00:00.376) 0:01:15.319 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:13:20 -0400 (0:00:00.014) 0:01:15.333 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:13:20 -0400 (0:00:00.013) 0:01:15.347 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:13:20 -0400 (0:00:00.341) 0:01:15.689 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:13:20 -0400 (0:00:00.042) 0:01:15.731 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853557.630252, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853557.629252, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277999, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853557.629252, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1724509755", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:13:21 -0400 (0:00:00.353) 0:01:16.084 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853555.0652401, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750853549.577215, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750853549.5777426, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "587824907", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:13:21 -0400 (0:00:00.354) 0:01:16.438 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004892", "end": "2025-06-25 08:13:21.799311", "rc": 0, "start": "2025-06-25 08:13:21.794419" } 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:13:21 -0400 (0:00:00.364) 0:01:16.803 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:13:21 -0400 (0:00:00.038) 0:01:16.842 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:13:22 -0400 (0:00:00.361) 0:01:17.203 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:13:22 -0400 (0:00:00.357) 0:01:17.561 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:13:22 -0400 (0:00:00.340) 0:01:17.902 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:13:22 -0400 (0:00:00.019) 0:01:17.921 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:13:22 -0400 (0:00:00.017) 0:01:17.939 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:13:23 -0400 (0:00:00.033) 0:01:17.972 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-5.14.0-592.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (5.14.0-592.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-20c8a4be80104666a71438f3e903c4b9.img", "kernel": "/boot/vmlinuz-0-rescue-20c8a4be80104666a71438f3e903c4b9", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (0-rescue-20c8a4be80104666a71438f3e903c4b9) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "5e599f3db1c449a08e41c6cb24c5dcdf-5.14.0-592.el9.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "Clone1" } ] }, "changed": false } TASK [Clone again to check idempotency] **************************************** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Wednesday 25 June 2025 08:13:23 -0400 (0:00:00.501) 0:01:18.474 ******** included: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-592.el9.x86_64] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Wednesday 25 June 2025 08:13:23 -0400 (0:00:00.028) 0:01:18.502 ******** ok: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-592.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "72132134a81f86d417397acbc1a985824546d404", "dest": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-592.el9.x86_64" }, "md5sum": "f1bd5becc0f084c1f0bc173c3c638e0c", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15063080, "src": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "state": "file", "uid": 0 } ok: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-592.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "a16d53a0222ad40fa0238266a3e64c315177a158", "dest": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-592.el9.x86_64.img" }, "md5sum": "25644a36b6e597bac6e9517a18e531b7", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38257742, "src": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Wednesday 25 June 2025 08:13:24 -0400 (0:00:01.215) 0:01:19.718 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:13:24 -0400 (0:00:00.036) 0:01:19.754 ******** included: /tmp/collections-V4t/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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:13:24 -0400 (0:00:00.019) 0:01:19.774 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:13:24 -0400 (0:00:00.034) 0:01:19.809 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:13:24 -0400 (0:00:00.019) 0:01:19.828 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:13:24 -0400 (0:00:00.018) 0:01:19.847 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:13:24 -0400 (0:00:00.032) 0:01:19.879 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:13:24 -0400 (0:00:00.014) 0:01:19.894 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:13:26 -0400 (0:00:01.256) 0:01:21.150 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853557.630252, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853557.629252, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277999, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853557.629252, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1724509755", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:13:26 -0400 (0:00:00.353) 0:01:21.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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:13:26 -0400 (0:00:00.015) 0:01:21.518 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:13:26 -0400 (0:00:00.013) 0:01:21.532 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:13:26 -0400 (0:00:00.334) 0:01:21.867 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:13:26 -0400 (0:00:00.044) 0:01:21.912 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853557.630252, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853557.629252, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277999, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853557.629252, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1724509755", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:13:27 -0400 (0:00:00.353) 0:01:22.265 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853555.0652401, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750853549.577215, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750853549.5777426, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "587824907", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:13:27 -0400 (0:00:00.354) 0:01:22.619 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004935", "end": "2025-06-25 08:13:27.984660", "rc": 0, "start": "2025-06-25 08:13:27.979725" } 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:13:28 -0400 (0:00:00.370) 0:01:22.990 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:13:28 -0400 (0:00:00.035) 0:01:23.025 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:13:28 -0400 (0:00:00.362) 0:01:23.388 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:13:28 -0400 (0:00:00.362) 0:01:23.751 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:13:29 -0400 (0:00:00.567) 0:01:24.319 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:13:29 -0400 (0:00:00.019) 0:01:24.338 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:13:29 -0400 (0:00:00.018) 0:01:24.356 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:13:29 -0400 (0:00:00.032) 0:01:24.388 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Wednesday 25 June 2025 08:13:29 -0400 (0:00:00.033) 0:01:24.422 ******** META: triggered running handlers for managed-node1 TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Wednesday 25 June 2025 08:13:29 -0400 (0:00:00.002) 0:01:24.424 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Wednesday 25 June 2025 08:13:29 -0400 (0:00:00.016) 0:01:24.440 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:13:29 -0400 (0:00:00.057) 0:01:24.498 ******** included: /tmp/collections-V4t/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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:13:29 -0400 (0:00:00.018) 0:01:24.517 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:13:29 -0400 (0:00:00.037) 0:01:24.554 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:13:29 -0400 (0:00:00.019) 0:01:24.573 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:13:29 -0400 (0:00:00.017) 0:01:24.591 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:13:29 -0400 (0:00:00.032) 0:01:24.623 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:13:29 -0400 (0:00:00.013) 0:01:24.636 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:13:30 -0400 (0:00:01.274) 0:01:25.911 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853557.630252, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853557.629252, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277999, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853557.629252, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1724509755", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:13:31 -0400 (0:00:00.359) 0:01:26.270 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:13:31 -0400 (0:00:00.015) 0:01:26.285 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:13:31 -0400 (0:00:00.014) 0:01:26.299 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:13:31 -0400 (0:00:00.341) 0:01:26.641 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:13:31 -0400 (0:00:00.043) 0:01:26.685 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853557.630252, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853557.629252, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277999, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853557.629252, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1724509755", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:13:32 -0400 (0:00:00.361) 0:01:27.046 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853555.0652401, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750853549.577215, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750853549.5777426, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "587824907", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:13:32 -0400 (0:00:00.360) 0:01:27.406 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004580", "end": "2025-06-25 08:13:32.765889", "rc": 0, "start": "2025-06-25 08:13:32.761309" } 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:13:32 -0400 (0:00:00.362) 0:01:27.769 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:13:32 -0400 (0:00:00.040) 0:01:27.809 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:13:33 -0400 (0:00:00.362) 0:01:28.172 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:13:33 -0400 (0:00:00.363) 0:01:28.535 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:13:33 -0400 (0:00:00.342) 0:01:28.878 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:13:33 -0400 (0:00:00.020) 0:01:28.898 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:13:33 -0400 (0:00:00.020) 0:01:28.918 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:13:33 -0400 (0:00:00.032) 0:01:28.950 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-5.14.0-592.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (5.14.0-592.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-20c8a4be80104666a71438f3e903c4b9.img", "kernel": "/boot/vmlinuz-0-rescue-20c8a4be80104666a71438f3e903c4b9", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (0-rescue-20c8a4be80104666a71438f3e903c4b9) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "5e599f3db1c449a08e41c6cb24c5dcdf-5.14.0-592.el9.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone1] ********************************************** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Wednesday 25 June 2025 08:13:34 -0400 (0:00:00.498) 0:01:29.448 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Wednesday 25 June 2025 08:13:34 -0400 (0:00:00.046) 0:01:29.495 ******** included: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-592.el9.x86_64] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Wednesday 25 June 2025 08:13:34 -0400 (0:00:00.029) 0:01:29.524 ******** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-592.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-592.el9.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "72132134a81f86d417397acbc1a985824546d404", "dest": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone2", "src": "/boot/vmlinuz-5.14.0-592.el9.x86_64" }, "md5sum": "f1bd5becc0f084c1f0bc173c3c638e0c", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15063080, "src": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-592.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-592.el9.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a16d53a0222ad40fa0238266a3e64c315177a158", "dest": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone2", "src": "/boot/initramfs-5.14.0-592.el9.x86_64.img" }, "md5sum": "25644a36b6e597bac6e9517a18e531b7", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38257742, "src": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Wednesday 25 June 2025 08:13:35 -0400 (0:00:00.873) 0:01:30.398 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:13:35 -0400 (0:00:00.039) 0:01:30.437 ******** included: /tmp/collections-V4t/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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:13:35 -0400 (0:00:00.020) 0:01:30.457 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:13:35 -0400 (0:00:00.036) 0:01:30.494 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:13:35 -0400 (0:00:00.020) 0:01:30.514 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:13:35 -0400 (0:00:00.019) 0:01:30.533 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:13:35 -0400 (0:00:00.032) 0:01:30.566 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:13:35 -0400 (0:00:00.014) 0:01:30.581 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:13:36 -0400 (0:00:01.245) 0:01:31.826 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853557.630252, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853557.629252, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277999, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853557.629252, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1724509755", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:13:37 -0400 (0:00:00.348) 0:01:32.175 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:13:37 -0400 (0:00:00.016) 0:01:32.192 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:13:37 -0400 (0:00:00.013) 0:01:32.205 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:13:37 -0400 (0:00:00.334) 0:01:32.540 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:13:37 -0400 (0:00:00.042) 0:01:32.582 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853557.630252, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853557.629252, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 277999, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853557.629252, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1724509755", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:13:37 -0400 (0:00:00.353) 0:01:32.936 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853555.0652401, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750853549.577215, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750853549.5777426, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "587824907", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:13:38 -0400 (0:00:00.372) 0:01:33.309 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004188", "end": "2025-06-25 08:13:38.694694", "rc": 0, "start": "2025-06-25 08:13:38.690506" } 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:13:38 -0400 (0:00:00.388) 0:01:33.697 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:13:38 -0400 (0:00:00.035) 0:01:33.732 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:13:39 -0400 (0:00:00.359) 0:01:34.091 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:13:39 -0400 (0:00:00.358) 0:01:34.450 ******** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-5.14.0-592.el9.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-5.14.0-592.el9.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:13:40 -0400 (0:00:00.629) 0:01:35.079 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:13:40 -0400 (0:00:00.020) 0:01:35.099 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:13:40 -0400 (0:00:00.020) 0:01:35.120 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:13:40 -0400 (0:00:00.032) 0:01:35.153 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Wednesday 25 June 2025 08:13:40 -0400 (0:00:00.035) 0:01:35.188 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 08:13:40 -0400 (0:00:00.002) 0:01:35.190 ******** 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.159356", "end": "2025-06-25 08:13:40.691589", "rc": 0, "start": "2025-06-25 08:13:40.532233" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 08:13:40 -0400 (0:00:00.506) 0:01:35.696 ******** included: /tmp/collections-V4t/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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 08:13:40 -0400 (0:00:00.015) 0:01:35.712 ******** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 08:14:03 -0400 (0:00:23.137) 0:01:58.850 ******** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 08:14:03 -0400 (0:00:00.013) 0:01:58.863 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Wednesday 25 June 2025 08:14:03 -0400 (0:00:00.017) 0:01:58.881 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Wednesday 25 June 2025 08:14:03 -0400 (0:00:00.016) 0:01:58.898 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:14:03 -0400 (0:00:00.054) 0:01:58.952 ******** included: /tmp/collections-V4t/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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:14:04 -0400 (0:00:00.020) 0:01:58.973 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:14:04 -0400 (0:00:00.035) 0:01:59.008 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:14:04 -0400 (0:00:00.023) 0:01:59.031 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:14:04 -0400 (0:00:00.019) 0:01:59.051 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:14:04 -0400 (0:00:00.032) 0:01:59.083 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:14:04 -0400 (0:00:00.012) 0:01:59.096 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:14:07 -0400 (0:00:02.896) 0:02:01.993 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853620.6896183, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853620.6886182, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853620.6886182, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3504158533", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:14:07 -0400 (0:00:00.381) 0:02:02.374 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:14:07 -0400 (0:00:00.014) 0:02:02.389 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:14:07 -0400 (0:00:00.014) 0:02:02.403 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:14:07 -0400 (0:00:00.337) 0:02:02.741 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:14:07 -0400 (0:00:00.042) 0:02:02.783 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853620.6896183, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853620.6886182, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853620.6886182, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3504158533", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:14:08 -0400 (0:00:00.351) 0:02:03.135 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853555.0652401, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750853549.577215, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750853549.5777426, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "587824907", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:14:08 -0400 (0:00:00.361) 0:02:03.496 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004785", "end": "2025-06-25 08:14:08.085700", "rc": 0, "start": "2025-06-25 08:14:08.080915" } 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:14:08 -0400 (0:00:00.365) 0:02:03.862 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:14:08 -0400 (0:00:00.039) 0:02:03.901 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:14:09 -0400 (0:00:00.365) 0:02:04.266 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:14:09 -0400 (0:00:00.358) 0:02:04.625 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:14:10 -0400 (0:00:00.337) 0:02:04.963 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:14:10 -0400 (0:00:00.020) 0:02:04.983 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:14:10 -0400 (0:00:00.018) 0:02:05.001 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:14:10 -0400 (0:00:00.033) 0:02:05.035 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-5.14.0-592.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (5.14.0-592.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-20c8a4be80104666a71438f3e903c4b9.img", "kernel": "/boot/vmlinuz-0-rescue-20c8a4be80104666a71438f3e903c4b9", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (0-rescue-20c8a4be80104666a71438f3e903c4b9) 9" }, { "args": "test=kernel", "default": false, "id": "5e599f3db1c449a08e41c6cb24c5dcdf-5.14.0-592.el9.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "5e599f3db1c449a08e41c6cb24c5dcdf-5.14.0-592.el9.x86_64_clone1", "index": "3", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone2] ********************************************** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Wednesday 25 June 2025 08:14:10 -0400 (0:00:00.540) 0:02:05.575 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Wednesday 25 June 2025 08:14:10 -0400 (0:00:00.045) 0:02:05.621 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:14:10 -0400 (0:00:00.035) 0:02:05.656 ******** included: /tmp/collections-V4t/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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:14:10 -0400 (0:00:00.019) 0:02:05.675 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:14:10 -0400 (0:00:00.035) 0:02:05.711 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:14:10 -0400 (0:00:00.019) 0:02:05.731 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:14:10 -0400 (0:00:00.018) 0:02:05.749 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:14:10 -0400 (0:00:00.031) 0:02:05.781 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:14:10 -0400 (0:00:00.015) 0:02:05.797 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:14:12 -0400 (0:00:01.260) 0:02:07.057 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853620.6896183, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853620.6886182, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853620.6886182, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3504158533", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:14:12 -0400 (0:00:00.355) 0:02:07.413 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:14:12 -0400 (0:00:00.015) 0:02:07.429 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:14:12 -0400 (0:00:00.013) 0:02:07.443 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:14:12 -0400 (0:00:00.339) 0:02:07.782 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:14:12 -0400 (0:00:00.046) 0:02:07.829 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853620.6896183, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853620.6886182, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853620.6886182, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3504158533", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:14:13 -0400 (0:00:00.359) 0:02:08.188 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853555.0652401, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750853549.577215, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750853549.5777426, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "587824907", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:14:13 -0400 (0:00:00.359) 0:02:08.547 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004762", "end": "2025-06-25 08:14:13.558804", "rc": 0, "start": "2025-06-25 08:14:13.554042" } 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:14:13 -0400 (0:00:00.367) 0:02:08.915 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:14:13 -0400 (0:00:00.038) 0:02:08.953 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:14:14 -0400 (0:00:00.369) 0:02:09.322 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:14:14 -0400 (0:00:00.367) 0:02:09.690 ******** fatal: [managed-node1]: FAILED! => { "changed": false } MSG: Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-5.14.0-592.el9.x86_64_clone1, /boot/vmlinuz-5.14.0-592.el9.x86_64_clone2 TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Wednesday 25 June 2025 08:14:15 -0400 (0:00:00.345) 0:02:10.035 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Wednesday 25 June 2025 08:14:15 -0400 (0:00:00.016) 0:02:10.052 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:14:15 -0400 (0:00:00.061) 0:02:10.113 ******** included: /tmp/collections-V4t/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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:14:15 -0400 (0:00:00.023) 0:02:10.136 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:14:15 -0400 (0:00:00.035) 0:02:10.172 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:14:15 -0400 (0:00:00.019) 0:02:10.192 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:14:15 -0400 (0:00:00.019) 0:02:10.212 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:14:15 -0400 (0:00:00.032) 0:02:10.244 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:14:15 -0400 (0:00:00.014) 0:02:10.259 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:14:16 -0400 (0:00:01.266) 0:02:11.525 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853620.6896183, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853620.6886182, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853620.6886182, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3504158533", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:14:16 -0400 (0:00:00.352) 0:02:11.878 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:14:16 -0400 (0:00:00.014) 0:02:11.893 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:14:16 -0400 (0:00:00.014) 0:02:11.907 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:14:17 -0400 (0:00:00.342) 0:02:12.250 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:14:17 -0400 (0:00:00.080) 0:02:12.331 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853620.6896183, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853620.6886182, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853620.6886182, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3504158533", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:14:17 -0400 (0:00:00.355) 0:02:12.686 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853555.0652401, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750853549.577215, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750853549.5777426, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "587824907", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:14:18 -0400 (0:00:00.360) 0:02:13.046 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005390", "end": "2025-06-25 08:14:18.452827", "rc": 0, "start": "2025-06-25 08:14:18.447437" } 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:14:18 -0400 (0:00:00.407) 0:02:13.453 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:14:18 -0400 (0:00:00.075) 0:02:13.528 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:14:18 -0400 (0:00:00.398) 0:02:13.927 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:14:19 -0400 (0:00:00.403) 0:02:14.330 ******** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:14:20 -0400 (0:00:00.790) 0:02:15.120 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:14:20 -0400 (0:00:00.027) 0:02:15.148 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:14:20 -0400 (0:00:00.021) 0:02:15.170 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:14:20 -0400 (0:00:00.040) 0:02:15.210 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "20c8a4be80104666a71438f3e903c4b9-5.14.0-592.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (5.14.0-592.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-20c8a4be80104666a71438f3e903c4b9.img", "kernel": "/boot/vmlinuz-0-rescue-20c8a4be80104666a71438f3e903c4b9", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (0-rescue-20c8a4be80104666a71438f3e903c4b9) 9" }, { "args": "test=kernel", "default": false, "id": "5e599f3db1c449a08e41c6cb24c5dcdf-5.14.0-592.el9.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64_clone2", "title": "Clone2" } ] }, "changed": false } TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Wednesday 25 June 2025 08:14:20 -0400 (0:00:00.495) 0:02:15.705 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:14:20 -0400 (0:00:00.071) 0:02:15.777 ******** included: /tmp/collections-V4t/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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:14:20 -0400 (0:00:00.018) 0:02:15.796 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:14:20 -0400 (0:00:00.036) 0:02:15.832 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:14:20 -0400 (0:00:00.017) 0:02:15.850 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:14:20 -0400 (0:00:00.020) 0:02:15.870 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:14:20 -0400 (0:00:00.035) 0:02:15.905 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:14:20 -0400 (0:00:00.013) 0:02:15.918 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:14:22 -0400 (0:00:01.257) 0:02:17.175 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853620.6896183, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853620.6886182, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853620.6886182, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3504158533", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:14:22 -0400 (0:00:00.357) 0:02:17.533 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:14:22 -0400 (0:00:00.014) 0:02:17.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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:14:22 -0400 (0:00:00.013) 0:02:17.560 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:14:22 -0400 (0:00:00.337) 0:02:17.898 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:14:22 -0400 (0:00:00.042) 0:02:17.941 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853620.6896183, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1750853620.6886182, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278000, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853620.6886182, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "3504158533", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:14:23 -0400 (0:00:00.362) 0:02:18.303 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853555.0652401, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9884c8699f5d1d9324df65607bc3ab9c6ff1c34d", "ctime": 1750853549.577215, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 289407171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750853549.5777426, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6717, "uid": 0, "version": "587824907", "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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:14:23 -0400 (0:00:00.360) 0:02:18.663 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004476", "end": "2025-06-25 08:14:24.025935", "rc": 0, "start": "2025-06-25 08:14:24.021459" } 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:14:24 -0400 (0:00:00.365) 0:02:19.029 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:14:24 -0400 (0:00:00.037) 0:02:19.066 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:14:24 -0400 (0:00:00.371) 0:02:19.437 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:14:24 -0400 (0:00:00.370) 0:02:19.807 ******** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-592.el9.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:14:25 -0400 (0:00:00.566) 0:02:20.374 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:14:25 -0400 (0:00:00.029) 0:02:20.403 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:14:25 -0400 (0:00:00.028) 0:02:20.431 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:14:25 -0400 (0:00:00.042) 0:02:20.474 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "20c8a4be80104666a71438f3e903c4b9-5.14.0-592.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-592.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-592.el9.x86_64", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (5.14.0-592.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "20c8a4be80104666a71438f3e903c4b9-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-20c8a4be80104666a71438f3e903c4b9.img", "kernel": "/boot/vmlinuz-0-rescue-20c8a4be80104666a71438f3e903c4b9", "root": "UUID=97c8d18c-75f2-428f-b993-321f7140f874", "title": "CentOS Stream (0-rescue-20c8a4be80104666a71438f3e903c4b9) 9" } ] }, "changed": false } TASK [Verify that kernel is removed {{ item }}] ******************************** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Wednesday 25 June 2025 08:14:26 -0400 (0:00:00.483) 0:02:20.957 ******** 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-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Wednesday 25 June 2025 08:14:26 -0400 (0:00:00.054) 0:02:21.012 ******** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-592.el9.x86_64_clone1" ], "delta": "0:00:00.045915", "end": "2025-06-25 08:14:26.402833", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-06-25 08:14:26.356918" } STDERR: The param /boot/vmlinuz-5.14.0-592.el9.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-592.el9.x86_64_clone2" ], "delta": "0:00:00.044835", "end": "2025-06-25 08:14:26.800336", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-06-25 08:14:26.755501" } STDERR: The param /boot/vmlinuz-5.14.0-592.el9.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 08:14:26 -0400 (0:00:00.790) 0:02:21.803 ******** 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.107235", "end": "2025-06-25 08:14:27.251071", "rc": 0, "start": "2025-06-25 08:14:27.143836" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 08:14:27 -0400 (0:00:00.450) 0:02:22.253 ******** included: /tmp/collections-V4t/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-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 08:14:27 -0400 (0:00:00.015) 0:02:22.269 ******** changed: [managed-node1] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 08:14:51 -0400 (0:00:24.442) 0:02:46.712 ******** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 08:14:51 -0400 (0:00:00.014) 0:02:46.727 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=156 changed=14 unreachable=0 failed=0 skipped=111 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.12", "end_time": "2025-06-25T12:14:15.079075+00:00Z", "host": "managed-node1", "message": "Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-5.14.0-592.el9.x86_64_clone1, /boot/vmlinuz-5.14.0-592.el9.x86_64_clone2", "start_time": "2025-06-25T12:14:14.736688+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Wednesday 25 June 2025 08:14:51 -0400 (0:00:00.016) 0:02:46.743 ******** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 32.40s /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 24.44s /tmp/collections-V4t/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.14s /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 18.41s /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 9.64s /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.90s /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.70s /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.30s /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.27s /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.27s /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.26s /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.26s /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.26s /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.25s /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-592.el9.x86_64 --- 1.23s /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-592.el9.x86_64 --- 1.22s /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-592.el9.x86_64 --- 0.87s /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.83s /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Remove cloned kernels --------------------------------------------------- 0.79s /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.79s /tmp/collections-V4t/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102