ansible-playbook [core 2.17.11] 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-DdL executable location = /usr/local/bin/ansible-playbook python version = 3.12.10 (main, Apr 22 2025, 00:00:00) [GCC 14.2.1 20250110 (Red Hat 14.2.1-7)] (/usr/bin/python3.12) jinja version = 3.1.5 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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-DdL/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-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 17 May 2025 08:52:51 -0400 (0:00:00.008) 0:00:00.008 ********** included: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 17 May 2025 08:52:51 -0400 (0:00:00.014) 0:00:00.022 ********** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 17 May 2025 08:52:53 -0400 (0:00:02.194) 0:00:02.217 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 17 May 2025 08:52:53 -0400 (0:00:00.004) 0:00:02.222 ********** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 May 2025 08:52:53 -0400 (0:00:00.054) 0:00:02.277 ********** included: /tmp/collections-DdL/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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 May 2025 08:52:53 -0400 (0:00:00.017) 0:00:02.294 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 May 2025 08:52:54 -0400 (0:00:00.031) 0:00:02.325 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 May 2025 08:52:54 -0400 (0:00:00.427) 0:00:02.752 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 May 2025 08:52:54 -0400 (0:00:00.020) 0:00:02.773 ********** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 May 2025 08:52:54 -0400 (0:00:00.028) 0:00:02.802 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 May 2025 08:52:54 -0400 (0:00:00.011) 0:00:02.814 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 May 2025 08:52:59 -0400 (0:00:05.085) 0:00:07.899 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747222208.6637616, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1747222208.6633954, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 284803, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747222208.6637619, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "27426332", "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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 May 2025 08:52:59 -0400 (0:00:00.390) 0:00:08.289 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 May 2025 08:52:59 -0400 (0:00:00.012) 0:00:08.302 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 May 2025 08:52:59 -0400 (0:00:00.010) 0:00:08.313 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 May 2025 08:53:00 -0400 (0:00:00.343) 0:00:08.656 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 May 2025 08:53:00 -0400 (0:00:00.038) 0:00:08.694 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486379.8855135, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1747222208.6633954, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 284803, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747222208.6637619, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "27426332", "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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 May 2025 08:53:00 -0400 (0:00:00.361) 0:00:09.056 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747221284.169, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "ae0fb43914c94173b4c2512748faef9eff5b5910", "ctime": 1747221284.171, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8840191, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1747221284.171, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6975, "uid": 0, "version": "3973415391", "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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 May 2025 08:53:01 -0400 (0:00:00.364) 0:00:09.421 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004695", "end": "2025-05-17 08:53:01.510322", "rc": 0, "start": "2025-05-17 08:53:01.505627" } 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 May 2025 08:53:01 -0400 (0:00:00.456) 0:00:09.878 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 May 2025 08:53:01 -0400 (0:00:00.034) 0:00:09.912 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 May 2025 08:53:02 -0400 (0:00:00.452) 0:00:10.364 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 May 2025 08:53:02 -0400 (0:00:00.377) 0:00:10.742 ********** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 May 2025 08:53:02 -0400 (0:00:00.450) 0:00:11.192 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 May 2025 08:53:02 -0400 (0:00:00.019) 0:00:11.212 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 May 2025 08:53:02 -0400 (0:00:00.016) 0:00:11.229 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 May 2025 08:53:02 -0400 (0:00:00.029) 0:00:11.258 ********** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "4be4f659688a41a1ad2af79736aaba20-6.12.0-83.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-83.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-83.el10.x86_64", "root": "UUID=eed44663-6e0b-489c-8ced-e1d034f48f5b", "title": "CentOS Stream (6.12.0-83.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "4be4f659688a41a1ad2af79736aaba20-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-4be4f659688a41a1ad2af79736aaba20.img", "kernel": "/boot/vmlinuz-0-rescue-4be4f659688a41a1ad2af79736aaba20", "root": "UUID=eed44663-6e0b-489c-8ced-e1d034f48f5b", "title": "CentOS Stream (0-rescue-4be4f659688a41a1ad2af79736aaba20) 10 (Coughlan)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 17 May 2025 08:53:03 -0400 (0:00:00.567) 0:00:11.825 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 17 May 2025 08:53:03 -0400 (0:00:00.004) 0:00:11.830 ********** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 17 May 2025 08:53:03 -0400 (0:00:00.002) 0:00:11.832 ********** included: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 17 May 2025 08:53:03 -0400 (0:00:00.035) 0:00:11.868 ********** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "4be4f659688a41a1ad2af79736aaba20-6.12.0-83.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-83.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-83.el10.x86_64", "root": "UUID=eed44663-6e0b-489c-8ced-e1d034f48f5b", "title": "CentOS Stream (6.12.0-83.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 17 May 2025 08:53:03 -0400 (0:00:00.040) 0:00:11.908 ********** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-83.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-83.el10.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "538c7151c9002faf53930bf436d4f78a20126ae0", "dest": "/boot/vmlinuz-6.12.0-83.el10.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-83.el10.x86_64_clone1", "src": "/boot/vmlinuz-6.12.0-83.el10.x86_64" }, "md5sum": "1f3a50efde59327e38c2b91e94bb7b2a", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15898664, "src": "/boot/vmlinuz-6.12.0-83.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-83.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-83.el10.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "89bdcddb0875b8ce5aa19af0958c2bd6c0c89dac", "dest": "/boot/initramfs-6.12.0-83.el10.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-83.el10.x86_64.img_clone1", "src": "/boot/initramfs-6.12.0-83.el10.x86_64.img" }, "md5sum": "b4109f11198fc3bf2b0cc4ee8467b692", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 28469626, "src": "/boot/initramfs-6.12.0-83.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 17 May 2025 08:53:04 -0400 (0:00:01.069) 0:00:12.978 ********** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 May 2025 08:53:04 -0400 (0:00:00.033) 0:00:13.011 ********** included: /tmp/collections-DdL/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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 May 2025 08:53:04 -0400 (0:00:00.016) 0:00:13.027 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 May 2025 08:53:04 -0400 (0:00:00.032) 0:00:13.060 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 May 2025 08:53:04 -0400 (0:00:00.016) 0:00:13.076 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 May 2025 08:53:04 -0400 (0:00:00.015) 0:00:13.091 ********** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 May 2025 08:53:04 -0400 (0:00:00.028) 0:00:13.120 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 May 2025 08:53:04 -0400 (0:00:00.011) 0:00:13.132 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 May 2025 08:53:05 -0400 (0:00:00.818) 0:00:13.950 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486379.8855135, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1747222208.6633954, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 284803, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747222208.6637619, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "27426332", "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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 May 2025 08:53:06 -0400 (0:00:00.376) 0:00:14.327 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 May 2025 08:53:06 -0400 (0:00:00.013) 0:00:14.340 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 May 2025 08:53:06 -0400 (0:00:00.011) 0:00:14.352 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 May 2025 08:53:06 -0400 (0:00:00.340) 0:00:14.693 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 May 2025 08:53:06 -0400 (0:00:00.038) 0:00:14.731 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486379.8855135, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1747222208.6633954, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 284803, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747222208.6637619, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "27426332", "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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 May 2025 08:53:06 -0400 (0:00:00.372) 0:00:15.103 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486382.3750114, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3f75d200cca69bae5c257d4ade5c79196a6c6507", "ctime": 1747486382.3735754, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326850, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1747486382.3750122, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "1776764356", "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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 May 2025 08:53:07 -0400 (0:00:00.392) 0:00:15.496 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004881", "end": "2025-05-17 08:53:07.536758", "rc": 0, "start": "2025-05-17 08:53:07.531877" } 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 May 2025 08:53:07 -0400 (0:00:00.406) 0:00:15.902 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 May 2025 08:53:07 -0400 (0:00:00.031) 0:00:15.933 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 May 2025 08:53:07 -0400 (0:00:00.366) 0:00:16.299 ********** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 May 2025 08:53:08 -0400 (0:00:00.372) 0:00:16.672 ********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.12.0-83.el10.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.12.0-83.el10.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 May 2025 08:53:08 -0400 (0:00:00.604) 0:00:17.277 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 May 2025 08:53:08 -0400 (0:00:00.025) 0:00:17.303 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 May 2025 08:53:09 -0400 (0:00:00.026) 0:00:17.329 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 May 2025 08:53:09 -0400 (0:00:00.041) 0:00:17.371 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 17 May 2025 08:53:09 -0400 (0:00:00.047) 0:00:17.418 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 17 May 2025 08:53:09 -0400 (0:00:00.003) 0:00:17.422 ********** 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.126190", "end": "2025-05-17 08:53:09.553358", "rc": 0, "start": "2025-05-17 08:53:09.427168" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 17 May 2025 08:53:09 -0400 (0:00:00.501) 0:00:17.923 ********** included: /tmp/collections-DdL/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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 17 May 2025 08:53:09 -0400 (0:00:00.046) 0:00:17.970 ********** changed: [managed-node1] => { "changed": true, "elapsed": 28, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 17 May 2025 08:53:39 -0400 (0:00:29.908) 0:00:47.879 ********** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 17 May 2025 08:53:39 -0400 (0:00:00.018) 0:00:47.897 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 17 May 2025 08:53:39 -0400 (0:00:00.019) 0:00:47.917 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 17 May 2025 08:53:39 -0400 (0:00:00.015) 0:00:47.933 ********** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 May 2025 08:53:39 -0400 (0:00:00.057) 0:00:47.990 ********** included: /tmp/collections-DdL/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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 May 2025 08:53:39 -0400 (0:00:00.023) 0:00:48.014 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 May 2025 08:53:39 -0400 (0:00:00.034) 0:00:48.049 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 May 2025 08:53:39 -0400 (0:00:00.015) 0:00:48.065 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 May 2025 08:53:39 -0400 (0:00:00.016) 0:00:48.082 ********** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 May 2025 08:53:39 -0400 (0:00:00.028) 0:00:48.110 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 May 2025 08:53:39 -0400 (0:00:00.011) 0:00:48.121 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 May 2025 08:53:41 -0400 (0:00:01.675) 0:00:49.797 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486389.5517535, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1747486389.5507534, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 284823, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747486389.5507534, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "261595699", "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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 May 2025 08:53:41 -0400 (0:00:00.419) 0:00:50.217 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 May 2025 08:53:41 -0400 (0:00:00.013) 0:00:50.231 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 May 2025 08:53:41 -0400 (0:00:00.012) 0:00:50.243 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 May 2025 08:53:42 -0400 (0:00:00.360) 0:00:50.604 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 May 2025 08:53:42 -0400 (0:00:00.075) 0:00:50.680 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486389.5517535, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1747486389.5507534, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 284823, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747486389.5507534, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "261595699", "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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 May 2025 08:53:42 -0400 (0:00:00.383) 0:00:51.063 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486387.1056929, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3f75d200cca69bae5c257d4ade5c79196a6c6507", "ctime": 1747486382.3735754, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326850, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1747486382.3750122, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "1776764356", "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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 May 2025 08:53:43 -0400 (0:00:00.382) 0:00:51.445 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005191", "end": "2025-05-17 08:53:43.468546", "rc": 0, "start": "2025-05-17 08:53:43.463355" } 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 May 2025 08:53:43 -0400 (0:00:00.388) 0:00:51.833 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 May 2025 08:53:43 -0400 (0:00:00.045) 0:00:51.878 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 May 2025 08:53:43 -0400 (0:00:00.397) 0:00:52.276 ********** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 May 2025 08:53:44 -0400 (0:00:00.404) 0:00:52.680 ********** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 May 2025 08:53:44 -0400 (0:00:00.359) 0:00:53.040 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 May 2025 08:53:44 -0400 (0:00:00.021) 0:00:53.062 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 May 2025 08:53:44 -0400 (0:00:00.021) 0:00:53.083 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 May 2025 08:53:44 -0400 (0:00:00.045) 0:00:53.129 ********** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "ec26f1f93285522e52095abb467fee96-6.12.0-83.el10.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.12.0-83.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.0-83.el10.x86_64_clone1", "root": "UUID=eed44663-6e0b-489c-8ced-e1d034f48f5b", "title": "Clone1" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "4be4f659688a41a1ad2af79736aaba20-6.12.0-83.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.0-83.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-83.el10.x86_64", "root": "UUID=eed44663-6e0b-489c-8ced-e1d034f48f5b", "title": "CentOS Stream (6.12.0-83.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "4be4f659688a41a1ad2af79736aaba20-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-4be4f659688a41a1ad2af79736aaba20.img", "kernel": "/boot/vmlinuz-0-rescue-4be4f659688a41a1ad2af79736aaba20", "root": "UUID=eed44663-6e0b-489c-8ced-e1d034f48f5b", "title": "CentOS Stream (0-rescue-4be4f659688a41a1ad2af79736aaba20) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 17 May 2025 08:53:45 -0400 (0:00:00.531) 0:00:53.661 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 17 May 2025 08:53:45 -0400 (0:00:00.051) 0:00:53.712 ********** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 May 2025 08:53:45 -0400 (0:00:00.049) 0:00:53.761 ********** included: /tmp/collections-DdL/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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 May 2025 08:53:45 -0400 (0:00:00.016) 0:00:53.778 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 May 2025 08:53:45 -0400 (0:00:00.031) 0:00:53.809 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 May 2025 08:53:45 -0400 (0:00:00.017) 0:00:53.827 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 May 2025 08:53:45 -0400 (0:00:00.016) 0:00:53.844 ********** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 May 2025 08:53:45 -0400 (0:00:00.033) 0:00:53.877 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 May 2025 08:53:45 -0400 (0:00:00.013) 0:00:53.890 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 May 2025 08:53:46 -0400 (0:00:00.842) 0:00:54.732 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486389.5517535, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1747486389.5507534, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 284823, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747486389.5507534, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "261595699", "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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 May 2025 08:53:46 -0400 (0:00:00.384) 0:00:55.117 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 May 2025 08:53:46 -0400 (0:00:00.013) 0:00:55.130 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 May 2025 08:53:46 -0400 (0:00:00.012) 0:00:55.143 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 May 2025 08:53:47 -0400 (0:00:00.367) 0:00:55.510 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 May 2025 08:53:47 -0400 (0:00:00.045) 0:00:55.556 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486389.5517535, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1747486389.5507534, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 284823, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747486389.5507534, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "261595699", "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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 May 2025 08:53:47 -0400 (0:00:00.374) 0:00:55.931 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486387.1056929, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3f75d200cca69bae5c257d4ade5c79196a6c6507", "ctime": 1747486382.3735754, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326850, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1747486382.3750122, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "1776764356", "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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 May 2025 08:53:48 -0400 (0:00:00.390) 0:00:56.321 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004532", "end": "2025-05-17 08:53:48.339089", "rc": 0, "start": "2025-05-17 08:53:48.334557" } 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 May 2025 08:53:48 -0400 (0:00:00.382) 0:00:56.704 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 May 2025 08:53:48 -0400 (0:00:00.039) 0:00:56.743 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 May 2025 08:53:48 -0400 (0:00:00.373) 0:00:57.117 ********** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 May 2025 08:53:49 -0400 (0:00:00.374) 0:00:57.492 ********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.12.0-83.el10.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 May 2025 08:53:49 -0400 (0:00:00.594) 0:00:58.087 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 May 2025 08:53:49 -0400 (0:00:00.017) 0:00:58.105 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 May 2025 08:53:49 -0400 (0:00:00.016) 0:00:58.122 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 May 2025 08:53:49 -0400 (0:00:00.029) 0:00:58.151 ********** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "4be4f659688a41a1ad2af79736aaba20-6.12.0-83.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-83.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-83.el10.x86_64", "root": "UUID=eed44663-6e0b-489c-8ced-e1d034f48f5b", "title": "CentOS Stream (6.12.0-83.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "4be4f659688a41a1ad2af79736aaba20-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-4be4f659688a41a1ad2af79736aaba20.img", "kernel": "/boot/vmlinuz-0-rescue-4be4f659688a41a1ad2af79736aaba20", "root": "UUID=eed44663-6e0b-489c-8ced-e1d034f48f5b", "title": "CentOS Stream (0-rescue-4be4f659688a41a1ad2af79736aaba20) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 17 May 2025 08:53:50 -0400 (0:00:00.474) 0:00:58.626 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 17 May 2025 08:53:50 -0400 (0:00:00.038) 0:00:58.664 ********** included: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 17 May 2025 08:53:50 -0400 (0:00:00.029) 0:00:58.694 ********** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "4be4f659688a41a1ad2af79736aaba20-6.12.0-83.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-83.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-83.el10.x86_64", "root": "UUID=eed44663-6e0b-489c-8ced-e1d034f48f5b", "title": "CentOS Stream (6.12.0-83.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 17 May 2025 08:53:50 -0400 (0:00:00.038) 0:00:58.732 ********** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-83.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-83.el10.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "538c7151c9002faf53930bf436d4f78a20126ae0", "dest": "/boot/vmlinuz-6.12.0-83.el10.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-83.el10.x86_64_clone2", "src": "/boot/vmlinuz-6.12.0-83.el10.x86_64" }, "md5sum": "1f3a50efde59327e38c2b91e94bb7b2a", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15898664, "src": "/boot/vmlinuz-6.12.0-83.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-83.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-83.el10.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "89bdcddb0875b8ce5aa19af0958c2bd6c0c89dac", "dest": "/boot/initramfs-6.12.0-83.el10.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-83.el10.x86_64.img_clone2", "src": "/boot/initramfs-6.12.0-83.el10.x86_64.img" }, "md5sum": "b4109f11198fc3bf2b0cc4ee8467b692", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 28469626, "src": "/boot/initramfs-6.12.0-83.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 17 May 2025 08:53:51 -0400 (0:00:01.002) 0:00:59.734 ********** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 May 2025 08:53:51 -0400 (0:00:00.041) 0:00:59.776 ********** included: /tmp/collections-DdL/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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 May 2025 08:53:51 -0400 (0:00:00.018) 0:00:59.794 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 May 2025 08:53:51 -0400 (0:00:00.034) 0:00:59.829 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 May 2025 08:53:51 -0400 (0:00:00.017) 0:00:59.846 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 May 2025 08:53:51 -0400 (0:00:00.016) 0:00:59.863 ********** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 May 2025 08:53:51 -0400 (0:00:00.030) 0:00:59.894 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 May 2025 08:53:51 -0400 (0:00:00.012) 0:00:59.907 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 May 2025 08:53:52 -0400 (0:00:00.829) 0:01:00.736 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486389.5517535, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1747486389.5507534, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 284823, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747486389.5507534, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "261595699", "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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 May 2025 08:53:52 -0400 (0:00:00.373) 0:01:01.110 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 May 2025 08:53:52 -0400 (0:00:00.014) 0:01:01.124 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 May 2025 08:53:52 -0400 (0:00:00.012) 0:01:01.137 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 May 2025 08:53:53 -0400 (0:00:00.361) 0:01:01.498 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 May 2025 08:53:53 -0400 (0:00:00.041) 0:01:01.540 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486389.5517535, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1747486389.5507534, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 284823, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747486389.5507534, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "261595699", "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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 May 2025 08:53:53 -0400 (0:00:00.380) 0:01:01.920 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486387.1056929, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3f75d200cca69bae5c257d4ade5c79196a6c6507", "ctime": 1747486382.3735754, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326850, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1747486382.3750122, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "1776764356", "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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 May 2025 08:53:53 -0400 (0:00:00.381) 0:01:02.302 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005213", "end": "2025-05-17 08:53:54.330290", "rc": 0, "start": "2025-05-17 08:53:54.325077" } 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 May 2025 08:53:54 -0400 (0:00:00.395) 0:01:02.697 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 May 2025 08:53:54 -0400 (0:00:00.033) 0:01:02.730 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 May 2025 08:53:54 -0400 (0:00:00.390) 0:01:03.121 ********** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 May 2025 08:53:55 -0400 (0:00:00.391) 0:01:03.512 ********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.12.0-83.el10.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.12.0-83.el10.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 May 2025 08:53:55 -0400 (0:00:00.595) 0:01:04.108 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 May 2025 08:53:55 -0400 (0:00:00.019) 0:01:04.127 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 May 2025 08:53:55 -0400 (0:00:00.017) 0:01:04.145 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 May 2025 08:53:55 -0400 (0:00:00.028) 0:01:04.174 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 17 May 2025 08:53:55 -0400 (0:00:00.029) 0:01:04.203 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 17 May 2025 08:53:55 -0400 (0:00:00.002) 0:01:04.205 ********** 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.128909", "end": "2025-05-17 08:53:56.336996", "rc": 0, "start": "2025-05-17 08:53:56.208087" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 17 May 2025 08:53:56 -0400 (0:00:00.498) 0:01:04.704 ********** included: /tmp/collections-DdL/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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 17 May 2025 08:53:56 -0400 (0:00:00.014) 0:01:04.718 ********** changed: [managed-node1] => { "changed": true, "elapsed": 31, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 17 May 2025 08:54:28 -0400 (0:00:31.985) 0:01:36.704 ********** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 17 May 2025 08:54:28 -0400 (0:00:00.012) 0:01:36.717 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 17 May 2025 08:54:28 -0400 (0:00:00.015) 0:01:36.732 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 17 May 2025 08:54:28 -0400 (0:00:00.016) 0:01:36.748 ********** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 May 2025 08:54:28 -0400 (0:00:00.051) 0:01:36.800 ********** included: /tmp/collections-DdL/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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 May 2025 08:54:28 -0400 (0:00:00.018) 0:01:36.818 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 May 2025 08:54:28 -0400 (0:00:00.031) 0:01:36.850 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 May 2025 08:54:28 -0400 (0:00:00.017) 0:01:36.867 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 May 2025 08:54:28 -0400 (0:00:00.017) 0:01:36.884 ********** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 May 2025 08:54:28 -0400 (0:00:00.029) 0:01:36.914 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 May 2025 08:54:28 -0400 (0:00:00.012) 0:01:36.927 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 May 2025 08:54:30 -0400 (0:00:01.777) 0:01:38.705 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486436.3353128, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1747486436.3353128, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 190426, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747486436.334313, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "3511997109", "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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 May 2025 08:54:30 -0400 (0:00:00.418) 0:01:39.123 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 May 2025 08:54:30 -0400 (0:00:00.015) 0:01:39.138 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 May 2025 08:54:30 -0400 (0:00:00.012) 0:01:39.151 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 May 2025 08:54:31 -0400 (0:00:00.363) 0:01:39.514 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 May 2025 08:54:31 -0400 (0:00:00.038) 0:01:39.553 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486470.7091618, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1747486436.3353128, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 190426, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747486436.334313, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "3511997109", "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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 May 2025 08:54:31 -0400 (0:00:00.380) 0:01:39.934 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486387.1056929, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3f75d200cca69bae5c257d4ade5c79196a6c6507", "ctime": 1747486382.3735754, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326850, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1747486382.3750122, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "1776764356", "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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 May 2025 08:54:32 -0400 (0:00:00.386) 0:01:40.320 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004983", "end": "2025-05-17 08:54:32.344181", "rc": 0, "start": "2025-05-17 08:54:32.339198" } 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 May 2025 08:54:32 -0400 (0:00:00.389) 0:01:40.709 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 May 2025 08:54:32 -0400 (0:00:00.033) 0:01:40.743 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 May 2025 08:54:32 -0400 (0:00:00.389) 0:01:41.133 ********** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 May 2025 08:54:33 -0400 (0:00:00.390) 0:01:41.524 ********** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 May 2025 08:54:33 -0400 (0:00:00.376) 0:01:41.900 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 May 2025 08:54:33 -0400 (0:00:00.018) 0:01:41.918 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 May 2025 08:54:33 -0400 (0:00:00.017) 0:01:41.935 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 May 2025 08:54:33 -0400 (0:00:00.029) 0:01:41.965 ********** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec26f1f93285522e52095abb467fee96-6.12.0-83.el10.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.12.0-83.el10.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.12.0-83.el10.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "4be4f659688a41a1ad2af79736aaba20-6.12.0-83.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.0-83.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-83.el10.x86_64", "root": "UUID=eed44663-6e0b-489c-8ced-e1d034f48f5b", "title": "CentOS Stream (6.12.0-83.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "4be4f659688a41a1ad2af79736aaba20-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-4be4f659688a41a1ad2af79736aaba20.img", "kernel": "/boot/vmlinuz-0-rescue-4be4f659688a41a1ad2af79736aaba20", "root": "UUID=eed44663-6e0b-489c-8ced-e1d034f48f5b", "title": "CentOS Stream (0-rescue-4be4f659688a41a1ad2af79736aaba20) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 17 May 2025 08:54:34 -0400 (0:00:00.528) 0:01:42.494 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 17 May 2025 08:54:34 -0400 (0:00:00.037) 0:01:42.531 ********** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 17 May 2025 08:54:34 -0400 (0:00:00.064) 0:01:42.595 ********** included: /tmp/collections-DdL/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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 17 May 2025 08:54:34 -0400 (0:00:00.017) 0:01:42.613 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 17 May 2025 08:54:34 -0400 (0:00:00.033) 0:01:42.646 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 17 May 2025 08:54:34 -0400 (0:00:00.017) 0:01:42.663 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 17 May 2025 08:54:34 -0400 (0:00:00.017) 0:01:42.681 ********** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 17 May 2025 08:54:34 -0400 (0:00:00.029) 0:01:42.710 ********** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 17 May 2025 08:54:34 -0400 (0:00:00.012) 0:01:42.723 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 17 May 2025 08:54:35 -0400 (0:00:00.866) 0:01:43.590 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486470.7091618, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1747486436.3353128, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 190426, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747486436.334313, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "3511997109", "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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 17 May 2025 08:54:35 -0400 (0:00:00.380) 0:01:43.971 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 17 May 2025 08:54:35 -0400 (0:00:00.013) 0:01:43.985 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 17 May 2025 08:54:35 -0400 (0:00:00.013) 0:01:43.998 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 17 May 2025 08:54:36 -0400 (0:00:00.369) 0:01:44.368 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 17 May 2025 08:54:36 -0400 (0:00:00.038) 0:01:44.407 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486470.7091618, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1747486436.3353128, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 190426, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1747486436.334313, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "3511997109", "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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 17 May 2025 08:54:36 -0400 (0:00:00.386) 0:01:44.793 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1747486387.1056929, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3f75d200cca69bae5c257d4ade5c79196a6c6507", "ctime": 1747486382.3735754, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326850, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1747486382.3750122, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "1776764356", "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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 17 May 2025 08:54:36 -0400 (0:00:00.393) 0:01:45.186 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004881", "end": "2025-05-17 08:54:37.218457", "rc": 0, "start": "2025-05-17 08:54:37.213576" } 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 17 May 2025 08:54:37 -0400 (0:00:00.400) 0:01:45.587 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 17 May 2025 08:54:37 -0400 (0:00:00.036) 0:01:45.624 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 17 May 2025 08:54:37 -0400 (0:00:00.393) 0:01:46.017 ********** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 17 May 2025 08:54:38 -0400 (0:00:00.390) 0:01:46.408 ********** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.12.0-83.el10.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 17 May 2025 08:54:38 -0400 (0:00:00.597) 0:01:47.005 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 17 May 2025 08:54:38 -0400 (0:00:00.019) 0:01:47.025 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 17 May 2025 08:54:38 -0400 (0:00:00.017) 0:01:47.042 ********** 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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 17 May 2025 08:54:38 -0400 (0:00:00.030) 0:01:47.073 ********** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "4be4f659688a41a1ad2af79736aaba20-6.12.0-83.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-83.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-83.el10.x86_64", "root": "UUID=eed44663-6e0b-489c-8ced-e1d034f48f5b", "title": "CentOS Stream (6.12.0-83.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "4be4f659688a41a1ad2af79736aaba20-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-4be4f659688a41a1ad2af79736aaba20.img", "kernel": "/boot/vmlinuz-0-rescue-4be4f659688a41a1ad2af79736aaba20", "root": "UUID=eed44663-6e0b-489c-8ced-e1d034f48f5b", "title": "CentOS Stream (0-rescue-4be4f659688a41a1ad2af79736aaba20) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 17 May 2025 08:54:39 -0400 (0:00:00.491) 0:01:47.564 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 17 May 2025 08:54:39 -0400 (0:00:00.039) 0:01:47.604 ********** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.0-83.el10.x86_64_clone1" ], "delta": "0:00:00.045491", "end": "2025-05-17 08:54:39.656947", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-05-17 08:54:39.611456" } STDERR: The param /boot/vmlinuz-6.12.0-83.el10.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.0-83.el10.x86_64_clone2" ], "delta": "0:00:00.044777", "end": "2025-05-17 08:54:40.059472", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-05-17 08:54:40.014695" } STDERR: The param /boot/vmlinuz-6.12.0-83.el10.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 17 May 2025 08:54:40 -0400 (0:00:00.823) 0:01:48.428 ********** 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.104930", "end": "2025-05-17 08:54:40.534955", "rc": 0, "start": "2025-05-17 08:54:40.430025" } STDOUT: args="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 17 May 2025 08:54:40 -0400 (0:00:00.472) 0:01:48.900 ********** included: /tmp/collections-DdL/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-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 17 May 2025 08:54:40 -0400 (0:00:00.014) 0:01:48.915 ********** changed: [managed-node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 17 May 2025 08:55:12 -0400 (0:00:31.930) 0:02:20.845 ********** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 17 May 2025 08:55:12 -0400 (0:00:00.012) 0:02:20.858 ********** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=118 changed=14 unreachable=0 failed=0 skipped=80 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 17 May 2025 08:55:12 -0400 (0:00:00.014) 0:02:20.872 ********** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 31.99s /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 31.93s /tmp/collections-DdL/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 -- 29.91s /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.09s /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.19s /tmp/collections-DdL/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.78s /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.68s /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.07s /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.00s /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.87s /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.84s /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.83s /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Remove cloned kernels --------------------------------------------------- 0.82s /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.82s /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.59s /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.57s /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.53s /tmp/collections-DdL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139