ansible-playbook [core 2.17.5] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-Q34 executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-Q34/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-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 12 October 2024 14:52:21 -0400 (0:00:00.008) 0:00:00.008 ****** included: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 12 October 2024 14:52:21 -0400 (0:00:00.012) 0:00:00.021 ****** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 12 October 2024 14:52:23 -0400 (0:00:02.056) 0:00:02.078 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 12 October 2024 14:52:23 -0400 (0:00:00.028) 0:00:02.106 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 12 October 2024 14:52:23 -0400 (0:00:00.042) 0:00:02.149 ****** included: /tmp/collections-Q34/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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 12 October 2024 14:52:23 -0400 (0:00:00.015) 0:00:02.165 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 12 October 2024 14:52:23 -0400 (0:00:00.033) 0:00:02.199 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 12 October 2024 14:52:24 -0400 (0:00:00.396) 0:00:02.595 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 12 October 2024 14:52:24 -0400 (0:00:00.019) 0:00:02.614 ****** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 12 October 2024 14:52:24 -0400 (0:00:00.029) 0:00:02.644 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 12 October 2024 14:52:24 -0400 (0:00:00.011) 0:00:02.655 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 12 October 2024 14:52:25 -0400 (0:00:01.612) 0:00:04.267 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727803292.1829698, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1727803292.1839697, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 528139, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727803292.1829698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2008863221", "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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 12 October 2024 14:52:26 -0400 (0:00:00.356) 0:00:04.624 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 12 October 2024 14:52:26 -0400 (0:00:00.012) 0:00:04.637 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 12 October 2024 14:52:26 -0400 (0:00:00.010) 0:00:04.647 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 12 October 2024 14:52:26 -0400 (0:00:00.320) 0:00:04.968 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 12 October 2024 14:52:26 -0400 (0:00:00.051) 0:00:05.020 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728759146.1832757, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1727803292.1839697, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 528139, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727803292.1829698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2008863221", "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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 12 October 2024 14:52:27 -0400 (0:00:00.367) 0:00:05.387 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727802391.666, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "aaf95880dee634566ad4fb34610492f6ebca6c33", "ctime": 1727802391.668, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13796848, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727802391.668, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6743, "uid": 0, "version": "3360979508", "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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 12 October 2024 14:52:27 -0400 (0:00:00.432) 0:00:05.820 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004597", "end": "2024-10-12 14:52:27.839514", "rc": 0, "start": "2024-10-12 14:52:27.834917" } 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 12 October 2024 14:52:27 -0400 (0:00:00.423) 0:00:06.244 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 12 October 2024 14:52:27 -0400 (0:00:00.031) 0:00:06.276 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 12 October 2024 14:52:28 -0400 (0:00:00.411) 0:00:06.688 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 12 October 2024 14:52:28 -0400 (0:00:00.346) 0:00:07.035 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 12 October 2024 14:52:29 -0400 (0:00:00.442) 0:00:07.477 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 12 October 2024 14:52:29 -0400 (0:00:00.023) 0:00:07.501 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 12 October 2024 14:52:29 -0400 (0:00:00.026) 0:00:07.528 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 12 October 2024 14:52:29 -0400 (0:00:00.039) 0:00:07.567 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "3fa5d8e85a9143adbcad235898fed473-6.11.0-25.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.0-25.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-25.el10.x86_64", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (6.11.0-25.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "3fa5d8e85a9143adbcad235898fed473-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-3fa5d8e85a9143adbcad235898fed473.img", "kernel": "/boot/vmlinuz-0-rescue-3fa5d8e85a9143adbcad235898fed473", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (0-rescue-3fa5d8e85a9143adbcad235898fed473) 10 (Coughlan)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 12 October 2024 14:52:29 -0400 (0:00:00.613) 0:00:08.180 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 12 October 2024 14:52:29 -0400 (0:00:00.006) 0:00:08.187 ****** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 12 October 2024 14:52:29 -0400 (0:00:00.004) 0:00:08.191 ****** included: /tmp/collections-Q34/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-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 12 October 2024 14:52:29 -0400 (0:00:00.042) 0:00:08.233 ****** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "3fa5d8e85a9143adbcad235898fed473-6.11.0-25.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.0-25.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-25.el10.x86_64", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (6.11.0-25.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 12 October 2024 14:52:29 -0400 (0:00:00.062) 0:00:08.295 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.0-25.el10.x86_64', 'dest': '/boot/vmlinuz-6.11.0-25.el10.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "6d0072e99d059b8d9a4d61c19b07f8323a99a4fc", "dest": "/boot/vmlinuz-6.11.0-25.el10.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.0-25.el10.x86_64_clone1", "src": "/boot/vmlinuz-6.11.0-25.el10.x86_64" }, "md5sum": "4c39d0221b02ef17438d549a5e9cda34", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15493368, "src": "/boot/vmlinuz-6.11.0-25.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.0-25.el10.x86_64.img', 'dest': '/boot/initramfs-6.11.0-25.el10.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "8024d69e9cf3d57aa56b6883ad93c3bc47c4da8b", "dest": "/boot/initramfs-6.11.0-25.el10.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.0-25.el10.x86_64.img_clone1", "src": "/boot/initramfs-6.11.0-25.el10.x86_64.img" }, "md5sum": "bc5b3b4afe1c9d5cad713840cd9b1afd", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31225712, "src": "/boot/initramfs-6.11.0-25.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 12 October 2024 14:52:30 -0400 (0:00:01.033) 0:00:09.329 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 12 October 2024 14:52:31 -0400 (0:00:00.057) 0:00:09.387 ****** included: /tmp/collections-Q34/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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 12 October 2024 14:52:31 -0400 (0:00:00.033) 0:00:09.420 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 12 October 2024 14:52:31 -0400 (0:00:00.051) 0:00:09.472 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 12 October 2024 14:52:31 -0400 (0:00:00.021) 0:00:09.493 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 12 October 2024 14:52:31 -0400 (0:00:00.020) 0:00:09.513 ****** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 12 October 2024 14:52:31 -0400 (0:00:00.033) 0:00:09.547 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 12 October 2024 14:52:31 -0400 (0:00:00.012) 0:00:09.559 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 12 October 2024 14:52:31 -0400 (0:00:00.644) 0:00:10.204 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728759146.1832757, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1727803292.1839697, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 528139, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727803292.1829698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2008863221", "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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 12 October 2024 14:52:32 -0400 (0:00:00.330) 0:00:10.535 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 12 October 2024 14:52:32 -0400 (0:00:00.012) 0:00:10.547 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 12 October 2024 14:52:32 -0400 (0:00:00.011) 0:00:10.559 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 12 October 2024 14:52:32 -0400 (0:00:00.315) 0:00:10.875 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 12 October 2024 14:52:32 -0400 (0:00:00.038) 0:00:10.913 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728759146.1832757, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1727803292.1839697, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 528139, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727803292.1829698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2008863221", "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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 12 October 2024 14:52:32 -0400 (0:00:00.338) 0:00:11.252 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728759148.6299121, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "c31ae84e966cc3a80dea375f9c1710106e7ce63d", "ctime": 1728759148.6282678, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 171966595, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1728759148.629913, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "927831084", "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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 12 October 2024 14:52:33 -0400 (0:00:00.345) 0:00:11.597 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004576", "end": "2024-10-12 14:52:33.548280", "rc": 0, "start": "2024-10-12 14:52:33.543704" } 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 12 October 2024 14:52:33 -0400 (0:00:00.355) 0:00:11.953 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 12 October 2024 14:52:33 -0400 (0:00:00.031) 0:00:11.985 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 12 October 2024 14:52:33 -0400 (0:00:00.371) 0:00:12.357 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 12 October 2024 14:52:34 -0400 (0:00:00.336) 0:00:12.693 ****** 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.11.0-25.el10.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.11.0-25.el10.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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 12 October 2024 14:52:34 -0400 (0:00:00.513) 0:00:13.207 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 12 October 2024 14:52:34 -0400 (0:00:00.020) 0:00:13.227 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 12 October 2024 14:52:34 -0400 (0:00:00.019) 0:00:13.247 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 12 October 2024 14:52:34 -0400 (0:00:00.031) 0:00:13.278 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 12 October 2024 14:52:34 -0400 (0:00:00.029) 0:00:13.308 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 12 October 2024 14:52:34 -0400 (0:00:00.002) 0:00:13.311 ****** 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.119894", "end": "2024-10-12 14:52:35.354513", "rc": 0, "start": "2024-10-12 14:52:35.234619" } STDOUT: args="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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="rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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 rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 12 October 2024 14:52:35 -0400 (0:00:00.454) 0:00:13.765 ****** included: /tmp/collections-Q34/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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 12 October 2024 14:52:35 -0400 (0:00:00.015) 0:00:13.780 ****** changed: [managed-node1] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 12 October 2024 14:52:59 -0400 (0:00:24.097) 0:00:37.877 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 12 October 2024 14:52:59 -0400 (0:00:00.011) 0:00:37.889 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 12 October 2024 14:52:59 -0400 (0:00:00.014) 0:00:37.904 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 12 October 2024 14:52:59 -0400 (0:00:00.014) 0:00:37.918 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 12 October 2024 14:52:59 -0400 (0:00:00.047) 0:00:37.965 ****** included: /tmp/collections-Q34/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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 12 October 2024 14:52:59 -0400 (0:00:00.016) 0:00:37.982 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 12 October 2024 14:52:59 -0400 (0:00:00.031) 0:00:38.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 flag to indicate system is ostree] *** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 12 October 2024 14:52:59 -0400 (0:00:00.017) 0:00:38.031 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 12 October 2024 14:52:59 -0400 (0:00:00.016) 0:00:38.047 ****** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 12 October 2024 14:52:59 -0400 (0:00:00.028) 0:00:38.075 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 12 October 2024 14:52:59 -0400 (0:00:00.012) 0:00:38.087 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 12 October 2024 14:53:00 -0400 (0:00:01.168) 0:00:39.256 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728759155.3532457, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1728759155.3522456, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8997668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728759155.3522456, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "904173057", "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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 12 October 2024 14:53:01 -0400 (0:00:00.363) 0:00:39.620 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 12 October 2024 14:53:01 -0400 (0:00:00.013) 0:00:39.633 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 12 October 2024 14:53:01 -0400 (0:00:00.011) 0:00:39.645 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 12 October 2024 14:53:01 -0400 (0:00:00.314) 0:00:39.960 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 12 October 2024 14:53:01 -0400 (0:00:00.039) 0:00:39.999 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728759155.3532457, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1728759155.3522456, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8997668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728759155.3522456, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "904173057", "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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 12 October 2024 14:53:01 -0400 (0:00:00.339) 0:00:40.338 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728759153.1772528, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "c31ae84e966cc3a80dea375f9c1710106e7ce63d", "ctime": 1728759148.6282678, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 171966595, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1728759148.629913, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "927831084", "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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 12 October 2024 14:53:02 -0400 (0:00:00.343) 0:00:40.682 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004380", "end": "2024-10-12 14:53:02.791686", "rc": 0, "start": "2024-10-12 14:53:02.787306" } 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 12 October 2024 14:53:02 -0400 (0:00:00.355) 0:00:41.037 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 12 October 2024 14:53:02 -0400 (0:00:00.033) 0:00:41.071 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 12 October 2024 14:53:03 -0400 (0:00:00.352) 0:00:41.423 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 12 October 2024 14:53:03 -0400 (0:00:00.355) 0:00:41.779 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 12 October 2024 14:53:03 -0400 (0:00:00.332) 0:00:42.111 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 12 October 2024 14:53:03 -0400 (0:00:00.018) 0:00:42.130 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 12 October 2024 14:53:03 -0400 (0:00:00.018) 0:00:42.148 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 12 October 2024 14:53:03 -0400 (0:00:00.030) 0:00:42.179 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "ec276490d42068e056e25684016ad9e3-6.11.0-25.el10.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.11.0-25.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.11.0-25.el10.x86_64_clone1", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "Clone1" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "3fa5d8e85a9143adbcad235898fed473-6.11.0-25.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.0-25.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-25.el10.x86_64", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (6.11.0-25.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "3fa5d8e85a9143adbcad235898fed473-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-3fa5d8e85a9143adbcad235898fed473.img", "kernel": "/boot/vmlinuz-0-rescue-3fa5d8e85a9143adbcad235898fed473", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (0-rescue-3fa5d8e85a9143adbcad235898fed473) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 12 October 2024 14:53:04 -0400 (0:00:00.489) 0:00:42.669 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 12 October 2024 14:53:04 -0400 (0:00:00.037) 0:00:42.706 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 12 October 2024 14:53:04 -0400 (0:00:00.046) 0:00:42.753 ****** included: /tmp/collections-Q34/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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 12 October 2024 14:53:04 -0400 (0:00:00.016) 0:00:42.770 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 12 October 2024 14:53:04 -0400 (0:00:00.030) 0:00:42.800 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 12 October 2024 14:53:04 -0400 (0:00:00.016) 0:00:42.817 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 12 October 2024 14:53:04 -0400 (0:00:00.017) 0:00:42.834 ****** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 12 October 2024 14:53:04 -0400 (0:00:00.029) 0:00:42.864 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 12 October 2024 14:53:04 -0400 (0:00:00.011) 0:00:42.875 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 12 October 2024 14:53:05 -0400 (0:00:00.630) 0:00:43.506 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728759155.3532457, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1728759155.3522456, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8997668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728759155.3522456, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "904173057", "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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 12 October 2024 14:53:05 -0400 (0:00:00.334) 0:00:43.840 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 12 October 2024 14:53:05 -0400 (0:00:00.013) 0:00:43.853 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 12 October 2024 14:53:05 -0400 (0:00:00.012) 0:00:43.865 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 12 October 2024 14:53:05 -0400 (0:00:00.320) 0:00:44.186 ****** ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 12 October 2024 14:53:05 -0400 (0:00:00.039) 0:00:44.226 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728759155.3532457, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1728759155.3522456, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8997668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728759155.3522456, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "904173057", "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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 12 October 2024 14:53:06 -0400 (0:00:00.339) 0:00:44.566 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728759153.1772528, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "c31ae84e966cc3a80dea375f9c1710106e7ce63d", "ctime": 1728759148.6282678, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 171966595, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1728759148.629913, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "927831084", "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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 12 October 2024 14:53:06 -0400 (0:00:00.346) 0:00:44.912 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004668", "end": "2024-10-12 14:53:06.851149", "rc": 0, "start": "2024-10-12 14:53:06.846481" } 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 12 October 2024 14:53:06 -0400 (0:00:00.343) 0:00:45.255 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 12 October 2024 14:53:06 -0400 (0:00:00.033) 0:00:45.289 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 12 October 2024 14:53:07 -0400 (0:00:00.343) 0:00:45.632 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 12 October 2024 14:53:07 -0400 (0:00:00.351) 0:00:45.983 ****** 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.11.0-25.el10.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 12 October 2024 14:53:08 -0400 (0:00:00.543) 0:00:46.527 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 12 October 2024 14:53:08 -0400 (0:00:00.016) 0:00:46.544 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 12 October 2024 14:53:08 -0400 (0:00:00.015) 0:00:46.559 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 12 October 2024 14:53:08 -0400 (0:00:00.026) 0:00:46.586 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "3fa5d8e85a9143adbcad235898fed473-6.11.0-25.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.0-25.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-25.el10.x86_64", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (6.11.0-25.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "3fa5d8e85a9143adbcad235898fed473-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-3fa5d8e85a9143adbcad235898fed473.img", "kernel": "/boot/vmlinuz-0-rescue-3fa5d8e85a9143adbcad235898fed473", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (0-rescue-3fa5d8e85a9143adbcad235898fed473) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 12 October 2024 14:53:08 -0400 (0:00:00.435) 0:00:47.022 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 12 October 2024 14:53:08 -0400 (0:00:00.036) 0:00:47.058 ****** included: /tmp/collections-Q34/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-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 12 October 2024 14:53:08 -0400 (0:00:00.028) 0:00:47.086 ****** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "3fa5d8e85a9143adbcad235898fed473-6.11.0-25.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.0-25.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-25.el10.x86_64", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (6.11.0-25.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 12 October 2024 14:53:08 -0400 (0:00:00.035) 0:00:47.122 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.0-25.el10.x86_64', 'dest': '/boot/vmlinuz-6.11.0-25.el10.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "6d0072e99d059b8d9a4d61c19b07f8323a99a4fc", "dest": "/boot/vmlinuz-6.11.0-25.el10.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.0-25.el10.x86_64_clone2", "src": "/boot/vmlinuz-6.11.0-25.el10.x86_64" }, "md5sum": "4c39d0221b02ef17438d549a5e9cda34", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15493368, "src": "/boot/vmlinuz-6.11.0-25.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.0-25.el10.x86_64.img', 'dest': '/boot/initramfs-6.11.0-25.el10.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "8024d69e9cf3d57aa56b6883ad93c3bc47c4da8b", "dest": "/boot/initramfs-6.11.0-25.el10.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.0-25.el10.x86_64.img_clone2", "src": "/boot/initramfs-6.11.0-25.el10.x86_64.img" }, "md5sum": "bc5b3b4afe1c9d5cad713840cd9b1afd", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31225712, "src": "/boot/initramfs-6.11.0-25.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 12 October 2024 14:53:09 -0400 (0:00:00.891) 0:00:48.014 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 12 October 2024 14:53:09 -0400 (0:00:00.033) 0:00:48.048 ****** included: /tmp/collections-Q34/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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 12 October 2024 14:53:09 -0400 (0:00:00.017) 0:00:48.065 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 12 October 2024 14:53:09 -0400 (0:00:00.031) 0:00:48.097 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 12 October 2024 14:53:09 -0400 (0:00:00.017) 0:00:48.114 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 12 October 2024 14:53:09 -0400 (0:00:00.015) 0:00:48.130 ****** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 12 October 2024 14:53:09 -0400 (0:00:00.028) 0:00:48.158 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 12 October 2024 14:53:09 -0400 (0:00:00.012) 0:00:48.170 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 12 October 2024 14:53:10 -0400 (0:00:00.623) 0:00:48.794 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728759155.3532457, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1728759155.3522456, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8997668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728759155.3522456, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "904173057", "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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 12 October 2024 14:53:10 -0400 (0:00:00.343) 0:00:49.138 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 12 October 2024 14:53:10 -0400 (0:00:00.014) 0:00:49.152 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 12 October 2024 14:53:10 -0400 (0:00:00.011) 0:00:49.164 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 12 October 2024 14:53:11 -0400 (0:00:00.320) 0:00:49.484 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 12 October 2024 14:53:11 -0400 (0:00:00.038) 0:00:49.522 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728759155.3532457, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1728759155.3522456, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8997668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728759155.3522456, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "904173057", "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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 12 October 2024 14:53:11 -0400 (0:00:00.336) 0:00:49.859 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728759153.1772528, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "c31ae84e966cc3a80dea375f9c1710106e7ce63d", "ctime": 1728759148.6282678, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 171966595, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1728759148.629913, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "927831084", "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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 12 October 2024 14:53:11 -0400 (0:00:00.342) 0:00:50.201 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004537", "end": "2024-10-12 14:53:12.138545", "rc": 0, "start": "2024-10-12 14:53:12.134008" } 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 12 October 2024 14:53:12 -0400 (0:00:00.342) 0:00:50.543 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 12 October 2024 14:53:12 -0400 (0:00:00.031) 0:00:50.575 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 12 October 2024 14:53:12 -0400 (0:00:00.341) 0:00:50.916 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 12 October 2024 14:53:12 -0400 (0:00:00.338) 0:00:51.255 ****** 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.11.0-25.el10.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.11.0-25.el10.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 12 October 2024 14:53:13 -0400 (0:00:00.522) 0:00:51.778 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 12 October 2024 14:53:13 -0400 (0:00:00.017) 0:00:51.796 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 12 October 2024 14:53:13 -0400 (0:00:00.016) 0:00:51.812 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 12 October 2024 14:53:13 -0400 (0:00:00.026) 0:00:51.839 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 12 October 2024 14:53:13 -0400 (0:00:00.027) 0:00:51.867 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 12 October 2024 14:53:13 -0400 (0:00:00.002) 0:00:51.870 ****** 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.132152", "end": "2024-10-12 14:53:13.919269", "rc": 0, "start": "2024-10-12 14:53:13.787117" } STDOUT: args="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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 rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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 rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 12 October 2024 14:53:13 -0400 (0:00:00.454) 0:00:52.325 ****** included: /tmp/collections-Q34/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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 12 October 2024 14:53:13 -0400 (0:00:00.014) 0:00:52.339 ****** changed: [managed-node1] => { "changed": true, "elapsed": 27, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 12 October 2024 14:53:42 -0400 (0:00:28.450) 0:01:20.789 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 12 October 2024 14:53:42 -0400 (0:00:00.012) 0:01:20.802 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 12 October 2024 14:53:42 -0400 (0:00:00.015) 0:01:20.817 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 12 October 2024 14:53:42 -0400 (0:00:00.013) 0:01:20.831 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 12 October 2024 14:53:42 -0400 (0:00:00.048) 0:01:20.880 ****** included: /tmp/collections-Q34/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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 12 October 2024 14:53:42 -0400 (0:00:00.017) 0:01:20.897 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 12 October 2024 14:53:42 -0400 (0:00:00.031) 0:01:20.928 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 12 October 2024 14:53:42 -0400 (0:00:00.016) 0:01:20.945 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 12 October 2024 14:53:42 -0400 (0:00:00.017) 0:01:20.962 ****** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 12 October 2024 14:53:42 -0400 (0:00:00.037) 0:01:20.999 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 12 October 2024 14:53:42 -0400 (0:00:00.013) 0:01:21.012 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 12 October 2024 14:53:43 -0400 (0:00:01.183) 0:01:22.196 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728759193.91847, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1728759193.91747, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8997671, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728759193.91747, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1730058541", "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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 12 October 2024 14:53:44 -0400 (0:00:00.365) 0:01:22.562 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 12 October 2024 14:53:44 -0400 (0:00:00.014) 0:01:22.576 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 12 October 2024 14:53:44 -0400 (0:00:00.012) 0:01:22.589 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 12 October 2024 14:53:44 -0400 (0:00:00.326) 0:01:22.915 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 12 October 2024 14:53:44 -0400 (0:00:00.037) 0:01:22.953 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728759193.91847, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1728759193.91747, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8997671, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728759193.91747, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1730058541", "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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 12 October 2024 14:53:44 -0400 (0:00:00.329) 0:01:23.283 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728759153.1772528, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "c31ae84e966cc3a80dea375f9c1710106e7ce63d", "ctime": 1728759148.6282678, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 171966595, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1728759148.629913, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "927831084", "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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 12 October 2024 14:53:45 -0400 (0:00:00.340) 0:01:23.624 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004545", "end": "2024-10-12 14:53:45.561322", "rc": 0, "start": "2024-10-12 14:53:45.556777" } 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 12 October 2024 14:53:45 -0400 (0:00:00.340) 0:01:23.964 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 12 October 2024 14:53:45 -0400 (0:00:00.032) 0:01:23.997 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 12 October 2024 14:53:45 -0400 (0:00:00.354) 0:01:24.352 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 12 October 2024 14:53:46 -0400 (0:00:00.341) 0:01:24.694 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 12 October 2024 14:53:46 -0400 (0:00:00.332) 0:01:25.026 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 12 October 2024 14:53:46 -0400 (0:00:00.024) 0:01:25.050 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 12 October 2024 14:53:46 -0400 (0:00:00.016) 0:01:25.067 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 12 October 2024 14:53:46 -0400 (0:00:00.028) 0:01:25.096 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec276490d42068e056e25684016ad9e3-6.11.0-25.el10.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.11.0-25.el10.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.11.0-25.el10.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "3fa5d8e85a9143adbcad235898fed473-6.11.0-25.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.0-25.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-25.el10.x86_64", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (6.11.0-25.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "3fa5d8e85a9143adbcad235898fed473-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-3fa5d8e85a9143adbcad235898fed473.img", "kernel": "/boot/vmlinuz-0-rescue-3fa5d8e85a9143adbcad235898fed473", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (0-rescue-3fa5d8e85a9143adbcad235898fed473) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 12 October 2024 14:53:47 -0400 (0:00:00.465) 0:01:25.561 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 12 October 2024 14:53:47 -0400 (0:00:00.035) 0:01:25.597 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 12 October 2024 14:53:47 -0400 (0:00:00.059) 0:01:25.656 ****** included: /tmp/collections-Q34/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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 12 October 2024 14:53:47 -0400 (0:00:00.016) 0:01:25.673 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 12 October 2024 14:53:47 -0400 (0:00:00.034) 0:01:25.707 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 12 October 2024 14:53:47 -0400 (0:00:00.017) 0:01:25.725 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 12 October 2024 14:53:47 -0400 (0:00:00.017) 0:01:25.742 ****** 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=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_10.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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 12 October 2024 14:53:47 -0400 (0:00:00.030) 0:01:25.772 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 12 October 2024 14:53:47 -0400 (0:00:00.012) 0:01:25.785 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 12 October 2024 14:53:48 -0400 (0:00:00.627) 0:01:26.413 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728759193.91847, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1728759193.91747, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8997671, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728759193.91747, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1730058541", "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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 12 October 2024 14:53:48 -0400 (0:00:00.336) 0:01:26.749 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 12 October 2024 14:53:48 -0400 (0:00:00.012) 0:01:26.762 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 12 October 2024 14:53:48 -0400 (0:00:00.011) 0:01:26.774 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 12 October 2024 14:53:48 -0400 (0:00:00.325) 0:01:27.099 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 12 October 2024 14:53:48 -0400 (0:00:00.039) 0:01:27.138 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728759193.91847, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1728759193.91747, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8997671, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728759193.91747, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1730058541", "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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 12 October 2024 14:53:49 -0400 (0:00:00.331) 0:01:27.470 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728759153.1772528, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "c31ae84e966cc3a80dea375f9c1710106e7ce63d", "ctime": 1728759148.6282678, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 171966595, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1728759148.629913, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "927831084", "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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 12 October 2024 14:53:49 -0400 (0:00:00.336) 0:01:27.806 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004636", "end": "2024-10-12 14:53:49.746043", "rc": 0, "start": "2024-10-12 14:53:49.741407" } 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 12 October 2024 14:53:49 -0400 (0:00:00.344) 0:01:28.151 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 12 October 2024 14:53:49 -0400 (0:00:00.032) 0:01:28.183 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 12 October 2024 14:53:50 -0400 (0:00:00.341) 0:01:28.525 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 12 October 2024 14:53:50 -0400 (0:00:00.337) 0:01:28.862 ****** 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.11.0-25.el10.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 12 October 2024 14:53:51 -0400 (0:00:00.523) 0:01:29.386 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 12 October 2024 14:53:51 -0400 (0:00:00.018) 0:01:29.404 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 12 October 2024 14:53:51 -0400 (0:00:00.017) 0:01:29.422 ****** 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 12 October 2024 14:53:51 -0400 (0:00:00.028) 0:01:29.450 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "3fa5d8e85a9143adbcad235898fed473-6.11.0-25.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.0-25.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-25.el10.x86_64", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (6.11.0-25.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "3fa5d8e85a9143adbcad235898fed473-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-3fa5d8e85a9143adbcad235898fed473.img", "kernel": "/boot/vmlinuz-0-rescue-3fa5d8e85a9143adbcad235898fed473", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (0-rescue-3fa5d8e85a9143adbcad235898fed473) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 12 October 2024 14:53:51 -0400 (0:00:00.431) 0:01:29.882 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 12 October 2024 14:53:51 -0400 (0:00:00.037) 0:01:29.920 ****** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.11.0-25.el10.x86_64_clone1" ], "delta": "0:00:00.041145", "end": "2024-10-12 14:53:51.880875", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-10-12 14:53:51.839730" } STDERR: The param /boot/vmlinuz-6.11.0-25.el10.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.11.0-25.el10.x86_64_clone2" ], "delta": "0:00:00.040803", "end": "2024-10-12 14:53:52.230923", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-10-12 14:53:52.190120" } STDERR: The param /boot/vmlinuz-6.11.0-25.el10.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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 12 October 2024 14:53:52 -0400 (0:00:00.718) 0:01:30.638 ****** 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.095155", "end": "2024-10-12 14:53:52.649052", "rc": 0, "start": "2024-10-12 14:53:52.553897" } STDOUT: args="ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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 rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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 rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 12 October 2024 14:53:52 -0400 (0:00:00.415) 0:01:31.053 ****** included: /tmp/collections-Q34/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-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 12 October 2024 14:53:52 -0400 (0:00:00.013) 0:01:31.067 ****** changed: [managed-node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 12 October 2024 14:54:24 -0400 (0:00:31.325) 0:02:02.393 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 12 October 2024 14:54:24 -0400 (0:00:00.012) 0:02:02.405 ****** 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 Saturday 12 October 2024 14:54:24 -0400 (0:00:00.016) 0:02:02.422 ****** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 31.33s /tmp/collections-Q34/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 -- 28.45s /tmp/collections-Q34/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 -- 24.10s /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Gather architecture facts ----------------------------------------------- 2.06s /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.61s /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.18s /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.17s /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.03s /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 0.89s /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.72s /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.64s /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.63s /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.63s /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.62s /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.61s /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.54s /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.52s /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.52s /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.51s /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.49s /tmp/collections-Q34/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139