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-J25 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-J25/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-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 11 January 2025 07:55:02 -0500 (0:00:00.008) 0:00:00.008 ****** included: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 11 January 2025 07:55:02 -0500 (0:00:00.015) 0:00:00.024 ****** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.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-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 11 January 2025 07:55:04 -0500 (0:00:02.326) 0:00:02.350 ****** 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-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 11 January 2025 07:55:04 -0500 (0:00:00.005) 0:00:02.355 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 11 January 2025 07:55:04 -0500 (0:00:00.060) 0:00:02.416 ****** included: /tmp/collections-J25/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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 11 January 2025 07:55:04 -0500 (0:00:00.019) 0:00:02.436 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 11 January 2025 07:55:04 -0500 (0:00:00.034) 0:00:02.470 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 11 January 2025 07:55:05 -0500 (0:00:00.468) 0:00:02.939 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 11 January 2025 07:55:05 -0500 (0:00:00.022) 0:00:02.961 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 11 January 2025 07:55:05 -0500 (0:00:00.032) 0:00:02.994 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 11 January 2025 07:55:05 -0500 (0:00:00.013) 0:00:03.008 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 11 January 2025 07:55:18 -0500 (0:00:13.385) 0:00:16.393 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 11 January 2025 07:55:18 -0500 (0:00:00.415) 0:00:16.809 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 11 January 2025 07:55:18 -0500 (0:00:00.015) 0:00:16.824 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 11 January 2025 07:55:18 -0500 (0:00:00.013) 0:00:16.837 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 11 January 2025 07:55:19 -0500 (0:00:00.398) 0:00:17.235 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 11 January 2025 07:55:19 -0500 (0:00:00.043) 0:00:17.279 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600118.8785062, "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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 11 January 2025 07:55:19 -0500 (0:00:00.394) 0:00:17.675 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 11 January 2025 07:55:20 -0500 (0:00:00.406) 0:00:18.081 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004634", "end": "2025-01-11 07:55:20.706728", "rc": 0, "start": "2025-01-11 07:55:20.702094" } 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 11 January 2025 07:55:20 -0500 (0:00:00.521) 0:00:18.602 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 11 January 2025 07:55:20 -0500 (0:00:00.037) 0:00:18.640 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 11 January 2025 07:55:21 -0500 (0:00:00.539) 0:00:19.179 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 11 January 2025 07:55:21 -0500 (0:00:00.440) 0:00:19.619 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 11 January 2025 07:55:22 -0500 (0:00:00.512) 0:00:20.132 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 11 January 2025 07:55:22 -0500 (0:00:00.021) 0:00:20.154 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 11 January 2025 07:55:22 -0500 (0:00:00.029) 0:00:20.183 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 11 January 2025 07:55:22 -0500 (0:00:00.044) 0:00:20.228 ****** 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-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 11 January 2025 07:55:23 -0500 (0:00:00.710) 0:00:20.938 ****** 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-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 11 January 2025 07:55:23 -0500 (0:00:00.004) 0:00:20.942 ****** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 11 January 2025 07:55:23 -0500 (0:00:00.001) 0:00:20.944 ****** included: /tmp/collections-J25/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-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 11 January 2025 07:55:23 -0500 (0:00:00.040) 0:00:20.985 ****** 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-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 11 January 2025 07:55:23 -0500 (0:00:00.068) 0:00:21.053 ****** 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-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 11 January 2025 07:55:24 -0500 (0:00:01.355) 0:00:22.409 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 11 January 2025 07:55:24 -0500 (0:00:00.088) 0:00:22.497 ****** included: /tmp/collections-J25/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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 11 January 2025 07:55:24 -0500 (0:00:00.037) 0:00:22.534 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 11 January 2025 07:55:24 -0500 (0:00:00.100) 0:00:22.635 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 11 January 2025 07:55:24 -0500 (0:00:00.059) 0:00:22.694 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 11 January 2025 07:55:24 -0500 (0:00:00.039) 0:00:22.734 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 11 January 2025 07:55:24 -0500 (0:00:00.072) 0:00:22.807 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 11 January 2025 07:55:25 -0500 (0:00:00.034) 0:00:22.841 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 11 January 2025 07:55:26 -0500 (0:00:01.588) 0:00:24.430 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600118.8785062, "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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 11 January 2025 07:55:27 -0500 (0:00:00.496) 0:00:24.926 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 11 January 2025 07:55:27 -0500 (0:00:00.028) 0:00:24.954 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 11 January 2025 07:55:27 -0500 (0:00:00.021) 0:00:24.975 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 11 January 2025 07:55:27 -0500 (0:00:00.402) 0:00:25.378 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 11 January 2025 07:55:27 -0500 (0:00:00.056) 0:00:25.435 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600118.8785062, "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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 11 January 2025 07:55:28 -0500 (0:00:00.462) 0:00:25.897 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600121.7233372, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "579decccbd000e34e5d401132fd2074d28b5d2dc", "ctime": 1736600121.7225208, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280089, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1736600121.7233386, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1869137595", "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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 11 January 2025 07:55:28 -0500 (0:00:00.439) 0:00:26.337 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005385", "end": "2025-01-11 07:55:28.866794", "rc": 0, "start": "2025-01-11 07:55:28.861409" } 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 11 January 2025 07:55:28 -0500 (0:00:00.435) 0:00:26.773 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 11 January 2025 07:55:28 -0500 (0:00:00.055) 0:00:26.828 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 11 January 2025 07:55:29 -0500 (0:00:00.465) 0:00:27.293 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 11 January 2025 07:55:29 -0500 (0:00:00.459) 0:00:27.753 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 11 January 2025 07:55:30 -0500 (0:00:00.689) 0:00:28.443 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 11 January 2025 07:55:30 -0500 (0:00:00.033) 0:00:28.476 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 11 January 2025 07:55:30 -0500 (0:00:00.038) 0:00:28.515 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 11 January 2025 07:55:30 -0500 (0:00:00.059) 0:00:28.575 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 11 January 2025 07:55:30 -0500 (0:00:00.072) 0:00:28.648 ****** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 META: triggered running handlers for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 11 January 2025 07:55:30 -0500 (0:00:00.005) 0:00:28.654 ****** 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.136825", "end": "2025-01-11 07:55:31.334451", "rc": 0, "start": "2025-01-11 07:55:31.197626" } 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 11 January 2025 07:55:31 -0500 (0:00:00.598) 0:00:29.252 ****** included: /tmp/collections-J25/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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 11 January 2025 07:55:31 -0500 (0:00:00.048) 0:00:29.301 ****** changed: [managed-node1] => { "changed": true, "elapsed": 154, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 11 January 2025 07:58:07 -0500 (0:02:35.699) 0:03:05.001 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 11 January 2025 07:58:07 -0500 (0:00:00.013) 0:03:05.014 ****** 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-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 11 January 2025 07:58:07 -0500 (0:00:00.016) 0:03:05.031 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 11 January 2025 07:58:07 -0500 (0:00:00.015) 0:03:05.046 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 11 January 2025 07:58:07 -0500 (0:00:00.057) 0:03:05.104 ****** included: /tmp/collections-J25/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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 11 January 2025 07:58:07 -0500 (0:00:00.021) 0:03:05.125 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 11 January 2025 07:58:07 -0500 (0:00:00.034) 0:03:05.160 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 11 January 2025 07:58:07 -0500 (0:00:00.018) 0:03:05.178 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 11 January 2025 07:58:07 -0500 (0:00:00.019) 0:03:05.198 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 11 January 2025 07:58:07 -0500 (0:00:00.031) 0:03:05.229 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 11 January 2025 07:58:07 -0500 (0:00:00.013) 0:03:05.243 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 11 January 2025 07:58:10 -0500 (0:00:02.690) 0:03:07.933 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600131.3335583, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1736600131.3325582, "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": 1736600131.3325582, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2948832646", "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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 11 January 2025 07:58:10 -0500 (0:00:00.424) 0:03:08.358 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 11 January 2025 07:58:10 -0500 (0:00:00.015) 0:03:08.373 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 11 January 2025 07:58:10 -0500 (0:00:00.014) 0:03:08.388 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 11 January 2025 07:58:10 -0500 (0:00:00.370) 0:03:08.759 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 11 January 2025 07:58:10 -0500 (0:00:00.042) 0:03:08.802 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600131.3335583, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1736600131.3325582, "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": 1736600131.3325582, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2948832646", "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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 11 January 2025 07:58:11 -0500 (0:00:00.388) 0:03:09.190 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600128.421547, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "579decccbd000e34e5d401132fd2074d28b5d2dc", "ctime": 1736600121.7225208, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280089, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1736600121.7233386, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1869137595", "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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 11 January 2025 07:58:11 -0500 (0:00:00.393) 0:03:09.584 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004541", "end": "2025-01-11 07:58:12.097138", "rc": 0, "start": "2025-01-11 07:58:12.092597" } 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 11 January 2025 07:58:12 -0500 (0:00:00.407) 0:03:09.992 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 11 January 2025 07:58:12 -0500 (0:00:00.036) 0:03:10.029 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 11 January 2025 07:58:12 -0500 (0:00:00.394) 0:03:10.423 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 11 January 2025 07:58:12 -0500 (0:00:00.394) 0:03:10.818 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 11 January 2025 07:58:13 -0500 (0:00:00.374) 0:03:11.192 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 11 January 2025 07:58:13 -0500 (0:00:00.020) 0:03:11.212 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 11 January 2025 07:58:13 -0500 (0:00:00.018) 0:03:11.231 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 11 January 2025 07:58:13 -0500 (0:00:00.030) 0:03:11.261 ****** 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": "ec2f055b9866f6833284b88d9c9aa83c-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-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 11 January 2025 07:58:13 -0500 (0:00:00.557) 0:03:11.818 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 11 January 2025 07:58:14 -0500 (0:00:00.043) 0:03:11.862 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 11 January 2025 07:58:14 -0500 (0:00:00.055) 0:03:11.917 ****** included: /tmp/collections-J25/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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 11 January 2025 07:58:14 -0500 (0:00:00.018) 0:03:11.936 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 11 January 2025 07:58:14 -0500 (0:00:00.036) 0:03:11.972 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 11 January 2025 07:58:14 -0500 (0:00:00.018) 0:03:11.990 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 11 January 2025 07:58:14 -0500 (0:00:00.017) 0:03:12.008 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 11 January 2025 07:58:14 -0500 (0:00:00.032) 0:03:12.040 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 11 January 2025 07:58:14 -0500 (0:00:00.013) 0:03:12.053 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 11 January 2025 07:58:15 -0500 (0:00:01.485) 0:03:13.539 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600131.3335583, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1736600131.3325582, "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": 1736600131.3325582, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2948832646", "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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 11 January 2025 07:58:16 -0500 (0:00:00.391) 0:03:13.930 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 11 January 2025 07:58:16 -0500 (0:00:00.015) 0:03:13.946 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 11 January 2025 07:58:16 -0500 (0:00:00.013) 0:03:13.960 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 11 January 2025 07:58:16 -0500 (0:00:00.372) 0:03:14.332 ****** ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 11 January 2025 07:58:16 -0500 (0:00:00.043) 0:03:14.376 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600131.3335583, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1736600131.3325582, "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": 1736600131.3325582, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2948832646", "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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 11 January 2025 07:58:16 -0500 (0:00:00.388) 0:03:14.764 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600128.421547, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "579decccbd000e34e5d401132fd2074d28b5d2dc", "ctime": 1736600121.7225208, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280089, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1736600121.7233386, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1869137595", "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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 11 January 2025 07:58:17 -0500 (0:00:00.403) 0:03:15.168 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004580", "end": "2025-01-11 07:58:17.680096", "rc": 0, "start": "2025-01-11 07:58:17.675516" } 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 11 January 2025 07:58:17 -0500 (0:00:00.408) 0:03:15.576 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 11 January 2025 07:58:17 -0500 (0:00:00.036) 0:03:15.613 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 11 January 2025 07:58:18 -0500 (0:00:00.401) 0:03:16.014 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 11 January 2025 07:58:18 -0500 (0:00:00.393) 0:03:16.408 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 11 January 2025 07:58:19 -0500 (0:00:00.629) 0:03:17.038 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 11 January 2025 07:58:19 -0500 (0:00:00.020) 0:03:17.058 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 11 January 2025 07:58:19 -0500 (0:00:00.018) 0:03:17.077 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 11 January 2025 07:58:19 -0500 (0:00:00.032) 0:03:17.109 ****** 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-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 11 January 2025 07:58:19 -0500 (0:00:00.499) 0:03:17.609 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 11 January 2025 07:58:19 -0500 (0:00:00.042) 0:03:17.651 ****** included: /tmp/collections-J25/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-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 11 January 2025 07:58:19 -0500 (0:00:00.032) 0:03:17.684 ****** 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-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 11 January 2025 07:58:19 -0500 (0:00:00.041) 0:03:17.726 ****** 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-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 11 January 2025 07:58:21 -0500 (0:00:01.331) 0:03:19.058 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 11 January 2025 07:58:21 -0500 (0:00:00.039) 0:03:19.097 ****** included: /tmp/collections-J25/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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 11 January 2025 07:58:21 -0500 (0:00:00.020) 0:03:19.117 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 11 January 2025 07:58:21 -0500 (0:00:00.037) 0:03:19.154 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 11 January 2025 07:58:21 -0500 (0:00:00.019) 0:03:19.174 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 11 January 2025 07:58:21 -0500 (0:00:00.018) 0:03:19.193 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 11 January 2025 07:58:21 -0500 (0:00:00.033) 0:03:19.226 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 11 January 2025 07:58:21 -0500 (0:00:00.013) 0:03:19.240 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 11 January 2025 07:58:22 -0500 (0:00:01.483) 0:03:20.724 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600131.3335583, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1736600131.3325582, "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": 1736600131.3325582, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2948832646", "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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 11 January 2025 07:58:23 -0500 (0:00:00.408) 0:03:21.132 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 11 January 2025 07:58:23 -0500 (0:00:00.021) 0:03:21.154 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 11 January 2025 07:58:23 -0500 (0:00:00.017) 0:03:21.171 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 11 January 2025 07:58:23 -0500 (0:00:00.381) 0:03:21.553 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 11 January 2025 07:58:23 -0500 (0:00:00.065) 0:03:21.618 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600131.3335583, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1736600131.3325582, "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": 1736600131.3325582, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2948832646", "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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 11 January 2025 07:58:24 -0500 (0:00:00.409) 0:03:22.027 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600128.421547, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "579decccbd000e34e5d401132fd2074d28b5d2dc", "ctime": 1736600121.7225208, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280089, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1736600121.7233386, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1869137595", "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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 11 January 2025 07:58:24 -0500 (0:00:00.419) 0:03:22.447 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004699", "end": "2025-01-11 07:58:24.965927", "rc": 0, "start": "2025-01-11 07:58:24.961228" } 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 11 January 2025 07:58:25 -0500 (0:00:00.422) 0:03:22.870 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 11 January 2025 07:58:25 -0500 (0:00:00.040) 0:03:22.910 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 11 January 2025 07:58:25 -0500 (0:00:00.413) 0:03:23.324 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 11 January 2025 07:58:25 -0500 (0:00:00.406) 0:03:23.731 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 11 January 2025 07:58:26 -0500 (0:00:00.608) 0:03:24.339 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 11 January 2025 07:58:26 -0500 (0:00:00.021) 0:03:24.360 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 11 January 2025 07:58:26 -0500 (0:00:00.019) 0:03:24.380 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 11 January 2025 07:58:26 -0500 (0:00:00.032) 0:03:24.413 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 11 January 2025 07:58:26 -0500 (0:00:00.036) 0:03:24.449 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 11 January 2025 07:58:26 -0500 (0:00:00.002) 0:03:24.452 ****** 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.136649", "end": "2025-01-11 07:58:27.092910", "rc": 0, "start": "2025-01-11 07:58:26.956261" } 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 11 January 2025 07:58:27 -0500 (0:00:00.538) 0:03:24.990 ****** included: /tmp/collections-J25/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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 11 January 2025 07:58:27 -0500 (0:00:00.015) 0:03:25.006 ****** changed: [managed-node1] => { "changed": true, "elapsed": 152, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 11 January 2025 08:01:01 -0500 (0:02:33.878) 0:05:58.884 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 11 January 2025 08:01:01 -0500 (0:00:00.014) 0:05:58.899 ****** 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-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 11 January 2025 08:01:01 -0500 (0:00:00.018) 0:05:58.917 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 11 January 2025 08:01:01 -0500 (0:00:00.018) 0:05:58.935 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 11 January 2025 08:01:01 -0500 (0:00:00.058) 0:05:58.994 ****** included: /tmp/collections-J25/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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 11 January 2025 08:01:01 -0500 (0:00:00.020) 0:05:59.015 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 11 January 2025 08:01:01 -0500 (0:00:00.037) 0:05:59.052 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 11 January 2025 08:01:01 -0500 (0:00:00.020) 0:05:59.073 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 11 January 2025 08:01:01 -0500 (0:00:00.019) 0:05:59.093 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 11 January 2025 08:01:01 -0500 (0:00:00.035) 0:05:59.128 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 11 January 2025 08:01:01 -0500 (0:00:00.016) 0:05:59.144 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 11 January 2025 08:01:04 -0500 (0:00:02.736) 0:06:01.880 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600307.092258, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1736600307.091258, "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": 1736600307.091258, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2228661110", "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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 11 January 2025 08:01:04 -0500 (0:00:00.427) 0:06:02.308 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 11 January 2025 08:01:04 -0500 (0:00:00.016) 0:06:02.325 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 11 January 2025 08:01:04 -0500 (0:00:00.014) 0:06:02.340 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 11 January 2025 08:01:04 -0500 (0:00:00.372) 0:06:02.713 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 11 January 2025 08:01:04 -0500 (0:00:00.044) 0:06:02.757 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600307.092258, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1736600307.091258, "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": 1736600307.091258, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2228661110", "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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 11 January 2025 08:01:05 -0500 (0:00:00.400) 0:06:03.158 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600128.421547, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "579decccbd000e34e5d401132fd2074d28b5d2dc", "ctime": 1736600121.7225208, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280089, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1736600121.7233386, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1869137595", "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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 11 January 2025 08:01:05 -0500 (0:00:00.398) 0:06:03.556 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005024", "end": "2025-01-11 08:01:06.064661", "rc": 0, "start": "2025-01-11 08:01:06.059637" } 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 11 January 2025 08:01:06 -0500 (0:00:00.402) 0:06:03.958 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 11 January 2025 08:01:06 -0500 (0:00:00.036) 0:06:03.995 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 11 January 2025 08:01:06 -0500 (0:00:00.399) 0:06:04.394 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 11 January 2025 08:01:06 -0500 (0:00:00.399) 0:06:04.794 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 11 January 2025 08:01:07 -0500 (0:00:00.381) 0:06:05.175 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 11 January 2025 08:01:07 -0500 (0:00:00.020) 0:06:05.196 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 11 January 2025 08:01:07 -0500 (0:00:00.019) 0:06:05.216 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 11 January 2025 08:01:07 -0500 (0:00:00.032) 0:06:05.248 ****** 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": "ec2f055b9866f6833284b88d9c9aa83c-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-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 11 January 2025 08:01:07 -0500 (0:00:00.537) 0:06:05.786 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 11 January 2025 08:01:07 -0500 (0:00:00.043) 0:06:05.829 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 11 January 2025 08:01:08 -0500 (0:00:00.073) 0:06:05.903 ****** included: /tmp/collections-J25/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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 11 January 2025 08:01:08 -0500 (0:00:00.027) 0:06:05.930 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 11 January 2025 08:01:08 -0500 (0:00:00.037) 0:06:05.967 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 11 January 2025 08:01:08 -0500 (0:00:00.019) 0:06:05.986 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 11 January 2025 08:01:08 -0500 (0:00:00.019) 0:06:06.006 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 11 January 2025 08:01:08 -0500 (0:00:00.033) 0:06:06.040 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 11 January 2025 08:01:08 -0500 (0:00:00.014) 0:06:06.054 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 11 January 2025 08:01:09 -0500 (0:00:01.508) 0:06:07.562 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600307.092258, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1736600307.091258, "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": 1736600307.091258, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2228661110", "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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 11 January 2025 08:01:10 -0500 (0:00:00.396) 0:06:07.959 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 11 January 2025 08:01:10 -0500 (0:00:00.015) 0:06:07.974 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 11 January 2025 08:01:10 -0500 (0:00:00.016) 0:06:07.990 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 11 January 2025 08:01:10 -0500 (0:00:00.374) 0:06:08.365 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 11 January 2025 08:01:10 -0500 (0:00:00.046) 0:06:08.411 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600307.092258, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1736600307.091258, "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": 1736600307.091258, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "2228661110", "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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 11 January 2025 08:01:10 -0500 (0:00:00.395) 0:06:08.806 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736600128.421547, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "579decccbd000e34e5d401132fd2074d28b5d2dc", "ctime": 1736600121.7225208, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 280089, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1736600121.7233386, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "1869137595", "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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 11 January 2025 08:01:11 -0500 (0:00:00.404) 0:06:09.211 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005122", "end": "2025-01-11 08:01:11.720643", "rc": 0, "start": "2025-01-11 08:01:11.715521" } 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 11 January 2025 08:01:11 -0500 (0:00:00.403) 0:06:09.614 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 11 January 2025 08:01:11 -0500 (0:00:00.039) 0:06:09.653 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 11 January 2025 08:01:12 -0500 (0:00:00.411) 0:06:10.065 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 11 January 2025 08:01:12 -0500 (0:00:00.407) 0:06:10.473 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 11 January 2025 08:01:13 -0500 (0:00:00.629) 0:06:11.103 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 11 January 2025 08:01:13 -0500 (0:00:00.020) 0:06:11.123 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 11 January 2025 08:01:13 -0500 (0:00:00.021) 0:06:11.144 ****** 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 11 January 2025 08:01:13 -0500 (0:00:00.034) 0:06:11.178 ****** 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-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 11 January 2025 08:01:13 -0500 (0:00:00.513) 0:06:11.692 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 11 January 2025 08:01:13 -0500 (0:00:00.043) 0:06:11.735 ****** 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.046071", "end": "2025-01-11 08:01:14.276426", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-01-11 08:01:14.230355" } 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.044670", "end": "2025-01-11 08:01:14.684756", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-01-11 08:01:14.640086" } 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 11 January 2025 08:01:14 -0500 (0:00:00.846) 0:06:12.581 ****** 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.106526", "end": "2025-01-11 08:01:15.174033", "rc": 0, "start": "2025-01-11 08:01:15.067507" } 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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 11 January 2025 08:01:15 -0500 (0:00:00.487) 0:06:13.068 ****** included: /tmp/collections-J25/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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 11 January 2025 08:01:15 -0500 (0:00:00.020) 0:06:13.089 ****** changed: [managed-node1] => { "changed": true, "elapsed": 151, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 11 January 2025 08:03:47 -0500 (0:02:32.683) 0:08:45.772 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 11 January 2025 08:03:47 -0500 (0:00:00.014) 0:08:45.787 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=118 changed=14 unreachable=0 failed=0 skipped=80 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 11 January 2025 08:03:47 -0500 (0:00:00.016) 0:08:45.803 ****** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true - 155.70s /tmp/collections-J25/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.88s /tmp/collections-J25/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 - 152.68s /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 13.39s /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.74s /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.69s /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.33s /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.59s /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.51s /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.49s /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.48s /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.36s /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.33s /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.85s /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.71s /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.69s /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.63s /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.63s /tmp/collections-J25/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-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.60s /tmp/collections-J25/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4