ansible-playbook [core 2.17.7] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.13/site-packages/ansible ansible collection location = /tmp/collections-4oL executable location = /usr/local/bin/ansible-playbook python version = 3.13.0 (main, Oct 8 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/usr/bin/python3.13) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-4oL/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-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 18 January 2025 09:35:18 -0500 (0:00:00.009) 0:00:00.009 ****** included: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 18 January 2025 09:35:18 -0500 (0:00:00.014) 0:00:00.023 ****** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 18 January 2025 09:35:21 -0500 (0:00:02.867) 0:00:02.891 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 18 January 2025 09:35:21 -0500 (0:00:00.004) 0:00:02.895 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 18 January 2025 09:35:21 -0500 (0:00:00.040) 0:00:02.935 ****** included: /tmp/collections-4oL/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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 18 January 2025 09:35:21 -0500 (0:00:00.016) 0:00:02.952 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 18 January 2025 09:35:21 -0500 (0:00:00.025) 0:00:02.978 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 18 January 2025 09:35:22 -0500 (0:00:00.521) 0:00:03.500 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 18 January 2025 09:35:22 -0500 (0:00:00.042) 0:00:03.542 ****** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 18 January 2025 09:35:22 -0500 (0:00:00.049) 0:00:03.591 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 18 January 2025 09:35:22 -0500 (0:00:00.018) 0:00:03.610 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 18 January 2025 09:35:32 -0500 (0:00:09.906) 0:00:13.516 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734692603.3822188, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1734692601.769219, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734692601.769219, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3922618387", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 18 January 2025 09:35:32 -0500 (0:00:00.417) 0:00:13.934 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 18 January 2025 09:35:32 -0500 (0:00:00.013) 0:00:13.947 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 18 January 2025 09:35:32 -0500 (0:00:00.011) 0:00:13.959 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 18 January 2025 09:35:33 -0500 (0:00:00.368) 0:00:14.328 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 18 January 2025 09:35:33 -0500 (0:00:00.039) 0:00:14.367 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210932.7467947, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1734692601.769219, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734692601.769219, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3922618387", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 18 January 2025 09:35:33 -0500 (0:00:00.385) 0:00:14.753 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734679567.246, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8728a85026144c4dd16412f8b8d5a35eb97741b6", "ctime": 1734679567.248, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262172, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734679567.248, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7030, "uid": 0, "version": "1447502374", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 18 January 2025 09:35:34 -0500 (0:00:00.393) 0:00:15.146 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004491", "end": "2025-01-18 09:35:34.462204", "rc": 0, "start": "2025-01-18 09:35:34.457713" } 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 18 January 2025 09:35:34 -0500 (0:00:00.461) 0:00:15.608 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 18 January 2025 09:35:34 -0500 (0:00:00.032) 0:00:15.641 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 18 January 2025 09:35:35 -0500 (0:00:00.468) 0:00:16.109 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 18 January 2025 09:35:35 -0500 (0:00:00.390) 0:00:16.499 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 18 January 2025 09:35:35 -0500 (0:00:00.457) 0:00:16.957 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 18 January 2025 09:35:35 -0500 (0:00:00.018) 0:00:16.975 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 18 January 2025 09:35:35 -0500 (0:00:00.021) 0:00:16.997 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 18 January 2025 09:35:35 -0500 (0:00:00.028) 0:00:17.025 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cfd66fcbc661417a96f56adc7e6ab66f-6.12.4-200.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (6.12.4-200.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "cfd66fcbc661417a96f56adc7e6ab66f-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f.img", "kernel": "/boot/vmlinuz-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (0-rescue-cfd66fcbc661417a96f56adc7e6ab66f) 41 (Forty One)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 18 January 2025 09:35:36 -0500 (0:00:00.570) 0:00:17.596 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 18 January 2025 09:35:36 -0500 (0:00:00.003) 0:00:17.600 ****** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 18 January 2025 09:35:36 -0500 (0:00:00.001) 0:00:17.601 ****** included: /tmp/collections-4oL/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-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 18 January 2025 09:35:36 -0500 (0:00:00.024) 0:00:17.625 ****** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cfd66fcbc661417a96f56adc7e6ab66f-6.12.4-200.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (6.12.4-200.fc41.x86_64) 41 (Forty One)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 18 January 2025 09:35:36 -0500 (0:00:00.032) 0:00:17.658 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.4-200.fc41.x86_64', 'dest': '/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "5fc5a2c1875c95a256ee1870963635c415ac8612", "dest": "/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone1", "src": "/boot/vmlinuz-6.12.4-200.fc41.x86_64" }, "md5sum": "ab3941bbe1d29930c4f353740ff57387", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16652648, "src": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.4-200.fc41.x86_64.img', 'dest': '/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "39fa97306e2f913caf9992c8cf8ca73ab9a41baa", "dest": "/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone1", "src": "/boot/initramfs-6.12.4-200.fc41.x86_64.img" }, "md5sum": "23f7099ebd3366d88dca7e4d6a160d78", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 27753016, "src": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 18 January 2025 09:35:37 -0500 (0:00:01.236) 0:00:18.894 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 18 January 2025 09:35:37 -0500 (0:00:00.057) 0:00:18.951 ****** included: /tmp/collections-4oL/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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 18 January 2025 09:35:37 -0500 (0:00:00.018) 0:00:18.970 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 18 January 2025 09:35:37 -0500 (0:00:00.026) 0:00:18.996 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 18 January 2025 09:35:37 -0500 (0:00:00.016) 0:00:19.013 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 18 January 2025 09:35:37 -0500 (0:00:00.016) 0:00:19.030 ****** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 18 January 2025 09:35:37 -0500 (0:00:00.029) 0:00:19.059 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 18 January 2025 09:35:37 -0500 (0:00:00.011) 0:00:19.071 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 18 January 2025 09:35:39 -0500 (0:00:01.297) 0:00:20.368 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210932.7467947, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1734692601.769219, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734692601.769219, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3922618387", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 18 January 2025 09:35:39 -0500 (0:00:00.387) 0:00:20.756 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 18 January 2025 09:35:39 -0500 (0:00:00.015) 0:00:20.771 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 18 January 2025 09:35:39 -0500 (0:00:00.012) 0:00:20.784 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 18 January 2025 09:35:40 -0500 (0:00:00.369) 0:00:21.153 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 18 January 2025 09:35:40 -0500 (0:00:00.051) 0:00:21.205 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210932.7467947, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e6fe4e5d2ca4a70405c4ae8eb7ec68aec89decbb", "ctime": 1734692601.769219, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734692601.769219, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 310, "uid": 0, "version": "3922618387", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 18 January 2025 09:35:40 -0500 (0:00:00.411) 0:00:21.616 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210935.352993, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b729d8c7232b61b9ed71a57320efdc572b4952b3", "ctime": 1737210935.3518028, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278670, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737210935.352994, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "2013745509", "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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 18 January 2025 09:35:40 -0500 (0:00:00.402) 0:00:22.019 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004616", "end": "2025-01-18 09:35:41.304472", "rc": 0, "start": "2025-01-18 09:35:41.299856" } 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 18 January 2025 09:35:41 -0500 (0:00:00.432) 0:00:22.451 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 18 January 2025 09:35:41 -0500 (0:00:00.029) 0:00:22.481 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 18 January 2025 09:35:41 -0500 (0:00:00.411) 0:00:22.893 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 18 January 2025 09:35:42 -0500 (0:00:00.431) 0:00:23.324 ****** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 18 January 2025 09:35:42 -0500 (0:00:00.608) 0:00:23.933 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 18 January 2025 09:35:42 -0500 (0:00:00.023) 0:00:23.956 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 18 January 2025 09:35:42 -0500 (0:00:00.021) 0:00:23.977 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 18 January 2025 09:35:42 -0500 (0:00:00.025) 0:00:24.003 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 18 January 2025 09:35:42 -0500 (0:00:00.041) 0:00:24.044 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 18 January 2025 09:35:42 -0500 (0:00:00.003) 0:00:24.047 ****** 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.136234", "end": "2025-01-18 09:35:43.454196", "rc": 0, "start": "2025-01-18 09:35:43.317962" } 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 18 January 2025 09:35:43 -0500 (0:00:00.566) 0:00:24.614 ****** included: /tmp/collections-4oL/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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 18 January 2025 09:35:43 -0500 (0:00:00.027) 0:00:24.642 ****** changed: [managed-node1] => { "changed": true, "elapsed": 152, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 18 January 2025 09:38:16 -0500 (0:02:33.178) 0:02:57.820 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 18 January 2025 09:38:16 -0500 (0:00:00.012) 0:02:57.833 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 18 January 2025 09:38:16 -0500 (0:00:00.016) 0:02:57.850 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 18 January 2025 09:38:16 -0500 (0:00:00.015) 0:02:57.865 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 18 January 2025 09:38:16 -0500 (0:00:00.052) 0:02:57.918 ****** included: /tmp/collections-4oL/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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 18 January 2025 09:38:16 -0500 (0:00:00.017) 0:02:57.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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 18 January 2025 09:38:16 -0500 (0:00:00.028) 0:02:57.964 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 18 January 2025 09:38:16 -0500 (0:00:00.018) 0:02:57.982 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 18 January 2025 09:38:16 -0500 (0:00:00.022) 0:02:58.004 ****** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 18 January 2025 09:38:16 -0500 (0:00:00.031) 0:02:58.036 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 18 January 2025 09:38:16 -0500 (0:00:00.012) 0:02:58.048 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 18 January 2025 09:38:19 -0500 (0:00:02.242) 0:03:00.291 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210943.4528286, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737210943.4518285, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737210943.4518285, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3245711377", "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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 18 January 2025 09:38:19 -0500 (0:00:00.424) 0:03:00.715 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 18 January 2025 09:38:19 -0500 (0:00:00.013) 0:03:00.729 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 18 January 2025 09:38:19 -0500 (0:00:00.012) 0:03:00.741 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 18 January 2025 09:38:20 -0500 (0:00:00.366) 0:03:01.108 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 18 January 2025 09:38:20 -0500 (0:00:00.034) 0:03:01.142 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210943.4528286, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737210943.4518285, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737210943.4518285, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3245711377", "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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 18 January 2025 09:38:20 -0500 (0:00:00.384) 0:03:01.527 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210940.8518202, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b729d8c7232b61b9ed71a57320efdc572b4952b3", "ctime": 1737210935.3518028, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278670, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737210935.352994, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "2013745509", "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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 18 January 2025 09:38:20 -0500 (0:00:00.392) 0:03:01.920 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004818", "end": "2025-01-18 09:38:21.167856", "rc": 0, "start": "2025-01-18 09:38:21.163038" } 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 18 January 2025 09:38:21 -0500 (0:00:00.396) 0:03:02.316 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 18 January 2025 09:38:21 -0500 (0:00:00.028) 0:03:02.345 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 18 January 2025 09:38:21 -0500 (0:00:00.388) 0:03:02.733 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 18 January 2025 09:38:22 -0500 (0:00:00.383) 0:03:03.117 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 18 January 2025 09:38:22 -0500 (0:00:00.372) 0:03:03.490 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 18 January 2025 09:38:22 -0500 (0:00:00.017) 0:03:03.508 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 18 January 2025 09:38:22 -0500 (0:00:00.017) 0:03:03.525 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 18 January 2025 09:38:22 -0500 (0:00:00.024) 0:03:03.549 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "ec2641e3e55173f238a236c410f00357-6.12.4-200.fc41.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone1", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cfd66fcbc661417a96f56adc7e6ab66f-6.12.4-200.fc41.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (6.12.4-200.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "cfd66fcbc661417a96f56adc7e6ab66f-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f.img", "kernel": "/boot/vmlinuz-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (0-rescue-cfd66fcbc661417a96f56adc7e6ab66f) 41 (Forty One)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 18 January 2025 09:38:22 -0500 (0:00:00.535) 0:03:04.085 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 18 January 2025 09:38:23 -0500 (0:00:00.036) 0:03:04.121 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 18 January 2025 09:38:23 -0500 (0:00:00.054) 0:03:04.176 ****** included: /tmp/collections-4oL/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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 18 January 2025 09:38:23 -0500 (0:00:00.016) 0:03:04.193 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 18 January 2025 09:38:23 -0500 (0:00:00.028) 0:03:04.222 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 18 January 2025 09:38:23 -0500 (0:00:00.017) 0:03:04.239 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 18 January 2025 09:38:23 -0500 (0:00:00.017) 0:03:04.257 ****** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 18 January 2025 09:38:23 -0500 (0:00:00.031) 0:03:04.288 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 18 January 2025 09:38:23 -0500 (0:00:00.014) 0:03:04.303 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 18 January 2025 09:38:24 -0500 (0:00:01.299) 0:03:05.602 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210943.4528286, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737210943.4518285, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737210943.4518285, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3245711377", "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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 18 January 2025 09:38:24 -0500 (0:00:00.385) 0:03:05.988 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 18 January 2025 09:38:24 -0500 (0:00:00.014) 0:03:06.003 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 18 January 2025 09:38:24 -0500 (0:00:00.012) 0:03:06.015 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 18 January 2025 09:38:25 -0500 (0:00:00.376) 0:03:06.392 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 18 January 2025 09:38:25 -0500 (0:00:00.034) 0:03:06.427 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210943.4528286, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737210943.4518285, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737210943.4518285, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3245711377", "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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 18 January 2025 09:38:25 -0500 (0:00:00.388) 0:03:06.815 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210940.8518202, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b729d8c7232b61b9ed71a57320efdc572b4952b3", "ctime": 1737210935.3518028, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278670, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737210935.352994, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "2013745509", "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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 18 January 2025 09:38:26 -0500 (0:00:00.389) 0:03:07.205 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004653", "end": "2025-01-18 09:38:26.447240", "rc": 0, "start": "2025-01-18 09:38:26.442587" } 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 18 January 2025 09:38:26 -0500 (0:00:00.390) 0:03:07.595 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 18 January 2025 09:38:26 -0500 (0:00:00.030) 0:03:07.626 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 18 January 2025 09:38:26 -0500 (0:00:00.386) 0:03:08.012 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 18 January 2025 09:38:27 -0500 (0:00:00.385) 0:03:08.398 ****** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 18 January 2025 09:38:27 -0500 (0:00:00.623) 0:03:09.021 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 18 January 2025 09:38:27 -0500 (0:00:00.018) 0:03:09.040 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 18 January 2025 09:38:27 -0500 (0:00:00.016) 0:03:09.056 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 18 January 2025 09:38:27 -0500 (0:00:00.024) 0:03:09.081 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cfd66fcbc661417a96f56adc7e6ab66f-6.12.4-200.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (6.12.4-200.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "cfd66fcbc661417a96f56adc7e6ab66f-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f.img", "kernel": "/boot/vmlinuz-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (0-rescue-cfd66fcbc661417a96f56adc7e6ab66f) 41 (Forty One)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 18 January 2025 09:38:28 -0500 (0:00:00.493) 0:03:09.575 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 18 January 2025 09:38:28 -0500 (0:00:00.034) 0:03:09.609 ****** included: /tmp/collections-4oL/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-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 18 January 2025 09:38:28 -0500 (0:00:00.031) 0:03:09.640 ****** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cfd66fcbc661417a96f56adc7e6ab66f-6.12.4-200.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (6.12.4-200.fc41.x86_64) 41 (Forty One)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 18 January 2025 09:38:28 -0500 (0:00:00.033) 0:03:09.674 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.4-200.fc41.x86_64', 'dest': '/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "5fc5a2c1875c95a256ee1870963635c415ac8612", "dest": "/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone2", "src": "/boot/vmlinuz-6.12.4-200.fc41.x86_64" }, "md5sum": "ab3941bbe1d29930c4f353740ff57387", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 16652648, "src": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.4-200.fc41.x86_64.img', 'dest': '/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "39fa97306e2f913caf9992c8cf8ca73ab9a41baa", "dest": "/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone2", "src": "/boot/initramfs-6.12.4-200.fc41.x86_64.img" }, "md5sum": "23f7099ebd3366d88dca7e4d6a160d78", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 27753016, "src": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 18 January 2025 09:38:29 -0500 (0:00:01.169) 0:03:10.843 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 18 January 2025 09:38:29 -0500 (0:00:00.037) 0:03:10.881 ****** included: /tmp/collections-4oL/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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 18 January 2025 09:38:29 -0500 (0:00:00.017) 0:03:10.899 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 18 January 2025 09:38:29 -0500 (0:00:00.028) 0:03:10.927 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 18 January 2025 09:38:29 -0500 (0:00:00.017) 0:03:10.944 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 18 January 2025 09:38:29 -0500 (0:00:00.017) 0:03:10.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_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 18 January 2025 09:38:29 -0500 (0:00:00.029) 0:03:10.991 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 18 January 2025 09:38:29 -0500 (0:00:00.012) 0:03:11.003 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 18 January 2025 09:38:31 -0500 (0:00:01.308) 0:03:12.311 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210943.4528286, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737210943.4518285, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737210943.4518285, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3245711377", "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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 18 January 2025 09:38:31 -0500 (0:00:00.387) 0:03:12.699 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 18 January 2025 09:38:31 -0500 (0:00:00.014) 0:03:12.713 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 18 January 2025 09:38:31 -0500 (0:00:00.013) 0:03:12.726 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 18 January 2025 09:38:32 -0500 (0:00:00.372) 0:03:13.098 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 18 January 2025 09:38:32 -0500 (0:00:00.036) 0:03:13.135 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210943.4528286, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737210943.4518285, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737210943.4518285, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "3245711377", "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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 18 January 2025 09:38:32 -0500 (0:00:00.390) 0:03:13.525 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210940.8518202, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b729d8c7232b61b9ed71a57320efdc572b4952b3", "ctime": 1737210935.3518028, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278670, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737210935.352994, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "2013745509", "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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 18 January 2025 09:38:32 -0500 (0:00:00.396) 0:03:13.921 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005498", "end": "2025-01-18 09:38:33.167806", "rc": 0, "start": "2025-01-18 09:38:33.162308" } 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 18 January 2025 09:38:33 -0500 (0:00:00.393) 0:03:14.315 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 18 January 2025 09:38:33 -0500 (0:00:00.028) 0:03:14.344 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 18 January 2025 09:38:33 -0500 (0:00:00.396) 0:03:14.740 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 18 January 2025 09:38:34 -0500 (0:00:00.387) 0:03:15.128 ****** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 18 January 2025 09:38:34 -0500 (0:00:00.601) 0:03:15.730 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 18 January 2025 09:38:34 -0500 (0:00:00.020) 0:03:15.750 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 18 January 2025 09:38:34 -0500 (0:00:00.017) 0:03:15.768 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 18 January 2025 09:38:34 -0500 (0:00:00.023) 0:03:15.791 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 18 January 2025 09:38:34 -0500 (0:00:00.024) 0:03:15.816 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 18 January 2025 09:38:34 -0500 (0:00:00.001) 0:03:15.818 ****** 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.137762", "end": "2025-01-18 09:38:35.182952", "rc": 0, "start": "2025-01-18 09:38:35.045190" } 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 18 January 2025 09:38:35 -0500 (0:00:00.513) 0:03:16.331 ****** included: /tmp/collections-4oL/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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 18 January 2025 09:38:35 -0500 (0:00:00.014) 0:03:16.346 ****** changed: [managed-node1] => { "changed": true, "elapsed": 152, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 18 January 2025 09:41:09 -0500 (0:02:33.907) 0:05:50.254 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 18 January 2025 09:41:09 -0500 (0:00:00.013) 0:05:50.267 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 18 January 2025 09:41:09 -0500 (0:00:00.018) 0:05:50.286 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 18 January 2025 09:41:09 -0500 (0:00:00.016) 0:05:50.302 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 18 January 2025 09:41:09 -0500 (0:00:00.055) 0:05:50.357 ****** included: /tmp/collections-4oL/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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 18 January 2025 09:41:09 -0500 (0:00:00.018) 0:05:50.376 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 18 January 2025 09:41:09 -0500 (0:00:00.028) 0:05:50.405 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 18 January 2025 09:41:09 -0500 (0:00:00.017) 0:05:50.423 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 18 January 2025 09:41:09 -0500 (0:00:00.017) 0:05:50.440 ****** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 18 January 2025 09:41:09 -0500 (0:00:00.031) 0:05:50.472 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 18 January 2025 09:41:09 -0500 (0:00:00.013) 0:05:50.486 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 18 January 2025 09:41:11 -0500 (0:00:02.216) 0:05:52.702 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737211115.1816921, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737211115.1806922, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 85, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737211115.1806922, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1172303123", "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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 18 January 2025 09:41:12 -0500 (0:00:00.421) 0:05:53.124 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 18 January 2025 09:41:12 -0500 (0:00:00.014) 0:05:53.139 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 18 January 2025 09:41:12 -0500 (0:00:00.013) 0:05:53.152 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 18 January 2025 09:41:12 -0500 (0:00:00.365) 0:05:53.518 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 18 January 2025 09:41:12 -0500 (0:00:00.035) 0:05:53.553 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737211115.1816921, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737211115.1806922, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 85, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737211115.1806922, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1172303123", "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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 18 January 2025 09:41:12 -0500 (0:00:00.390) 0:05:53.944 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210940.8518202, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b729d8c7232b61b9ed71a57320efdc572b4952b3", "ctime": 1737210935.3518028, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278670, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737210935.352994, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "2013745509", "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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 18 January 2025 09:41:13 -0500 (0:00:00.390) 0:05:54.334 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004570", "end": "2025-01-18 09:41:13.576982", "rc": 0, "start": "2025-01-18 09:41:13.572412" } 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 18 January 2025 09:41:13 -0500 (0:00:00.388) 0:05:54.723 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 18 January 2025 09:41:13 -0500 (0:00:00.031) 0:05:54.755 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 18 January 2025 09:41:14 -0500 (0:00:00.385) 0:05:55.141 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 18 January 2025 09:41:14 -0500 (0:00:00.386) 0:05:55.527 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 18 January 2025 09:41:14 -0500 (0:00:00.369) 0:05:55.897 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 18 January 2025 09:41:14 -0500 (0:00:00.019) 0:05:55.916 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 18 January 2025 09:41:14 -0500 (0:00:00.017) 0:05:55.934 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 18 January 2025 09:41:14 -0500 (0:00:00.029) 0:05:55.964 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec2641e3e55173f238a236c410f00357-6.12.4-200.fc41.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cfd66fcbc661417a96f56adc7e6ab66f-6.12.4-200.fc41.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (6.12.4-200.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "cfd66fcbc661417a96f56adc7e6ab66f-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f.img", "kernel": "/boot/vmlinuz-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (0-rescue-cfd66fcbc661417a96f56adc7e6ab66f) 41 (Forty One)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 18 January 2025 09:41:15 -0500 (0:00:00.529) 0:05:56.493 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 18 January 2025 09:41:15 -0500 (0:00:00.033) 0:05:56.527 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 18 January 2025 09:41:15 -0500 (0:00:00.066) 0:05:56.593 ****** included: /tmp/collections-4oL/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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 18 January 2025 09:41:15 -0500 (0:00:00.017) 0:05:56.611 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 18 January 2025 09:41:15 -0500 (0:00:00.028) 0:05:56.639 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 18 January 2025 09:41:15 -0500 (0:00:00.019) 0:05:56.659 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 18 January 2025 09:41:15 -0500 (0:00:00.017) 0:05:56.676 ****** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=Fedora_41.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "Fedora_41.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 18 January 2025 09:41:15 -0500 (0:00:00.029) 0:05:56.706 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 18 January 2025 09:41:15 -0500 (0:00:00.013) 0:05:56.719 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 18 January 2025 09:41:16 -0500 (0:00:01.303) 0:05:58.023 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737211115.1816921, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737211115.1806922, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 85, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737211115.1806922, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1172303123", "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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 18 January 2025 09:41:17 -0500 (0:00:00.382) 0:05:58.406 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 18 January 2025 09:41:17 -0500 (0:00:00.014) 0:05:58.420 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 18 January 2025 09:41:17 -0500 (0:00:00.012) 0:05:58.433 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 18 January 2025 09:41:17 -0500 (0:00:00.367) 0:05:58.801 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 18 January 2025 09:41:17 -0500 (0:00:00.035) 0:05:58.837 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737211115.1816921, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "87bc042bb64e052b477f838cd2049c097dca4287", "ctime": 1737211115.1806922, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 85, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1737211115.1806922, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "version": "1172303123", "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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 18 January 2025 09:41:18 -0500 (0:00:00.390) 0:05:59.227 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737210940.8518202, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "b729d8c7232b61b9ed71a57320efdc572b4952b3", "ctime": 1737210935.3518028, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 278670, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1737210935.352994, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 7003, "uid": 0, "version": "2013745509", "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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 18 January 2025 09:41:18 -0500 (0:00:00.390) 0:05:59.618 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004940", "end": "2025-01-18 09:41:18.861769", "rc": 0, "start": "2025-01-18 09:41:18.856829" } 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 18 January 2025 09:41:18 -0500 (0:00:00.391) 0:06:00.009 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 18 January 2025 09:41:18 -0500 (0:00:00.034) 0:06:00.043 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 18 January 2025 09:41:19 -0500 (0:00:00.387) 0:06:00.431 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 18 January 2025 09:41:19 -0500 (0:00:00.386) 0:06:00.817 ****** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 18 January 2025 09:41:20 -0500 (0:00:00.599) 0:06:01.417 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 18 January 2025 09:41:20 -0500 (0:00:00.018) 0:06:01.436 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 18 January 2025 09:41:20 -0500 (0:00:00.016) 0:06:01.452 ****** 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 18 January 2025 09:41:20 -0500 (0:00:00.024) 0:06:01.477 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": true, "id": "cfd66fcbc661417a96f56adc7e6ab66f-6.12.4-200.fc41.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.4-200.fc41.x86_64.img", "kernel": "/boot/vmlinuz-6.12.4-200.fc41.x86_64", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (6.12.4-200.fc41.x86_64) 41 (Forty One)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "id": "cfd66fcbc661417a96f56adc7e6ab66f-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f.img", "kernel": "/boot/vmlinuz-0-rescue-cfd66fcbc661417a96f56adc7e6ab66f", "root": "UUID=66a9de68-b537-4835-a273-01e7feb468b4", "title": "Fedora Linux (0-rescue-cfd66fcbc661417a96f56adc7e6ab66f) 41 (Forty One)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 18 January 2025 09:41:20 -0500 (0:00:00.491) 0:06:01.968 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 18 January 2025 09:41:20 -0500 (0:00:00.034) 0:06:02.003 ****** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone1" ], "delta": "0:00:00.044974", "end": "2025-01-18 09:41:21.272219", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-01-18 09:41:21.227245" } STDERR: The param /boot/vmlinuz-6.12.4-200.fc41.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.4-200.fc41.x86_64_clone2" ], "delta": "0:00:00.045055", "end": "2025-01-18 09:41:21.674928", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-01-18 09:41:21.629873" } STDERR: The param /boot/vmlinuz-6.12.4-200.fc41.x86_64_clone2 is incorrect MSG: non-zero return code NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 18 January 2025 09:41:21 -0500 (0:00:00.819) 0:06:02.823 ****** 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.108115", "end": "2025-01-18 09:41:22.156102", "rc": 0, "start": "2025-01-18 09:41:22.047987" } 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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 18 January 2025 09:41:22 -0500 (0:00:00.481) 0:06:03.304 ****** included: /tmp/collections-4oL/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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 18 January 2025 09:41:22 -0500 (0:00:00.014) 0:06:03.319 ****** changed: [managed-node1] => { "changed": true, "elapsed": 141, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 18 January 2025 09:43:44 -0500 (0:02:22.110) 0:08:25.430 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 18 January 2025 09:43:44 -0500 (0:00:00.013) 0:08:25.443 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=118 changed=14 unreachable=0 failed=0 skipped=80 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 18 January 2025 09:43:44 -0500 (0:00:00.016) 0:08:25.460 ****** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true - 153.91s /tmp/collections-4oL/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.18s /tmp/collections-4oL/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 - 142.11s /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 9.91s /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.87s /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.24s /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.22s /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.31s /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.30s /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.30s /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.30s /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.24s /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.17s /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.82s /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.62s /tmp/collections-4oL/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-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.57s /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.57s /tmp/collections-4oL/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4