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.12/site-packages/ansible ansible collection location = /tmp/collections-o5O executable location = /usr/local/bin/ansible-playbook python version = 3.12.7 (main, Oct 1 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/usr/bin/python3.12) 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-o5O/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-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 18 January 2025 09:25:11 -0500 (0:00:00.008) 0:00:00.008 ****** included: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 18 January 2025 09:25:11 -0500 (0:00:00.014) 0:00:00.022 ****** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 18 January 2025 09:25:14 -0500 (0:00:03.220) 0:00:03.242 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 18 January 2025 09:25:14 -0500 (0:00:00.008) 0:00:03.250 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 18 January 2025 09:25:14 -0500 (0:00:00.072) 0:00:03.323 ****** included: /tmp/collections-o5O/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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 18 January 2025 09:25:14 -0500 (0:00:00.040) 0:00:03.363 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 18 January 2025 09:25:15 -0500 (0:00:00.053) 0:00:03.417 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 18 January 2025 09:25:15 -0500 (0:00:00.583) 0:00:04.000 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 18 January 2025 09:25:15 -0500 (0:00:00.022) 0:00:04.023 ****** 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 18 January 2025 09:25:15 -0500 (0:00:00.035) 0:00:04.059 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 18 January 2025 09:25:15 -0500 (0:00:00.011) 0:00:04.071 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 18 January 2025 09:25:28 -0500 (0:00:12.918) 0:00:16.989 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734692603.6783834, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1734692602.0283833, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 315, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734692602.0283833, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2887187729", "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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 18 January 2025 09:25:29 -0500 (0:00:00.419) 0:00:17.408 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 18 January 2025 09:25:29 -0500 (0:00:00.013) 0:00:17.422 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 18 January 2025 09:25:29 -0500 (0:00:00.012) 0:00:17.435 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 18 January 2025 09:25:29 -0500 (0:00:00.382) 0:00:17.818 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 18 January 2025 09:25:29 -0500 (0:00:00.047) 0:00:17.865 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210328.9202058, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1734692602.0283833, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 315, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734692602.0283833, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2887187729", "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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 18 January 2025 09:25:29 -0500 (0:00:00.400) 0:00:18.266 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734679676.547831, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a797c64534f3c87aa2875f35051c16587ce2a0d4", "ctime": 1734679676.548831, "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": 1734679676.548831, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "838722378", "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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 18 January 2025 09:25:30 -0500 (0:00:00.399) 0:00:18.666 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005349", "end": "2025-01-18 09:25:30.727086", "rc": 0, "start": "2025-01-18 09:25:30.721737" } 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 18 January 2025 09:25:30 -0500 (0:00:00.515) 0:00:19.182 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 18 January 2025 09:25:30 -0500 (0:00:00.036) 0:00:19.218 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 18 January 2025 09:25:31 -0500 (0:00:00.493) 0:00:19.712 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 18 January 2025 09:25:31 -0500 (0:00:00.409) 0:00:20.121 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 18 January 2025 09:25:32 -0500 (0:00:00.479) 0:00:20.601 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 18 January 2025 09:25:32 -0500 (0:00:00.018) 0:00:20.619 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 18 January 2025 09:25:32 -0500 (0:00:00.018) 0:00:20.638 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 18 January 2025 09:25:32 -0500 (0:00:00.031) 0:00:20.670 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "f6b0161b16ba484081e33f1eb6979f3d-6.12.4-100.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.4-100.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-100.fc40.x86_64", "root": "UUID=3b8f3f3c-04e0-475c-a029-4f3419b194d4", "title": "Fedora Linux (6.12.4-100.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "f6b0161b16ba484081e33f1eb6979f3d-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-f6b0161b16ba484081e33f1eb6979f3d.img", "kernel": "/boot/vmlinuz-0-rescue-f6b0161b16ba484081e33f1eb6979f3d", "root": "UUID=3b8f3f3c-04e0-475c-a029-4f3419b194d4", "title": "Fedora Linux (0-rescue-f6b0161b16ba484081e33f1eb6979f3d) 40 (Forty)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 18 January 2025 09:25:32 -0500 (0:00:00.622) 0:00:21.292 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 18 January 2025 09:25:32 -0500 (0:00:00.004) 0:00:21.297 ****** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 18 January 2025 09:25:32 -0500 (0:00:00.001) 0:00:21.298 ****** included: /tmp/collections-o5O/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-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 18 January 2025 09:25:32 -0500 (0:00:00.026) 0:00:21.325 ****** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "f6b0161b16ba484081e33f1eb6979f3d-6.12.4-100.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.4-100.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-100.fc40.x86_64", "root": "UUID=3b8f3f3c-04e0-475c-a029-4f3419b194d4", "title": "Fedora Linux (6.12.4-100.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 18 January 2025 09:25:32 -0500 (0:00:00.040) 0:00:21.365 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.4-100.fc40.x86_64', 'dest': '/boot/vmlinuz-6.12.4-100.fc40.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "9963d7784cd4d94833beed5be875fb66b7da7808", "dest": "/boot/vmlinuz-6.12.4-100.fc40.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.4-100.fc40.x86_64_clone1", "src": "/boot/vmlinuz-6.12.4-100.fc40.x86_64" }, "md5sum": "7fef6cf26c913b797fecc3dddc59e7bd", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16652648, "src": "/boot/vmlinuz-6.12.4-100.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.4-100.fc40.x86_64.img', 'dest': '/boot/initramfs-6.12.4-100.fc40.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "c369b9fd9768ae70fff8faf6ead2f1450b51cf83", "dest": "/boot/initramfs-6.12.4-100.fc40.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.4-100.fc40.x86_64.img_clone1", "src": "/boot/initramfs-6.12.4-100.fc40.x86_64.img" }, "md5sum": "1e656c9c2a802cd97410efc4a9a823ae", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 30642732, "src": "/boot/initramfs-6.12.4-100.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 18 January 2025 09:25:34 -0500 (0:00:01.300) 0:00:22.666 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 18 January 2025 09:25:34 -0500 (0:00:00.038) 0:00:22.704 ****** included: /tmp/collections-o5O/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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 18 January 2025 09:25:34 -0500 (0:00:00.018) 0:00:22.723 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 18 January 2025 09:25:34 -0500 (0:00:00.039) 0:00:22.762 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 18 January 2025 09:25:34 -0500 (0:00:00.020) 0:00:22.782 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 18 January 2025 09:25:34 -0500 (0:00:00.027) 0:00:22.810 ****** 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 18 January 2025 09:25:34 -0500 (0:00:00.036) 0:00:22.847 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 18 January 2025 09:25:34 -0500 (0:00:00.013) 0:00:22.860 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 18 January 2025 09:25:35 -0500 (0:00:01.487) 0:00:24.348 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210328.9202058, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1734692602.0283833, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 315, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734692602.0283833, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2887187729", "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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 18 January 2025 09:25:36 -0500 (0:00:00.401) 0:00:24.750 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 18 January 2025 09:25:36 -0500 (0:00:00.019) 0:00:24.769 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 18 January 2025 09:25:36 -0500 (0:00:00.020) 0:00:24.790 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 18 January 2025 09:25:36 -0500 (0:00:00.406) 0:00:25.196 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 18 January 2025 09:25:36 -0500 (0:00:00.061) 0:00:25.258 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210328.9202058, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1734692602.0283833, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 315, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734692602.0283833, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "2887187729", "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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 18 January 2025 09:25:37 -0500 (0:00:00.431) 0:00:25.690 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210331.6656554, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "579decccbd000e34e5d401132fd2074d28b5d2dc", "ctime": 1737210331.6651194, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280089, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737210331.6656563, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2296960188", "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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 18 January 2025 09:25:37 -0500 (0:00:00.409) 0:00:26.099 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004724", "end": "2025-01-18 09:25:38.090612", "rc": 0, "start": "2025-01-18 09:25:38.085888" } 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 18 January 2025 09:25:38 -0500 (0:00:00.466) 0:00:26.566 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 18 January 2025 09:25:38 -0500 (0:00:00.060) 0:00:26.627 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 18 January 2025 09:25:38 -0500 (0:00:00.465) 0:00:27.092 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 18 January 2025 09:25:39 -0500 (0:00:00.443) 0:00:27.535 ****** 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-100.fc40.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.12.4-100.fc40.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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 18 January 2025 09:25:39 -0500 (0:00:00.667) 0:00:28.203 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 18 January 2025 09:25:39 -0500 (0:00:00.027) 0:00:28.230 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 18 January 2025 09:25:39 -0500 (0:00:00.027) 0:00:28.258 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 18 January 2025 09:25:39 -0500 (0:00:00.042) 0:00:28.300 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 18 January 2025 09:25:39 -0500 (0:00:00.038) 0:00:28.339 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 18 January 2025 09:25:39 -0500 (0:00:00.005) 0:00:28.345 ****** 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.136071", "end": "2025-01-18 09:25:40.427653", "rc": 0, "start": "2025-01-18 09:25:40.291582" } 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 18 January 2025 09:25:40 -0500 (0:00:00.537) 0:00:28.882 ****** included: /tmp/collections-o5O/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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 18 January 2025 09:25:40 -0500 (0:00:00.015) 0:00:28.898 ****** changed: [managed-node1] => { "changed": true, "elapsed": 153, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 18 January 2025 09:28:15 -0500 (0:02:34.965) 0:03:03.863 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 18 January 2025 09:28:15 -0500 (0:00:00.013) 0:03:03.877 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 18 January 2025 09:28:15 -0500 (0:00:00.015) 0:03:03.893 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 18 January 2025 09:28:15 -0500 (0:00:00.015) 0:03:03.908 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 18 January 2025 09:28:15 -0500 (0:00:00.056) 0:03:03.964 ****** included: /tmp/collections-o5O/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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 18 January 2025 09:28:15 -0500 (0:00:00.018) 0:03:03.983 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 18 January 2025 09:28:15 -0500 (0:00:00.033) 0:03:04.016 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 18 January 2025 09:28:15 -0500 (0:00:00.018) 0:03:04.034 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 18 January 2025 09:28:15 -0500 (0:00:00.022) 0:03:04.056 ****** 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 18 January 2025 09:28:15 -0500 (0:00:00.030) 0:03:04.087 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 18 January 2025 09:28:15 -0500 (0:00:00.012) 0:03:04.099 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 18 January 2025 09:28:18 -0500 (0:00:02.672) 0:03:06.772 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210340.4258432, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737210340.4248433, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737210340.4248433, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1069925310", "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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 18 January 2025 09:28:18 -0500 (0:00:00.427) 0:03:07.199 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 18 January 2025 09:28:18 -0500 (0:00:00.015) 0:03:07.214 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 18 January 2025 09:28:18 -0500 (0:00:00.013) 0:03:07.228 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 18 January 2025 09:28:19 -0500 (0:00:00.374) 0:03:07.603 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 18 January 2025 09:28:19 -0500 (0:00:00.040) 0:03:07.644 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210340.4258432, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737210340.4248433, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737210340.4248433, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1069925310", "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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 18 January 2025 09:28:19 -0500 (0:00:00.400) 0:03:08.044 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210337.6239314, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "579decccbd000e34e5d401132fd2074d28b5d2dc", "ctime": 1737210331.6651194, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280089, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737210331.6656563, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2296960188", "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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 18 January 2025 09:28:20 -0500 (0:00:00.405) 0:03:08.450 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004558", "end": "2025-01-18 09:28:20.403882", "rc": 0, "start": "2025-01-18 09:28:20.399324" } 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 18 January 2025 09:28:20 -0500 (0:00:00.408) 0:03:08.859 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 18 January 2025 09:28:20 -0500 (0:00:00.035) 0:03:08.894 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 18 January 2025 09:28:20 -0500 (0:00:00.405) 0:03:09.299 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 18 January 2025 09:28:21 -0500 (0:00:00.402) 0:03:09.702 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 18 January 2025 09:28:21 -0500 (0:00:00.383) 0:03:10.085 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 18 January 2025 09:28:21 -0500 (0:00:00.019) 0:03:10.105 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 18 January 2025 09:28:21 -0500 (0:00:00.023) 0:03:10.129 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 18 January 2025 09:28:21 -0500 (0:00:00.029) 0:03:10.158 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "f6b0161b16ba484081e33f1eb6979f3d-6.12.4-100.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.4-100.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-100.fc40.x86_64", "root": "UUID=3b8f3f3c-04e0-475c-a029-4f3419b194d4", "title": "Fedora Linux (6.12.4-100.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "f6b0161b16ba484081e33f1eb6979f3d-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-f6b0161b16ba484081e33f1eb6979f3d.img", "kernel": "/boot/vmlinuz-0-rescue-f6b0161b16ba484081e33f1eb6979f3d", "root": "UUID=3b8f3f3c-04e0-475c-a029-4f3419b194d4", "title": "Fedora Linux (0-rescue-f6b0161b16ba484081e33f1eb6979f3d) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "ec2faf16cc14e204930912d7cfff2819-6.12.4-100.fc40.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-6.12.4-100.fc40.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.4-100.fc40.x86_64_clone1", "root": "UUID=3b8f3f3c-04e0-475c-a029-4f3419b194d4", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 18 January 2025 09:28:22 -0500 (0:00:00.553) 0:03:10.712 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 18 January 2025 09:28:22 -0500 (0:00:00.042) 0:03:10.754 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 18 January 2025 09:28:22 -0500 (0:00:00.055) 0:03:10.810 ****** included: /tmp/collections-o5O/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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 18 January 2025 09:28:22 -0500 (0:00:00.018) 0:03:10.828 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 18 January 2025 09:28:22 -0500 (0:00:00.034) 0:03:10.863 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 18 January 2025 09:28:22 -0500 (0:00:00.018) 0:03:10.882 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 18 January 2025 09:28:22 -0500 (0:00:00.017) 0:03:10.899 ****** 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 18 January 2025 09:28:22 -0500 (0:00:00.032) 0:03:10.932 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 18 January 2025 09:28:22 -0500 (0:00:00.012) 0:03:10.944 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 18 January 2025 09:28:24 -0500 (0:00:01.477) 0:03:12.422 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210340.4258432, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737210340.4248433, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737210340.4248433, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1069925310", "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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 18 January 2025 09:28:24 -0500 (0:00:00.398) 0:03:12.821 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 18 January 2025 09:28:24 -0500 (0:00:00.013) 0:03:12.834 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 18 January 2025 09:28:24 -0500 (0:00:00.011) 0:03:12.846 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 18 January 2025 09:28:24 -0500 (0:00:00.381) 0:03:13.228 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 18 January 2025 09:28:24 -0500 (0:00:00.041) 0:03:13.270 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210340.4258432, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737210340.4248433, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737210340.4248433, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1069925310", "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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 18 January 2025 09:28:25 -0500 (0:00:00.403) 0:03:13.673 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210337.6239314, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "579decccbd000e34e5d401132fd2074d28b5d2dc", "ctime": 1737210331.6651194, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280089, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737210331.6656563, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2296960188", "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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 18 January 2025 09:28:25 -0500 (0:00:00.408) 0:03:14.082 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004495", "end": "2025-01-18 09:28:26.040771", "rc": 0, "start": "2025-01-18 09:28:26.036276" } 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 18 January 2025 09:28:26 -0500 (0:00:00.414) 0:03:14.496 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 18 January 2025 09:28:26 -0500 (0:00:00.036) 0:03:14.533 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 18 January 2025 09:28:26 -0500 (0:00:00.409) 0:03:14.942 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 18 January 2025 09:28:26 -0500 (0:00:00.407) 0:03:15.349 ****** 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-100.fc40.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 18 January 2025 09:28:27 -0500 (0:00:00.642) 0:03:15.992 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 18 January 2025 09:28:27 -0500 (0:00:00.019) 0:03:16.011 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 18 January 2025 09:28:27 -0500 (0:00:00.017) 0:03:16.028 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 18 January 2025 09:28:27 -0500 (0:00:00.030) 0:03:16.059 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "f6b0161b16ba484081e33f1eb6979f3d-6.12.4-100.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.4-100.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-100.fc40.x86_64", "root": "UUID=3b8f3f3c-04e0-475c-a029-4f3419b194d4", "title": "Fedora Linux (6.12.4-100.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "f6b0161b16ba484081e33f1eb6979f3d-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-f6b0161b16ba484081e33f1eb6979f3d.img", "kernel": "/boot/vmlinuz-0-rescue-f6b0161b16ba484081e33f1eb6979f3d", "root": "UUID=3b8f3f3c-04e0-475c-a029-4f3419b194d4", "title": "Fedora Linux (0-rescue-f6b0161b16ba484081e33f1eb6979f3d) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 18 January 2025 09:28:28 -0500 (0:00:00.509) 0:03:16.568 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 18 January 2025 09:28:28 -0500 (0:00:00.041) 0:03:16.610 ****** included: /tmp/collections-o5O/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-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 18 January 2025 09:28:28 -0500 (0:00:00.033) 0:03:16.643 ****** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "f6b0161b16ba484081e33f1eb6979f3d-6.12.4-100.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.4-100.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-100.fc40.x86_64", "root": "UUID=3b8f3f3c-04e0-475c-a029-4f3419b194d4", "title": "Fedora Linux (6.12.4-100.fc40.x86_64) 40 (Forty)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 18 January 2025 09:28:28 -0500 (0:00:00.039) 0:03:16.683 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.4-100.fc40.x86_64', 'dest': '/boot/vmlinuz-6.12.4-100.fc40.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "9963d7784cd4d94833beed5be875fb66b7da7808", "dest": "/boot/vmlinuz-6.12.4-100.fc40.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.4-100.fc40.x86_64_clone2", "src": "/boot/vmlinuz-6.12.4-100.fc40.x86_64" }, "md5sum": "7fef6cf26c913b797fecc3dddc59e7bd", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16652648, "src": "/boot/vmlinuz-6.12.4-100.fc40.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.4-100.fc40.x86_64.img', 'dest': '/boot/initramfs-6.12.4-100.fc40.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "c369b9fd9768ae70fff8faf6ead2f1450b51cf83", "dest": "/boot/initramfs-6.12.4-100.fc40.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.4-100.fc40.x86_64.img_clone2", "src": "/boot/initramfs-6.12.4-100.fc40.x86_64.img" }, "md5sum": "1e656c9c2a802cd97410efc4a9a823ae", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 30642732, "src": "/boot/initramfs-6.12.4-100.fc40.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 18 January 2025 09:28:29 -0500 (0:00:01.205) 0:03:17.888 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 18 January 2025 09:28:29 -0500 (0:00:00.037) 0:03:17.926 ****** included: /tmp/collections-o5O/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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 18 January 2025 09:28:29 -0500 (0:00:00.030) 0:03:17.957 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 18 January 2025 09:28:29 -0500 (0:00:00.035) 0:03:17.992 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 18 January 2025 09:28:29 -0500 (0:00:00.019) 0:03:18.012 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 18 January 2025 09:28:29 -0500 (0:00:00.016) 0:03:18.029 ****** 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 18 January 2025 09:28:29 -0500 (0:00:00.032) 0:03:18.061 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 18 January 2025 09:28:29 -0500 (0:00:00.013) 0:03:18.074 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 18 January 2025 09:28:31 -0500 (0:00:01.514) 0:03:19.588 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210340.4258432, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737210340.4248433, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737210340.4248433, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1069925310", "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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 18 January 2025 09:28:31 -0500 (0:00:00.400) 0:03:19.989 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 18 January 2025 09:28:31 -0500 (0:00:00.019) 0:03:20.008 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 18 January 2025 09:28:31 -0500 (0:00:00.012) 0:03:20.021 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 18 January 2025 09:28:32 -0500 (0:00:00.386) 0:03:20.408 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 18 January 2025 09:28:32 -0500 (0:00:00.042) 0:03:20.450 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210340.4258432, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737210340.4248433, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737210340.4248433, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1069925310", "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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 18 January 2025 09:28:32 -0500 (0:00:00.398) 0:03:20.848 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210337.6239314, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "579decccbd000e34e5d401132fd2074d28b5d2dc", "ctime": 1737210331.6651194, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280089, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737210331.6656563, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2296960188", "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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 18 January 2025 09:28:32 -0500 (0:00:00.404) 0:03:21.252 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005318", "end": "2025-01-18 09:28:33.206347", "rc": 0, "start": "2025-01-18 09:28:33.201029" } 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 18 January 2025 09:28:33 -0500 (0:00:00.409) 0:03:21.662 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 18 January 2025 09:28:33 -0500 (0:00:00.034) 0:03:21.696 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 18 January 2025 09:28:33 -0500 (0:00:00.407) 0:03:22.103 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 18 January 2025 09:28:34 -0500 (0:00:00.401) 0:03:22.505 ****** 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-100.fc40.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.12.4-100.fc40.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 18 January 2025 09:28:34 -0500 (0:00:00.614) 0:03:23.119 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 18 January 2025 09:28:34 -0500 (0:00:00.019) 0:03:23.139 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 18 January 2025 09:28:34 -0500 (0:00:00.017) 0:03:23.157 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 18 January 2025 09:28:34 -0500 (0:00:00.030) 0:03:23.188 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 18 January 2025 09:28:34 -0500 (0:00:00.030) 0:03:23.218 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 18 January 2025 09:28:34 -0500 (0:00:00.002) 0:03:23.220 ****** 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.136224", "end": "2025-01-18 09:28:35.290446", "rc": 0, "start": "2025-01-18 09:28:35.154222" } 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 18 January 2025 09:28:35 -0500 (0:00:00.526) 0:03:23.747 ****** included: /tmp/collections-o5O/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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 18 January 2025 09:28:35 -0500 (0:00:00.015) 0:03:23.763 ****** changed: [managed-node1] => { "changed": true, "elapsed": 153, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 18 January 2025 09:31:09 -0500 (0:02:34.589) 0:05:58.352 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 18 January 2025 09:31:09 -0500 (0:00:00.014) 0:05:58.366 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 18 January 2025 09:31:09 -0500 (0:00:00.016) 0:05:58.383 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 18 January 2025 09:31:10 -0500 (0:00:00.016) 0:05:58.399 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 18 January 2025 09:31:10 -0500 (0:00:00.058) 0:05:58.457 ****** included: /tmp/collections-o5O/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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 18 January 2025 09:31:10 -0500 (0:00:00.019) 0:05:58.477 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 18 January 2025 09:31:10 -0500 (0:00:00.038) 0:05:58.516 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 18 January 2025 09:31:10 -0500 (0:00:00.018) 0:05:58.534 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 18 January 2025 09:31:10 -0500 (0:00:00.017) 0:05:58.552 ****** 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 18 January 2025 09:31:10 -0500 (0:00:00.031) 0:05:58.584 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 18 January 2025 09:31:10 -0500 (0:00:00.014) 0:05:58.598 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 18 January 2025 09:31:12 -0500 (0:00:02.646) 0:06:01.245 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210515.2889752, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737210515.2889752, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 83, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737210515.2889752, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1895791535", "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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 18 January 2025 09:31:13 -0500 (0:00:00.431) 0:06:01.676 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 18 January 2025 09:31:13 -0500 (0:00:00.015) 0:06:01.692 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 18 January 2025 09:31:13 -0500 (0:00:00.012) 0:06:01.705 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 18 January 2025 09:31:13 -0500 (0:00:00.379) 0:06:02.084 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 18 January 2025 09:31:13 -0500 (0:00:00.042) 0:06:02.127 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210673.177512, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737210515.2889752, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 83, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737210515.2889752, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1895791535", "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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 18 January 2025 09:31:14 -0500 (0:00:00.394) 0:06:02.522 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210337.6239314, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "579decccbd000e34e5d401132fd2074d28b5d2dc", "ctime": 1737210331.6651194, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280089, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737210331.6656563, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2296960188", "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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 18 January 2025 09:31:14 -0500 (0:00:00.404) 0:06:02.926 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004578", "end": "2025-01-18 09:31:14.882839", "rc": 0, "start": "2025-01-18 09:31:14.878261" } 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 18 January 2025 09:31:14 -0500 (0:00:00.409) 0:06:03.336 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 18 January 2025 09:31:14 -0500 (0:00:00.035) 0:06:03.372 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 18 January 2025 09:31:15 -0500 (0:00:00.403) 0:06:03.776 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 18 January 2025 09:31:15 -0500 (0:00:00.405) 0:06:04.181 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 18 January 2025 09:31:16 -0500 (0:00:00.388) 0:06:04.569 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 18 January 2025 09:31:16 -0500 (0:00:00.019) 0:06:04.589 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 18 January 2025 09:31:16 -0500 (0:00:00.017) 0:06:04.607 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 18 January 2025 09:31:16 -0500 (0:00:00.031) 0:06:04.638 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "f6b0161b16ba484081e33f1eb6979f3d-6.12.4-100.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.4-100.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-100.fc40.x86_64", "root": "UUID=3b8f3f3c-04e0-475c-a029-4f3419b194d4", "title": "Fedora Linux (6.12.4-100.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "f6b0161b16ba484081e33f1eb6979f3d-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-f6b0161b16ba484081e33f1eb6979f3d.img", "kernel": "/boot/vmlinuz-0-rescue-f6b0161b16ba484081e33f1eb6979f3d", "root": "UUID=3b8f3f3c-04e0-475c-a029-4f3419b194d4", "title": "Fedora Linux (0-rescue-f6b0161b16ba484081e33f1eb6979f3d) 40 (Forty)" }, { "args": "test=kernel", "default": false, "id": "ec2faf16cc14e204930912d7cfff2819-6.12.4-100.fc40.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-6.12.4-100.fc40.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.12.4-100.fc40.x86_64_clone2", "title": "Clone2" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 18 January 2025 09:31:16 -0500 (0:00:00.542) 0:06:05.181 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 18 January 2025 09:31:16 -0500 (0:00:00.042) 0:06:05.223 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 18 January 2025 09:31:16 -0500 (0:00:00.073) 0:06:05.297 ****** included: /tmp/collections-o5O/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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 18 January 2025 09:31:16 -0500 (0:00:00.019) 0:06:05.316 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 18 January 2025 09:31:16 -0500 (0:00:00.034) 0:06:05.351 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 18 January 2025 09:31:16 -0500 (0:00:00.018) 0:06:05.370 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 18 January 2025 09:31:16 -0500 (0:00:00.016) 0:06:05.386 ****** 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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_40.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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 18 January 2025 09:31:17 -0500 (0:00:00.032) 0:06:05.419 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 18 January 2025 09:31:17 -0500 (0:00:00.013) 0:06:05.432 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 18 January 2025 09:31:18 -0500 (0:00:01.470) 0:06:06.903 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210673.177512, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737210515.2889752, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 83, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737210515.2889752, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1895791535", "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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 18 January 2025 09:31:18 -0500 (0:00:00.399) 0:06:07.302 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 18 January 2025 09:31:18 -0500 (0:00:00.016) 0:06:07.319 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 18 January 2025 09:31:18 -0500 (0:00:00.013) 0:06:07.332 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 18 January 2025 09:31:19 -0500 (0:00:00.376) 0:06:07.709 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 18 January 2025 09:31:19 -0500 (0:00:00.043) 0:06:07.752 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210673.177512, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737210515.2889752, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 83, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737210515.2889752, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1895791535", "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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 18 January 2025 09:31:19 -0500 (0:00:00.400) 0:06:08.153 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210337.6239314, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "579decccbd000e34e5d401132fd2074d28b5d2dc", "ctime": 1737210331.6651194, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280089, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737210331.6656563, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2296960188", "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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 18 January 2025 09:31:20 -0500 (0:00:00.403) 0:06:08.557 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004800", "end": "2025-01-18 09:31:20.516016", "rc": 0, "start": "2025-01-18 09:31:20.511216" } 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 18 January 2025 09:31:20 -0500 (0:00:00.413) 0:06:08.971 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 18 January 2025 09:31:20 -0500 (0:00:00.037) 0:06:09.008 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 18 January 2025 09:31:21 -0500 (0:00:00.411) 0:06:09.420 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 18 January 2025 09:31:21 -0500 (0:00:00.406) 0:06:09.826 ****** 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-100.fc40.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 18 January 2025 09:31:22 -0500 (0:00:00.611) 0:06:10.438 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 18 January 2025 09:31:22 -0500 (0:00:00.021) 0:06:10.459 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 18 January 2025 09:31:22 -0500 (0:00:00.019) 0:06:10.479 ****** 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 18 January 2025 09:31:22 -0500 (0:00:00.032) 0:06:10.511 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "f6b0161b16ba484081e33f1eb6979f3d-6.12.4-100.fc40.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.4-100.fc40.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-100.fc40.x86_64", "root": "UUID=3b8f3f3c-04e0-475c-a029-4f3419b194d4", "title": "Fedora Linux (6.12.4-100.fc40.x86_64) 40 (Forty)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "f6b0161b16ba484081e33f1eb6979f3d-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-f6b0161b16ba484081e33f1eb6979f3d.img", "kernel": "/boot/vmlinuz-0-rescue-f6b0161b16ba484081e33f1eb6979f3d", "root": "UUID=3b8f3f3c-04e0-475c-a029-4f3419b194d4", "title": "Fedora Linux (0-rescue-f6b0161b16ba484081e33f1eb6979f3d) 40 (Forty)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 18 January 2025 09:31:22 -0500 (0:00:00.502) 0:06:11.014 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 18 January 2025 09:31:22 -0500 (0:00:00.041) 0:06:11.055 ****** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.4-100.fc40.x86_64_clone1" ], "delta": "0:00:00.044208", "end": "2025-01-18 09:31:23.034921", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-01-18 09:31:22.990713" } STDERR: The param /boot/vmlinuz-6.12.4-100.fc40.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-100.fc40.x86_64_clone2" ], "delta": "0:00:00.045071", "end": "2025-01-18 09:31:23.455154", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-01-18 09:31:23.410083" } STDERR: The param /boot/vmlinuz-6.12.4-100.fc40.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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 18 January 2025 09:31:23 -0500 (0:00:00.856) 0:06:11.911 ****** 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.106050", "end": "2025-01-18 09:31:23.949870", "rc": 0, "start": "2025-01-18 09:31:23.843820" } 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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 18 January 2025 09:31:24 -0500 (0:00:00.494) 0:06:12.406 ****** included: /tmp/collections-o5O/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-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 18 January 2025 09:31:24 -0500 (0:00:00.015) 0:06:12.421 ****** changed: [managed-node1] => { "changed": true, "elapsed": 153, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 18 January 2025 09:33:58 -0500 (0:02:34.198) 0:08:46.620 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 18 January 2025 09:33:58 -0500 (0:00:00.015) 0:08:46.635 ****** 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 18 January 2025 09:33:58 -0500 (0:00:00.014) 0:08:46.650 ****** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true - 154.97s /tmp/collections-o5O/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 - 154.59s /tmp/collections-o5O/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 - 154.20s /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 12.92s /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 3.22s /tmp/collections-o5O/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.67s /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.65s /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.51s /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.49s /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.48s /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.47s /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.30s /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.21s /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.86s /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.67s /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.64s /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.62s /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.61s /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.61s /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.58s /tmp/collections-o5O/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11