ansible-playbook [core 2.17.9] 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-9Pl executable location = /usr/local/bin/ansible-playbook python version = 3.12.9 (main, Feb 4 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-4)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles 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-9Pl/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-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 15 March 2025 08:53:55 -0400 (0:00:00.007) 0:00:00.007 ******** included: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 15 March 2025 08:53:55 -0400 (0:00:00.013) 0:00:00.021 ******** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 15 March 2025 08:53:57 -0400 (0:00:02.069) 0:00:02.091 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 15 March 2025 08:53:57 -0400 (0:00:00.005) 0:00:02.096 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 15 March 2025 08:53:57 -0400 (0:00:00.054) 0:00:02.151 ******** included: /tmp/collections-9Pl/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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 15 March 2025 08:53:57 -0400 (0:00:00.016) 0:00:02.168 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 15 March 2025 08:53:57 -0400 (0:00:00.032) 0:00:02.201 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 15 March 2025 08:53:58 -0400 (0:00:00.401) 0:00:02.602 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 15 March 2025 08:53:58 -0400 (0:00:00.024) 0:00:02.626 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 15 March 2025 08:53:58 -0400 (0:00:00.029) 0:00:02.656 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 15 March 2025 08:53:58 -0400 (0:00:00.011) 0:00:02.667 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 15 March 2025 08:54:14 -0400 (0:00:15.875) 0:00:18.543 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741677716.0855343, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1741677716.0855343, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 597360, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741677716.0855343, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "107458653", "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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 15 March 2025 08:54:14 -0400 (0:00:00.341) 0:00:18.885 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 15 March 2025 08:54:14 -0400 (0:00:00.013) 0:00:18.898 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 15 March 2025 08:54:14 -0400 (0:00:00.011) 0:00:18.909 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 15 March 2025 08:54:15 -0400 (0:00:00.308) 0:00:19.217 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 15 March 2025 08:54:15 -0400 (0:00:00.040) 0:00:19.258 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043254.5983598, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1741677716.0855343, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 597360, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741677716.0855343, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "107458653", "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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 15 March 2025 08:54:15 -0400 (0:00:00.319) 0:00:19.578 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741676787.94, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "df5ef8cab26ffd80459bf64b5772fd5f9f2293fb", "ctime": 1741676787.94, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8908717, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1741676787.94, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6755, "uid": 0, "version": "625014439", "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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 15 March 2025 08:54:15 -0400 (0:00:00.322) 0:00:19.900 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004489", "end": "2025-03-15 08:54:16.064713", "rc": 0, "start": "2025-03-15 08:54:16.060224" } 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 15 March 2025 08:54:16 -0400 (0:00:00.419) 0:00:20.320 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 15 March 2025 08:54:16 -0400 (0:00:00.034) 0:00:20.354 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 15 March 2025 08:54:16 -0400 (0:00:00.417) 0:00:20.771 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 15 March 2025 08:54:16 -0400 (0:00:00.325) 0:00:21.097 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 15 March 2025 08:54:17 -0400 (0:00:00.403) 0:00:21.500 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 15 March 2025 08:54:17 -0400 (0:00:00.017) 0:00:21.518 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 15 March 2025 08:54:17 -0400 (0:00:00.017) 0:00:21.535 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 15 March 2025 08:54:17 -0400 (0:00:00.032) 0:00:21.568 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "5f0fa843d4364df583ccdea3ad4ae7d7-5.14.0-570.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-570.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-570.el9.x86_64", "root": "UUID=3bab0c2d-5c6e-4933-a866-31df0c09bd8b", "title": "CentOS Stream (5.14.0-570.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "5f0fa843d4364df583ccdea3ad4ae7d7-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-5f0fa843d4364df583ccdea3ad4ae7d7.img", "kernel": "/boot/vmlinuz-0-rescue-5f0fa843d4364df583ccdea3ad4ae7d7", "root": "UUID=3bab0c2d-5c6e-4933-a866-31df0c09bd8b", "title": "CentOS Stream (0-rescue-5f0fa843d4364df583ccdea3ad4ae7d7) 9" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 15 March 2025 08:54:17 -0400 (0:00:00.513) 0:00:22.081 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 15 March 2025 08:54:17 -0400 (0:00:00.004) 0:00:22.086 ******** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 15 March 2025 08:54:17 -0400 (0:00:00.001) 0:00:22.087 ******** included: /tmp/collections-9Pl/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-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 15 March 2025 08:54:17 -0400 (0:00:00.024) 0:00:22.111 ******** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "5f0fa843d4364df583ccdea3ad4ae7d7-5.14.0-570.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-570.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-570.el9.x86_64", "root": "UUID=3bab0c2d-5c6e-4933-a866-31df0c09bd8b", "title": "CentOS Stream (5.14.0-570.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 15 March 2025 08:54:17 -0400 (0:00:00.038) 0:00:22.150 ******** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-570.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-570.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "975c41ed4e67db9766758827e58809fa973cf2ca", "dest": "/boot/vmlinuz-5.14.0-570.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-570.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-570.el9.x86_64" }, "md5sum": "eece3116a6a4a78faf4cacf67ca22a0a", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 14907432, "src": "/boot/vmlinuz-5.14.0-570.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-570.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-570.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "3716d643f4038868b0f53b17001b483ce48d1cac", "dest": "/boot/initramfs-5.14.0-570.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-570.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-570.el9.x86_64.img" }, "md5sum": "fe9d8ee2335ff5336190a3aceb5be658", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 37847516, "src": "/boot/initramfs-5.14.0-570.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 15 March 2025 08:54:18 -0400 (0:00:01.039) 0:00:23.190 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 15 March 2025 08:54:19 -0400 (0:00:00.036) 0:00:23.226 ******** included: /tmp/collections-9Pl/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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 15 March 2025 08:54:19 -0400 (0:00:00.018) 0:00:23.244 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 15 March 2025 08:54:19 -0400 (0:00:00.034) 0:00:23.278 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 15 March 2025 08:54:19 -0400 (0:00:00.016) 0:00:23.295 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 15 March 2025 08:54:19 -0400 (0:00:00.017) 0:00:23.312 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 15 March 2025 08:54:19 -0400 (0:00:00.030) 0:00:23.343 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 15 March 2025 08:54:19 -0400 (0:00:00.012) 0:00:23.355 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 15 March 2025 08:54:20 -0400 (0:00:01.221) 0:00:24.576 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043254.5983598, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1741677716.0855343, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 597360, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741677716.0855343, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "107458653", "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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 15 March 2025 08:54:20 -0400 (0:00:00.324) 0:00:24.901 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 15 March 2025 08:54:20 -0400 (0:00:00.013) 0:00:24.914 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 15 March 2025 08:54:20 -0400 (0:00:00.011) 0:00:24.926 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 15 March 2025 08:54:21 -0400 (0:00:00.305) 0:00:25.231 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 15 March 2025 08:54:21 -0400 (0:00:00.040) 0:00:25.271 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043254.5983598, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1741677716.0855343, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 597360, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741677716.0855343, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "107458653", "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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 15 March 2025 08:54:21 -0400 (0:00:00.321) 0:00:25.593 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043256.8426194, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dddaeef64efab67085bcc5104bbed0187f9cdd82", "ctime": 1742043256.8413494, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 255852740, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1742043256.8426201, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "141078740", "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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 15 March 2025 08:54:21 -0400 (0:00:00.323) 0:00:25.916 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004227", "end": "2025-03-15 08:54:21.990925", "rc": 0, "start": "2025-03-15 08:54:21.986698" } 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 15 March 2025 08:54:22 -0400 (0:00:00.328) 0:00:26.244 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 15 March 2025 08:54:22 -0400 (0:00:00.032) 0:00:26.277 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 15 March 2025 08:54:22 -0400 (0:00:00.330) 0:00:26.607 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 15 March 2025 08:54:22 -0400 (0:00:00.330) 0:00:26.938 ******** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-5.14.0-570.el9.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-5.14.0-570.el9.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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 15 March 2025 08:54:23 -0400 (0:00:00.530) 0:00:27.469 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 15 March 2025 08:54:23 -0400 (0:00:00.017) 0:00:27.487 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 15 March 2025 08:54:23 -0400 (0:00:00.017) 0:00:27.504 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 15 March 2025 08:54:23 -0400 (0:00:00.030) 0:00:27.534 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 15 March 2025 08:54:23 -0400 (0:00:00.032) 0:00:27.567 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 15 March 2025 08:54:23 -0400 (0:00:00.002) 0:00:27.569 ******** 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.128742", "end": "2025-03-15 08:54:23.752929", "rc": 0, "start": "2025-03-15 08:54:23.624187" } STDOUT: args="ro rhgb crashkernel=1G-4G:192M,4G-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=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-4G:192M,4G-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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 15 March 2025 08:54:23 -0400 (0:00:00.439) 0:00:28.008 ******** included: /tmp/collections-9Pl/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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 15 March 2025 08:54:23 -0400 (0:00:00.016) 0:00:28.024 ******** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 15 March 2025 08:54:47 -0400 (0:00:23.541) 0:00:51.566 ******** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 15 March 2025 08:54:47 -0400 (0:00:00.012) 0:00:51.578 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 15 March 2025 08:54:47 -0400 (0:00:00.016) 0:00:51.595 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 15 March 2025 08:54:47 -0400 (0:00:00.015) 0:00:51.610 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 15 March 2025 08:54:47 -0400 (0:00:00.053) 0:00:51.664 ******** included: /tmp/collections-9Pl/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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 15 March 2025 08:54:47 -0400 (0:00:00.018) 0:00:51.682 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 15 March 2025 08:54:47 -0400 (0:00:00.033) 0:00:51.715 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 15 March 2025 08:54:47 -0400 (0:00:00.017) 0:00:51.732 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 15 March 2025 08:54:47 -0400 (0:00:00.016) 0:00:51.749 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 15 March 2025 08:54:47 -0400 (0:00:00.030) 0:00:51.779 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 15 March 2025 08:54:47 -0400 (0:00:00.012) 0:00:51.792 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 15 March 2025 08:54:50 -0400 (0:00:02.820) 0:00:54.612 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043263.752318, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1742043263.751318, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8906357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742043263.751318, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "406817326", "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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 15 March 2025 08:54:50 -0400 (0:00:00.360) 0:00:54.973 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 15 March 2025 08:54:50 -0400 (0:00:00.013) 0:00:54.986 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 15 March 2025 08:54:50 -0400 (0:00:00.013) 0:00:54.999 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 15 March 2025 08:54:51 -0400 (0:00:00.316) 0:00:55.316 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 15 March 2025 08:54:51 -0400 (0:00:00.040) 0:00:55.356 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043263.752318, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1742043263.751318, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8906357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742043263.751318, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "406817326", "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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 15 March 2025 08:54:51 -0400 (0:00:00.324) 0:00:55.681 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043261.6453276, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dddaeef64efab67085bcc5104bbed0187f9cdd82", "ctime": 1742043256.8413494, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 255852740, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1742043256.8426201, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "141078740", "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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 15 March 2025 08:54:51 -0400 (0:00:00.339) 0:00:56.020 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004981", "end": "2025-03-15 08:54:51.911226", "rc": 0, "start": "2025-03-15 08:54:51.906245" } 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 15 March 2025 08:54:52 -0400 (0:00:00.338) 0:00:56.358 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 15 March 2025 08:54:52 -0400 (0:00:00.033) 0:00:56.392 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 15 March 2025 08:54:52 -0400 (0:00:00.339) 0:00:56.732 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 15 March 2025 08:54:52 -0400 (0:00:00.335) 0:00:57.068 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 15 March 2025 08:54:53 -0400 (0:00:00.311) 0:00:57.380 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 15 March 2025 08:54:53 -0400 (0:00:00.018) 0:00:57.398 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 15 March 2025 08:54:53 -0400 (0:00:00.017) 0:00:57.415 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 15 March 2025 08:54:53 -0400 (0:00:00.028) 0:00:57.444 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "5f0fa843d4364df583ccdea3ad4ae7d7-5.14.0-570.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-570.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-570.el9.x86_64", "root": "UUID=3bab0c2d-5c6e-4933-a866-31df0c09bd8b", "title": "CentOS Stream (5.14.0-570.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "5f0fa843d4364df583ccdea3ad4ae7d7-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-5f0fa843d4364df583ccdea3ad4ae7d7.img", "kernel": "/boot/vmlinuz-0-rescue-5f0fa843d4364df583ccdea3ad4ae7d7", "root": "UUID=3bab0c2d-5c6e-4933-a866-31df0c09bd8b", "title": "CentOS Stream (0-rescue-5f0fa843d4364df583ccdea3ad4ae7d7) 9" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "2e3c8991655c417a9f8df294e4a2d17d-5.14.0-570.el9.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-5.14.0-570.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-570.el9.x86_64_clone1", "root": "UUID=3bab0c2d-5c6e-4933-a866-31df0c09bd8b", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 15 March 2025 08:54:53 -0400 (0:00:00.472) 0:00:57.917 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 15 March 2025 08:54:53 -0400 (0:00:00.041) 0:00:57.958 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 15 March 2025 08:54:53 -0400 (0:00:00.050) 0:00:58.009 ******** included: /tmp/collections-9Pl/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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 15 March 2025 08:54:53 -0400 (0:00:00.018) 0:00:58.028 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 15 March 2025 08:54:53 -0400 (0:00:00.035) 0:00:58.064 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 15 March 2025 08:54:53 -0400 (0:00:00.018) 0:00:58.082 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 15 March 2025 08:54:53 -0400 (0:00:00.018) 0:00:58.101 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 15 March 2025 08:54:53 -0400 (0:00:00.030) 0:00:58.132 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 15 March 2025 08:54:53 -0400 (0:00:00.013) 0:00:58.145 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 15 March 2025 08:54:55 -0400 (0:00:01.191) 0:00:59.337 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043263.752318, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1742043263.751318, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8906357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742043263.751318, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "406817326", "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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 15 March 2025 08:54:55 -0400 (0:00:00.326) 0:00:59.664 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 15 March 2025 08:54:55 -0400 (0:00:00.013) 0:00:59.677 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 15 March 2025 08:54:55 -0400 (0:00:00.013) 0:00:59.690 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 15 March 2025 08:54:55 -0400 (0:00:00.311) 0:01:00.002 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 15 March 2025 08:54:55 -0400 (0:00:00.039) 0:01:00.042 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043263.752318, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1742043263.751318, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8906357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742043263.751318, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "406817326", "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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 15 March 2025 08:54:56 -0400 (0:00:00.334) 0:01:00.376 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043261.6453276, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dddaeef64efab67085bcc5104bbed0187f9cdd82", "ctime": 1742043256.8413494, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 255852740, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1742043256.8426201, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "141078740", "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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 15 March 2025 08:54:56 -0400 (0:00:00.329) 0:01:00.706 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004330", "end": "2025-03-15 08:54:56.791812", "rc": 0, "start": "2025-03-15 08:54:56.787482" } 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 15 March 2025 08:54:56 -0400 (0:00:00.340) 0:01:01.047 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 15 March 2025 08:54:56 -0400 (0:00:00.038) 0:01:01.085 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 15 March 2025 08:54:57 -0400 (0:00:00.340) 0:01:01.426 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 15 March 2025 08:54:57 -0400 (0:00:00.340) 0:01:01.766 ******** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-570.el9.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 15 March 2025 08:54:58 -0400 (0:00:00.566) 0:01:02.332 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 15 March 2025 08:54:58 -0400 (0:00:00.017) 0:01:02.349 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 15 March 2025 08:54:58 -0400 (0:00:00.016) 0:01:02.365 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 15 March 2025 08:54:58 -0400 (0:00:00.029) 0:01:02.395 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "5f0fa843d4364df583ccdea3ad4ae7d7-5.14.0-570.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-570.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-570.el9.x86_64", "root": "UUID=3bab0c2d-5c6e-4933-a866-31df0c09bd8b", "title": "CentOS Stream (5.14.0-570.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "5f0fa843d4364df583ccdea3ad4ae7d7-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-5f0fa843d4364df583ccdea3ad4ae7d7.img", "kernel": "/boot/vmlinuz-0-rescue-5f0fa843d4364df583ccdea3ad4ae7d7", "root": "UUID=3bab0c2d-5c6e-4933-a866-31df0c09bd8b", "title": "CentOS Stream (0-rescue-5f0fa843d4364df583ccdea3ad4ae7d7) 9" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 15 March 2025 08:54:58 -0400 (0:00:00.442) 0:01:02.838 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 15 March 2025 08:54:58 -0400 (0:00:00.039) 0:01:02.877 ******** included: /tmp/collections-9Pl/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-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 15 March 2025 08:54:58 -0400 (0:00:00.030) 0:01:02.907 ******** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "5f0fa843d4364df583ccdea3ad4ae7d7-5.14.0-570.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-570.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-570.el9.x86_64", "root": "UUID=3bab0c2d-5c6e-4933-a866-31df0c09bd8b", "title": "CentOS Stream (5.14.0-570.el9.x86_64) 9" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 15 March 2025 08:54:58 -0400 (0:00:00.038) 0:01:02.946 ******** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-570.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-570.el9.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "975c41ed4e67db9766758827e58809fa973cf2ca", "dest": "/boot/vmlinuz-5.14.0-570.el9.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-570.el9.x86_64_clone2", "src": "/boot/vmlinuz-5.14.0-570.el9.x86_64" }, "md5sum": "eece3116a6a4a78faf4cacf67ca22a0a", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 14907432, "src": "/boot/vmlinuz-5.14.0-570.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-570.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-570.el9.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "3716d643f4038868b0f53b17001b483ce48d1cac", "dest": "/boot/initramfs-5.14.0-570.el9.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-570.el9.x86_64.img_clone2", "src": "/boot/initramfs-5.14.0-570.el9.x86_64.img" }, "md5sum": "fe9d8ee2335ff5336190a3aceb5be658", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 37847516, "src": "/boot/initramfs-5.14.0-570.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 15 March 2025 08:54:59 -0400 (0:00:00.967) 0:01:03.914 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 15 March 2025 08:54:59 -0400 (0:00:00.035) 0:01:03.950 ******** included: /tmp/collections-9Pl/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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 15 March 2025 08:54:59 -0400 (0:00:00.018) 0:01:03.968 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 15 March 2025 08:54:59 -0400 (0:00:00.036) 0:01:04.004 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 15 March 2025 08:54:59 -0400 (0:00:00.017) 0:01:04.022 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 15 March 2025 08:54:59 -0400 (0:00:00.017) 0:01:04.039 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 15 March 2025 08:54:59 -0400 (0:00:00.031) 0:01:04.070 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 15 March 2025 08:54:59 -0400 (0:00:00.012) 0:01:04.083 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 15 March 2025 08:55:01 -0400 (0:00:01.190) 0:01:05.273 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043263.752318, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1742043263.751318, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8906357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742043263.751318, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "406817326", "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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 15 March 2025 08:55:01 -0400 (0:00:00.331) 0:01:05.605 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 15 March 2025 08:55:01 -0400 (0:00:00.014) 0:01:05.619 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 15 March 2025 08:55:01 -0400 (0:00:00.012) 0:01:05.631 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 15 March 2025 08:55:01 -0400 (0:00:00.314) 0:01:05.946 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 15 March 2025 08:55:01 -0400 (0:00:00.043) 0:01:05.989 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043263.752318, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1742043263.751318, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8906357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742043263.751318, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "406817326", "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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 15 March 2025 08:55:02 -0400 (0:00:00.338) 0:01:06.328 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043261.6453276, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dddaeef64efab67085bcc5104bbed0187f9cdd82", "ctime": 1742043256.8413494, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 255852740, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1742043256.8426201, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "141078740", "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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 15 March 2025 08:55:02 -0400 (0:00:00.339) 0:01:06.668 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005219", "end": "2025-03-15 08:55:02.756671", "rc": 0, "start": "2025-03-15 08:55:02.751452" } 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 15 March 2025 08:55:02 -0400 (0:00:00.344) 0:01:07.012 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 15 March 2025 08:55:02 -0400 (0:00:00.034) 0:01:07.046 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 15 March 2025 08:55:03 -0400 (0:00:00.341) 0:01:07.387 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 15 March 2025 08:55:03 -0400 (0:00:00.336) 0:01:07.724 ******** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-5.14.0-570.el9.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-5.14.0-570.el9.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 15 March 2025 08:55:04 -0400 (0:00:00.551) 0:01:08.275 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 15 March 2025 08:55:04 -0400 (0:00:00.019) 0:01:08.295 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 15 March 2025 08:55:04 -0400 (0:00:00.018) 0:01:08.313 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 15 March 2025 08:55:04 -0400 (0:00:00.031) 0:01:08.345 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 15 March 2025 08:55:04 -0400 (0:00:00.032) 0:01:08.377 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 15 March 2025 08:55:04 -0400 (0:00:00.002) 0:01:08.379 ******** 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.131400", "end": "2025-03-15 08:55:04.578934", "rc": 0, "start": "2025-03-15 08:55:04.447534" } STDOUT: args="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-4G:192M,4G-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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 15 March 2025 08:55:04 -0400 (0:00:00.455) 0:01:08.835 ******** included: /tmp/collections-9Pl/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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 15 March 2025 08:55:04 -0400 (0:00:00.014) 0:01:08.850 ******** changed: [managed-node1] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 15 March 2025 08:55:28 -0400 (0:00:24.093) 0:01:32.943 ******** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 15 March 2025 08:55:28 -0400 (0:00:00.012) 0:01:32.956 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 15 March 2025 08:55:28 -0400 (0:00:00.016) 0:01:32.972 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 15 March 2025 08:55:28 -0400 (0:00:00.016) 0:01:32.989 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 15 March 2025 08:55:28 -0400 (0:00:00.052) 0:01:33.041 ******** included: /tmp/collections-9Pl/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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 15 March 2025 08:55:28 -0400 (0:00:00.019) 0:01:33.061 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 15 March 2025 08:55:28 -0400 (0:00:00.034) 0:01:33.096 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 15 March 2025 08:55:28 -0400 (0:00:00.018) 0:01:33.114 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 15 March 2025 08:55:28 -0400 (0:00:00.016) 0:01:33.130 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 15 March 2025 08:55:28 -0400 (0:00:00.030) 0:01:33.161 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 15 March 2025 08:55:28 -0400 (0:00:00.013) 0:01:33.175 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 15 March 2025 08:55:31 -0400 (0:00:02.729) 0:01:35.904 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043304.5781443, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1742043304.5771444, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8906354, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742043304.5771444, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1578754693", "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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 15 March 2025 08:55:32 -0400 (0:00:00.360) 0:01:36.265 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 15 March 2025 08:55:32 -0400 (0:00:00.014) 0:01:36.280 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 15 March 2025 08:55:32 -0400 (0:00:00.012) 0:01:36.292 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 15 March 2025 08:55:32 -0400 (0:00:00.313) 0:01:36.606 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 15 March 2025 08:55:32 -0400 (0:00:00.040) 0:01:36.647 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043304.5781443, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1742043304.5771444, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8906354, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742043304.5771444, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1578754693", "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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 15 March 2025 08:55:32 -0400 (0:00:00.325) 0:01:36.972 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043261.6453276, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dddaeef64efab67085bcc5104bbed0187f9cdd82", "ctime": 1742043256.8413494, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 255852740, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1742043256.8426201, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "141078740", "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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 15 March 2025 08:55:33 -0400 (0:00:00.330) 0:01:37.302 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005496", "end": "2025-03-15 08:55:33.389906", "rc": 0, "start": "2025-03-15 08:55:33.384410" } 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 15 March 2025 08:55:33 -0400 (0:00:00.342) 0:01:37.645 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 15 March 2025 08:55:33 -0400 (0:00:00.033) 0:01:37.679 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 15 March 2025 08:55:33 -0400 (0:00:00.333) 0:01:38.013 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 15 March 2025 08:55:34 -0400 (0:00:00.337) 0:01:38.350 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 15 March 2025 08:55:34 -0400 (0:00:00.319) 0:01:38.669 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 15 March 2025 08:55:34 -0400 (0:00:00.018) 0:01:38.688 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 15 March 2025 08:55:34 -0400 (0:00:00.017) 0:01:38.706 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 15 March 2025 08:55:34 -0400 (0:00:00.031) 0:01:38.737 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "5f0fa843d4364df583ccdea3ad4ae7d7-5.14.0-570.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-570.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-570.el9.x86_64", "root": "UUID=3bab0c2d-5c6e-4933-a866-31df0c09bd8b", "title": "CentOS Stream (5.14.0-570.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "5f0fa843d4364df583ccdea3ad4ae7d7-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-5f0fa843d4364df583ccdea3ad4ae7d7.img", "kernel": "/boot/vmlinuz-0-rescue-5f0fa843d4364df583ccdea3ad4ae7d7", "root": "UUID=3bab0c2d-5c6e-4933-a866-31df0c09bd8b", "title": "CentOS Stream (0-rescue-5f0fa843d4364df583ccdea3ad4ae7d7) 9" }, { "args": "test=kernel", "default": false, "id": "2e3c8991655c417a9f8df294e4a2d17d-5.14.0-570.el9.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-5.14.0-570.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-570.el9.x86_64_clone2", "title": "Clone2" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 15 March 2025 08:55:34 -0400 (0:00:00.468) 0:01:39.206 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 15 March 2025 08:55:35 -0400 (0:00:00.038) 0:01:39.244 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 15 March 2025 08:55:35 -0400 (0:00:00.065) 0:01:39.310 ******** included: /tmp/collections-9Pl/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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 15 March 2025 08:55:35 -0400 (0:00:00.017) 0:01:39.328 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 15 March 2025 08:55:35 -0400 (0:00:00.032) 0:01:39.361 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 15 March 2025 08:55:35 -0400 (0:00:00.021) 0:01:39.382 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 15 March 2025 08:55:35 -0400 (0:00:00.017) 0:01:39.399 ******** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 15 March 2025 08:55:35 -0400 (0:00:00.029) 0:01:39.429 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 15 March 2025 08:55:35 -0400 (0:00:00.011) 0:01:39.440 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 15 March 2025 08:55:36 -0400 (0:00:01.216) 0:01:40.657 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043304.5781443, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1742043304.5771444, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8906354, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742043304.5771444, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1578754693", "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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 15 March 2025 08:55:36 -0400 (0:00:00.325) 0:01:40.983 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 15 March 2025 08:55:36 -0400 (0:00:00.013) 0:01:40.996 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 15 March 2025 08:55:36 -0400 (0:00:00.013) 0:01:41.010 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 15 March 2025 08:55:37 -0400 (0:00:00.310) 0:01:41.321 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 15 March 2025 08:55:37 -0400 (0:00:00.039) 0:01:41.361 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043304.5781443, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1742043304.5771444, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8906354, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742043304.5771444, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1578754693", "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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 15 March 2025 08:55:37 -0400 (0:00:00.327) 0:01:41.689 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742043261.6453276, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dddaeef64efab67085bcc5104bbed0187f9cdd82", "ctime": 1742043256.8413494, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 255852740, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1742043256.8426201, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "141078740", "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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 15 March 2025 08:55:37 -0400 (0:00:00.333) 0:01:42.022 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004350", "end": "2025-03-15 08:55:38.107811", "rc": 0, "start": "2025-03-15 08:55:38.103461" } 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 15 March 2025 08:55:38 -0400 (0:00:00.342) 0:01:42.365 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 15 March 2025 08:55:38 -0400 (0:00:00.039) 0:01:42.404 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 15 March 2025 08:55:38 -0400 (0:00:00.335) 0:01:42.740 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 15 March 2025 08:55:38 -0400 (0:00:00.340) 0:01:43.081 ******** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-5.14.0-570.el9.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 15 March 2025 08:55:39 -0400 (0:00:00.534) 0:01:43.615 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 15 March 2025 08:55:39 -0400 (0:00:00.018) 0:01:43.634 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 15 March 2025 08:55:39 -0400 (0:00:00.017) 0:01:43.652 ******** 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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 15 March 2025 08:55:39 -0400 (0:00:00.032) 0:01:43.684 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "5f0fa843d4364df583ccdea3ad4ae7d7-5.14.0-570.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-570.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-570.el9.x86_64", "root": "UUID=3bab0c2d-5c6e-4933-a866-31df0c09bd8b", "title": "CentOS Stream (5.14.0-570.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "5f0fa843d4364df583ccdea3ad4ae7d7-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-5f0fa843d4364df583ccdea3ad4ae7d7.img", "kernel": "/boot/vmlinuz-0-rescue-5f0fa843d4364df583ccdea3ad4ae7d7", "root": "UUID=3bab0c2d-5c6e-4933-a866-31df0c09bd8b", "title": "CentOS Stream (0-rescue-5f0fa843d4364df583ccdea3ad4ae7d7) 9" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 15 March 2025 08:55:39 -0400 (0:00:00.439) 0:01:44.124 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 15 March 2025 08:55:39 -0400 (0:00:00.041) 0:01:44.165 ******** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-570.el9.x86_64_clone1" ], "delta": "0:00:00.044851", "end": "2025-03-15 08:55:40.280726", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-03-15 08:55:40.235875" } STDERR: The param /boot/vmlinuz-5.14.0-570.el9.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-570.el9.x86_64_clone2" ], "delta": "0:00:00.045083", "end": "2025-03-15 08:55:40.631210", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-03-15 08:55:40.586127" } STDERR: The param /boot/vmlinuz-5.14.0-570.el9.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 15 March 2025 08:55:40 -0400 (0:00:00.722) 0:01:44.888 ******** 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.105813", "end": "2025-03-15 08:55:41.054732", "rc": 0, "start": "2025-03-15 08:55:40.948919" } STDOUT: args="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-4G:192M,4G-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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 15 March 2025 08:55:41 -0400 (0:00:00.424) 0:01:45.312 ******** included: /tmp/collections-9Pl/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-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 15 March 2025 08:55:41 -0400 (0:00:00.015) 0:01:45.327 ******** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 15 March 2025 08:56:04 -0400 (0:00:23.399) 0:02:08.727 ******** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 15 March 2025 08:56:04 -0400 (0:00:00.012) 0:02:08.739 ******** 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 15 March 2025 08:56:04 -0400 (0:00:00.015) 0:02:08.755 ******** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 24.09s /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.54s /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.40s /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 15.88s /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.82s /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.73s /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.07s /tmp/collections-9Pl/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.22s /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.22s /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.19s /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.19s /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.04s /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 0.97s /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.72s /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.57s /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.55s /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.53s /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.53s /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.51s /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.47s /tmp/collections-9Pl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139