ansible-playbook [core 2.17.7] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.13/site-packages/ansible ansible collection location = /tmp/collections-kVd executable location = /usr/local/bin/ansible-playbook python version = 3.13.1 (main, Dec 9 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/usr/bin/python3.13) jinja version = 3.1.5 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-kVd/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-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 25 January 2025 07:53:33 -0500 (0:00:00.008) 0:00:00.008 ****** included: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 25 January 2025 07:53:33 -0500 (0:00:00.015) 0:00:00.024 ****** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3, 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-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 25 January 2025 07:53:35 -0500 (0:00:02.215) 0:00:02.239 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 25 January 2025 07:53:35 -0500 (0:00:00.004) 0:00:02.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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 January 2025 07:53:35 -0500 (0:00:00.042) 0:00:02.286 ****** included: /tmp/collections-kVd/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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 January 2025 07:53:35 -0500 (0:00:00.017) 0:00:02.304 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 January 2025 07:53:35 -0500 (0:00:00.027) 0:00:02.331 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 January 2025 07:53:36 -0500 (0:00:00.460) 0:00:02.792 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 January 2025 07:53:36 -0500 (0:00:00.024) 0:00:02.817 ****** 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 January 2025 07:53:36 -0500 (0:00:00.032) 0:00:02.849 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 25 January 2025 07:53:36 -0500 (0:00:00.013) 0:00:02.862 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 25 January 2025 07:53:47 -0500 (0:00:10.664) 0:00:13.527 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737446595.7674572, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1737446595.7674572, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 139, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737446595.7674572, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1287959488", "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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 25 January 2025 07:53:47 -0500 (0:00:00.426) 0:00:13.954 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 25 January 2025 07:53:47 -0500 (0:00:00.022) 0:00:13.976 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 25 January 2025 07:53:47 -0500 (0:00:00.020) 0:00:13.996 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 25 January 2025 07:53:47 -0500 (0:00:00.381) 0:00:14.377 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 25 January 2025 07:53:48 -0500 (0:00:00.040) 0:00:14.418 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809627.4614499, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1737446595.7674572, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 139, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737446595.7674572, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1287959488", "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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 25 January 2025 07:53:48 -0500 (0:00:00.398) 0:00:14.817 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737438939.628, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "9242a8168215434f058dc10c4a10c1782d8ebec8", "ctime": 1737438939.63, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262172, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737438939.63, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7030, "uid": 0, "version": "470581502", "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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 25 January 2025 07:53:48 -0500 (0:00:00.394) 0:00:15.211 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005235", "end": "2025-01-25 07:53:49.236062", "rc": 0, "start": "2025-01-25 07:53:49.230827" } 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 25 January 2025 07:53:49 -0500 (0:00:00.472) 0:00:15.684 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 25 January 2025 07:53:49 -0500 (0:00:00.029) 0:00:15.713 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 25 January 2025 07:53:49 -0500 (0:00:00.468) 0:00:16.182 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 25 January 2025 07:53:50 -0500 (0:00:00.398) 0:00:16.581 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 25 January 2025 07:53:50 -0500 (0:00:00.462) 0:00:17.043 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 January 2025 07:53:50 -0500 (0:00:00.019) 0:00:17.062 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 25 January 2025 07:53:50 -0500 (0:00:00.023) 0:00:17.086 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 25 January 2025 07:53:50 -0500 (0:00:00.040) 0:00:17.126 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "23bb80f51ed74300a788b30ab6bb9d68-6.12.9-200.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.9-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.9-200.fc41.x86_64", "root": "UUID=dd9c9057-e596-4f1e-b6ca-3d582669504d", "title": "Fedora Linux (6.12.9-200.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "23bb80f51ed74300a788b30ab6bb9d68-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-23bb80f51ed74300a788b30ab6bb9d68.img", "kernel": "/boot/vmlinuz-0-rescue-23bb80f51ed74300a788b30ab6bb9d68", "root": "UUID=dd9c9057-e596-4f1e-b6ca-3d582669504d", "title": "Fedora Linux (0-rescue-23bb80f51ed74300a788b30ab6bb9d68) 41 (Forty One)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 25 January 2025 07:53:51 -0500 (0:00:00.621) 0:00:17.747 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 25 January 2025 07:53:51 -0500 (0:00:00.004) 0:00:17.751 ****** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 25 January 2025 07:53:51 -0500 (0:00:00.001) 0:00:17.753 ****** included: /tmp/collections-kVd/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-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 25 January 2025 07:53:51 -0500 (0:00:00.029) 0:00:17.782 ****** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "23bb80f51ed74300a788b30ab6bb9d68-6.12.9-200.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.9-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.9-200.fc41.x86_64", "root": "UUID=dd9c9057-e596-4f1e-b6ca-3d582669504d", "title": "Fedora Linux (6.12.9-200.fc41.x86_64) 41 (Forty One)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 25 January 2025 07:53:51 -0500 (0:00:00.039) 0:00:17.821 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.9-200.fc41.x86_64', 'dest': '/boot/vmlinuz-6.12.9-200.fc41.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "63b0b83418d7f2dcf9317a6ea3bb18675c4b0347", "dest": "/boot/vmlinuz-6.12.9-200.fc41.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.9-200.fc41.x86_64_clone1", "src": "/boot/vmlinuz-6.12.9-200.fc41.x86_64" }, "md5sum": "4c44f25f0334486c73346f682395a599", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16656744, "src": "/boot/vmlinuz-6.12.9-200.fc41.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.9-200.fc41.x86_64.img', 'dest': '/boot/initramfs-6.12.9-200.fc41.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "3b7e1bed003fc123494187cc3afe260f69ad877e", "dest": "/boot/initramfs-6.12.9-200.fc41.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.9-200.fc41.x86_64.img_clone1", "src": "/boot/initramfs-6.12.9-200.fc41.x86_64.img" }, "md5sum": "c8aab1e69d4712dcb39f320cbed9aeec", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 24582376, "src": "/boot/initramfs-6.12.9-200.fc41.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 25 January 2025 07:53:52 -0500 (0:00:01.242) 0:00:19.064 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 January 2025 07:53:52 -0500 (0:00:00.063) 0:00:19.127 ****** included: /tmp/collections-kVd/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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 January 2025 07:53:52 -0500 (0:00:00.033) 0:00:19.161 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 January 2025 07:53:52 -0500 (0:00:00.049) 0:00:19.210 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 January 2025 07:53:52 -0500 (0:00:00.028) 0:00:19.239 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 January 2025 07:53:52 -0500 (0:00:00.023) 0:00:19.263 ****** 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 January 2025 07:53:52 -0500 (0:00:00.052) 0:00:19.315 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 25 January 2025 07:53:52 -0500 (0:00:00.020) 0:00:19.336 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 25 January 2025 07:53:54 -0500 (0:00:01.326) 0:00:20.662 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809627.4614499, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1737446595.7674572, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 139, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737446595.7674572, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1287959488", "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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 25 January 2025 07:53:54 -0500 (0:00:00.460) 0:00:21.123 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 25 January 2025 07:53:54 -0500 (0:00:00.016) 0:00:21.140 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 25 January 2025 07:53:54 -0500 (0:00:00.013) 0:00:21.153 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 25 January 2025 07:53:55 -0500 (0:00:00.422) 0:00:21.576 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 25 January 2025 07:53:55 -0500 (0:00:00.050) 0:00:21.627 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809627.4614499, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1737446595.7674572, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 139, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737446595.7674572, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "1287959488", "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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 25 January 2025 07:53:55 -0500 (0:00:00.465) 0:00:22.093 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809630.1308863, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "065dfc228de0afc49b0efab3ba817c041541734f", "ctime": 1737809630.1304657, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278691, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737809630.1308877, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "3992591731", "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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 25 January 2025 07:53:56 -0500 (0:00:00.449) 0:00:22.543 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004655", "end": "2025-01-25 07:53:56.502114", "rc": 0, "start": "2025-01-25 07:53:56.497459" } 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 25 January 2025 07:53:56 -0500 (0:00:00.426) 0:00:22.970 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 25 January 2025 07:53:56 -0500 (0:00:00.049) 0:00:23.019 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 25 January 2025 07:53:57 -0500 (0:00:00.430) 0:00:23.450 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 25 January 2025 07:53:57 -0500 (0:00:00.421) 0:00:23.872 ****** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.12.9-200.fc41.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.12.9-200.fc41.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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 25 January 2025 07:53:58 -0500 (0:00:00.636) 0:00:24.508 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 January 2025 07:53:58 -0500 (0:00:00.029) 0:00:24.538 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 25 January 2025 07:53:58 -0500 (0:00:00.027) 0:00:24.566 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 25 January 2025 07:53:58 -0500 (0:00:00.040) 0:00:24.606 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 25 January 2025 07:53:58 -0500 (0:00:00.041) 0:00:24.648 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 25 January 2025 07:53:58 -0500 (0:00:00.002) 0:00:24.651 ****** 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.137068", "end": "2025-01-25 07:53:58.748220", "rc": 0, "start": "2025-01-25 07:53:58.611152" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb 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="crashkernel=auto net.ifnames=0 rhgb 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 crashkernel=auto net.ifnames=0 rhgb 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 25 January 2025 07:53:58 -0500 (0:00:00.572) 0:00:25.224 ****** included: /tmp/collections-kVd/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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 25 January 2025 07:53:58 -0500 (0:00:00.036) 0:00:25.260 ****** changed: [managed-node1] => { "changed": true, "elapsed": 31, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 25 January 2025 07:54:31 -0500 (0:00:32.549) 0:00:57.809 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 25 January 2025 07:54:31 -0500 (0:00:00.013) 0:00:57.823 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 25 January 2025 07:54:31 -0500 (0:00:00.018) 0:00:57.841 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 25 January 2025 07:54:31 -0500 (0:00:00.016) 0:00:57.858 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 January 2025 07:54:31 -0500 (0:00:00.057) 0:00:57.915 ****** included: /tmp/collections-kVd/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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 January 2025 07:54:31 -0500 (0:00:00.019) 0:00:57.935 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 January 2025 07:54:31 -0500 (0:00:00.037) 0:00:57.973 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 January 2025 07:54:31 -0500 (0:00:00.020) 0:00:57.994 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 January 2025 07:54:31 -0500 (0:00:00.020) 0:00:58.014 ****** 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 January 2025 07:54:31 -0500 (0:00:00.033) 0:00:58.048 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 25 January 2025 07:54:31 -0500 (0:00:00.012) 0:00:58.061 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 25 January 2025 07:54:33 -0500 (0:00:02.163) 0:01:00.224 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809638.7475169, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737809638.746517, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809638.746517, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3078293428", "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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 25 January 2025 07:54:34 -0500 (0:00:00.426) 0:01:00.651 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 25 January 2025 07:54:34 -0500 (0:00:00.014) 0:01:00.666 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 25 January 2025 07:54:34 -0500 (0:00:00.014) 0:01:00.680 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 25 January 2025 07:54:34 -0500 (0:00:00.370) 0:01:01.051 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 25 January 2025 07:54:34 -0500 (0:00:00.037) 0:01:01.089 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809638.7475169, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737809638.746517, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809638.746517, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3078293428", "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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 25 January 2025 07:54:35 -0500 (0:00:00.394) 0:01:01.483 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809636.0765011, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "065dfc228de0afc49b0efab3ba817c041541734f", "ctime": 1737809630.1304657, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278691, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737809630.1308877, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "3992591731", "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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 25 January 2025 07:54:35 -0500 (0:00:00.394) 0:01:01.877 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005028", "end": "2025-01-25 07:54:35.830055", "rc": 0, "start": "2025-01-25 07:54:35.825027" } 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 25 January 2025 07:54:35 -0500 (0:00:00.397) 0:01:02.274 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 25 January 2025 07:54:35 -0500 (0:00:00.032) 0:01:02.307 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 25 January 2025 07:54:36 -0500 (0:00:00.396) 0:01:02.703 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 25 January 2025 07:54:36 -0500 (0:00:00.395) 0:01:03.099 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 25 January 2025 07:54:37 -0500 (0:00:00.379) 0:01:03.478 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 January 2025 07:54:37 -0500 (0:00:00.019) 0:01:03.498 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 25 January 2025 07:54:37 -0500 (0:00:00.018) 0:01:03.516 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 25 January 2025 07:54:37 -0500 (0:00:00.028) 0:01:03.544 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "ec225d56042e4a600bae277e5ef8d7f0-6.12.9-200.fc41.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.12.9-200.fc41.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.9-200.fc41.x86_64_clone1", "root": "UUID=dd9c9057-e596-4f1e-b6ca-3d582669504d", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "23bb80f51ed74300a788b30ab6bb9d68-6.12.9-200.fc41.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.9-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.9-200.fc41.x86_64", "root": "UUID=dd9c9057-e596-4f1e-b6ca-3d582669504d", "title": "Fedora Linux (6.12.9-200.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "23bb80f51ed74300a788b30ab6bb9d68-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-23bb80f51ed74300a788b30ab6bb9d68.img", "kernel": "/boot/vmlinuz-0-rescue-23bb80f51ed74300a788b30ab6bb9d68", "root": "UUID=dd9c9057-e596-4f1e-b6ca-3d582669504d", "title": "Fedora Linux (0-rescue-23bb80f51ed74300a788b30ab6bb9d68) 41 (Forty One)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 25 January 2025 07:54:37 -0500 (0:00:00.538) 0:01:04.083 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 25 January 2025 07:54:37 -0500 (0:00:00.042) 0:01:04.125 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 January 2025 07:54:37 -0500 (0:00:00.053) 0:01:04.179 ****** included: /tmp/collections-kVd/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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 January 2025 07:54:37 -0500 (0:00:00.018) 0:01:04.198 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 January 2025 07:54:37 -0500 (0:00:00.028) 0:01:04.227 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 January 2025 07:54:37 -0500 (0:00:00.018) 0:01:04.245 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 January 2025 07:54:37 -0500 (0:00:00.019) 0:01:04.264 ****** 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 January 2025 07:54:37 -0500 (0:00:00.033) 0:01:04.298 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 25 January 2025 07:54:37 -0500 (0:00:00.015) 0:01:04.314 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 25 January 2025 07:54:39 -0500 (0:00:01.288) 0:01:05.602 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809638.7475169, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737809638.746517, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809638.746517, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3078293428", "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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 25 January 2025 07:54:39 -0500 (0:00:00.392) 0:01:05.995 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 25 January 2025 07:54:39 -0500 (0:00:00.015) 0:01:06.010 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 25 January 2025 07:54:39 -0500 (0:00:00.013) 0:01:06.024 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 25 January 2025 07:54:40 -0500 (0:00:00.374) 0:01:06.399 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 25 January 2025 07:54:40 -0500 (0:00:00.036) 0:01:06.436 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809638.7475169, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737809638.746517, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809638.746517, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3078293428", "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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 25 January 2025 07:54:40 -0500 (0:00:00.395) 0:01:06.832 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809636.0765011, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "065dfc228de0afc49b0efab3ba817c041541734f", "ctime": 1737809630.1304657, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278691, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737809630.1308877, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "3992591731", "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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 25 January 2025 07:54:40 -0500 (0:00:00.399) 0:01:07.232 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004633", "end": "2025-01-25 07:54:41.179327", "rc": 0, "start": "2025-01-25 07:54:41.174694" } 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 25 January 2025 07:54:41 -0500 (0:00:00.393) 0:01:07.625 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 25 January 2025 07:54:41 -0500 (0:00:00.030) 0:01:07.655 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 25 January 2025 07:54:41 -0500 (0:00:00.391) 0:01:08.046 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 25 January 2025 07:54:42 -0500 (0:00:00.392) 0:01:08.439 ****** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.12.9-200.fc41.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 25 January 2025 07:54:42 -0500 (0:00:00.622) 0:01:09.061 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 January 2025 07:54:42 -0500 (0:00:00.020) 0:01:09.082 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 25 January 2025 07:54:42 -0500 (0:00:00.025) 0:01:09.108 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 25 January 2025 07:54:42 -0500 (0:00:00.026) 0:01:09.134 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "23bb80f51ed74300a788b30ab6bb9d68-6.12.9-200.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.9-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.9-200.fc41.x86_64", "root": "UUID=dd9c9057-e596-4f1e-b6ca-3d582669504d", "title": "Fedora Linux (6.12.9-200.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "23bb80f51ed74300a788b30ab6bb9d68-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-23bb80f51ed74300a788b30ab6bb9d68.img", "kernel": "/boot/vmlinuz-0-rescue-23bb80f51ed74300a788b30ab6bb9d68", "root": "UUID=dd9c9057-e596-4f1e-b6ca-3d582669504d", "title": "Fedora Linux (0-rescue-23bb80f51ed74300a788b30ab6bb9d68) 41 (Forty One)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 25 January 2025 07:54:43 -0500 (0:00:00.493) 0:01:09.628 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 25 January 2025 07:54:43 -0500 (0:00:00.036) 0:01:09.664 ****** included: /tmp/collections-kVd/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-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 25 January 2025 07:54:43 -0500 (0:00:00.034) 0:01:09.699 ****** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "23bb80f51ed74300a788b30ab6bb9d68-6.12.9-200.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.9-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.9-200.fc41.x86_64", "root": "UUID=dd9c9057-e596-4f1e-b6ca-3d582669504d", "title": "Fedora Linux (6.12.9-200.fc41.x86_64) 41 (Forty One)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 25 January 2025 07:54:43 -0500 (0:00:00.035) 0:01:09.735 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.9-200.fc41.x86_64', 'dest': '/boot/vmlinuz-6.12.9-200.fc41.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "63b0b83418d7f2dcf9317a6ea3bb18675c4b0347", "dest": "/boot/vmlinuz-6.12.9-200.fc41.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.9-200.fc41.x86_64_clone2", "src": "/boot/vmlinuz-6.12.9-200.fc41.x86_64" }, "md5sum": "4c44f25f0334486c73346f682395a599", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16656744, "src": "/boot/vmlinuz-6.12.9-200.fc41.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.9-200.fc41.x86_64.img', 'dest': '/boot/initramfs-6.12.9-200.fc41.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "3b7e1bed003fc123494187cc3afe260f69ad877e", "dest": "/boot/initramfs-6.12.9-200.fc41.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.9-200.fc41.x86_64.img_clone2", "src": "/boot/initramfs-6.12.9-200.fc41.x86_64.img" }, "md5sum": "c8aab1e69d4712dcb39f320cbed9aeec", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 24582376, "src": "/boot/initramfs-6.12.9-200.fc41.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 25 January 2025 07:54:44 -0500 (0:00:01.158) 0:01:10.893 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 January 2025 07:54:44 -0500 (0:00:00.038) 0:01:10.932 ****** included: /tmp/collections-kVd/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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 January 2025 07:54:44 -0500 (0:00:00.019) 0:01:10.952 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 January 2025 07:54:44 -0500 (0:00:00.030) 0:01:10.983 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 January 2025 07:54:44 -0500 (0:00:00.019) 0:01:11.002 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 January 2025 07:54:44 -0500 (0:00:00.018) 0:01:11.021 ****** 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 January 2025 07:54:44 -0500 (0:00:00.033) 0:01:11.054 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 25 January 2025 07:54:44 -0500 (0:00:00.013) 0:01:11.068 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 25 January 2025 07:54:45 -0500 (0:00:01.310) 0:01:12.378 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809638.7475169, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737809638.746517, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809638.746517, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3078293428", "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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 25 January 2025 07:54:46 -0500 (0:00:00.389) 0:01:12.768 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 25 January 2025 07:54:46 -0500 (0:00:00.015) 0:01:12.783 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 25 January 2025 07:54:46 -0500 (0:00:00.014) 0:01:12.797 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 25 January 2025 07:54:46 -0500 (0:00:00.377) 0:01:13.175 ****** ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 25 January 2025 07:54:46 -0500 (0:00:00.038) 0:01:13.213 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809638.7475169, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737809638.746517, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809638.746517, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3078293428", "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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 25 January 2025 07:54:47 -0500 (0:00:00.389) 0:01:13.603 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809636.0765011, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "065dfc228de0afc49b0efab3ba817c041541734f", "ctime": 1737809630.1304657, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278691, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737809630.1308877, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "3992591731", "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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 25 January 2025 07:54:47 -0500 (0:00:00.392) 0:01:13.995 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004747", "end": "2025-01-25 07:54:47.946308", "rc": 0, "start": "2025-01-25 07:54:47.941561" } 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 25 January 2025 07:54:48 -0500 (0:00:00.399) 0:01:14.395 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 25 January 2025 07:54:48 -0500 (0:00:00.034) 0:01:14.429 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 25 January 2025 07:54:48 -0500 (0:00:00.393) 0:01:14.822 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 25 January 2025 07:54:48 -0500 (0:00:00.393) 0:01:15.215 ****** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.12.9-200.fc41.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.12.9-200.fc41.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 25 January 2025 07:54:49 -0500 (0:00:00.607) 0:01:15.823 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 January 2025 07:54:49 -0500 (0:00:00.025) 0:01:15.849 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 25 January 2025 07:54:49 -0500 (0:00:00.019) 0:01:15.868 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 25 January 2025 07:54:49 -0500 (0:00:00.038) 0:01:15.907 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 25 January 2025 07:54:49 -0500 (0:00:00.037) 0:01:15.944 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 25 January 2025 07:54:49 -0500 (0:00:00.001) 0:01:15.946 ****** 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.135866", "end": "2025-01-25 07:54:50.025104", "rc": 0, "start": "2025-01-25 07:54:49.889238" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb 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 crashkernel=auto net.ifnames=0 rhgb 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 crashkernel=auto net.ifnames=0 rhgb 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 25 January 2025 07:54:50 -0500 (0:00:00.524) 0:01:16.471 ****** included: /tmp/collections-kVd/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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 25 January 2025 07:54:50 -0500 (0:00:00.017) 0:01:16.489 ****** changed: [managed-node1] => { "changed": true, "elapsed": 37, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 25 January 2025 07:55:28 -0500 (0:00:38.025) 0:01:54.514 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 25 January 2025 07:55:28 -0500 (0:00:00.013) 0:01:54.528 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 25 January 2025 07:55:28 -0500 (0:00:00.020) 0:01:54.549 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 25 January 2025 07:55:28 -0500 (0:00:00.016) 0:01:54.565 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 January 2025 07:55:28 -0500 (0:00:00.066) 0:01:54.632 ****** included: /tmp/collections-kVd/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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 January 2025 07:55:28 -0500 (0:00:00.020) 0:01:54.652 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 January 2025 07:55:28 -0500 (0:00:00.030) 0:01:54.683 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 January 2025 07:55:28 -0500 (0:00:00.019) 0:01:54.703 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 January 2025 07:55:28 -0500 (0:00:00.018) 0:01:54.721 ****** 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 January 2025 07:55:28 -0500 (0:00:00.040) 0:01:54.762 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 25 January 2025 07:55:28 -0500 (0:00:00.014) 0:01:54.777 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 25 January 2025 07:55:30 -0500 (0:00:02.195) 0:01:56.972 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809690.0234869, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737809690.022487, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809690.022487, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1419694468", "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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 25 January 2025 07:55:31 -0500 (0:00:00.430) 0:01:57.403 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 25 January 2025 07:55:31 -0500 (0:00:00.015) 0:01:57.418 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 25 January 2025 07:55:31 -0500 (0:00:00.013) 0:01:57.432 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 25 January 2025 07:55:31 -0500 (0:00:00.372) 0:01:57.805 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 25 January 2025 07:55:31 -0500 (0:00:00.037) 0:01:57.843 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809690.0234869, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737809690.022487, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809690.022487, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1419694468", "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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 25 January 2025 07:55:31 -0500 (0:00:00.394) 0:01:58.237 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809636.0765011, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "065dfc228de0afc49b0efab3ba817c041541734f", "ctime": 1737809630.1304657, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278691, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737809630.1308877, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "3992591731", "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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 25 January 2025 07:55:32 -0500 (0:00:00.396) 0:01:58.634 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004666", "end": "2025-01-25 07:55:32.581862", "rc": 0, "start": "2025-01-25 07:55:32.577196" } 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 25 January 2025 07:55:32 -0500 (0:00:00.397) 0:01:59.031 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 25 January 2025 07:55:32 -0500 (0:00:00.031) 0:01:59.062 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 25 January 2025 07:55:33 -0500 (0:00:00.394) 0:01:59.457 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 25 January 2025 07:55:33 -0500 (0:00:00.394) 0:01:59.852 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 25 January 2025 07:55:33 -0500 (0:00:00.382) 0:02:00.235 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 January 2025 07:55:33 -0500 (0:00:00.020) 0:02:00.255 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 25 January 2025 07:55:33 -0500 (0:00:00.018) 0:02:00.274 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 25 January 2025 07:55:33 -0500 (0:00:00.025) 0:02:00.300 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec225d56042e4a600bae277e5ef8d7f0-6.12.9-200.fc41.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.12.9-200.fc41.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.12.9-200.fc41.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "23bb80f51ed74300a788b30ab6bb9d68-6.12.9-200.fc41.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.9-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.9-200.fc41.x86_64", "root": "UUID=dd9c9057-e596-4f1e-b6ca-3d582669504d", "title": "Fedora Linux (6.12.9-200.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "23bb80f51ed74300a788b30ab6bb9d68-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-23bb80f51ed74300a788b30ab6bb9d68.img", "kernel": "/boot/vmlinuz-0-rescue-23bb80f51ed74300a788b30ab6bb9d68", "root": "UUID=dd9c9057-e596-4f1e-b6ca-3d582669504d", "title": "Fedora Linux (0-rescue-23bb80f51ed74300a788b30ab6bb9d68) 41 (Forty One)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 25 January 2025 07:55:34 -0500 (0:00:00.536) 0:02:00.837 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 25 January 2025 07:55:34 -0500 (0:00:00.035) 0:02:00.873 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 25 January 2025 07:55:34 -0500 (0:00:00.070) 0:02:00.943 ****** included: /tmp/collections-kVd/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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 25 January 2025 07:55:34 -0500 (0:00:00.018) 0:02:00.962 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 25 January 2025 07:55:34 -0500 (0:00:00.031) 0:02:00.993 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 25 January 2025 07:55:34 -0500 (0:00:00.021) 0:02:01.015 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 25 January 2025 07:55:34 -0500 (0:00:00.018) 0:02:01.034 ****** 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=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 25 January 2025 07:55:34 -0500 (0:00:00.033) 0:02:01.067 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 25 January 2025 07:55:34 -0500 (0:00:00.014) 0:02:01.082 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 25 January 2025 07:55:36 -0500 (0:00:01.325) 0:02:02.407 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809690.0234869, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737809690.022487, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809690.022487, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1419694468", "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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 25 January 2025 07:55:36 -0500 (0:00:00.393) 0:02:02.801 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 25 January 2025 07:55:36 -0500 (0:00:00.016) 0:02:02.817 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 25 January 2025 07:55:36 -0500 (0:00:00.014) 0:02:02.832 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 25 January 2025 07:55:36 -0500 (0:00:00.377) 0:02:03.209 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 25 January 2025 07:55:36 -0500 (0:00:00.038) 0:02:03.247 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809690.0234869, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737809690.022487, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 81, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737809690.022487, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1419694468", "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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 25 January 2025 07:55:37 -0500 (0:00:00.399) 0:02:03.647 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737809636.0765011, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "065dfc228de0afc49b0efab3ba817c041541734f", "ctime": 1737809630.1304657, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278691, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737809630.1308877, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "3992591731", "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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 25 January 2025 07:55:37 -0500 (0:00:00.405) 0:02:04.053 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004854", "end": "2025-01-25 07:55:38.002190", "rc": 0, "start": "2025-01-25 07:55:37.997336" } 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 25 January 2025 07:55:38 -0500 (0:00:00.398) 0:02:04.451 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 25 January 2025 07:55:38 -0500 (0:00:00.032) 0:02:04.484 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 25 January 2025 07:55:38 -0500 (0:00:00.412) 0:02:04.897 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 25 January 2025 07:55:38 -0500 (0:00:00.390) 0:02:05.287 ****** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.12.9-200.fc41.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 25 January 2025 07:55:39 -0500 (0:00:00.609) 0:02:05.897 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 25 January 2025 07:55:39 -0500 (0:00:00.020) 0:02:05.917 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 25 January 2025 07:55:39 -0500 (0:00:00.020) 0:02:05.938 ****** 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 25 January 2025 07:55:39 -0500 (0:00:00.026) 0:02:05.964 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "23bb80f51ed74300a788b30ab6bb9d68-6.12.9-200.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.9-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.9-200.fc41.x86_64", "root": "UUID=dd9c9057-e596-4f1e-b6ca-3d582669504d", "title": "Fedora Linux (6.12.9-200.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "23bb80f51ed74300a788b30ab6bb9d68-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-23bb80f51ed74300a788b30ab6bb9d68.img", "kernel": "/boot/vmlinuz-0-rescue-23bb80f51ed74300a788b30ab6bb9d68", "root": "UUID=dd9c9057-e596-4f1e-b6ca-3d582669504d", "title": "Fedora Linux (0-rescue-23bb80f51ed74300a788b30ab6bb9d68) 41 (Forty One)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 25 January 2025 07:55:40 -0500 (0:00:00.508) 0:02:06.472 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 25 January 2025 07:55:40 -0500 (0:00:00.037) 0:02:06.510 ****** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.9-200.fc41.x86_64_clone1" ], "delta": "0:00:00.045406", "end": "2025-01-25 07:55:40.484488", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-01-25 07:55:40.439082" } STDERR: The param /boot/vmlinuz-6.12.9-200.fc41.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.9-200.fc41.x86_64_clone2" ], "delta": "0:00:00.045522", "end": "2025-01-25 07:55:40.891333", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-01-25 07:55:40.845811" } STDERR: The param /boot/vmlinuz-6.12.9-200.fc41.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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 25 January 2025 07:55:40 -0500 (0:00:00.832) 0:02:07.342 ****** 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.107860", "end": "2025-01-25 07:55:41.377915", "rc": 0, "start": "2025-01-25 07:55:41.270055" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb 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 crashkernel=auto net.ifnames=0 rhgb 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 crashkernel=auto net.ifnames=0 rhgb 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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 25 January 2025 07:55:41 -0500 (0:00:00.484) 0:02:07.827 ****** included: /tmp/collections-kVd/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-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 25 January 2025 07:55:41 -0500 (0:00:00.016) 0:02:07.843 ****** changed: [managed-node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 25 January 2025 07:56:12 -0500 (0:00:31.255) 0:02:39.099 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 25 January 2025 07:56:12 -0500 (0:00:00.014) 0:02:39.113 ****** 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 25 January 2025 07:56:12 -0500 (0:00:00.017) 0:02:39.130 ****** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 38.03s /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 32.55s /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 31.26s /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 10.66s /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.22s /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.20s /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.16s /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.33s /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.33s /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.31s /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.29s /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.24s /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.16s /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.83s /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.64s /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.62s /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.62s /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.61s /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.61s /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.57s /tmp/collections-kVd/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4