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-n7Z executable location = /usr/local/bin/ansible-playbook python version = 3.13.0 (main, Oct 8 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/usr/bin/python3.13) jinja version = 3.1.4 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-n7Z/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-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 11 January 2025 07:55:05 -0500 (0:00:00.008) 0:00:00.008 ****** included: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 11 January 2025 07:55:05 -0500 (0:00:00.013) 0:00:00.021 ****** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3, 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-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 11 January 2025 07:55:07 -0500 (0:00:02.181) 0:00:02.203 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 11 January 2025 07:55:07 -0500 (0:00:00.004) 0:00:02.208 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 11 January 2025 07:55:07 -0500 (0:00:00.040) 0:00:02.248 ****** included: /tmp/collections-n7Z/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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 11 January 2025 07:55:07 -0500 (0:00:00.018) 0:00:02.267 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 11 January 2025 07:55:07 -0500 (0:00:00.026) 0:00:02.293 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 11 January 2025 07:55:08 -0500 (0:00:00.443) 0:00:02.737 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 11 January 2025 07:55:08 -0500 (0:00:00.022) 0:00:02.760 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 11 January 2025 07:55:08 -0500 (0:00:00.028) 0:00:02.788 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 11 January 2025 07:55:08 -0500 (0:00:00.011) 0:00:02.800 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 11 January 2025 07:55:17 -0500 (0:00:09.175) 0:00:11.975 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734692603.3822188, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1734692601.769219, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734692601.769219, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3922618387", "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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 11 January 2025 07:55:17 -0500 (0:00:00.401) 0:00:12.377 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 11 January 2025 07:55:17 -0500 (0:00:00.013) 0:00:12.391 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 11 January 2025 07:55:17 -0500 (0:00:00.011) 0:00:12.402 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 11 January 2025 07:55:18 -0500 (0:00:00.359) 0:00:12.762 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 11 January 2025 07:55:18 -0500 (0:00:00.038) 0:00:12.800 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600117.65118, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1734692601.769219, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734692601.769219, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3922618387", "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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 11 January 2025 07:55:18 -0500 (0:00:00.378) 0:00:13.179 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734679567.246, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8728a85026144c4dd16412f8b8d5a35eb97741b6", "ctime": 1734679567.248, "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": 1734679567.248, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7030, "uid": 0, "version": "1447502374", "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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 11 January 2025 07:55:18 -0500 (0:00:00.380) 0:00:13.559 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004913", "end": "2025-01-11 07:55:19.321833", "rc": 0, "start": "2025-01-11 07:55:19.316920" } 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 11 January 2025 07:55:19 -0500 (0:00:00.452) 0:00:14.012 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 11 January 2025 07:55:19 -0500 (0:00:00.032) 0:00:14.044 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 11 January 2025 07:55:19 -0500 (0:00:00.452) 0:00:14.497 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 11 January 2025 07:55:20 -0500 (0:00:00.382) 0:00:14.880 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 11 January 2025 07:55:20 -0500 (0:00:00.462) 0:00:15.342 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 11 January 2025 07:55:20 -0500 (0:00:00.018) 0:00:15.361 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 11 January 2025 07:55:20 -0500 (0:00:00.021) 0:00:15.382 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 11 January 2025 07:55:20 -0500 (0:00:00.027) 0:00:15.409 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cfd66fcbc661417a96f56adc7e6ab66f-6.12.4-200.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (6.12.4-200.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "cfd66fcbc661417a96f56adc7e6ab66f-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f.img", "kernel": "/boot/vmlinuz-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (0-rescue-cfd66fcbc661417a96f56adc7e6ab66f) 41 (Forty One)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 11 January 2025 07:55:21 -0500 (0:00:00.561) 0:00:15.971 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 11 January 2025 07:55:21 -0500 (0:00:00.003) 0:00:15.975 ****** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 11 January 2025 07:55:21 -0500 (0:00:00.001) 0:00:15.976 ****** included: /tmp/collections-n7Z/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-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 11 January 2025 07:55:21 -0500 (0:00:00.023) 0:00:16.000 ****** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cfd66fcbc661417a96f56adc7e6ab66f-6.12.4-200.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (6.12.4-200.fc41.x86_64) 41 (Forty One)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 11 January 2025 07:55:21 -0500 (0:00:00.031) 0:00:16.032 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.4-200.fc41.x86_64', 'dest': '/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "5fc5a2c1875c95a256ee1870963635c415ac8612", "dest": "/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone1", "src": "/boot/vmlinuz-6.12.4-200.fc41.x86_64" }, "md5sum": "ab3941bbe1d29930c4f353740ff57387", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16652648, "src": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.4-200.fc41.x86_64.img', 'dest': '/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "39fa97306e2f913caf9992c8cf8ca73ab9a41baa", "dest": "/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone1", "src": "/boot/initramfs-6.12.4-200.fc41.x86_64.img" }, "md5sum": "23f7099ebd3366d88dca7e4d6a160d78", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 27753016, "src": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 11 January 2025 07:55:22 -0500 (0:00:01.193) 0:00:17.225 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 11 January 2025 07:55:22 -0500 (0:00:00.036) 0:00:17.262 ****** included: /tmp/collections-n7Z/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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 11 January 2025 07:55:22 -0500 (0:00:00.018) 0:00:17.280 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 11 January 2025 07:55:22 -0500 (0:00:00.026) 0:00:17.306 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 11 January 2025 07:55:22 -0500 (0:00:00.017) 0:00:17.323 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 11 January 2025 07:55:22 -0500 (0:00:00.016) 0:00:17.340 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 11 January 2025 07:55:22 -0500 (0:00:00.029) 0:00:17.369 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 11 January 2025 07:55:22 -0500 (0:00:00.011) 0:00:17.380 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 11 January 2025 07:55:23 -0500 (0:00:01.217) 0:00:18.598 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600117.65118, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1734692601.769219, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734692601.769219, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3922618387", "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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 11 January 2025 07:55:24 -0500 (0:00:00.373) 0:00:18.971 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 11 January 2025 07:55:24 -0500 (0:00:00.015) 0:00:18.987 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 11 January 2025 07:55:24 -0500 (0:00:00.012) 0:00:19.000 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 11 January 2025 07:55:24 -0500 (0:00:00.361) 0:00:19.361 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 11 January 2025 07:55:24 -0500 (0:00:00.034) 0:00:19.396 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600117.65118, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1734692601.769219, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734692601.769219, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3922618387", "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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 11 January 2025 07:55:25 -0500 (0:00:00.377) 0:00:19.773 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600120.1907113, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b729d8c7232b61b9ed71a57320efdc572b4952b3", "ctime": 1736600120.1891994, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278666, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1736600120.1907127, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "4176238422", "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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 11 January 2025 07:55:25 -0500 (0:00:00.378) 0:00:20.152 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004627", "end": "2025-01-11 07:55:25.845832", "rc": 0, "start": "2025-01-11 07:55:25.841205" } 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 11 January 2025 07:55:25 -0500 (0:00:00.381) 0:00:20.533 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 11 January 2025 07:55:25 -0500 (0:00:00.028) 0:00:20.562 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 11 January 2025 07:55:26 -0500 (0:00:00.376) 0:00:20.939 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 11 January 2025 07:55:26 -0500 (0:00:00.378) 0:00:21.317 ****** 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.4-200.fc41.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.12.4-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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 11 January 2025 07:55:27 -0500 (0:00:00.585) 0:00:21.902 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 11 January 2025 07:55:27 -0500 (0:00:00.017) 0:00:21.920 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 11 January 2025 07:55:27 -0500 (0:00:00.017) 0:00:21.937 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 11 January 2025 07:55:27 -0500 (0:00:00.024) 0:00:21.961 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 11 January 2025 07:55:27 -0500 (0:00:00.025) 0:00:21.987 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 11 January 2025 07:55:27 -0500 (0:00:00.002) 0:00:21.989 ****** 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.134340", "end": "2025-01-11 07:55:27.807657", "rc": 0, "start": "2025-01-11 07:55:27.673317" } 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 11 January 2025 07:55:27 -0500 (0:00:00.510) 0:00:22.500 ****** included: /tmp/collections-n7Z/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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 11 January 2025 07:55:27 -0500 (0:00:00.018) 0:00:22.518 ****** changed: [managed-node1] => { "changed": true, "elapsed": 152, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 11 January 2025 07:58:01 -0500 (0:02:33.282) 0:02:55.800 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 11 January 2025 07:58:01 -0500 (0:00:00.013) 0:02:55.813 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 11 January 2025 07:58:01 -0500 (0:00:00.015) 0:02:55.829 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 11 January 2025 07:58:01 -0500 (0:00:00.015) 0:02:55.845 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 11 January 2025 07:58:01 -0500 (0:00:00.053) 0:02:55.898 ****** included: /tmp/collections-n7Z/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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 11 January 2025 07:58:01 -0500 (0:00:00.017) 0:02:55.916 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 11 January 2025 07:58:01 -0500 (0:00:00.027) 0:02:55.944 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 11 January 2025 07:58:01 -0500 (0:00:00.018) 0:02:55.962 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 11 January 2025 07:58:01 -0500 (0:00:00.017) 0:02:55.980 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 11 January 2025 07:58:01 -0500 (0:00:00.031) 0:02:56.011 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 11 January 2025 07:58:01 -0500 (0:00:00.011) 0:02:56.023 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 11 January 2025 07:58:03 -0500 (0:00:02.060) 0:02:58.083 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600127.8062577, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1736600127.8052578, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1736600127.8052578, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1017210623", "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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 11 January 2025 07:58:03 -0500 (0:00:00.405) 0:02:58.489 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 11 January 2025 07:58:03 -0500 (0:00:00.014) 0:02:58.504 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 11 January 2025 07:58:03 -0500 (0:00:00.012) 0:02:58.517 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 11 January 2025 07:58:04 -0500 (0:00:00.354) 0:02:58.871 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 11 January 2025 07:58:04 -0500 (0:00:00.034) 0:02:58.906 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600127.8062577, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1736600127.8052578, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1736600127.8052578, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1017210623", "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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 11 January 2025 07:58:04 -0500 (0:00:00.377) 0:02:59.284 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600125.4462397, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b729d8c7232b61b9ed71a57320efdc572b4952b3", "ctime": 1736600120.1891994, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278666, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1736600120.1907127, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "4176238422", "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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 11 January 2025 07:58:05 -0500 (0:00:00.383) 0:02:59.668 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004584", "end": "2025-01-11 07:58:05.364765", "rc": 0, "start": "2025-01-11 07:58:05.360181" } 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 11 January 2025 07:58:05 -0500 (0:00:00.383) 0:03:00.051 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 11 January 2025 07:58:05 -0500 (0:00:00.029) 0:03:00.080 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 11 January 2025 07:58:05 -0500 (0:00:00.386) 0:03:00.467 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 11 January 2025 07:58:06 -0500 (0:00:00.375) 0:03:00.842 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 11 January 2025 07:58:06 -0500 (0:00:00.366) 0:03:01.208 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 11 January 2025 07:58:06 -0500 (0:00:00.018) 0:03:01.227 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 11 January 2025 07:58:06 -0500 (0:00:00.017) 0:03:01.244 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 11 January 2025 07:58:06 -0500 (0:00:00.023) 0:03:01.267 ****** 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": "ec2f6c75a55fdae566f2264a27a3eba6-6.12.4-200.fc41.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone1", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cfd66fcbc661417a96f56adc7e6ab66f-6.12.4-200.fc41.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (6.12.4-200.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "cfd66fcbc661417a96f56adc7e6ab66f-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f.img", "kernel": "/boot/vmlinuz-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (0-rescue-cfd66fcbc661417a96f56adc7e6ab66f) 41 (Forty One)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 11 January 2025 07:58:07 -0500 (0:00:00.524) 0:03:01.792 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 11 January 2025 07:58:07 -0500 (0:00:00.042) 0:03:01.834 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 11 January 2025 07:58:07 -0500 (0:00:00.053) 0:03:01.888 ****** included: /tmp/collections-n7Z/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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 11 January 2025 07:58:07 -0500 (0:00:00.017) 0:03:01.906 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 11 January 2025 07:58:07 -0500 (0:00:00.028) 0:03:01.934 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 11 January 2025 07:58:07 -0500 (0:00:00.017) 0:03:01.951 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 11 January 2025 07:58:07 -0500 (0:00:00.017) 0:03:01.969 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 11 January 2025 07:58:07 -0500 (0:00:00.030) 0:03:02.000 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 11 January 2025 07:58:07 -0500 (0:00:00.013) 0:03:02.014 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 11 January 2025 07:58:08 -0500 (0:00:01.231) 0:03:03.245 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600127.8062577, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1736600127.8052578, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1736600127.8052578, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1017210623", "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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 11 January 2025 07:58:08 -0500 (0:00:00.371) 0:03:03.617 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 11 January 2025 07:58:08 -0500 (0:00:00.013) 0:03:03.631 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 11 January 2025 07:58:09 -0500 (0:00:00.012) 0:03:03.644 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 11 January 2025 07:58:09 -0500 (0:00:00.360) 0:03:04.004 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 11 January 2025 07:58:09 -0500 (0:00:00.035) 0:03:04.040 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600127.8062577, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1736600127.8052578, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1736600127.8052578, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1017210623", "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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 11 January 2025 07:58:09 -0500 (0:00:00.378) 0:03:04.418 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600125.4462397, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b729d8c7232b61b9ed71a57320efdc572b4952b3", "ctime": 1736600120.1891994, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278666, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1736600120.1907127, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "4176238422", "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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 11 January 2025 07:58:10 -0500 (0:00:00.376) 0:03:04.795 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004661", "end": "2025-01-11 07:58:10.492136", "rc": 0, "start": "2025-01-11 07:58:10.487475" } 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 11 January 2025 07:58:10 -0500 (0:00:00.383) 0:03:05.178 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 11 January 2025 07:58:10 -0500 (0:00:00.030) 0:03:05.209 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 11 January 2025 07:58:10 -0500 (0:00:00.382) 0:03:05.591 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 11 January 2025 07:58:11 -0500 (0:00:00.372) 0:03:05.964 ****** 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.4-200.fc41.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 11 January 2025 07:58:11 -0500 (0:00:00.608) 0:03:06.573 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 11 January 2025 07:58:11 -0500 (0:00:00.019) 0:03:06.593 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 11 January 2025 07:58:11 -0500 (0:00:00.017) 0:03:06.610 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 11 January 2025 07:58:12 -0500 (0:00:00.025) 0:03:06.636 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cfd66fcbc661417a96f56adc7e6ab66f-6.12.4-200.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (6.12.4-200.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "cfd66fcbc661417a96f56adc7e6ab66f-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f.img", "kernel": "/boot/vmlinuz-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (0-rescue-cfd66fcbc661417a96f56adc7e6ab66f) 41 (Forty One)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 11 January 2025 07:58:12 -0500 (0:00:00.477) 0:03:07.113 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 11 January 2025 07:58:12 -0500 (0:00:00.035) 0:03:07.148 ****** included: /tmp/collections-n7Z/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-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 11 January 2025 07:58:12 -0500 (0:00:00.031) 0:03:07.179 ****** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cfd66fcbc661417a96f56adc7e6ab66f-6.12.4-200.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (6.12.4-200.fc41.x86_64) 41 (Forty One)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 11 January 2025 07:58:12 -0500 (0:00:00.033) 0:03:07.213 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.4-200.fc41.x86_64', 'dest': '/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "5fc5a2c1875c95a256ee1870963635c415ac8612", "dest": "/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone2", "src": "/boot/vmlinuz-6.12.4-200.fc41.x86_64" }, "md5sum": "ab3941bbe1d29930c4f353740ff57387", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16652648, "src": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.4-200.fc41.x86_64.img', 'dest': '/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "39fa97306e2f913caf9992c8cf8ca73ab9a41baa", "dest": "/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone2", "src": "/boot/initramfs-6.12.4-200.fc41.x86_64.img" }, "md5sum": "23f7099ebd3366d88dca7e4d6a160d78", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 27753016, "src": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 11 January 2025 07:58:13 -0500 (0:00:01.130) 0:03:08.343 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 11 January 2025 07:58:13 -0500 (0:00:00.036) 0:03:08.380 ****** included: /tmp/collections-n7Z/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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 11 January 2025 07:58:13 -0500 (0:00:00.019) 0:03:08.400 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 11 January 2025 07:58:13 -0500 (0:00:00.027) 0:03:08.428 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 11 January 2025 07:58:13 -0500 (0:00:00.018) 0:03:08.446 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 11 January 2025 07:58:13 -0500 (0:00:00.016) 0:03:08.463 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 11 January 2025 07:58:13 -0500 (0:00:00.030) 0:03:08.493 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 11 January 2025 07:58:13 -0500 (0:00:00.012) 0:03:08.506 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 11 January 2025 07:58:15 -0500 (0:00:01.229) 0:03:09.736 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600127.8062577, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1736600127.8052578, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1736600127.8052578, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1017210623", "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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 11 January 2025 07:58:15 -0500 (0:00:00.377) 0:03:10.113 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 11 January 2025 07:58:15 -0500 (0:00:00.014) 0:03:10.128 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 11 January 2025 07:58:15 -0500 (0:00:00.012) 0:03:10.141 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 11 January 2025 07:58:15 -0500 (0:00:00.363) 0:03:10.504 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 11 January 2025 07:58:15 -0500 (0:00:00.035) 0:03:10.539 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600127.8062577, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1736600127.8052578, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1736600127.8052578, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1017210623", "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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 11 January 2025 07:58:16 -0500 (0:00:00.378) 0:03:10.917 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600125.4462397, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b729d8c7232b61b9ed71a57320efdc572b4952b3", "ctime": 1736600120.1891994, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278666, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1736600120.1907127, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "4176238422", "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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 11 January 2025 07:58:16 -0500 (0:00:00.383) 0:03:11.301 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004410", "end": "2025-01-11 07:58:17.000044", "rc": 0, "start": "2025-01-11 07:58:16.995634" } 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 11 January 2025 07:58:17 -0500 (0:00:00.384) 0:03:11.686 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 11 January 2025 07:58:17 -0500 (0:00:00.029) 0:03:11.716 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 11 January 2025 07:58:17 -0500 (0:00:00.380) 0:03:12.096 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 11 January 2025 07:58:17 -0500 (0:00:00.378) 0:03:12.474 ****** 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.4-200.fc41.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.12.4-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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 11 January 2025 07:58:18 -0500 (0:00:00.587) 0:03:13.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 : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 11 January 2025 07:58:18 -0500 (0:00:00.021) 0:03:13.083 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 11 January 2025 07:58:18 -0500 (0:00:00.017) 0:03:13.100 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 11 January 2025 07:58:18 -0500 (0:00:00.024) 0:03:13.125 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 11 January 2025 07:58:18 -0500 (0:00:00.025) 0:03:13.150 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 11 January 2025 07:58:18 -0500 (0:00:00.001) 0:03:13.152 ****** 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.134751", "end": "2025-01-11 07:58:18.967889", "rc": 0, "start": "2025-01-11 07:58:18.833138" } 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 11 January 2025 07:58:19 -0500 (0:00:00.503) 0:03:13.656 ****** included: /tmp/collections-n7Z/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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 11 January 2025 07:58:19 -0500 (0:00:00.014) 0:03:13.670 ****** changed: [managed-node1] => { "changed": true, "elapsed": 140, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 11 January 2025 08:00:40 -0500 (0:02:21.408) 0:05:35.079 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 11 January 2025 08:00:40 -0500 (0:00:00.013) 0:05:35.092 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 11 January 2025 08:00:40 -0500 (0:00:00.019) 0:05:35.111 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 11 January 2025 08:00:40 -0500 (0:00:00.015) 0:05:35.127 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 11 January 2025 08:00:40 -0500 (0:00:00.054) 0:05:35.182 ****** included: /tmp/collections-n7Z/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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 11 January 2025 08:00:40 -0500 (0:00:00.018) 0:05:35.200 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 11 January 2025 08:00:40 -0500 (0:00:00.028) 0:05:35.228 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 11 January 2025 08:00:40 -0500 (0:00:00.017) 0:05:35.246 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 11 January 2025 08:00:40 -0500 (0:00:00.018) 0:05:35.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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 11 January 2025 08:00:40 -0500 (0:00:00.031) 0:05:35.296 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 11 January 2025 08:00:40 -0500 (0:00:00.012) 0:05:35.309 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 11 January 2025 08:00:42 -0500 (0:00:02.087) 0:05:37.397 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600298.9664848, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1736600298.9654846, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 85, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1736600298.9654846, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4095448245", "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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 11 January 2025 08:00:43 -0500 (0:00:00.401) 0:05:37.798 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 11 January 2025 08:00:43 -0500 (0:00:00.014) 0:05:37.813 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 11 January 2025 08:00:43 -0500 (0:00:00.013) 0:05:37.826 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 11 January 2025 08:00:43 -0500 (0:00:00.359) 0:05:38.186 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 11 January 2025 08:00:43 -0500 (0:00:00.036) 0:05:38.222 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600298.9664848, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1736600298.9654846, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 85, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1736600298.9654846, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4095448245", "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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 11 January 2025 08:00:43 -0500 (0:00:00.381) 0:05:38.603 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600125.4462397, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b729d8c7232b61b9ed71a57320efdc572b4952b3", "ctime": 1736600120.1891994, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278666, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1736600120.1907127, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "4176238422", "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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 11 January 2025 08:00:44 -0500 (0:00:00.381) 0:05:38.985 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005032", "end": "2025-01-11 08:00:44.506913", "rc": 0, "start": "2025-01-11 08:00:44.501881" } 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 11 January 2025 08:00:44 -0500 (0:00:00.381) 0:05:39.366 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 11 January 2025 08:00:44 -0500 (0:00:00.030) 0:05:39.397 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 11 January 2025 08:00:45 -0500 (0:00:00.378) 0:05:39.775 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 11 January 2025 08:00:45 -0500 (0:00:00.377) 0:05:40.153 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 11 January 2025 08:00:45 -0500 (0:00:00.366) 0:05:40.520 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 11 January 2025 08:00:45 -0500 (0:00:00.018) 0:05:40.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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 11 January 2025 08:00:45 -0500 (0:00:00.017) 0:05:40.556 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 11 January 2025 08:00:45 -0500 (0:00:00.025) 0:05:40.581 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec2f6c75a55fdae566f2264a27a3eba6-6.12.4-200.fc41.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cfd66fcbc661417a96f56adc7e6ab66f-6.12.4-200.fc41.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (6.12.4-200.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "cfd66fcbc661417a96f56adc7e6ab66f-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f.img", "kernel": "/boot/vmlinuz-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (0-rescue-cfd66fcbc661417a96f56adc7e6ab66f) 41 (Forty One)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 11 January 2025 08:00:46 -0500 (0:00:00.517) 0:05:41.098 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 11 January 2025 08:00:46 -0500 (0:00:00.034) 0:05:41.133 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 11 January 2025 08:00:46 -0500 (0:00:00.066) 0:05:41.199 ****** included: /tmp/collections-n7Z/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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 11 January 2025 08:00:46 -0500 (0:00:00.018) 0:05:41.217 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 11 January 2025 08:00:46 -0500 (0:00:00.028) 0:05:41.246 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 11 January 2025 08:00:46 -0500 (0:00:00.019) 0:05:41.265 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 11 January 2025 08:00:46 -0500 (0:00:00.016) 0:05:41.282 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 11 January 2025 08:00:46 -0500 (0:00:00.030) 0:05:41.312 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 11 January 2025 08:00:46 -0500 (0:00:00.012) 0:05:41.325 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 11 January 2025 08:00:47 -0500 (0:00:01.234) 0:05:42.560 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600298.9664848, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1736600298.9654846, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 85, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1736600298.9654846, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4095448245", "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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 11 January 2025 08:00:48 -0500 (0:00:00.380) 0:05:42.941 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 11 January 2025 08:00:48 -0500 (0:00:00.020) 0:05:42.961 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 11 January 2025 08:00:48 -0500 (0:00:00.012) 0:05:42.974 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 11 January 2025 08:00:48 -0500 (0:00:00.358) 0:05:43.332 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 11 January 2025 08:00:48 -0500 (0:00:00.036) 0:05:43.369 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600298.9664848, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1736600298.9654846, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 85, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1736600298.9654846, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "4095448245", "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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 11 January 2025 08:00:49 -0500 (0:00:00.378) 0:05:43.747 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600125.4462397, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b729d8c7232b61b9ed71a57320efdc572b4952b3", "ctime": 1736600120.1891994, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278666, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1736600120.1907127, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "4176238422", "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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 11 January 2025 08:00:49 -0500 (0:00:00.383) 0:05:44.130 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004838", "end": "2025-01-11 08:00:49.824972", "rc": 0, "start": "2025-01-11 08:00:49.820134" } 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 11 January 2025 08:00:49 -0500 (0:00:00.380) 0:05:44.511 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 11 January 2025 08:00:49 -0500 (0:00:00.029) 0:05:44.540 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 11 January 2025 08:00:50 -0500 (0:00:00.378) 0:05:44.919 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 11 January 2025 08:00:50 -0500 (0:00:00.383) 0:05:45.303 ****** 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.4-200.fc41.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 11 January 2025 08:00:51 -0500 (0:00:00.598) 0:05:45.901 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 11 January 2025 08:00:51 -0500 (0:00:00.019) 0:05:45.921 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 11 January 2025 08:00:51 -0500 (0:00:00.018) 0:05:45.939 ****** 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 11 January 2025 08:00:51 -0500 (0:00:00.025) 0:05:45.964 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cfd66fcbc661417a96f56adc7e6ab66f-6.12.4-200.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (6.12.4-200.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "cfd66fcbc661417a96f56adc7e6ab66f-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f.img", "kernel": "/boot/vmlinuz-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (0-rescue-cfd66fcbc661417a96f56adc7e6ab66f) 41 (Forty One)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 11 January 2025 08:00:51 -0500 (0:00:00.486) 0:05:46.450 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 11 January 2025 08:00:51 -0500 (0:00:00.035) 0:05:46.486 ****** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone1" ], "delta": "0:00:00.045588", "end": "2025-01-11 08:00:52.208870", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-01-11 08:00:52.163282" } STDERR: The param /boot/vmlinuz-6.12.4-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.4-200.fc41.x86_64_clone2" ], "delta": "0:00:00.045357", "end": "2025-01-11 08:00:52.601064", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-01-11 08:00:52.555707" } STDERR: The param /boot/vmlinuz-6.12.4-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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 11 January 2025 08:00:52 -0500 (0:00:00.804) 0:05:47.290 ****** 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.106552", "end": "2025-01-11 08:00:53.071882", "rc": 0, "start": "2025-01-11 08:00:52.965330" } 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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 11 January 2025 08:00:53 -0500 (0:00:00.470) 0:05:47.760 ****** included: /tmp/collections-n7Z/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-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 11 January 2025 08:00:53 -0500 (0:00:00.015) 0:05:47.776 ****** changed: [managed-node1] => { "changed": true, "elapsed": 153, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 11 January 2025 08:03:27 -0500 (0:02:34.291) 0:08:22.067 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 11 January 2025 08:03:27 -0500 (0:00:00.013) 0:08:22.080 ****** 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 11 January 2025 08:03:27 -0500 (0:00:00.017) 0:08:22.097 ****** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true - 154.29s /tmp/collections-n7Z/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 - 153.28s /tmp/collections-n7Z/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 - 141.41s /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 9.18s /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.18s /tmp/collections-n7Z/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.09s /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.06s /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.23s /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.23s /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.23s /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.22s /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.19s /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.13s /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.80s /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.61s /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.59s /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.59s /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.56s /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.52s /tmp/collections-n7Z/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139