ansible-playbook [core 2.17.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-Ruc executable location = /usr/local/bin/ansible-playbook python version = 3.12.11 (main, Aug 14 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-11)] (/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-Ruc/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-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:11 Saturday 27 September 2025 08:55:02 -0400 (0:00:00.019) 0:00:00.019 **** included: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 27 September 2025 08:55:02 -0400 (0:00:00.011) 0:00:00.031 **** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 27 September 2025 08:55:04 -0400 (0:00:01.997) 0:00:02.028 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 27 September 2025 08:55:04 -0400 (0:00:00.013) 0:00:02.041 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 September 2025 08:55:04 -0400 (0:00:00.081) 0:00:02.122 **** included: /tmp/collections-Ruc/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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 September 2025 08:55:04 -0400 (0:00:00.018) 0:00:02.141 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 September 2025 08:55:04 -0400 (0:00:00.034) 0:00:02.176 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 September 2025 08:55:05 -0400 (0:00:00.461) 0:00:02.637 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 September 2025 08:55:05 -0400 (0:00:00.025) 0:00:02.663 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 September 2025 08:55:05 -0400 (0:00:00.036) 0:00:02.699 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 27 September 2025 08:55:05 -0400 (0:00:00.016) 0:00:02.715 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 27 September 2025 08:55:05 -0400 (0:00:00.050) 0:00:02.766 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 27 September 2025 08:55:17 -0400 (0:00:11.550) 0:00:14.317 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758631185.931737, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1758631185.9299293, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12587424, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1758631185.9317372, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "536112525", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 27 September 2025 08:55:17 -0400 (0:00:00.364) 0:00:14.682 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 27 September 2025 08:55:17 -0400 (0:00:00.014) 0:00:14.696 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 27 September 2025 08:55:17 -0400 (0:00:00.011) 0:00:14.708 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 27 September 2025 08:55:17 -0400 (0:00:00.337) 0:00:15.046 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 27 September 2025 08:55:17 -0400 (0:00:00.042) 0:00:15.088 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977717.3599215, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1758631185.9299293, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12587424, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1758631185.9317372, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "536112525", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 27 September 2025 08:55:18 -0400 (0:00:00.351) 0:00:15.440 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758629816.347029, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "f41dea73ee2b9ea28f9993245e9c039dc6daa34c", "ctime": 1758629816.348029, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 864637, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1758629816.348029, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6755, "uid": 0, "version": "1774217723", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 27 September 2025 08:55:18 -0400 (0:00:00.359) 0:00:15.799 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005054", "end": "2025-09-27 08:55:18.958133", "rc": 0, "start": "2025-09-27 08:55:18.953079" } 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 27 September 2025 08:55:19 -0400 (0:00:00.452) 0:00:16.251 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 27 September 2025 08:55:19 -0400 (0:00:00.034) 0:00:16.286 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 27 September 2025 08:55:19 -0400 (0:00:00.446) 0:00:16.732 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 27 September 2025 08:55:19 -0400 (0:00:00.373) 0:00:17.106 **** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 September 2025 08:55:20 -0400 (0:00:00.427) 0:00:17.534 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 27 September 2025 08:55:20 -0400 (0:00:00.018) 0:00:17.553 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 27 September 2025 08:55:20 -0400 (0:00:00.017) 0:00:17.571 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 27 September 2025 08:55:20 -0400 (0:00:00.029) 0:00:17.601 **** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "d0ae216c7cfb4a30ae86b33d041f994b-5.14.0-617.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-617.el9.x86_64", "root": "UUID=f8f8090b-2382-4464-b3fc-84c7c20d1dbc", "title": "CentOS Stream (5.14.0-617.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d0ae216c7cfb4a30ae86b33d041f994b-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-d0ae216c7cfb4a30ae86b33d041f994b.img", "kernel": "/boot/vmlinuz-0-rescue-d0ae216c7cfb4a30ae86b33d041f994b", "root": "UUID=f8f8090b-2382-4464-b3fc-84c7c20d1dbc", "title": "CentOS Stream (0-rescue-d0ae216c7cfb4a30ae86b33d041f994b) 9" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 27 September 2025 08:55:20 -0400 (0:00:00.549) 0:00:18.150 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 27 September 2025 08:55:20 -0400 (0:00:00.004) 0:00:18.154 **** META: triggered running handlers for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 27 September 2025 08:55:20 -0400 (0:00:00.001) 0:00:18.156 **** ok: [managed-node1] => { "ansible_facts": { "__default_kernel": { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "d0ae216c7cfb4a30ae86b33d041f994b-5.14.0-617.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-617.el9.x86_64", "root": "UUID=f8f8090b-2382-4464-b3fc-84c7c20d1dbc", "title": "CentOS Stream (5.14.0-617.el9.x86_64) 9" } }, "changed": false } TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Saturday 27 September 2025 08:55:20 -0400 (0:00:00.038) 0:00:18.195 **** included: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-617.el9.x86_64] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 27 September 2025 08:55:20 -0400 (0:00:00.026) 0:00:18.221 **** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-617.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-617.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "9a37e5cbfc3e07842f882e552a61f45ea6a097be", "dest": "/boot/vmlinuz-5.14.0-617.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-617.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-617.el9.x86_64" }, "md5sum": "9331d0d84baa9172f3b94c6eddcb9192", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15091752, "src": "/boot/vmlinuz-5.14.0-617.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-617.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-617.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "ba811bbe23dbab03ac0c39235391eb5509f91589", "dest": "/boot/initramfs-5.14.0-617.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-617.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-617.el9.x86_64.img" }, "md5sum": "ececae3cf711846d827aededc03f47b6", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38801355, "src": "/boot/initramfs-5.14.0-617.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 27 September 2025 08:55:22 -0400 (0:00:01.058) 0:00:19.279 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 September 2025 08:55:22 -0400 (0:00:00.036) 0:00:19.316 **** included: /tmp/collections-Ruc/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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 September 2025 08:55:22 -0400 (0:00:00.019) 0:00:19.336 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 September 2025 08:55:22 -0400 (0:00:00.036) 0:00:19.372 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 September 2025 08:55:22 -0400 (0:00:00.017) 0:00:19.390 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 September 2025 08:55:22 -0400 (0:00:00.021) 0:00:19.411 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 September 2025 08:55:22 -0400 (0:00:00.038) 0:00:19.449 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 27 September 2025 08:55:22 -0400 (0:00:00.018) 0:00:19.468 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 27 September 2025 08:55:22 -0400 (0:00:00.078) 0:00:19.547 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 27 September 2025 08:55:23 -0400 (0:00:00.901) 0:00:20.449 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977717.3599215, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1758631185.9299293, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12587424, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1758631185.9317372, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "536112525", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 27 September 2025 08:55:23 -0400 (0:00:00.353) 0:00:20.802 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 27 September 2025 08:55:23 -0400 (0:00:00.019) 0:00:20.822 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 27 September 2025 08:55:23 -0400 (0:00:00.014) 0:00:20.837 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 27 September 2025 08:55:23 -0400 (0:00:00.337) 0:00:21.175 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 27 September 2025 08:55:23 -0400 (0:00:00.057) 0:00:21.232 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977717.3599215, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1758631185.9299293, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12587424, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1758631185.9317372, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "536112525", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 27 September 2025 08:55:24 -0400 (0:00:00.366) 0:00:21.599 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977719.812652, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "528c61ff240e7ed20f646fe97da78c4903a834cf", "ctime": 1758977719.8119256, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 184549570, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1758977719.8126528, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3270769631", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 27 September 2025 08:55:24 -0400 (0:00:00.374) 0:00:21.973 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005011", "end": "2025-09-27 08:55:25.059756", "rc": 0, "start": "2025-09-27 08:55:25.054745" } 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 27 September 2025 08:55:25 -0400 (0:00:00.377) 0:00:22.351 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 27 September 2025 08:55:25 -0400 (0:00:00.035) 0:00:22.387 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 27 September 2025 08:55:25 -0400 (0:00:00.375) 0:00:22.762 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 27 September 2025 08:55:25 -0400 (0:00:00.361) 0:00:23.124 **** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-5.14.0-617.el9.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-5.14.0-617.el9.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default --make-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 September 2025 08:55:26 -0400 (0:00:00.637) 0:00:23.761 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 27 September 2025 08:55:26 -0400 (0:00:00.026) 0:00:23.788 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 27 September 2025 08:55:26 -0400 (0:00:00.026) 0:00:23.814 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 27 September 2025 08:55:26 -0400 (0:00:00.037) 0:00:23.852 **** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Saturday 27 September 2025 08:55:26 -0400 (0:00:00.050) 0:00:23.903 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 27 September 2025 08:55:26 -0400 (0:00:00.002) 0:00:23.906 **** 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.134953", "end": "2025-09-27 08:55:27.099534", "rc": 0, "start": "2025-09-27 08:55:26.964581" } STDOUT: args="ro rhgb crashkernel=1G-2G:192M,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=1G-2G:192M,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=1G-2G:192M,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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 27 September 2025 08:55:27 -0400 (0:00:00.487) 0:00:24.393 **** included: /tmp/collections-Ruc/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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 27 September 2025 08:55:27 -0400 (0:00:00.016) 0:00:24.410 **** changed: [managed-node1] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 27 September 2025 08:55:51 -0400 (0:00:24.616) 0:00:49.027 **** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 27 September 2025 08:55:51 -0400 (0:00:00.016) 0:00:49.044 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 27 September 2025 08:55:51 -0400 (0:00:00.016) 0:00:49.060 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 27 September 2025 08:55:51 -0400 (0:00:00.020) 0:00:49.080 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 September 2025 08:55:51 -0400 (0:00:00.063) 0:00:49.144 **** included: /tmp/collections-Ruc/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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 September 2025 08:55:51 -0400 (0:00:00.021) 0:00:49.165 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 September 2025 08:55:51 -0400 (0:00:00.033) 0:00:49.199 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 September 2025 08:55:51 -0400 (0:00:00.018) 0:00:49.217 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 September 2025 08:55:51 -0400 (0:00:00.016) 0:00:49.234 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 September 2025 08:55:52 -0400 (0:00:00.030) 0:00:49.264 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 27 September 2025 08:55:52 -0400 (0:00:00.013) 0:00:49.278 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 27 September 2025 08:55:52 -0400 (0:00:00.048) 0:00:49.327 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 27 September 2025 08:55:54 -0400 (0:00:01.949) 0:00:51.277 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977727.0989387, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1758977727.0969386, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8930243, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1758977727.0969386, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4136540944", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 27 September 2025 08:55:54 -0400 (0:00:00.394) 0:00:51.671 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 27 September 2025 08:55:54 -0400 (0:00:00.028) 0:00:51.700 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 27 September 2025 08:55:54 -0400 (0:00:00.018) 0:00:51.718 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 27 September 2025 08:55:54 -0400 (0:00:00.392) 0:00:52.110 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 27 September 2025 08:55:54 -0400 (0:00:00.062) 0:00:52.173 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977727.0989387, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1758977727.0969386, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8930243, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1758977727.0969386, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4136540944", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 27 September 2025 08:55:55 -0400 (0:00:00.380) 0:00:52.553 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977724.6579344, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "528c61ff240e7ed20f646fe97da78c4903a834cf", "ctime": 1758977719.8119256, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 184549570, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1758977719.8126528, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3270769631", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 27 September 2025 08:55:55 -0400 (0:00:00.363) 0:00:52.917 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005372", "end": "2025-09-27 08:55:55.340816", "rc": 0, "start": "2025-09-27 08:55:55.335444" } 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 27 September 2025 08:55:56 -0400 (0:00:00.395) 0:00:53.312 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 27 September 2025 08:55:56 -0400 (0:00:00.039) 0:00:53.352 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 27 September 2025 08:55:56 -0400 (0:00:00.372) 0:00:53.724 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 27 September 2025 08:55:56 -0400 (0:00:00.378) 0:00:54.103 **** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 September 2025 08:55:57 -0400 (0:00:00.338) 0:00:54.441 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 27 September 2025 08:55:57 -0400 (0:00:00.018) 0:00:54.460 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 27 September 2025 08:55:57 -0400 (0:00:00.017) 0:00:54.477 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 27 September 2025 08:55:57 -0400 (0:00:00.031) 0:00:54.508 **** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "7f19c8314f844b75ac6150311801791f-5.14.0-617.el9.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-617.el9.x86_64_clone1", "root": "UUID=f8f8090b-2382-4464-b3fc-84c7c20d1dbc", "title": "Clone1" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d0ae216c7cfb4a30ae86b33d041f994b-5.14.0-617.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-617.el9.x86_64", "root": "UUID=f8f8090b-2382-4464-b3fc-84c7c20d1dbc", "title": "CentOS Stream (5.14.0-617.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d0ae216c7cfb4a30ae86b33d041f994b-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-d0ae216c7cfb4a30ae86b33d041f994b.img", "kernel": "/boot/vmlinuz-0-rescue-d0ae216c7cfb4a30ae86b33d041f994b", "root": "UUID=f8f8090b-2382-4464-b3fc-84c7c20d1dbc", "title": "CentOS Stream (0-rescue-d0ae216c7cfb4a30ae86b33d041f994b) 9" } ] }, "changed": false } TASK [Clone again to check idempotency] **************************************** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Saturday 27 September 2025 08:55:57 -0400 (0:00:00.509) 0:00:55.018 **** included: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-617.el9.x86_64] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 27 September 2025 08:55:57 -0400 (0:00:00.030) 0:00:55.048 **** ok: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-617.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-617.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "9a37e5cbfc3e07842f882e552a61f45ea6a097be", "dest": "/boot/vmlinuz-5.14.0-617.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-617.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-617.el9.x86_64" }, "md5sum": "9331d0d84baa9172f3b94c6eddcb9192", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15091752, "src": "/boot/vmlinuz-5.14.0-617.el9.x86_64", "state": "file", "uid": 0 } ok: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-617.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-617.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "ba811bbe23dbab03ac0c39235391eb5509f91589", "dest": "/boot/initramfs-5.14.0-617.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-617.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-617.el9.x86_64.img" }, "md5sum": "ececae3cf711846d827aededc03f47b6", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38801355, "src": "/boot/initramfs-5.14.0-617.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 27 September 2025 08:55:59 -0400 (0:00:01.277) 0:00:56.326 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 September 2025 08:55:59 -0400 (0:00:00.060) 0:00:56.386 **** included: /tmp/collections-Ruc/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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 September 2025 08:55:59 -0400 (0:00:00.031) 0:00:56.417 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 September 2025 08:55:59 -0400 (0:00:00.039) 0:00:56.456 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 September 2025 08:55:59 -0400 (0:00:00.020) 0:00:56.477 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 September 2025 08:55:59 -0400 (0:00:00.018) 0:00:56.495 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 September 2025 08:55:59 -0400 (0:00:00.034) 0:00:56.530 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 27 September 2025 08:55:59 -0400 (0:00:00.012) 0:00:56.542 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 27 September 2025 08:55:59 -0400 (0:00:00.067) 0:00:56.609 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 27 September 2025 08:56:00 -0400 (0:00:00.910) 0:00:57.520 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977727.0989387, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1758977727.0969386, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8930243, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1758977727.0969386, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4136540944", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 27 September 2025 08:56:00 -0400 (0:00:00.364) 0:00:57.885 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 27 September 2025 08:56:00 -0400 (0:00:00.014) 0:00:57.899 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 27 September 2025 08:56:00 -0400 (0:00:00.013) 0:00:57.913 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 27 September 2025 08:56:01 -0400 (0:00:00.355) 0:00:58.268 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 27 September 2025 08:56:01 -0400 (0:00:00.050) 0:00:58.319 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977727.0989387, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1758977727.0969386, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8930243, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1758977727.0969386, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4136540944", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 27 September 2025 08:56:01 -0400 (0:00:00.368) 0:00:58.688 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977724.6579344, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "528c61ff240e7ed20f646fe97da78c4903a834cf", "ctime": 1758977719.8119256, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 184549570, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1758977719.8126528, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3270769631", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 27 September 2025 08:56:01 -0400 (0:00:00.375) 0:00:59.064 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005322", "end": "2025-09-27 08:56:01.977072", "rc": 0, "start": "2025-09-27 08:56:01.971750" } 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 27 September 2025 08:56:02 -0400 (0:00:00.367) 0:00:59.431 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 27 September 2025 08:56:02 -0400 (0:00:00.035) 0:00:59.467 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 27 September 2025 08:56:02 -0400 (0:00:00.376) 0:00:59.843 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 27 September 2025 08:56:03 -0400 (0:00:00.413) 0:01:00.257 **** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 September 2025 08:56:03 -0400 (0:00:00.640) 0:01:00.897 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 27 September 2025 08:56:03 -0400 (0:00:00.018) 0:01:00.916 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 27 September 2025 08:56:03 -0400 (0:00:00.017) 0:01:00.933 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 27 September 2025 08:56:03 -0400 (0:00:00.031) 0:01:00.964 **** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Saturday 27 September 2025 08:56:03 -0400 (0:00:00.033) 0:01:00.998 **** META: triggered running handlers for managed-node1 TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 27 September 2025 08:56:03 -0400 (0:00:00.001) 0:01:00.999 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 27 September 2025 08:56:03 -0400 (0:00:00.019) 0:01:01.019 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 September 2025 08:56:03 -0400 (0:00:00.069) 0:01:01.089 **** included: /tmp/collections-Ruc/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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 September 2025 08:56:03 -0400 (0:00:00.023) 0:01:01.112 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 September 2025 08:56:03 -0400 (0:00:00.040) 0:01:01.152 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 September 2025 08:56:03 -0400 (0:00:00.020) 0:01:01.172 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 September 2025 08:56:03 -0400 (0:00:00.024) 0:01:01.197 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 September 2025 08:56:03 -0400 (0:00:00.037) 0:01:01.234 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 27 September 2025 08:56:04 -0400 (0:00:00.015) 0:01:01.250 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 27 September 2025 08:56:04 -0400 (0:00:00.045) 0:01:01.296 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 27 September 2025 08:56:04 -0400 (0:00:00.901) 0:01:02.197 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977727.0989387, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1758977727.0969386, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8930243, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1758977727.0969386, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4136540944", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 27 September 2025 08:56:05 -0400 (0:00:00.369) 0:01:02.566 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 27 September 2025 08:56:05 -0400 (0:00:00.021) 0:01:02.587 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 27 September 2025 08:56:05 -0400 (0:00:00.019) 0:01:02.607 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 27 September 2025 08:56:05 -0400 (0:00:00.356) 0:01:02.963 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 27 September 2025 08:56:05 -0400 (0:00:00.055) 0:01:03.019 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977727.0989387, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1758977727.0969386, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8930243, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1758977727.0969386, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4136540944", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 27 September 2025 08:56:06 -0400 (0:00:00.376) 0:01:03.395 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977724.6579344, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "528c61ff240e7ed20f646fe97da78c4903a834cf", "ctime": 1758977719.8119256, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 184549570, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1758977719.8126528, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3270769631", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 27 September 2025 08:56:06 -0400 (0:00:00.374) 0:01:03.769 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004749", "end": "2025-09-27 08:56:06.852178", "rc": 0, "start": "2025-09-27 08:56:06.847429" } 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 27 September 2025 08:56:06 -0400 (0:00:00.378) 0:01:04.148 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 27 September 2025 08:56:06 -0400 (0:00:00.035) 0:01:04.183 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 27 September 2025 08:56:07 -0400 (0:00:00.370) 0:01:04.554 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 27 September 2025 08:56:07 -0400 (0:00:00.365) 0:01:04.920 **** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 September 2025 08:56:08 -0400 (0:00:00.354) 0:01:05.274 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 27 September 2025 08:56:08 -0400 (0:00:00.019) 0:01:05.294 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 27 September 2025 08:56:08 -0400 (0:00:00.019) 0:01:05.314 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 27 September 2025 08:56:08 -0400 (0:00:00.031) 0:01:05.345 **** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "7f19c8314f844b75ac6150311801791f-5.14.0-617.el9.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-617.el9.x86_64_clone1", "root": "UUID=f8f8090b-2382-4464-b3fc-84c7c20d1dbc", "title": "Clone1" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d0ae216c7cfb4a30ae86b33d041f994b-5.14.0-617.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-617.el9.x86_64", "root": "UUID=f8f8090b-2382-4464-b3fc-84c7c20d1dbc", "title": "CentOS Stream (5.14.0-617.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d0ae216c7cfb4a30ae86b33d041f994b-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-d0ae216c7cfb4a30ae86b33d041f994b.img", "kernel": "/boot/vmlinuz-0-rescue-d0ae216c7cfb4a30ae86b33d041f994b", "root": "UUID=f8f8090b-2382-4464-b3fc-84c7c20d1dbc", "title": "CentOS Stream (0-rescue-d0ae216c7cfb4a30ae86b33d041f994b) 9" } ] }, "changed": false } TASK [Verify settings for Clone1] ********************************************** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Saturday 27 September 2025 08:56:08 -0400 (0:00:00.499) 0:01:05.845 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Saturday 27 September 2025 08:56:08 -0400 (0:00:00.048) 0:01:05.894 **** included: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-617.el9.x86_64] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 27 September 2025 08:56:08 -0400 (0:00:00.029) 0:01:05.923 **** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-617.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-617.el9.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "9a37e5cbfc3e07842f882e552a61f45ea6a097be", "dest": "/boot/vmlinuz-5.14.0-617.el9.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-617.el9.x86_64_clone2", "src": "/boot/vmlinuz-5.14.0-617.el9.x86_64" }, "md5sum": "9331d0d84baa9172f3b94c6eddcb9192", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15091752, "src": "/boot/vmlinuz-5.14.0-617.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-617.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-617.el9.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "ba811bbe23dbab03ac0c39235391eb5509f91589", "dest": "/boot/initramfs-5.14.0-617.el9.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-617.el9.x86_64.img_clone2", "src": "/boot/initramfs-5.14.0-617.el9.x86_64.img" }, "md5sum": "ececae3cf711846d827aededc03f47b6", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38801355, "src": "/boot/initramfs-5.14.0-617.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Saturday 27 September 2025 08:56:09 -0400 (0:00:00.893) 0:01:06.816 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 September 2025 08:56:09 -0400 (0:00:00.038) 0:01:06.855 **** included: /tmp/collections-Ruc/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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 September 2025 08:56:09 -0400 (0:00:00.020) 0:01:06.875 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 September 2025 08:56:09 -0400 (0:00:00.035) 0:01:06.911 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 September 2025 08:56:09 -0400 (0:00:00.019) 0:01:06.930 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 September 2025 08:56:09 -0400 (0:00:00.018) 0:01:06.949 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 September 2025 08:56:09 -0400 (0:00:00.032) 0:01:06.981 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 27 September 2025 08:56:09 -0400 (0:00:00.014) 0:01:06.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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 27 September 2025 08:56:09 -0400 (0:00:00.062) 0:01:07.058 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 27 September 2025 08:56:10 -0400 (0:00:00.902) 0:01:07.961 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977727.0989387, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1758977727.0969386, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8930243, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1758977727.0969386, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4136540944", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 27 September 2025 08:56:11 -0400 (0:00:00.353) 0:01:08.314 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 27 September 2025 08:56:11 -0400 (0:00:00.014) 0:01:08.328 **** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 27 September 2025 08:56:11 -0400 (0:00:00.013) 0:01:08.342 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 27 September 2025 08:56:11 -0400 (0:00:00.332) 0:01:08.674 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 27 September 2025 08:56:11 -0400 (0:00:00.046) 0:01:08.720 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977727.0989387, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1758977727.0969386, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8930243, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1758977727.0969386, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "4136540944", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 27 September 2025 08:56:11 -0400 (0:00:00.348) 0:01:09.069 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977724.6579344, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "528c61ff240e7ed20f646fe97da78c4903a834cf", "ctime": 1758977719.8119256, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 184549570, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1758977719.8126528, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3270769631", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 27 September 2025 08:56:12 -0400 (0:00:00.351) 0:01:09.421 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004754", "end": "2025-09-27 08:56:12.490771", "rc": 0, "start": "2025-09-27 08:56:12.486017" } 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 27 September 2025 08:56:12 -0400 (0:00:00.364) 0:01:09.785 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 27 September 2025 08:56:12 -0400 (0:00:00.036) 0:01:09.821 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 27 September 2025 08:56:12 -0400 (0:00:00.359) 0:01:10.181 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 27 September 2025 08:56:13 -0400 (0:00:00.355) 0:01:10.536 **** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-5.14.0-617.el9.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-5.14.0-617.el9.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 September 2025 08:56:13 -0400 (0:00:00.640) 0:01:11.177 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 27 September 2025 08:56:13 -0400 (0:00:00.019) 0:01:11.196 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 27 September 2025 08:56:13 -0400 (0:00:00.018) 0:01:11.214 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 27 September 2025 08:56:14 -0400 (0:00:00.032) 0:01:11.247 **** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Saturday 27 September 2025 08:56:14 -0400 (0:00:00.035) 0:01:11.283 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 27 September 2025 08:56:14 -0400 (0:00:00.001) 0:01:11.285 **** 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.161654", "end": "2025-09-27 08:56:14.493282", "rc": 0, "start": "2025-09-27 08:56:14.331628" } STDOUT: args="ro rhgb crashkernel=1G-2G:192M,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=1G-2G:192M,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=1G-2G:192M,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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 27 September 2025 08:56:14 -0400 (0:00:00.502) 0:01:11.787 **** included: /tmp/collections-Ruc/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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 27 September 2025 08:56:14 -0400 (0:00:00.015) 0:01:11.803 **** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 27 September 2025 08:56:37 -0400 (0:00:23.247) 0:01:35.050 **** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 27 September 2025 08:56:37 -0400 (0:00:00.013) 0:01:35.064 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 27 September 2025 08:56:37 -0400 (0:00:00.018) 0:01:35.082 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Saturday 27 September 2025 08:56:37 -0400 (0:00:00.018) 0:01:35.100 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 September 2025 08:56:37 -0400 (0:00:00.054) 0:01:35.155 **** included: /tmp/collections-Ruc/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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 September 2025 08:56:37 -0400 (0:00:00.019) 0:01:35.175 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 September 2025 08:56:37 -0400 (0:00:00.035) 0:01:35.210 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 September 2025 08:56:37 -0400 (0:00:00.018) 0:01:35.229 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 September 2025 08:56:37 -0400 (0:00:00.017) 0:01:35.246 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 September 2025 08:56:38 -0400 (0:00:00.031) 0:01:35.277 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 27 September 2025 08:56:38 -0400 (0:00:00.014) 0:01:35.291 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 27 September 2025 08:56:38 -0400 (0:00:00.047) 0:01:35.339 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 27 September 2025 08:56:40 -0400 (0:00:01.952) 0:01:37.291 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977774.4920855, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1758977774.4910853, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8728144, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1758977774.4910853, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1166440880", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 27 September 2025 08:56:40 -0400 (0:00:00.392) 0:01:37.684 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 27 September 2025 08:56:40 -0400 (0:00:00.014) 0:01:37.698 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 27 September 2025 08:56:40 -0400 (0:00:00.012) 0:01:37.711 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 27 September 2025 08:56:40 -0400 (0:00:00.349) 0:01:38.060 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 27 September 2025 08:56:40 -0400 (0:00:00.044) 0:01:38.104 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977774.4920855, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1758977774.4910853, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8728144, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1758977774.4910853, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1166440880", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 27 September 2025 08:56:41 -0400 (0:00:00.358) 0:01:38.463 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977724.6579344, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "528c61ff240e7ed20f646fe97da78c4903a834cf", "ctime": 1758977719.8119256, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 184549570, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1758977719.8126528, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3270769631", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 27 September 2025 08:56:41 -0400 (0:00:00.357) 0:01:38.821 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005032", "end": "2025-09-27 08:56:41.608507", "rc": 0, "start": "2025-09-27 08:56:41.603475" } 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 27 September 2025 08:56:41 -0400 (0:00:00.369) 0:01:39.190 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 27 September 2025 08:56:41 -0400 (0:00:00.036) 0:01:39.227 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 27 September 2025 08:56:42 -0400 (0:00:00.363) 0:01:39.591 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 27 September 2025 08:56:42 -0400 (0:00:00.392) 0:01:39.984 **** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 September 2025 08:56:43 -0400 (0:00:00.349) 0:01:40.333 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 27 September 2025 08:56:43 -0400 (0:00:00.023) 0:01:40.357 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 27 September 2025 08:56:43 -0400 (0:00:00.019) 0:01:40.376 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 27 September 2025 08:56:43 -0400 (0:00:00.036) 0:01:40.413 **** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "7f19c8314f844b75ac6150311801791f-5.14.0-617.el9.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-617.el9.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "7f19c8314f844b75ac6150311801791f-5.14.0-617.el9.x86_64_clone1", "index": "1", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-617.el9.x86_64_clone1", "root": "UUID=f8f8090b-2382-4464-b3fc-84c7c20d1dbc", "title": "Clone1" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d0ae216c7cfb4a30ae86b33d041f994b-5.14.0-617.el9.x86_64", "index": "2", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-617.el9.x86_64", "root": "UUID=f8f8090b-2382-4464-b3fc-84c7c20d1dbc", "title": "CentOS Stream (5.14.0-617.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d0ae216c7cfb4a30ae86b33d041f994b-0-rescue", "index": "3", "initrd": "/boot/initramfs-0-rescue-d0ae216c7cfb4a30ae86b33d041f994b.img", "kernel": "/boot/vmlinuz-0-rescue-d0ae216c7cfb4a30ae86b33d041f994b", "root": "UUID=f8f8090b-2382-4464-b3fc-84c7c20d1dbc", "title": "CentOS Stream (0-rescue-d0ae216c7cfb4a30ae86b33d041f994b) 9" } ] }, "changed": false } TASK [Verify settings for Clone2] ********************************************** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Saturday 27 September 2025 08:56:43 -0400 (0:00:00.551) 0:01:40.964 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 27 September 2025 08:56:43 -0400 (0:00:00.052) 0:01:41.017 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 September 2025 08:56:43 -0400 (0:00:00.035) 0:01:41.052 **** included: /tmp/collections-Ruc/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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 September 2025 08:56:43 -0400 (0:00:00.018) 0:01:41.071 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 September 2025 08:56:43 -0400 (0:00:00.035) 0:01:41.106 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 September 2025 08:56:43 -0400 (0:00:00.018) 0:01:41.125 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 September 2025 08:56:43 -0400 (0:00:00.019) 0:01:41.145 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 September 2025 08:56:43 -0400 (0:00:00.032) 0:01:41.177 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 27 September 2025 08:56:43 -0400 (0:00:00.013) 0:01:41.190 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 27 September 2025 08:56:43 -0400 (0:00:00.054) 0:01:41.245 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 27 September 2025 08:56:44 -0400 (0:00:00.917) 0:01:42.162 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977774.4920855, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1758977774.4910853, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8728144, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1758977774.4910853, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1166440880", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 27 September 2025 08:56:45 -0400 (0:00:00.360) 0:01:42.523 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 27 September 2025 08:56:45 -0400 (0:00:00.014) 0:01:42.537 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 27 September 2025 08:56:45 -0400 (0:00:00.013) 0:01:42.551 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 27 September 2025 08:56:45 -0400 (0:00:00.338) 0:01:42.889 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 27 September 2025 08:56:45 -0400 (0:00:00.043) 0:01:42.933 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977774.4920855, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1758977774.4910853, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8728144, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1758977774.4910853, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1166440880", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 27 September 2025 08:56:46 -0400 (0:00:00.357) 0:01:43.290 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977724.6579344, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "528c61ff240e7ed20f646fe97da78c4903a834cf", "ctime": 1758977719.8119256, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 184549570, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1758977719.8126528, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3270769631", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 27 September 2025 08:56:46 -0400 (0:00:00.358) 0:01:43.648 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004719", "end": "2025-09-27 08:56:46.719703", "rc": 0, "start": "2025-09-27 08:56:46.714984" } 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 27 September 2025 08:56:46 -0400 (0:00:00.365) 0:01:44.014 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 27 September 2025 08:56:46 -0400 (0:00:00.035) 0:01:44.050 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 27 September 2025 08:56:47 -0400 (0:00:00.362) 0:01:44.412 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 27 September 2025 08:56:47 -0400 (0:00:00.363) 0:01:44.776 **** fatal: [managed-node1]: FAILED! => { "changed": false } MSG: Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-5.14.0-617.el9.x86_64_clone1, /boot/vmlinuz-5.14.0-617.el9.x86_64_clone2 TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Saturday 27 September 2025 08:56:47 -0400 (0:00:00.341) 0:01:45.117 **** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Saturday 27 September 2025 08:56:47 -0400 (0:00:00.018) 0:01:45.135 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 September 2025 08:56:47 -0400 (0:00:00.056) 0:01:45.192 **** included: /tmp/collections-Ruc/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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 September 2025 08:56:47 -0400 (0:00:00.018) 0:01:45.211 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 September 2025 08:56:48 -0400 (0:00:00.036) 0:01:45.248 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 September 2025 08:56:48 -0400 (0:00:00.017) 0:01:45.266 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 September 2025 08:56:48 -0400 (0:00:00.017) 0:01:45.283 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 September 2025 08:56:48 -0400 (0:00:00.032) 0:01:45.316 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 27 September 2025 08:56:48 -0400 (0:00:00.013) 0:01:45.329 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 27 September 2025 08:56:48 -0400 (0:00:00.086) 0:01:45.415 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 27 September 2025 08:56:49 -0400 (0:00:00.941) 0:01:46.357 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977774.4920855, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1758977774.4910853, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8728144, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1758977774.4910853, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1166440880", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 27 September 2025 08:56:49 -0400 (0:00:00.359) 0:01:46.716 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 27 September 2025 08:56:49 -0400 (0:00:00.014) 0:01:46.731 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 27 September 2025 08:56:49 -0400 (0:00:00.013) 0:01:46.744 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 27 September 2025 08:56:49 -0400 (0:00:00.398) 0:01:47.142 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 27 September 2025 08:56:49 -0400 (0:00:00.042) 0:01:47.185 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977774.4920855, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1758977774.4910853, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8728144, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1758977774.4910853, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1166440880", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 27 September 2025 08:56:50 -0400 (0:00:00.361) 0:01:47.546 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977724.6579344, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "528c61ff240e7ed20f646fe97da78c4903a834cf", "ctime": 1758977719.8119256, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 184549570, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1758977719.8126528, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3270769631", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 27 September 2025 08:56:50 -0400 (0:00:00.356) 0:01:47.903 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004917", "end": "2025-09-27 08:56:50.973673", "rc": 0, "start": "2025-09-27 08:56:50.968756" } 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 27 September 2025 08:56:51 -0400 (0:00:00.365) 0:01:48.269 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 27 September 2025 08:56:51 -0400 (0:00:00.036) 0:01:48.305 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 27 September 2025 08:56:51 -0400 (0:00:00.367) 0:01:48.673 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 27 September 2025 08:56:51 -0400 (0:00:00.366) 0:01:49.040 **** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-617.el9.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 September 2025 08:56:52 -0400 (0:00:00.667) 0:01:49.707 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 27 September 2025 08:56:52 -0400 (0:00:00.019) 0:01:49.727 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 27 September 2025 08:56:52 -0400 (0:00:00.017) 0:01:49.744 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 27 September 2025 08:56:52 -0400 (0:00:00.032) 0:01:49.777 **** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": true, "id": "7f19c8314f844b75ac6150311801791f-5.14.0-617.el9.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-617.el9.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d0ae216c7cfb4a30ae86b33d041f994b-5.14.0-617.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-617.el9.x86_64", "root": "UUID=f8f8090b-2382-4464-b3fc-84c7c20d1dbc", "title": "CentOS Stream (5.14.0-617.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d0ae216c7cfb4a30ae86b33d041f994b-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-d0ae216c7cfb4a30ae86b33d041f994b.img", "kernel": "/boot/vmlinuz-0-rescue-d0ae216c7cfb4a30ae86b33d041f994b", "root": "UUID=f8f8090b-2382-4464-b3fc-84c7c20d1dbc", "title": "CentOS Stream (0-rescue-d0ae216c7cfb4a30ae86b33d041f994b) 9" } ] }, "changed": false } TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Saturday 27 September 2025 08:56:53 -0400 (0:00:00.496) 0:01:50.273 **** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 September 2025 08:56:53 -0400 (0:00:00.072) 0:01:50.346 **** included: /tmp/collections-Ruc/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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 September 2025 08:56:53 -0400 (0:00:00.019) 0:01:50.365 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 September 2025 08:56:53 -0400 (0:00:00.035) 0:01:50.400 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 September 2025 08:56:53 -0400 (0:00:00.019) 0:01:50.420 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 September 2025 08:56:53 -0400 (0:00:00.018) 0:01:50.439 **** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 September 2025 08:56:53 -0400 (0:00:00.032) 0:01:50.471 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Saturday 27 September 2025 08:56:53 -0400 (0:00:00.014) 0:01:50.486 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Saturday 27 September 2025 08:56:53 -0400 (0:00:00.050) 0:01:50.537 **** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Saturday 27 September 2025 08:56:54 -0400 (0:00:00.901) 0:01:51.439 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977774.4920855, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1758977774.4910853, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8728144, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1758977774.4910853, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1166440880", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Saturday 27 September 2025 08:56:54 -0400 (0:00:00.357) 0:01:51.797 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Saturday 27 September 2025 08:56:54 -0400 (0:00:00.014) 0:01:51.812 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Saturday 27 September 2025 08:56:54 -0400 (0:00:00.013) 0:01:51.825 **** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Saturday 27 September 2025 08:56:54 -0400 (0:00:00.338) 0:01:52.164 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Saturday 27 September 2025 08:56:54 -0400 (0:00:00.042) 0:01:52.206 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977774.4920855, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1758977774.4910853, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8728144, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1758977774.4910853, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1166440880", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Saturday 27 September 2025 08:56:55 -0400 (0:00:00.356) 0:01:52.563 **** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1758977724.6579344, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "528c61ff240e7ed20f646fe97da78c4903a834cf", "ctime": 1758977719.8119256, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 184549570, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1758977719.8126528, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "3270769631", "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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Saturday 27 September 2025 08:56:55 -0400 (0:00:00.359) 0:01:52.922 **** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005156", "end": "2025-09-27 08:56:55.997446", "rc": 0, "start": "2025-09-27 08:56:55.992290" } 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Saturday 27 September 2025 08:56:56 -0400 (0:00:00.373) 0:01:53.295 **** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Saturday 27 September 2025 08:56:56 -0400 (0:00:00.036) 0:01:53.331 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Saturday 27 September 2025 08:56:56 -0400 (0:00:00.363) 0:01:53.695 **** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Saturday 27 September 2025 08:56:56 -0400 (0:00:00.363) 0:01:54.059 **** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-617.el9.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 September 2025 08:56:57 -0400 (0:00:00.575) 0:01:54.634 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Saturday 27 September 2025 08:56:57 -0400 (0:00:00.020) 0:01:54.655 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Saturday 27 September 2025 08:56:57 -0400 (0:00:00.018) 0:01:54.673 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Saturday 27 September 2025 08:56:57 -0400 (0:00:00.030) 0:01:54.704 **** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "d0ae216c7cfb4a30ae86b33d041f994b-5.14.0-617.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-617.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-617.el9.x86_64", "root": "UUID=f8f8090b-2382-4464-b3fc-84c7c20d1dbc", "title": "CentOS Stream (5.14.0-617.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "d0ae216c7cfb4a30ae86b33d041f994b-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-d0ae216c7cfb4a30ae86b33d041f994b.img", "kernel": "/boot/vmlinuz-0-rescue-d0ae216c7cfb4a30ae86b33d041f994b", "root": "UUID=f8f8090b-2382-4464-b3fc-84c7c20d1dbc", "title": "CentOS Stream (0-rescue-d0ae216c7cfb4a30ae86b33d041f994b) 9" } ] }, "changed": false } TASK [Verify that kernel is removed {{ item }}] ******************************** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Saturday 27 September 2025 08:56:57 -0400 (0:00:00.466) 0:01:55.171 **** 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-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Saturday 27 September 2025 08:56:57 -0400 (0:00:00.054) 0:01:55.226 **** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-617.el9.x86_64_clone1" ], "delta": "0:00:00.048382", "end": "2025-09-27 08:56:58.320164", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-09-27 08:56:58.271782" } STDERR: The param /boot/vmlinuz-5.14.0-617.el9.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-617.el9.x86_64_clone2" ], "delta": "0:00:00.045702", "end": "2025-09-27 08:56:58.690952", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-09-27 08:56:58.645250" } STDERR: The param /boot/vmlinuz-5.14.0-617.el9.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 27 September 2025 08:56:58 -0400 (0:00:00.762) 0:01:55.988 **** 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.108655", "end": "2025-09-27 08:56:59.144484", "rc": 0, "start": "2025-09-27 08:56:59.035829" } STDOUT: args="ro rhgb crashkernel=1G-2G:192M,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=1G-2G:192M,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=1G-2G:192M,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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 27 September 2025 08:56:59 -0400 (0:00:00.450) 0:01:56.439 **** included: /tmp/collections-Ruc/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-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 27 September 2025 08:56:59 -0400 (0:00:00.016) 0:01:56.455 **** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 27 September 2025 08:57:22 -0400 (0:00:23.510) 0:02:19.966 **** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 27 September 2025 08:57:22 -0400 (0:00:00.013) 0:02:19.980 **** 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.14", "end_time": "2025-09-27T12:56:47.869333+00:00Z", "host": "managed-node1", "message": "Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-5.14.0-617.el9.x86_64_clone1, /boot/vmlinuz-5.14.0-617.el9.x86_64_clone2", "start_time": "2025-09-27T12:56:47.532068+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 27 September 2025 08:57:22 -0400 (0:00:00.015) 0:02:19.995 **** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 24.62s /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.51s /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.25s /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 11.55s /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Gather architecture facts ----------------------------------------------- 2.00s /tmp/collections-Ruc/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.95s /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.95s /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-617.el9.x86_64 --- 1.28s /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-617.el9.x86_64 --- 1.06s /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.94s /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.92s /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.91s /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.90s /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.90s /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.90s /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.90s /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-617.el9.x86_64 --- 0.89s /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Remove cloned kernels --------------------------------------------------- 0.76s /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.67s /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.64s /tmp/collections-Ruc/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114