ansible-playbook [core 2.17.13] 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-VID executable location = /usr/local/bin/ansible-playbook python version = 3.12.11 (main, Jun 12 2025, 00:00:00) [GCC 14.2.1 20250110 (Red Hat 14.2.1-8)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-VID/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-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Friday 01 August 2025 17:34:15 -0400 (0:00:00.022) 0:00:00.022 ********* included: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Friday 01 August 2025 17:34:15 -0400 (0:00:00.014) 0:00:00.037 ********* [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Friday 01 August 2025 17:34:17 -0400 (0:00:01.979) 0:00:02.017 ********* 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-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Friday 01 August 2025 17:34:17 -0400 (0:00:00.006) 0:00:02.024 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:34:17 -0400 (0:00:00.077) 0:00:02.101 ********* included: /tmp/collections-VID/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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:34:17 -0400 (0:00:00.017) 0:00:02.118 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:34:17 -0400 (0:00:00.032) 0:00:02.151 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:34:18 -0400 (0:00:00.430) 0:00:02.582 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:34:18 -0400 (0:00:00.020) 0:00:02.603 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:34:18 -0400 (0:00:00.029) 0:00:02.632 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:34:18 -0400 (0:00:00.010) 0:00:02.643 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:34:18 -0400 (0:00:00.042) 0:00:02.685 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:34:25 -0400 (0:00:07.469) 0:00:10.155 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753980341.6005576, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1753980341.5998538, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5314483, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753980341.600558, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2128853484", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:34:25 -0400 (0:00:00.387) 0:00:10.542 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:34:25 -0400 (0:00:00.013) 0:00:10.555 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:34:25 -0400 (0:00:00.011) 0:00:10.567 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:34:26 -0400 (0:00:00.353) 0:00:10.921 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:34:26 -0400 (0:00:00.039) 0:00:10.960 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084065.891339, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1753980341.5998538, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5314483, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753980341.600558, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2128853484", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:34:26 -0400 (0:00:00.367) 0:00:11.327 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753978327.369, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8972281f1ca6a8fea01f77353c25a78fce1f6c11", "ctime": 1753978327.37, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8943922, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753978327.37, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6975, "uid": 0, "version": "1134783182", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:34:27 -0400 (0:00:00.371) 0:00:11.698 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004922", "end": "2025-08-01 17:34:27.548399", "rc": 0, "start": "2025-08-01 17:34:27.543477" } 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:34:27 -0400 (0:00:00.467) 0:00:12.166 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:34:27 -0400 (0:00:00.031) 0:00:12.197 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:34:28 -0400 (0:00:00.456) 0:00:12.653 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:34:28 -0400 (0:00:00.373) 0:00:13.026 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:34:28 -0400 (0:00:00.436) 0:00:13.463 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:34:28 -0400 (0:00:00.020) 0:00:13.483 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:34:28 -0400 (0:00:00.016) 0:00:13.500 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:34:28 -0400 (0:00:00.035) 0:00:13.536 ********* 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": "6244c38ae249433e87b65fbfbe3f4f2d-6.12.0-114.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (6.12.0-114.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "6244c38ae249433e87b65fbfbe3f4f2d-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d.img", "kernel": "/boot/vmlinuz-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (0-rescue-6244c38ae249433e87b65fbfbe3f4f2d) 10 (Coughlan)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Friday 01 August 2025 17:34:29 -0400 (0:00:00.560) 0:00:14.096 ********* 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-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Friday 01 August 2025 17:34:29 -0400 (0:00:00.003) 0:00:14.100 ********* META: triggered running handlers for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Friday 01 August 2025 17:34:29 -0400 (0:00:00.001) 0:00:14.102 ********* 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": "6244c38ae249433e87b65fbfbe3f4f2d-6.12.0-114.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (6.12.0-114.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Friday 01 August 2025 17:34:29 -0400 (0:00:00.038) 0:00:14.140 ********* included: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-6.12.0-114.el10.x86_64] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Friday 01 August 2025 17:34:29 -0400 (0:00:00.024) 0:00:14.165 ********* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-114.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "99e149672d97bdaa501e90ae6c11e7a3a0fe6d3b", "dest": "/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1", "src": "/boot/vmlinuz-6.12.0-114.el10.x86_64" }, "md5sum": "7221bead18e7da345cadeaee64b241d9", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15939624, "src": "/boot/vmlinuz-6.12.0-114.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-114.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-114.el10.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "916b35272be073f4a3f1609f592dc6767f021894", "dest": "/boot/initramfs-6.12.0-114.el10.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-114.el10.x86_64.img_clone1", "src": "/boot/initramfs-6.12.0-114.el10.x86_64.img" }, "md5sum": "3de2ede7545b849e9a7095a0fa951299", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 47230528, "src": "/boot/initramfs-6.12.0-114.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Friday 01 August 2025 17:34:30 -0400 (0:00:01.155) 0:00:15.321 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:34:30 -0400 (0:00:00.053) 0:00:15.374 ********* included: /tmp/collections-VID/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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:34:30 -0400 (0:00:00.020) 0:00:15.395 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:34:30 -0400 (0:00:00.035) 0:00:15.430 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:34:30 -0400 (0:00:00.020) 0:00:15.450 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:34:30 -0400 (0:00:00.015) 0:00:15.466 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:34:30 -0400 (0:00:00.028) 0:00:15.495 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:34:30 -0400 (0:00:00.012) 0:00:15.508 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:34:30 -0400 (0:00:00.056) 0:00:15.565 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:34:31 -0400 (0:00:00.817) 0:00:16.382 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084065.891339, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1753980341.5998538, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5314483, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753980341.600558, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2128853484", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:34:32 -0400 (0:00:00.374) 0:00:16.757 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:34:32 -0400 (0:00:00.018) 0:00:16.775 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:34:32 -0400 (0:00:00.011) 0:00:16.787 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:34:32 -0400 (0:00:00.366) 0:00:17.153 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:34:32 -0400 (0:00:00.059) 0:00:17.213 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084065.891339, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1753980341.5998538, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5314483, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753980341.600558, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2128853484", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:34:33 -0400 (0:00:00.378) 0:00:17.592 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084068.4100783, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754084068.4093328, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754084068.4100795, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "800711222", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:34:33 -0400 (0:00:00.392) 0:00:17.985 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004649", "end": "2025-08-01 17:34:33.798197", "rc": 0, "start": "2025-08-01 17:34:33.793548" } 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:34:33 -0400 (0:00:00.438) 0:00:18.423 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:34:33 -0400 (0:00:00.048) 0:00:18.472 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:34:34 -0400 (0:00:00.404) 0:00:18.877 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:34:34 -0400 (0:00:00.383) 0:00:19.260 ********* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.12.0-114.el10.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default --make-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:34:35 -0400 (0:00:00.594) 0:00:19.854 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:34:35 -0400 (0:00:00.028) 0:00:19.882 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:34:35 -0400 (0:00:00.027) 0:00:19.910 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:34:35 -0400 (0:00:00.046) 0:00:19.956 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Friday 01 August 2025 17:34:35 -0400 (0:00:00.047) 0:00:20.003 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 01 August 2025 17:34:35 -0400 (0:00:00.002) 0:00:20.006 ********* 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.131021", "end": "2025-08-01 17:34:35.909706", "rc": 0, "start": "2025-08-01 17:34:35.778685" } 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 01 August 2025 17:34:35 -0400 (0:00:00.532) 0:00:20.539 ********* included: /tmp/collections-VID/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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 01 August 2025 17:34:35 -0400 (0:00:00.023) 0:00:20.562 ********* changed: [managed-node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 01 August 2025 17:35:07 -0400 (0:00:31.122) 0:00:51.685 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 01 August 2025 17:35:07 -0400 (0:00:00.019) 0:00:51.705 ********* 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-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Friday 01 August 2025 17:35:07 -0400 (0:00:00.023) 0:00:51.728 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Friday 01 August 2025 17:35:07 -0400 (0:00:00.023) 0:00:51.752 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:35:07 -0400 (0:00:00.069) 0:00:51.821 ********* included: /tmp/collections-VID/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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:35:07 -0400 (0:00:00.026) 0:00:51.847 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:35:07 -0400 (0:00:00.049) 0:00:51.897 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:35:07 -0400 (0:00:00.026) 0:00:51.923 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:35:07 -0400 (0:00:00.024) 0:00:51.948 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:35:07 -0400 (0:00:00.035) 0:00:51.983 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:35:07 -0400 (0:00:00.011) 0:00:51.995 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:35:07 -0400 (0:00:00.048) 0:00:52.043 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:35:09 -0400 (0:00:01.620) 0:00:53.663 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084075.9083133, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754084075.9073133, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161084, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084075.9073133, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1861341661", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:35:09 -0400 (0:00:00.426) 0:00:54.090 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:35:09 -0400 (0:00:00.014) 0:00:54.104 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:35:09 -0400 (0:00:00.011) 0:00:54.115 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:35:09 -0400 (0:00:00.363) 0:00:54.479 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:35:09 -0400 (0:00:00.039) 0:00:54.518 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084075.9083133, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754084075.9073133, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161084, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084075.9073133, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1861341661", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:35:10 -0400 (0:00:00.389) 0:00:54.908 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084073.3353205, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754084068.4093328, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754084068.4100795, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "800711222", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:35:10 -0400 (0:00:00.403) 0:00:55.311 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004811", "end": "2025-08-01 17:35:11.094492", "rc": 0, "start": "2025-08-01 17:35:11.089681" } 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:35:11 -0400 (0:00:00.403) 0:00:55.715 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:35:11 -0400 (0:00:00.032) 0:00:55.747 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:35:11 -0400 (0:00:00.394) 0:00:56.142 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:35:11 -0400 (0:00:00.400) 0:00:56.542 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:35:12 -0400 (0:00:00.381) 0:00:56.924 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:35:12 -0400 (0:00:00.022) 0:00:56.946 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:35:12 -0400 (0:00:00.016) 0:00:56.963 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:35:12 -0400 (0:00:00.034) 0:00:56.998 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "ec24be01bdb0899e0a13c338120ed948-6.12.0-114.el10.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "Clone1" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "6244c38ae249433e87b65fbfbe3f4f2d-6.12.0-114.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (6.12.0-114.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "6244c38ae249433e87b65fbfbe3f4f2d-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d.img", "kernel": "/boot/vmlinuz-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (0-rescue-6244c38ae249433e87b65fbfbe3f4f2d) 10 (Coughlan)" } ] }, "changed": false } TASK [Clone again to check idempotency] **************************************** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Friday 01 August 2025 17:35:12 -0400 (0:00:00.534) 0:00:57.532 ********* included: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-6.12.0-114.el10.x86_64] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Friday 01 August 2025 17:35:12 -0400 (0:00:00.025) 0:00:57.558 ********* ok: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-114.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "99e149672d97bdaa501e90ae6c11e7a3a0fe6d3b", "dest": "/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1", "src": "/boot/vmlinuz-6.12.0-114.el10.x86_64" }, "md5sum": "7221bead18e7da345cadeaee64b241d9", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15939624, "src": "/boot/vmlinuz-6.12.0-114.el10.x86_64", "state": "file", "uid": 0 } ok: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-114.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-114.el10.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "916b35272be073f4a3f1609f592dc6767f021894", "dest": "/boot/initramfs-6.12.0-114.el10.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-114.el10.x86_64.img_clone1", "src": "/boot/initramfs-6.12.0-114.el10.x86_64.img" }, "md5sum": "3de2ede7545b849e9a7095a0fa951299", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 47230528, "src": "/boot/initramfs-6.12.0-114.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Friday 01 August 2025 17:35:14 -0400 (0:00:01.422) 0:00:58.980 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:35:14 -0400 (0:00:00.040) 0:00:59.021 ********* included: /tmp/collections-VID/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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:35:14 -0400 (0:00:00.021) 0:00:59.043 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:35:14 -0400 (0:00:00.033) 0:00:59.076 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:35:14 -0400 (0:00:00.016) 0:00:59.092 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:35:14 -0400 (0:00:00.016) 0:00:59.109 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:35:14 -0400 (0:00:00.029) 0:00:59.138 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:35:14 -0400 (0:00:00.011) 0:00:59.149 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:35:14 -0400 (0:00:00.057) 0:00:59.207 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:35:15 -0400 (0:00:00.830) 0:01:00.038 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084075.9083133, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754084075.9073133, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161084, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084075.9073133, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1861341661", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:35:15 -0400 (0:00:00.393) 0:01:00.431 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:35:15 -0400 (0:00:00.013) 0:01:00.445 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:35:15 -0400 (0:00:00.012) 0:01:00.457 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:35:16 -0400 (0:00:00.380) 0:01:00.837 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:35:16 -0400 (0:00:00.038) 0:01:00.876 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084075.9083133, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754084075.9073133, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161084, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084075.9073133, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1861341661", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:35:16 -0400 (0:00:00.394) 0:01:01.271 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084073.3353205, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754084068.4093328, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754084068.4100795, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "800711222", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:35:17 -0400 (0:00:00.389) 0:01:01.660 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005139", "end": "2025-08-01 17:35:17.434840", "rc": 0, "start": "2025-08-01 17:35:17.429701" } 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:35:17 -0400 (0:00:00.392) 0:01:02.053 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:35:17 -0400 (0:00:00.032) 0:01:02.085 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:35:17 -0400 (0:00:00.384) 0:01:02.470 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:35:18 -0400 (0:00:00.387) 0:01:02.857 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:35:18 -0400 (0:00:00.643) 0:01:03.501 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:35:18 -0400 (0:00:00.018) 0:01:03.520 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:35:18 -0400 (0:00:00.017) 0:01:03.537 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:35:18 -0400 (0:00:00.027) 0:01:03.565 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Friday 01 August 2025 17:35:19 -0400 (0:00:00.029) 0:01:03.594 ********* META: triggered running handlers for managed-node1 TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Friday 01 August 2025 17:35:19 -0400 (0:00:00.001) 0:01:03.595 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Friday 01 August 2025 17:35:19 -0400 (0:00:00.016) 0:01:03.612 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:35:19 -0400 (0:00:00.051) 0:01:03.663 ********* included: /tmp/collections-VID/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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:35:19 -0400 (0:00:00.018) 0:01:03.682 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:35:19 -0400 (0:00:00.032) 0:01:03.714 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:35:19 -0400 (0:00:00.016) 0:01:03.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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:35:19 -0400 (0:00:00.015) 0:01:03.747 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:35:19 -0400 (0:00:00.029) 0:01:03.776 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:35:19 -0400 (0:00:00.012) 0:01:03.788 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:35:19 -0400 (0:00:00.043) 0:01:03.832 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:35:20 -0400 (0:00:00.831) 0:01:04.663 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084075.9083133, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754084075.9073133, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161084, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084075.9073133, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1861341661", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:35:20 -0400 (0:00:00.387) 0:01:05.051 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:35:20 -0400 (0:00:00.014) 0:01:05.066 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:35:20 -0400 (0:00:00.012) 0:01:05.078 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:35:20 -0400 (0:00:00.366) 0:01:05.444 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:35:20 -0400 (0:00:00.039) 0:01:05.484 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084075.9083133, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754084075.9073133, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161084, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084075.9073133, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1861341661", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:35:21 -0400 (0:00:00.387) 0:01:05.871 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084073.3353205, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754084068.4093328, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754084068.4100795, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "800711222", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:35:21 -0400 (0:00:00.387) 0:01:06.259 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005246", "end": "2025-08-01 17:35:22.035068", "rc": 0, "start": "2025-08-01 17:35:22.029822" } 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:35:22 -0400 (0:00:00.393) 0:01:06.653 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:35:22 -0400 (0:00:00.032) 0:01:06.685 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:35:22 -0400 (0:00:00.381) 0:01:07.066 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:35:22 -0400 (0:00:00.387) 0:01:07.454 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:35:23 -0400 (0:00:00.369) 0:01:07.823 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:35:23 -0400 (0:00:00.018) 0:01:07.842 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:35:23 -0400 (0:00:00.016) 0:01:07.859 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:35:23 -0400 (0:00:00.028) 0:01:07.887 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "ec24be01bdb0899e0a13c338120ed948-6.12.0-114.el10.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "Clone1" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "6244c38ae249433e87b65fbfbe3f4f2d-6.12.0-114.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (6.12.0-114.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "6244c38ae249433e87b65fbfbe3f4f2d-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d.img", "kernel": "/boot/vmlinuz-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (0-rescue-6244c38ae249433e87b65fbfbe3f4f2d) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings for Clone1] ********************************************** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Friday 01 August 2025 17:35:23 -0400 (0:00:00.523) 0:01:08.411 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Friday 01 August 2025 17:35:23 -0400 (0:00:00.041) 0:01:08.452 ********* included: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-6.12.0-114.el10.x86_64] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Friday 01 August 2025 17:35:23 -0400 (0:00:00.027) 0:01:08.479 ********* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-114.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-114.el10.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "99e149672d97bdaa501e90ae6c11e7a3a0fe6d3b", "dest": "/boot/vmlinuz-6.12.0-114.el10.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-114.el10.x86_64_clone2", "src": "/boot/vmlinuz-6.12.0-114.el10.x86_64" }, "md5sum": "7221bead18e7da345cadeaee64b241d9", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15939624, "src": "/boot/vmlinuz-6.12.0-114.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-114.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-114.el10.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "916b35272be073f4a3f1609f592dc6767f021894", "dest": "/boot/initramfs-6.12.0-114.el10.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-114.el10.x86_64.img_clone2", "src": "/boot/initramfs-6.12.0-114.el10.x86_64.img" }, "md5sum": "3de2ede7545b849e9a7095a0fa951299", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 47230528, "src": "/boot/initramfs-6.12.0-114.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Friday 01 August 2025 17:35:24 -0400 (0:00:00.949) 0:01:09.428 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:35:24 -0400 (0:00:00.036) 0:01:09.465 ********* included: /tmp/collections-VID/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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:35:24 -0400 (0:00:00.018) 0:01:09.484 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:35:24 -0400 (0:00:00.031) 0:01:09.515 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:35:24 -0400 (0:00:00.017) 0:01:09.532 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:35:24 -0400 (0:00:00.015) 0:01:09.548 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:35:25 -0400 (0:00:00.028) 0:01:09.577 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:35:25 -0400 (0:00:00.012) 0:01:09.589 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:35:25 -0400 (0:00:00.057) 0:01:09.647 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:35:25 -0400 (0:00:00.820) 0:01:10.468 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084075.9083133, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754084075.9073133, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161084, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084075.9073133, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1861341661", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:35:26 -0400 (0:00:00.382) 0:01:10.850 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:35:26 -0400 (0:00:00.014) 0:01:10.864 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:35:26 -0400 (0:00:00.012) 0:01:10.876 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:35:26 -0400 (0:00:00.371) 0:01:11.248 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:35:26 -0400 (0:00:00.039) 0:01:11.287 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084075.9083133, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754084075.9073133, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161084, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084075.9073133, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1861341661", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:35:27 -0400 (0:00:00.382) 0:01:11.670 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084073.3353205, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754084068.4093328, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754084068.4100795, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "800711222", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:35:27 -0400 (0:00:00.390) 0:01:12.061 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004703", "end": "2025-08-01 17:35:27.842268", "rc": 0, "start": "2025-08-01 17:35:27.837565" } 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:35:27 -0400 (0:00:00.399) 0:01:12.460 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:35:27 -0400 (0:00:00.034) 0:01:12.495 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:35:28 -0400 (0:00:00.390) 0:01:12.885 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:35:28 -0400 (0:00:00.388) 0:01:13.274 ********* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.12.0-114.el10.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.12.0-114.el10.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:35:29 -0400 (0:00:00.657) 0:01:13.931 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:35:29 -0400 (0:00:00.018) 0:01:13.950 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:35:29 -0400 (0:00:00.017) 0:01:13.967 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:35:29 -0400 (0:00:00.028) 0:01:13.996 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Friday 01 August 2025 17:35:29 -0400 (0:00:00.032) 0:01:14.028 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 01 August 2025 17:35:29 -0400 (0:00:00.001) 0:01:14.030 ********* 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.162136", "end": "2025-08-01 17:35:29.947607", "rc": 0, "start": "2025-08-01 17:35:29.785471" } 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 01 August 2025 17:35:29 -0400 (0:00:00.536) 0:01:14.567 ********* included: /tmp/collections-VID/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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 01 August 2025 17:35:30 -0400 (0:00:00.014) 0:01:14.581 ********* changed: [managed-node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 01 August 2025 17:36:02 -0400 (0:00:32.077) 0:01:46.659 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 01 August 2025 17:36:02 -0400 (0:00:00.013) 0:01:46.673 ********* 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-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Friday 01 August 2025 17:36:02 -0400 (0:00:00.016) 0:01:46.690 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Friday 01 August 2025 17:36:02 -0400 (0:00:00.016) 0:01:46.706 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:36:02 -0400 (0:00:00.053) 0:01:46.759 ********* included: /tmp/collections-VID/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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:36:02 -0400 (0:00:00.019) 0:01:46.778 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:36:02 -0400 (0:00:00.033) 0:01:46.812 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:36:02 -0400 (0:00:00.018) 0:01:46.830 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:36:02 -0400 (0:00:00.017) 0:01:46.848 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:36:02 -0400 (0:00:00.031) 0:01:46.879 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:36:02 -0400 (0:00:00.013) 0:01:46.893 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:36:02 -0400 (0:00:00.046) 0:01:46.939 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:36:04 -0400 (0:00:01.635) 0:01:48.575 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084129.9465516, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754084129.9455514, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161062, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084129.9455514, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1696988299", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:36:04 -0400 (0:00:00.421) 0:01:48.996 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:36:04 -0400 (0:00:00.013) 0:01:49.010 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:36:04 -0400 (0:00:00.012) 0:01:49.022 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:36:04 -0400 (0:00:00.372) 0:01:49.395 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:36:04 -0400 (0:00:00.038) 0:01:49.434 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084129.9465516, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754084129.9455514, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161062, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084129.9455514, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1696988299", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:36:05 -0400 (0:00:00.390) 0:01:49.824 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084073.3353205, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754084068.4093328, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754084068.4100795, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "800711222", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:36:05 -0400 (0:00:00.386) 0:01:50.211 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005075", "end": "2025-08-01 17:36:05.687313", "rc": 0, "start": "2025-08-01 17:36:05.682238" } 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:36:06 -0400 (0:00:00.396) 0:01:50.607 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:36:06 -0400 (0:00:00.032) 0:01:50.639 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:36:06 -0400 (0:00:00.387) 0:01:51.027 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:36:06 -0400 (0:00:00.389) 0:01:51.416 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:36:07 -0400 (0:00:00.367) 0:01:51.784 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:36:07 -0400 (0:00:00.018) 0:01:51.802 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:36:07 -0400 (0:00:00.017) 0:01:51.819 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:36:07 -0400 (0:00:00.027) 0:01:51.847 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec24be01bdb0899e0a13c338120ed948-6.12.0-114.el10.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "ec24be01bdb0899e0a13c338120ed948-6.12.0-114.el10.x86_64_clone1", "index": "1", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "Clone1" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "6244c38ae249433e87b65fbfbe3f4f2d-6.12.0-114.el10.x86_64", "index": "2", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (6.12.0-114.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "6244c38ae249433e87b65fbfbe3f4f2d-0-rescue", "index": "3", "initrd": "/boot/initramfs-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d.img", "kernel": "/boot/vmlinuz-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (0-rescue-6244c38ae249433e87b65fbfbe3f4f2d) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings for Clone2] ********************************************** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Friday 01 August 2025 17:36:07 -0400 (0:00:00.563) 0:01:52.410 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Friday 01 August 2025 17:36:07 -0400 (0:00:00.040) 0:01:52.450 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:36:07 -0400 (0:00:00.034) 0:01:52.485 ********* included: /tmp/collections-VID/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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:36:07 -0400 (0:00:00.018) 0:01:52.503 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:36:07 -0400 (0:00:00.033) 0:01:52.537 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:36:07 -0400 (0:00:00.020) 0:01:52.557 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:36:08 -0400 (0:00:00.020) 0:01:52.577 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:36:08 -0400 (0:00:00.029) 0:01:52.607 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:36:08 -0400 (0:00:00.012) 0:01:52.620 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:36:08 -0400 (0:00:00.051) 0:01:52.671 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:36:08 -0400 (0:00:00.832) 0:01:53.503 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084129.9465516, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754084129.9455514, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161062, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084129.9455514, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1696988299", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:36:09 -0400 (0:00:00.387) 0:01:53.890 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:36:09 -0400 (0:00:00.014) 0:01:53.904 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:36:09 -0400 (0:00:00.012) 0:01:53.917 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:36:09 -0400 (0:00:00.367) 0:01:54.285 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:36:09 -0400 (0:00:00.039) 0:01:54.324 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084129.9465516, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754084129.9455514, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161062, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084129.9455514, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1696988299", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:36:10 -0400 (0:00:00.382) 0:01:54.707 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084073.3353205, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754084068.4093328, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754084068.4100795, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "800711222", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:36:10 -0400 (0:00:00.384) 0:01:55.092 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005007", "end": "2025-08-01 17:36:10.868347", "rc": 0, "start": "2025-08-01 17:36:10.863340" } 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:36:10 -0400 (0:00:00.392) 0:01:55.485 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:36:10 -0400 (0:00:00.033) 0:01:55.518 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:36:11 -0400 (0:00:00.387) 0:01:55.905 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:36:11 -0400 (0:00:00.391) 0:01:56.297 ********* fatal: [managed-node1]: FAILED! => { "changed": false } MSG: Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-6.12.0-114.el10.x86_64_clone1, /boot/vmlinuz-6.12.0-114.el10.x86_64_clone2 TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Friday 01 August 2025 17:36:12 -0400 (0:00:00.370) 0:01:56.667 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Friday 01 August 2025 17:36:12 -0400 (0:00:00.017) 0:01:56.685 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:36:12 -0400 (0:00:00.054) 0:01:56.739 ********* included: /tmp/collections-VID/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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:36:12 -0400 (0:00:00.018) 0:01:56.757 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:36:12 -0400 (0:00:00.066) 0:01:56.824 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:36:12 -0400 (0:00:00.018) 0:01:56.843 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:36:12 -0400 (0:00:00.046) 0:01:56.889 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:36:12 -0400 (0:00:00.085) 0:01:56.974 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:36:12 -0400 (0:00:00.013) 0:01:56.988 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:36:12 -0400 (0:00:00.052) 0:01:57.040 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:36:13 -0400 (0:00:00.819) 0:01:57.860 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084129.9465516, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754084129.9455514, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161062, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084129.9455514, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1696988299", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:36:13 -0400 (0:00:00.384) 0:01:58.245 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:36:13 -0400 (0:00:00.014) 0:01:58.259 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:36:13 -0400 (0:00:00.012) 0:01:58.271 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:36:14 -0400 (0:00:00.369) 0:01:58.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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:36:14 -0400 (0:00:00.039) 0:01:58.680 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084129.9465516, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754084129.9455514, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161062, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084129.9455514, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1696988299", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:36:14 -0400 (0:00:00.383) 0:01:59.064 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084073.3353205, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754084068.4093328, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754084068.4100795, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "800711222", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:36:14 -0400 (0:00:00.386) 0:01:59.451 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004578", "end": "2025-08-01 17:36:15.222078", "rc": 0, "start": "2025-08-01 17:36:15.217500" } 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:36:15 -0400 (0:00:00.389) 0:01:59.840 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:36:15 -0400 (0:00:00.033) 0:01:59.873 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:36:15 -0400 (0:00:00.389) 0:02:00.262 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:36:16 -0400 (0:00:00.386) 0:02:00.649 ********* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:36:16 -0400 (0:00:00.685) 0:02:01.334 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:36:16 -0400 (0:00:00.020) 0:02:01.354 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:36:16 -0400 (0:00:00.018) 0:02:01.373 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:36:16 -0400 (0:00:00.030) 0:02:01.403 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": true, "id": "ec24be01bdb0899e0a13c338120ed948-6.12.0-114.el10.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "6244c38ae249433e87b65fbfbe3f4f2d-6.12.0-114.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (6.12.0-114.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "6244c38ae249433e87b65fbfbe3f4f2d-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d.img", "kernel": "/boot/vmlinuz-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (0-rescue-6244c38ae249433e87b65fbfbe3f4f2d) 10 (Coughlan)" } ] }, "changed": false } TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Friday 01 August 2025 17:36:17 -0400 (0:00:00.519) 0:02:01.922 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 01 August 2025 17:36:17 -0400 (0:00:00.068) 0:02:01.991 ********* included: /tmp/collections-VID/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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 01 August 2025 17:36:17 -0400 (0:00:00.018) 0:02:02.009 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 01 August 2025 17:36:17 -0400 (0:00:00.033) 0:02:02.043 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 01 August 2025 17:36:17 -0400 (0:00:00.019) 0:02:02.063 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 01 August 2025 17:36:17 -0400 (0:00:00.018) 0:02:02.081 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 01 August 2025 17:36:17 -0400 (0:00:00.030) 0:02:02.112 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Friday 01 August 2025 17:36:17 -0400 (0:00:00.011) 0:02:02.124 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Friday 01 August 2025 17:36:17 -0400 (0:00:00.049) 0:02:02.173 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Friday 01 August 2025 17:36:18 -0400 (0:00:00.826) 0:02:02.999 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084129.9465516, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754084129.9455514, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161062, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084129.9455514, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1696988299", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Friday 01 August 2025 17:36:18 -0400 (0:00:00.385) 0:02:03.385 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Friday 01 August 2025 17:36:18 -0400 (0:00:00.014) 0:02:03.399 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Friday 01 August 2025 17:36:18 -0400 (0:00:00.012) 0:02:03.412 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Friday 01 August 2025 17:36:19 -0400 (0:00:00.374) 0:02:03.787 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Friday 01 August 2025 17:36:19 -0400 (0:00:00.039) 0:02:03.827 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084129.9465516, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b831a7fad7d5bcb14fd4bf8377acaeee3dbcb224", "ctime": 1754084129.9455514, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 161062, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1754084129.9455514, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "version": "1696988299", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Friday 01 August 2025 17:36:19 -0400 (0:00:00.392) 0:02:04.219 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754084073.3353205, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "370f7c5905d0045b96f8b0b341ec5a8df52778ed", "ctime": 1754084068.4093328, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 213909762, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1754084068.4100795, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "800711222", "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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Friday 01 August 2025 17:36:20 -0400 (0:00:00.383) 0:02:04.603 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004507", "end": "2025-08-01 17:36:20.381807", "rc": 0, "start": "2025-08-01 17:36:20.377300" } 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Friday 01 August 2025 17:36:20 -0400 (0:00:00.395) 0:02:04.999 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Friday 01 August 2025 17:36:20 -0400 (0:00:00.034) 0:02:05.034 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Friday 01 August 2025 17:36:20 -0400 (0:00:00.386) 0:02:05.420 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Friday 01 August 2025 17:36:21 -0400 (0:00:00.388) 0:02:05.809 ********* Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.12.0-114.el10.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 01 August 2025 17:36:21 -0400 (0:00:00.595) 0:02:06.405 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Friday 01 August 2025 17:36:21 -0400 (0:00:00.019) 0:02:06.424 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Friday 01 August 2025 17:36:21 -0400 (0:00:00.016) 0:02:06.441 ********* 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Friday 01 August 2025 17:36:21 -0400 (0:00:00.031) 0:02:06.472 ********* 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": "6244c38ae249433e87b65fbfbe3f4f2d-6.12.0-114.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-114.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-114.el10.x86_64", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (6.12.0-114.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "6244c38ae249433e87b65fbfbe3f4f2d-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d.img", "kernel": "/boot/vmlinuz-0-rescue-6244c38ae249433e87b65fbfbe3f4f2d", "root": "UUID=c3d8eadf-f964-4da5-81fc-b7eae3317199", "title": "CentOS Stream (0-rescue-6244c38ae249433e87b65fbfbe3f4f2d) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that kernel is removed {{ item }}] ******************************** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Friday 01 August 2025 17:36:22 -0400 (0:00:00.485) 0:02:06.958 ********* 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-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Friday 01 August 2025 17:36:22 -0400 (0:00:00.054) 0:02:07.013 ********* changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.0-114.el10.x86_64_clone1" ], "delta": "0:00:00.044051", "end": "2025-08-01 17:36:22.809132", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-08-01 17:36:22.765081" } STDERR: The param /boot/vmlinuz-6.12.0-114.el10.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.0-114.el10.x86_64_clone2" ], "delta": "0:00:00.043896", "end": "2025-08-01 17:36:23.205162", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-08-01 17:36:23.161266" } STDERR: The param /boot/vmlinuz-6.12.0-114.el10.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 01 August 2025 17:36:23 -0400 (0:00:00.811) 0:02:07.824 ********* 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.102564", "end": "2025-08-01 17:36:23.681158", "rc": 0, "start": "2025-08-01 17:36:23.578594" } 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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 01 August 2025 17:36:23 -0400 (0:00:00.477) 0:02:08.301 ********* included: /tmp/collections-VID/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-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 01 August 2025 17:36:23 -0400 (0:00:00.014) 0:02:08.316 ********* changed: [managed-node1] => { "changed": true, "elapsed": 31, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 01 August 2025 17:36:55 -0400 (0:00:32.018) 0:02:40.334 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 01 August 2025 17:36:55 -0400 (0:00:00.014) 0:02:40.348 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=156 changed=14 unreachable=0 failed=0 skipped=121 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.13", "end_time": "2025-08-01T21:36:12.098696+00:00Z", "host": "managed-node1", "message": "Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-6.12.0-114.el10.x86_64_clone1, /boot/vmlinuz-6.12.0-114.el10.x86_64_clone2", "start_time": "2025-08-01T21:36:11.731832+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Friday 01 August 2025 17:36:55 -0400 (0:00:00.015) 0:02:40.364 ********* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 32.08s /tmp/collections-VID/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 -- 32.02s /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 31.12s /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 7.47s /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Gather architecture facts ----------------------------------------------- 1.98s /tmp/collections-VID/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.64s /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.62s /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Copy kernel and initrd for test purposes from /boot/vmlinuz-6.12.0-114.el10.x86_64 --- 1.42s /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-6.12.0-114.el10.x86_64 --- 1.16s /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-6.12.0-114.el10.x86_64 --- 0.95s /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.83s /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.83s /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.83s /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.83s /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.82s /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.82s /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.82s /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Remove cloned kernels --------------------------------------------------- 0.81s /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.69s /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.66s /tmp/collections-VID/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114