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-1Xl 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-1Xl/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-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 04 January 2025 07:53:50 -0500 (0:00:00.007) 0:00:00.007 ****** included: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 04 January 2025 07:53:50 -0500 (0:00:00.013) 0:00:00.021 ****** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.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-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 04 January 2025 07:53:53 -0500 (0:00:02.843) 0:00:02.865 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 04 January 2025 07:53:53 -0500 (0:00:00.004) 0:00:02.869 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 January 2025 07:53:53 -0500 (0:00:00.054) 0:00:02.924 ****** included: /tmp/collections-1Xl/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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 January 2025 07:53:53 -0500 (0:00:00.016) 0:00:02.941 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 January 2025 07:53:53 -0500 (0:00:00.032) 0:00:02.974 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 January 2025 07:53:54 -0500 (0:00:00.532) 0:00:03.506 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 January 2025 07:53:54 -0500 (0:00:00.033) 0:00:03.540 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 January 2025 07:53:54 -0500 (0:00:00.045) 0:00:03.586 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 04 January 2025 07:53:54 -0500 (0:00:00.016) 0:00:03.603 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 04 January 2025 07:54:07 -0500 (0:00:12.806) 0:00:16.409 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 04 January 2025 07:54:07 -0500 (0:00:00.411) 0:00:16.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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 04 January 2025 07:54:07 -0500 (0:00:00.013) 0:00:16.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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 04 January 2025 07:54:07 -0500 (0:00:00.011) 0:00:16.846 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 04 January 2025 07:54:07 -0500 (0:00:00.369) 0:00:17.216 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 04 January 2025 07:54:07 -0500 (0:00:00.038) 0:00:17.254 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735995247.393291, "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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 04 January 2025 07:54:08 -0500 (0:00:00.390) 0:00:17.645 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 04 January 2025 07:54:08 -0500 (0:00:00.409) 0:00:18.055 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004800", "end": "2025-01-04 07:54:09.164291", "rc": 0, "start": "2025-01-04 07:54:09.159491" } 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 04 January 2025 07:54:09 -0500 (0:00:00.507) 0:00:18.562 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 04 January 2025 07:54:09 -0500 (0:00:00.037) 0:00:18.600 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 04 January 2025 07:54:09 -0500 (0:00:00.495) 0:00:19.095 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 04 January 2025 07:54:10 -0500 (0:00:00.396) 0:00:19.492 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 04 January 2025 07:54:10 -0500 (0:00:00.472) 0:00:19.965 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 04 January 2025 07:54:10 -0500 (0:00:00.026) 0:00:19.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 : Remove boot loader password configuration] *** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 04 January 2025 07:54:10 -0500 (0:00:00.025) 0:00:20.018 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 04 January 2025 07:54:10 -0500 (0:00:00.047) 0:00:20.065 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 04 January 2025 07:54:11 -0500 (0:00:00.604) 0:00:20.669 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 04 January 2025 07:54:11 -0500 (0:00:00.004) 0:00:20.673 ****** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 04 January 2025 07:54:11 -0500 (0:00:00.001) 0:00:20.675 ****** included: /tmp/collections-1Xl/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-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 04 January 2025 07:54:11 -0500 (0:00:00.025) 0:00:20.700 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 04 January 2025 07:54:11 -0500 (0:00:00.036) 0:00:20.737 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 04 January 2025 07:54:12 -0500 (0:00:01.389) 0:00:22.126 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 January 2025 07:54:12 -0500 (0:00:00.071) 0:00:22.198 ****** included: /tmp/collections-1Xl/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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 January 2025 07:54:12 -0500 (0:00:00.041) 0:00:22.240 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 January 2025 07:54:12 -0500 (0:00:00.058) 0:00:22.298 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 January 2025 07:54:12 -0500 (0:00:00.029) 0:00:22.328 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 January 2025 07:54:13 -0500 (0:00:00.023) 0:00:22.351 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 January 2025 07:54:13 -0500 (0:00:00.079) 0:00:22.431 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 04 January 2025 07:54:13 -0500 (0:00:00.019) 0:00:22.450 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 04 January 2025 07:54:14 -0500 (0:00:01.522) 0:00:23.973 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735995247.393291, "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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 04 January 2025 07:54:15 -0500 (0:00:00.413) 0:00:24.386 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 04 January 2025 07:54:15 -0500 (0:00:00.020) 0:00:24.407 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 04 January 2025 07:54:15 -0500 (0:00:00.021) 0:00:24.429 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 04 January 2025 07:54:15 -0500 (0:00:00.390) 0:00:24.820 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 04 January 2025 07:54:15 -0500 (0:00:00.054) 0:00:24.875 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735995247.393291, "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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 04 January 2025 07:54:15 -0500 (0:00:00.408) 0:00:25.283 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735995250.0933096, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "579decccbd000e34e5d401132fd2074d28b5d2dc", "ctime": 1735995250.0922854, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280088, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1735995250.0933108, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1738817921", "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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 04 January 2025 07:54:16 -0500 (0:00:00.396) 0:00:25.680 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005290", "end": "2025-01-04 07:54:16.705547", "rc": 0, "start": "2025-01-04 07:54:16.700257" } 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 04 January 2025 07:54:16 -0500 (0:00:00.421) 0:00:26.102 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 04 January 2025 07:54:16 -0500 (0:00:00.036) 0:00:26.138 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 04 January 2025 07:54:17 -0500 (0:00:00.459) 0:00:26.597 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 04 January 2025 07:54:17 -0500 (0:00:00.456) 0:00:27.054 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 04 January 2025 07:54:18 -0500 (0:00:00.687) 0:00:27.742 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 04 January 2025 07:54:18 -0500 (0:00:00.026) 0:00:27.768 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 04 January 2025 07:54:18 -0500 (0:00:00.024) 0:00:27.793 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 04 January 2025 07:54:18 -0500 (0:00:00.052) 0:00:27.845 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 04 January 2025 07:54:18 -0500 (0:00:00.050) 0:00:27.896 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 04 January 2025 07:54:18 -0500 (0:00:00.002) 0:00:27.899 ****** 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.137219", "end": "2025-01-04 07:54:19.027542", "rc": 0, "start": "2025-01-04 07:54:18.890323" } 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 04 January 2025 07:54:19 -0500 (0:00:00.541) 0:00:28.441 ****** included: /tmp/collections-1Xl/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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 04 January 2025 07:54:19 -0500 (0:00:00.045) 0:00:28.486 ****** changed: [managed-node1] => { "changed": true, "elapsed": 154, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 04 January 2025 07:56:54 -0500 (0:02:35.263) 0:03:03.750 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 04 January 2025 07:56:54 -0500 (0:00:00.012) 0:03:03.763 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 04 January 2025 07:56:54 -0500 (0:00:00.015) 0:03:03.778 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 04 January 2025 07:56:54 -0500 (0:00:00.014) 0:03:03.792 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 January 2025 07:56:54 -0500 (0:00:00.052) 0:03:03.845 ****** included: /tmp/collections-1Xl/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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 January 2025 07:56:54 -0500 (0:00:00.017) 0:03:03.862 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 January 2025 07:56:54 -0500 (0:00:00.035) 0:03:03.898 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 January 2025 07:56:54 -0500 (0:00:00.016) 0:03:03.914 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 January 2025 07:56:54 -0500 (0:00:00.015) 0:03:03.930 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 January 2025 07:56:54 -0500 (0:00:00.028) 0:03:03.959 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 04 January 2025 07:56:54 -0500 (0:00:00.010) 0:03:03.970 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 04 January 2025 07:56:57 -0500 (0:00:02.589) 0:03:06.560 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735995259.0262666, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1735995259.0252666, "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": 1735995259.0252666, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2520693877", "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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 04 January 2025 07:56:57 -0500 (0:00:00.448) 0:03:07.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 : Generate /etc/default/grub] ******* task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 04 January 2025 07:56:57 -0500 (0:00:00.013) 0:03:07.022 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 04 January 2025 07:56:57 -0500 (0:00:00.012) 0:03:07.035 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 04 January 2025 07:56:58 -0500 (0:00:00.355) 0:03:07.390 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 04 January 2025 07:56:58 -0500 (0:00:00.038) 0:03:07.428 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735995259.0262666, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1735995259.0252666, "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": 1735995259.0252666, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2520693877", "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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 04 January 2025 07:56:58 -0500 (0:00:00.379) 0:03:07.808 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735995256.2712724, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "579decccbd000e34e5d401132fd2074d28b5d2dc", "ctime": 1735995250.0922854, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280088, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1735995250.0933108, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1738817921", "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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 04 January 2025 07:56:58 -0500 (0:00:00.379) 0:03:08.188 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004663", "end": "2025-01-04 07:56:59.185004", "rc": 0, "start": "2025-01-04 07:56:59.180341" } 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 04 January 2025 07:56:59 -0500 (0:00:00.386) 0:03:08.575 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 04 January 2025 07:56:59 -0500 (0:00:00.033) 0:03:08.608 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 04 January 2025 07:56:59 -0500 (0:00:00.380) 0:03:08.989 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 04 January 2025 07:57:00 -0500 (0:00:00.380) 0:03:09.369 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 04 January 2025 07:57:00 -0500 (0:00:00.357) 0:03:09.727 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 04 January 2025 07:57:00 -0500 (0:00:00.018) 0:03:09.745 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 04 January 2025 07:57:00 -0500 (0:00:00.015) 0:03:09.761 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 04 January 2025 07:57:00 -0500 (0:00:00.027) 0:03:09.789 ****** 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": "ec2459b52a25fa36adc435bf4db70745-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-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 04 January 2025 07:57:00 -0500 (0:00:00.524) 0:03:10.313 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 04 January 2025 07:57:01 -0500 (0:00:00.039) 0:03:10.353 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 January 2025 07:57:01 -0500 (0:00:00.051) 0:03:10.404 ****** included: /tmp/collections-1Xl/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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 January 2025 07:57:01 -0500 (0:00:00.016) 0:03:10.421 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 January 2025 07:57:01 -0500 (0:00:00.031) 0:03:10.452 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 January 2025 07:57:01 -0500 (0:00:00.016) 0:03:10.468 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 January 2025 07:57:01 -0500 (0:00:00.016) 0:03:10.485 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 January 2025 07:57:01 -0500 (0:00:00.029) 0:03:10.514 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 04 January 2025 07:57:01 -0500 (0:00:00.011) 0:03:10.526 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 04 January 2025 07:57:02 -0500 (0:00:01.420) 0:03:11.946 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735995259.0262666, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1735995259.0252666, "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": 1735995259.0252666, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2520693877", "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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 04 January 2025 07:57:02 -0500 (0:00:00.379) 0:03:12.326 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 04 January 2025 07:57:03 -0500 (0:00:00.013) 0:03:12.340 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 04 January 2025 07:57:03 -0500 (0:00:00.012) 0:03:12.353 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 04 January 2025 07:57:03 -0500 (0:00:00.359) 0:03:12.712 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 04 January 2025 07:57:03 -0500 (0:00:00.039) 0:03:12.751 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735995259.0262666, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1735995259.0252666, "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": 1735995259.0252666, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2520693877", "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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 04 January 2025 07:57:03 -0500 (0:00:00.375) 0:03:13.127 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735995256.2712724, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "579decccbd000e34e5d401132fd2074d28b5d2dc", "ctime": 1735995250.0922854, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280088, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1735995250.0933108, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1738817921", "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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 04 January 2025 07:57:04 -0500 (0:00:00.378) 0:03:13.505 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004573", "end": "2025-01-04 07:57:04.503559", "rc": 0, "start": "2025-01-04 07:57:04.498986" } 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 04 January 2025 07:57:04 -0500 (0:00:00.387) 0:03:13.893 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 04 January 2025 07:57:04 -0500 (0:00:00.033) 0:03:13.927 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 04 January 2025 07:57:04 -0500 (0:00:00.384) 0:03:14.311 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 04 January 2025 07:57:05 -0500 (0:00:00.380) 0:03:14.691 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 04 January 2025 07:57:05 -0500 (0:00:00.608) 0:03:15.300 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 04 January 2025 07:57:05 -0500 (0:00:00.018) 0:03:15.318 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 04 January 2025 07:57:05 -0500 (0:00:00.016) 0:03:15.335 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 04 January 2025 07:57:06 -0500 (0:00:00.029) 0:03:15.364 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 04 January 2025 07:57:06 -0500 (0:00:00.479) 0:03:15.844 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 04 January 2025 07:57:06 -0500 (0:00:00.038) 0:03:15.882 ****** included: /tmp/collections-1Xl/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-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 04 January 2025 07:57:06 -0500 (0:00:00.029) 0:03:15.912 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 04 January 2025 07:57:06 -0500 (0:00:00.035) 0:03:15.948 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 04 January 2025 07:57:07 -0500 (0:00:01.225) 0:03:17.173 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 January 2025 07:57:07 -0500 (0:00:00.037) 0:03:17.211 ****** included: /tmp/collections-1Xl/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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 January 2025 07:57:07 -0500 (0:00:00.021) 0:03:17.232 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 January 2025 07:57:07 -0500 (0:00:00.034) 0:03:17.267 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 January 2025 07:57:07 -0500 (0:00:00.016) 0:03:17.283 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 January 2025 07:57:07 -0500 (0:00:00.015) 0:03:17.299 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 January 2025 07:57:07 -0500 (0:00:00.029) 0:03:17.329 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 04 January 2025 07:57:08 -0500 (0:00:00.012) 0:03:17.341 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 04 January 2025 07:57:09 -0500 (0:00:01.429) 0:03:18.770 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735995259.0262666, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1735995259.0252666, "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": 1735995259.0252666, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2520693877", "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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 04 January 2025 07:57:09 -0500 (0:00:00.400) 0:03:19.170 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 04 January 2025 07:57:09 -0500 (0:00:00.017) 0:03:19.188 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 04 January 2025 07:57:09 -0500 (0:00:00.012) 0:03:19.201 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 04 January 2025 07:57:10 -0500 (0:00:00.360) 0:03:19.561 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 04 January 2025 07:57:10 -0500 (0:00:00.039) 0:03:19.601 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735995259.0262666, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1735995259.0252666, "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": 1735995259.0252666, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2520693877", "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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 04 January 2025 07:57:10 -0500 (0:00:00.375) 0:03:19.977 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735995256.2712724, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "579decccbd000e34e5d401132fd2074d28b5d2dc", "ctime": 1735995250.0922854, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280088, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1735995250.0933108, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1738817921", "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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 04 January 2025 07:57:11 -0500 (0:00:00.379) 0:03:20.357 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004802", "end": "2025-01-04 07:57:11.356307", "rc": 0, "start": "2025-01-04 07:57:11.351505" } 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 04 January 2025 07:57:11 -0500 (0:00:00.388) 0:03:20.745 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 04 January 2025 07:57:11 -0500 (0:00:00.033) 0:03:20.779 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 04 January 2025 07:57:11 -0500 (0:00:00.389) 0:03:21.168 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 04 January 2025 07:57:12 -0500 (0:00:00.389) 0:03:21.557 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 04 January 2025 07:57:12 -0500 (0:00:00.601) 0:03:22.159 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 04 January 2025 07:57:12 -0500 (0:00:00.021) 0:03:22.181 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 04 January 2025 07:57:12 -0500 (0:00:00.017) 0:03:22.199 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 04 January 2025 07:57:12 -0500 (0:00:00.028) 0:03:22.227 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 04 January 2025 07:57:12 -0500 (0:00:00.029) 0:03:22.257 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 04 January 2025 07:57:12 -0500 (0:00:00.001) 0:03:22.258 ****** 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.137912", "end": "2025-01-04 07:57:13.375639", "rc": 0, "start": "2025-01-04 07:57:13.237727" } 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 04 January 2025 07:57:13 -0500 (0:00:00.511) 0:03:22.770 ****** included: /tmp/collections-1Xl/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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 04 January 2025 07:57:13 -0500 (0:00:00.014) 0:03:22.785 ****** changed: [managed-node1] => { "changed": true, "elapsed": 152, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 04 January 2025 07:59:47 -0500 (0:02:33.792) 0:05:56.577 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 04 January 2025 07:59:47 -0500 (0:00:00.013) 0:05:56.590 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 04 January 2025 07:59:47 -0500 (0:00:00.015) 0:05:56.605 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 04 January 2025 07:59:47 -0500 (0:00:00.015) 0:05:56.621 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 January 2025 07:59:47 -0500 (0:00:00.060) 0:05:56.681 ****** included: /tmp/collections-1Xl/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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 January 2025 07:59:47 -0500 (0:00:00.018) 0:05:56.699 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 January 2025 07:59:47 -0500 (0:00:00.032) 0:05:56.732 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 January 2025 07:59:47 -0500 (0:00:00.017) 0:05:56.750 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 January 2025 07:59:47 -0500 (0:00:00.016) 0:05:56.766 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 January 2025 07:59:47 -0500 (0:00:00.029) 0:05:56.796 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 04 January 2025 07:59:47 -0500 (0:00:00.011) 0:05:56.808 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 04 January 2025 07:59:50 -0500 (0:00:02.557) 0:05:59.365 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735995433.374334, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1735995433.374334, "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": 1735995433.373334, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2698266857", "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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 04 January 2025 07:59:50 -0500 (0:00:00.405) 0:05:59.771 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 04 January 2025 07:59:50 -0500 (0:00:00.015) 0:05:59.786 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 04 January 2025 07:59:50 -0500 (0:00:00.012) 0:05:59.798 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 04 January 2025 07:59:50 -0500 (0:00:00.350) 0:06:00.149 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 04 January 2025 07:59:50 -0500 (0:00:00.040) 0:06:00.190 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735995590.339176, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1735995433.374334, "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": 1735995433.373334, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2698266857", "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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 04 January 2025 07:59:51 -0500 (0:00:00.371) 0:06:00.561 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735995256.2712724, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "579decccbd000e34e5d401132fd2074d28b5d2dc", "ctime": 1735995250.0922854, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280088, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1735995250.0933108, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1738817921", "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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 04 January 2025 07:59:51 -0500 (0:00:00.372) 0:06:00.933 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004466", "end": "2025-01-04 07:59:51.923628", "rc": 0, "start": "2025-01-04 07:59:51.919162" } 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 04 January 2025 07:59:51 -0500 (0:00:00.379) 0:06:01.312 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 04 January 2025 07:59:52 -0500 (0:00:00.034) 0:06:01.347 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 04 January 2025 07:59:52 -0500 (0:00:00.385) 0:06:01.732 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 04 January 2025 07:59:52 -0500 (0:00:00.380) 0:06:02.112 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 04 January 2025 07:59:53 -0500 (0:00:00.360) 0:06:02.473 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 04 January 2025 07:59:53 -0500 (0:00:00.019) 0:06:02.492 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 04 January 2025 07:59:53 -0500 (0:00:00.016) 0:06:02.509 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 04 January 2025 07:59:53 -0500 (0:00:00.028) 0:06:02.537 ****** 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": "ec2459b52a25fa36adc435bf4db70745-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-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 04 January 2025 07:59:53 -0500 (0:00:00.512) 0:06:03.049 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 04 January 2025 07:59:53 -0500 (0:00:00.039) 0:06:03.089 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 January 2025 07:59:53 -0500 (0:00:00.065) 0:06:03.155 ****** included: /tmp/collections-1Xl/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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 January 2025 07:59:53 -0500 (0:00:00.017) 0:06:03.172 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 January 2025 07:59:53 -0500 (0:00:00.031) 0:06:03.204 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 January 2025 07:59:53 -0500 (0:00:00.017) 0:06:03.221 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 January 2025 07:59:53 -0500 (0:00:00.017) 0:06:03.238 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 January 2025 07:59:53 -0500 (0:00:00.028) 0:06:03.267 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 04 January 2025 07:59:53 -0500 (0:00:00.011) 0:06:03.279 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 04 January 2025 07:59:55 -0500 (0:00:01.388) 0:06:04.667 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735995590.339176, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1735995433.374334, "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": 1735995433.373334, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2698266857", "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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 04 January 2025 07:59:55 -0500 (0:00:00.373) 0:06:05.041 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 04 January 2025 07:59:55 -0500 (0:00:00.013) 0:06:05.055 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 04 January 2025 07:59:55 -0500 (0:00:00.013) 0:06:05.069 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 04 January 2025 07:59:56 -0500 (0:00:00.357) 0:06:05.427 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 04 January 2025 07:59:56 -0500 (0:00:00.039) 0:06:05.466 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735995590.339176, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1735995433.374334, "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": 1735995433.373334, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2698266857", "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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 04 January 2025 07:59:56 -0500 (0:00:00.375) 0:06:05.842 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735995256.2712724, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "579decccbd000e34e5d401132fd2074d28b5d2dc", "ctime": 1735995250.0922854, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280088, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1735995250.0933108, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1738817921", "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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 04 January 2025 07:59:56 -0500 (0:00:00.384) 0:06:06.227 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004578", "end": "2025-01-04 07:59:57.225874", "rc": 0, "start": "2025-01-04 07:59:57.221296" } 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 04 January 2025 07:59:57 -0500 (0:00:00.389) 0:06:06.616 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 04 January 2025 07:59:57 -0500 (0:00:00.035) 0:06:06.652 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 04 January 2025 07:59:57 -0500 (0:00:00.383) 0:06:07.035 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 04 January 2025 07:59:58 -0500 (0:00:00.379) 0:06:07.415 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 04 January 2025 07:59:58 -0500 (0:00:00.586) 0:06:08.001 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 04 January 2025 07:59:58 -0500 (0:00:00.018) 0:06:08.020 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 04 January 2025 07:59:58 -0500 (0:00:00.018) 0:06:08.038 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 04 January 2025 07:59:58 -0500 (0:00:00.029) 0:06:08.067 ****** 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-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 04 January 2025 07:59:59 -0500 (0:00:00.478) 0:06:08.545 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 04 January 2025 07:59:59 -0500 (0:00:00.038) 0:06:08.584 ****** 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.044183", "end": "2025-01-04 07:59:59.597536", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-01-04 07:59:59.553353" } 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.044361", "end": "2025-01-04 07:59:59.982764", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-01-04 07:59:59.938403" } 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 04 January 2025 08:00:00 -0500 (0:00:00.790) 0:06:09.375 ****** 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:01.104712", "end": "2025-01-04 08:00:01.451704", "rc": 0, "start": "2025-01-04 08:00:00.346992" } 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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 04 January 2025 08:00:01 -0500 (0:00:01.469) 0:06:10.844 ****** included: /tmp/collections-1Xl/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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 04 January 2025 08:00:01 -0500 (0:00:00.015) 0:06:10.859 ****** changed: [managed-node1] => { "changed": true, "elapsed": 152, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 04 January 2025 08:02:35 -0500 (0:02:33.719) 0:08:44.579 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 04 January 2025 08:02:35 -0500 (0:00:00.013) 0:08:44.592 ****** 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 04 January 2025 08:02:35 -0500 (0:00:00.015) 0:08:44.607 ****** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true - 155.26s /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true - 153.79s /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true - 153.72s /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 12.81s /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.84s /tmp/collections-1Xl/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.59s /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.56s /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.52s /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 1.47s /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.43s /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.42s /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.39s /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.39s /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.23s /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.79s /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.69s /tmp/collections-1Xl/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-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.60s /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.59s /tmp/collections-1Xl/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102