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-HeB 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-HeB/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-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 26 October 2024 08:52:38 -0400 (0:00:00.010) 0:00:00.010 ****** included: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 26 October 2024 08:52:38 -0400 (0:00:00.014) 0:00:00.024 ****** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 26 October 2024 08:52:41 -0400 (0:00:02.935) 0:00:02.960 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 26 October 2024 08:52:41 -0400 (0:00:00.021) 0:00:02.982 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 26 October 2024 08:52:41 -0400 (0:00:00.044) 0:00:03.026 ****** included: /tmp/collections-HeB/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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 26 October 2024 08:52:41 -0400 (0:00:00.018) 0:00:03.044 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 26 October 2024 08:52:41 -0400 (0:00:00.032) 0:00:03.077 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 26 October 2024 08:52:42 -0400 (0:00:00.439) 0:00:03.516 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 26 October 2024 08:52:42 -0400 (0:00:00.033) 0:00:03.550 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 26 October 2024 08:52:42 -0400 (0:00:00.062) 0:00:03.613 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 26 October 2024 08:52:42 -0400 (0:00:00.022) 0:00:03.635 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 26 October 2024 08:52:46 -0400 (0:00:04.172) 0:00:07.808 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729758408.8096688, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1729758408.810669, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4381090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729758408.8096688, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "3186998172", "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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 26 October 2024 08:52:47 -0400 (0:00:01.063) 0:00:08.871 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 26 October 2024 08:52:47 -0400 (0:00:00.016) 0:00:08.888 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 26 October 2024 08:52:47 -0400 (0:00:00.018) 0:00:08.906 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 26 October 2024 08:52:47 -0400 (0:00:00.356) 0:00:09.262 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 26 October 2024 08:52:48 -0400 (0:00:00.054) 0:00:09.317 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947166.8615875, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1729758408.810669, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4381090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729758408.8096688, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "3186998172", "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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 26 October 2024 08:52:48 -0400 (0:00:00.393) 0:00:09.710 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729757894.8800576, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7869ed3f2ba2edf7b1022d78704f948e8814b37d", "ctime": 1729757894.8810575, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12963808, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729757894.8810575, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6743, "uid": 0, "version": "2312589275", "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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 26 October 2024 08:52:48 -0400 (0:00:00.377) 0:00:10.087 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004591", "end": "2024-10-26 08:52:49.260346", "rc": 0, "start": "2024-10-26 08:52:49.255755" } 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 26 October 2024 08:52:49 -0400 (0:00:00.495) 0:00:10.582 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 26 October 2024 08:52:49 -0400 (0:00:00.039) 0:00:10.622 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 26 October 2024 08:52:49 -0400 (0:00:00.477) 0:00:11.100 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 26 October 2024 08:52:50 -0400 (0:00:00.395) 0:00:11.495 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 26 October 2024 08:52:50 -0400 (0:00:00.510) 0:00:12.006 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 26 October 2024 08:52:50 -0400 (0:00:00.028) 0:00:12.034 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 26 October 2024 08:52:50 -0400 (0:00:00.027) 0:00:12.061 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 26 October 2024 08:52:50 -0400 (0:00:00.036) 0:00:12.098 ****** 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": "865f26168fb948cbaf65bd649ea41367-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=2586ada5-4561-44f7-b04f-6ad7d90893f2", "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": "865f26168fb948cbaf65bd649ea41367-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-865f26168fb948cbaf65bd649ea41367.img", "kernel": "/boot/vmlinuz-0-rescue-865f26168fb948cbaf65bd649ea41367", "root": "UUID=2586ada5-4561-44f7-b04f-6ad7d90893f2", "title": "CentOS Stream (0-rescue-865f26168fb948cbaf65bd649ea41367) 10 (Coughlan)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 26 October 2024 08:52:51 -0400 (0:00:00.571) 0:00:12.670 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 26 October 2024 08:52:51 -0400 (0:00:00.006) 0:00:12.677 ****** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 26 October 2024 08:52:51 -0400 (0:00:00.003) 0:00:12.680 ****** included: /tmp/collections-HeB/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-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 26 October 2024 08:52:51 -0400 (0:00:00.033) 0:00:12.713 ****** 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": "865f26168fb948cbaf65bd649ea41367-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=2586ada5-4561-44f7-b04f-6ad7d90893f2", "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-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 26 October 2024 08:52:51 -0400 (0:00:00.042) 0:00:12.756 ****** 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": "5a5a148c27f2aecc89a3c067f06789b284ef168a", "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": "4a82e1fe5fd949b8cef22de198f814de", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31275079, "src": "/boot/initramfs-6.11.0-25.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 26 October 2024 08:52:52 -0400 (0:00:01.083) 0:00:13.839 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 26 October 2024 08:52:52 -0400 (0:00:00.054) 0:00:13.894 ****** included: /tmp/collections-HeB/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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 26 October 2024 08:52:52 -0400 (0:00:00.022) 0:00:13.916 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 26 October 2024 08:52:52 -0400 (0:00:00.038) 0:00:13.955 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 26 October 2024 08:52:52 -0400 (0:00:00.023) 0:00:13.979 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 26 October 2024 08:52:52 -0400 (0:00:00.019) 0:00:13.999 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 26 October 2024 08:52:52 -0400 (0:00:00.035) 0:00:14.035 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 26 October 2024 08:52:52 -0400 (0:00:00.017) 0:00:14.053 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 26 October 2024 08:52:53 -0400 (0:00:00.744) 0:00:14.797 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947166.8615875, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1729758408.810669, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4381090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729758408.8096688, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "3186998172", "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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 26 October 2024 08:52:53 -0400 (0:00:00.429) 0:00:15.227 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 26 October 2024 08:52:53 -0400 (0:00:00.017) 0:00:15.244 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 26 October 2024 08:52:53 -0400 (0:00:00.020) 0:00:15.264 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 26 October 2024 08:52:54 -0400 (0:00:00.350) 0:00:15.615 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 26 October 2024 08:52:54 -0400 (0:00:00.046) 0:00:15.662 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947166.8615875, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1729758408.810669, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4381090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729758408.8096688, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "3186998172", "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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 26 October 2024 08:52:54 -0400 (0:00:00.426) 0:00:16.088 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947170.1684024, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e27aab55ff07e6dd298001751b22b146d73d9732", "ctime": 1729947170.1675615, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 121635010, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729947170.1684034, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "526932421", "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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 26 October 2024 08:52:55 -0400 (0:00:00.430) 0:00:16.519 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004767", "end": "2024-10-26 08:52:55.675746", "rc": 0, "start": "2024-10-26 08:52:55.670979" } 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 26 October 2024 08:52:55 -0400 (0:00:00.482) 0:00:17.002 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 26 October 2024 08:52:55 -0400 (0:00:00.055) 0:00:17.057 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 26 October 2024 08:52:56 -0400 (0:00:00.431) 0:00:17.489 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 26 October 2024 08:52:56 -0400 (0:00:00.463) 0:00:17.952 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 26 October 2024 08:52:57 -0400 (0:00:00.649) 0:00:18.602 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 26 October 2024 08:52:57 -0400 (0:00:00.034) 0:00:18.636 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 26 October 2024 08:52:57 -0400 (0:00:00.029) 0:00:18.665 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 26 October 2024 08:52:57 -0400 (0:00:00.054) 0:00:18.720 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 26 October 2024 08:52:57 -0400 (0:00:00.080) 0:00:18.800 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 26 October 2024 08:52:57 -0400 (0:00:00.010) 0:00:18.811 ****** 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.129573", "end": "2024-10-26 08:52:58.023191", "rc": 0, "start": "2024-10-26 08:52:57.893618" } 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 26 October 2024 08:52:58 -0400 (0:00:00.543) 0:00:19.354 ****** included: /tmp/collections-HeB/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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 26 October 2024 08:52:58 -0400 (0:00:00.024) 0:00:19.379 ****** changed: [managed-node1] => { "changed": true, "elapsed": 31, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 26 October 2024 08:53:30 -0400 (0:00:32.319) 0:00:51.699 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 26 October 2024 08:53:30 -0400 (0:00:00.013) 0:00:51.712 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 26 October 2024 08:53:30 -0400 (0:00:00.017) 0:00:51.730 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 26 October 2024 08:53:30 -0400 (0:00:00.017) 0:00:51.747 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 26 October 2024 08:53:30 -0400 (0:00:00.058) 0:00:51.807 ****** included: /tmp/collections-HeB/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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 26 October 2024 08:53:30 -0400 (0:00:00.020) 0:00:51.827 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 26 October 2024 08:53:30 -0400 (0:00:00.035) 0:00:51.862 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 26 October 2024 08:53:30 -0400 (0:00:00.018) 0:00:51.881 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 26 October 2024 08:53:30 -0400 (0:00:00.019) 0:00:51.900 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 26 October 2024 08:53:30 -0400 (0:00:00.032) 0:00:51.933 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 26 October 2024 08:53:30 -0400 (0:00:00.013) 0:00:51.947 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 26 October 2024 08:53:32 -0400 (0:00:01.506) 0:00:53.453 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947178.0214996, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1729947178.0204995, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9438602, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947178.0204995, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1158809328", "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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 26 October 2024 08:53:32 -0400 (0:00:00.405) 0:00:53.858 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 26 October 2024 08:53:32 -0400 (0:00:00.014) 0:00:53.873 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 26 October 2024 08:53:32 -0400 (0:00:00.014) 0:00:53.887 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 26 October 2024 08:53:32 -0400 (0:00:00.351) 0:00:54.238 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 26 October 2024 08:53:33 -0400 (0:00:00.042) 0:00:54.281 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947178.0214996, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1729947178.0204995, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9438602, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947178.0204995, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1158809328", "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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 26 October 2024 08:53:33 -0400 (0:00:00.365) 0:00:54.646 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947175.152522, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e27aab55ff07e6dd298001751b22b146d73d9732", "ctime": 1729947170.1675615, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 121635010, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729947170.1684034, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "526932421", "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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 26 October 2024 08:53:33 -0400 (0:00:00.388) 0:00:55.035 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005151", "end": "2024-10-26 08:53:33.876763", "rc": 0, "start": "2024-10-26 08:53:33.871612" } 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 26 October 2024 08:53:34 -0400 (0:00:00.380) 0:00:55.415 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 26 October 2024 08:53:34 -0400 (0:00:00.035) 0:00:55.451 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 26 October 2024 08:53:34 -0400 (0:00:00.373) 0:00:55.824 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 26 October 2024 08:53:34 -0400 (0:00:00.376) 0:00:56.201 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 26 October 2024 08:53:35 -0400 (0:00:00.359) 0:00:56.561 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 26 October 2024 08:53:35 -0400 (0:00:00.020) 0:00:56.581 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 26 October 2024 08:53:35 -0400 (0:00:00.021) 0:00:56.603 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 26 October 2024 08:53:35 -0400 (0:00:00.030) 0:00:56.634 ****** 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": "ec28a066d9cdebd928aacc426b1ef314-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=2586ada5-4561-44f7-b04f-6ad7d90893f2", "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": "865f26168fb948cbaf65bd649ea41367-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=2586ada5-4561-44f7-b04f-6ad7d90893f2", "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": "865f26168fb948cbaf65bd649ea41367-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-865f26168fb948cbaf65bd649ea41367.img", "kernel": "/boot/vmlinuz-0-rescue-865f26168fb948cbaf65bd649ea41367", "root": "UUID=2586ada5-4561-44f7-b04f-6ad7d90893f2", "title": "CentOS Stream (0-rescue-865f26168fb948cbaf65bd649ea41367) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 26 October 2024 08:53:35 -0400 (0:00:00.526) 0:00:57.160 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 26 October 2024 08:53:35 -0400 (0:00:00.040) 0:00:57.201 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 26 October 2024 08:53:35 -0400 (0:00:00.054) 0:00:57.256 ****** included: /tmp/collections-HeB/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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 26 October 2024 08:53:36 -0400 (0:00:00.019) 0:00:57.275 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 26 October 2024 08:53:36 -0400 (0:00:00.034) 0:00:57.309 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 26 October 2024 08:53:36 -0400 (0:00:00.019) 0:00:57.328 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 26 October 2024 08:53:36 -0400 (0:00:00.018) 0:00:57.347 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 26 October 2024 08:53:36 -0400 (0:00:00.032) 0:00:57.379 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 26 October 2024 08:53:36 -0400 (0:00:00.013) 0:00:57.392 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 26 October 2024 08:53:36 -0400 (0:00:00.699) 0:00:58.092 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947178.0214996, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1729947178.0204995, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9438602, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947178.0204995, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1158809328", "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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 26 October 2024 08:53:37 -0400 (0:00:00.367) 0:00:58.459 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 26 October 2024 08:53:37 -0400 (0:00:00.015) 0:00:58.474 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 26 October 2024 08:53:37 -0400 (0:00:00.013) 0:00:58.487 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 26 October 2024 08:53:37 -0400 (0:00:00.349) 0:00:58.837 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 26 October 2024 08:53:37 -0400 (0:00:00.043) 0:00:58.881 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947178.0214996, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1729947178.0204995, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9438602, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947178.0204995, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1158809328", "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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 26 October 2024 08:53:37 -0400 (0:00:00.371) 0:00:59.252 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947175.152522, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e27aab55ff07e6dd298001751b22b146d73d9732", "ctime": 1729947170.1675615, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 121635010, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729947170.1684034, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "526932421", "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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 26 October 2024 08:53:38 -0400 (0:00:00.409) 0:00:59.662 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004844", "end": "2024-10-26 08:53:38.731430", "rc": 0, "start": "2024-10-26 08:53:38.726586" } 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 26 October 2024 08:53:38 -0400 (0:00:00.392) 0:01:00.054 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 26 October 2024 08:53:38 -0400 (0:00:00.035) 0:01:00.090 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 26 October 2024 08:53:39 -0400 (0:00:00.368) 0:01:00.458 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 26 October 2024 08:53:39 -0400 (0:00:00.376) 0:01:00.834 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 26 October 2024 08:53:40 -0400 (0:00:00.598) 0:01:01.433 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 26 October 2024 08:53:40 -0400 (0:00:00.020) 0:01:01.453 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 26 October 2024 08:53:40 -0400 (0:00:00.018) 0:01:01.472 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 26 October 2024 08:53:40 -0400 (0:00:00.035) 0:01:01.507 ****** 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": "865f26168fb948cbaf65bd649ea41367-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=2586ada5-4561-44f7-b04f-6ad7d90893f2", "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": "865f26168fb948cbaf65bd649ea41367-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-865f26168fb948cbaf65bd649ea41367.img", "kernel": "/boot/vmlinuz-0-rescue-865f26168fb948cbaf65bd649ea41367", "root": "UUID=2586ada5-4561-44f7-b04f-6ad7d90893f2", "title": "CentOS Stream (0-rescue-865f26168fb948cbaf65bd649ea41367) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 26 October 2024 08:53:40 -0400 (0:00:00.489) 0:01:01.996 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 26 October 2024 08:53:40 -0400 (0:00:00.047) 0:01:02.043 ****** included: /tmp/collections-HeB/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-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 26 October 2024 08:53:40 -0400 (0:00:00.039) 0:01:02.083 ****** 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": "865f26168fb948cbaf65bd649ea41367-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=2586ada5-4561-44f7-b04f-6ad7d90893f2", "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-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 26 October 2024 08:53:40 -0400 (0:00:00.043) 0:01:02.126 ****** 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": "5a5a148c27f2aecc89a3c067f06789b284ef168a", "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": "4a82e1fe5fd949b8cef22de198f814de", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31275079, "src": "/boot/initramfs-6.11.0-25.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 26 October 2024 08:53:41 -0400 (0:00:01.045) 0:01:03.172 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 26 October 2024 08:53:41 -0400 (0:00:00.045) 0:01:03.218 ****** included: /tmp/collections-HeB/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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 26 October 2024 08:53:41 -0400 (0:00:00.026) 0:01:03.244 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 26 October 2024 08:53:42 -0400 (0:00:00.040) 0:01:03.285 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 26 October 2024 08:53:42 -0400 (0:00:00.018) 0:01:03.303 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 26 October 2024 08:53:42 -0400 (0:00:00.018) 0:01:03.322 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 26 October 2024 08:53:42 -0400 (0:00:00.033) 0:01:03.356 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 26 October 2024 08:53:42 -0400 (0:00:00.013) 0:01:03.369 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 26 October 2024 08:53:42 -0400 (0:00:00.696) 0:01:04.066 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947178.0214996, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1729947178.0204995, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9438602, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947178.0204995, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1158809328", "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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 26 October 2024 08:53:43 -0400 (0:00:00.376) 0:01:04.442 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 26 October 2024 08:53:43 -0400 (0:00:00.019) 0:01:04.462 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 26 October 2024 08:53:43 -0400 (0:00:00.014) 0:01:04.477 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 26 October 2024 08:53:43 -0400 (0:00:00.360) 0:01:04.837 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 26 October 2024 08:53:43 -0400 (0:00:00.062) 0:01:04.900 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947178.0214996, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1729947178.0204995, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9438602, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947178.0204995, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1158809328", "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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 26 October 2024 08:53:44 -0400 (0:00:00.400) 0:01:05.301 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947175.152522, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e27aab55ff07e6dd298001751b22b146d73d9732", "ctime": 1729947170.1675615, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 121635010, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729947170.1684034, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "526932421", "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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 26 October 2024 08:53:44 -0400 (0:00:00.363) 0:01:05.665 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004368", "end": "2024-10-26 08:53:44.732952", "rc": 0, "start": "2024-10-26 08:53:44.728584" } 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 26 October 2024 08:53:44 -0400 (0:00:00.384) 0:01:06.049 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 26 October 2024 08:53:44 -0400 (0:00:00.035) 0:01:06.085 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 26 October 2024 08:53:45 -0400 (0:00:00.390) 0:01:06.475 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 26 October 2024 08:53:45 -0400 (0:00:00.382) 0:01:06.857 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 26 October 2024 08:53:46 -0400 (0:00:00.572) 0:01:07.430 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 26 October 2024 08:53:46 -0400 (0:00:00.025) 0:01:07.456 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 26 October 2024 08:53:46 -0400 (0:00:00.019) 0:01:07.475 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 26 October 2024 08:53:46 -0400 (0:00:00.033) 0:01:07.508 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 26 October 2024 08:53:46 -0400 (0:00:00.033) 0:01:07.542 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 26 October 2024 08:53:46 -0400 (0:00:00.003) 0:01:07.545 ****** 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.127345", "end": "2024-10-26 08:53:46.706816", "rc": 0, "start": "2024-10-26 08:53:46.579471" } 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 26 October 2024 08:53:46 -0400 (0:00:00.480) 0:01:08.026 ****** included: /tmp/collections-HeB/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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 26 October 2024 08:53:46 -0400 (0:00:00.016) 0:01:08.042 ****** changed: [managed-node1] => { "changed": true, "elapsed": 33, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 26 October 2024 08:54:21 -0400 (0:00:34.638) 0:01:42.681 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 26 October 2024 08:54:21 -0400 (0:00:00.017) 0:01:42.698 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 26 October 2024 08:54:21 -0400 (0:00:00.030) 0:01:42.728 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 26 October 2024 08:54:21 -0400 (0:00:00.017) 0:01:42.746 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 26 October 2024 08:54:21 -0400 (0:00:00.071) 0:01:42.818 ****** included: /tmp/collections-HeB/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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 26 October 2024 08:54:21 -0400 (0:00:00.023) 0:01:42.841 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 26 October 2024 08:54:21 -0400 (0:00:00.037) 0:01:42.879 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 26 October 2024 08:54:21 -0400 (0:00:00.018) 0:01:42.898 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 26 October 2024 08:54:21 -0400 (0:00:00.019) 0:01:42.917 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 26 October 2024 08:54:21 -0400 (0:00:00.033) 0:01:42.950 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 26 October 2024 08:54:21 -0400 (0:00:00.013) 0:01:42.964 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 26 October 2024 08:54:23 -0400 (0:00:01.478) 0:01:44.443 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947226.7053542, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1729947226.7043543, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8969709, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947226.7043543, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1112542350", "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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 26 October 2024 08:54:23 -0400 (0:00:00.420) 0:01:44.863 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 26 October 2024 08:54:23 -0400 (0:00:00.024) 0:01:44.888 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 26 October 2024 08:54:23 -0400 (0:00:00.022) 0:01:44.910 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 26 October 2024 08:54:24 -0400 (0:00:00.384) 0:01:45.294 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 26 October 2024 08:54:24 -0400 (0:00:00.042) 0:01:45.337 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947226.7053542, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1729947226.7043543, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8969709, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947226.7043543, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1112542350", "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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 26 October 2024 08:54:24 -0400 (0:00:00.393) 0:01:45.730 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947175.152522, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e27aab55ff07e6dd298001751b22b146d73d9732", "ctime": 1729947170.1675615, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 121635010, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729947170.1684034, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "526932421", "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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 26 October 2024 08:54:24 -0400 (0:00:00.380) 0:01:46.111 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004759", "end": "2024-10-26 08:54:25.183147", "rc": 0, "start": "2024-10-26 08:54:25.178388" } 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 26 October 2024 08:54:25 -0400 (0:00:00.391) 0:01:46.502 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 26 October 2024 08:54:25 -0400 (0:00:00.041) 0:01:46.544 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 26 October 2024 08:54:25 -0400 (0:00:00.383) 0:01:46.927 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 26 October 2024 08:54:26 -0400 (0:00:00.388) 0:01:47.316 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 26 October 2024 08:54:26 -0400 (0:00:00.365) 0:01:47.681 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 26 October 2024 08:54:26 -0400 (0:00:00.020) 0:01:47.702 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 26 October 2024 08:54:26 -0400 (0:00:00.019) 0:01:47.722 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 26 October 2024 08:54:26 -0400 (0:00:00.034) 0:01:47.756 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec28a066d9cdebd928aacc426b1ef314-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": "865f26168fb948cbaf65bd649ea41367-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=2586ada5-4561-44f7-b04f-6ad7d90893f2", "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": "865f26168fb948cbaf65bd649ea41367-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-865f26168fb948cbaf65bd649ea41367.img", "kernel": "/boot/vmlinuz-0-rescue-865f26168fb948cbaf65bd649ea41367", "root": "UUID=2586ada5-4561-44f7-b04f-6ad7d90893f2", "title": "CentOS Stream (0-rescue-865f26168fb948cbaf65bd649ea41367) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 26 October 2024 08:54:27 -0400 (0:00:00.514) 0:01:48.270 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 26 October 2024 08:54:27 -0400 (0:00:00.046) 0:01:48.317 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 26 October 2024 08:54:27 -0400 (0:00:00.071) 0:01:48.389 ****** included: /tmp/collections-HeB/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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 26 October 2024 08:54:27 -0400 (0:00:00.019) 0:01:48.409 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 26 October 2024 08:54:27 -0400 (0:00:00.037) 0:01:48.446 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 26 October 2024 08:54:27 -0400 (0:00:00.020) 0:01:48.466 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 26 October 2024 08:54:27 -0400 (0:00:00.019) 0:01:48.486 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 26 October 2024 08:54:27 -0400 (0:00:00.033) 0:01:48.519 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 26 October 2024 08:54:27 -0400 (0:00:00.013) 0:01:48.533 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 26 October 2024 08:54:27 -0400 (0:00:00.718) 0:01:49.252 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947226.7053542, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1729947226.7043543, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8969709, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947226.7043543, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1112542350", "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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 26 October 2024 08:54:28 -0400 (0:00:00.380) 0:01:49.632 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 26 October 2024 08:54:28 -0400 (0:00:00.014) 0:01:49.647 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 26 October 2024 08:54:28 -0400 (0:00:00.014) 0:01:49.661 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 26 October 2024 08:54:28 -0400 (0:00:00.359) 0:01:50.020 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 26 October 2024 08:54:28 -0400 (0:00:00.043) 0:01:50.064 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947226.7053542, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1729947226.7043543, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8969709, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1729947226.7043543, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1112542350", "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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 26 October 2024 08:54:29 -0400 (0:00:00.376) 0:01:50.441 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729947175.152522, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e27aab55ff07e6dd298001751b22b146d73d9732", "ctime": 1729947170.1675615, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 121635010, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1729947170.1684034, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "526932421", "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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 26 October 2024 08:54:29 -0400 (0:00:00.375) 0:01:50.817 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004652", "end": "2024-10-26 08:54:29.884402", "rc": 0, "start": "2024-10-26 08:54:29.879750" } 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 26 October 2024 08:54:29 -0400 (0:00:00.385) 0:01:51.203 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 26 October 2024 08:54:29 -0400 (0:00:00.036) 0:01:51.239 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 26 October 2024 08:54:30 -0400 (0:00:00.382) 0:01:51.621 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 26 October 2024 08:54:30 -0400 (0:00:00.386) 0:01:52.008 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 26 October 2024 08:54:31 -0400 (0:00:00.574) 0:01:52.583 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 26 October 2024 08:54:31 -0400 (0:00:00.020) 0:01:52.603 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 26 October 2024 08:54:31 -0400 (0:00:00.019) 0:01:52.623 ****** 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 26 October 2024 08:54:31 -0400 (0:00:00.031) 0:01:52.655 ****** 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": "865f26168fb948cbaf65bd649ea41367-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=2586ada5-4561-44f7-b04f-6ad7d90893f2", "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": "865f26168fb948cbaf65bd649ea41367-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-865f26168fb948cbaf65bd649ea41367.img", "kernel": "/boot/vmlinuz-0-rescue-865f26168fb948cbaf65bd649ea41367", "root": "UUID=2586ada5-4561-44f7-b04f-6ad7d90893f2", "title": "CentOS Stream (0-rescue-865f26168fb948cbaf65bd649ea41367) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 26 October 2024 08:54:31 -0400 (0:00:00.487) 0:01:53.142 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 26 October 2024 08:54:31 -0400 (0:00:00.042) 0:01:53.185 ****** 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.044173", "end": "2024-10-26 08:54:32.271681", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-10-26 08:54:32.227508" } 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.043783", "end": "2024-10-26 08:54:32.660551", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-10-26 08:54:32.616768" } 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 26 October 2024 08:54:32 -0400 (0:00:00.797) 0:01:53.982 ****** 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.102927", "end": "2024-10-26 08:54:33.123156", "rc": 0, "start": "2024-10-26 08:54:33.020229" } 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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 26 October 2024 08:54:33 -0400 (0:00:00.460) 0:01:54.443 ****** included: /tmp/collections-HeB/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-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 26 October 2024 08:54:33 -0400 (0:00:00.016) 0:01:54.460 ****** changed: [managed-node1] => { "changed": true, "elapsed": 30, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 26 October 2024 08:55:04 -0400 (0:00:31.172) 0:02:25.632 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 26 October 2024 08:55:04 -0400 (0:00:00.014) 0:02:25.646 ****** 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 26 October 2024 08:55:04 -0400 (0:00:00.019) 0:02:25.666 ****** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 34.64s /tmp/collections-HeB/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 -- 32.32s /tmp/collections-HeB/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 -- 31.17s /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 4.17s /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.94s /tmp/collections-HeB/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.51s /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.48s /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.08s /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.06s /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Clone test_kernel kernel and initrd for test purposes ------------------- 1.05s /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.80s /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.74s /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.72s /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.70s /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.70s /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.65s /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.57s /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.57s /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.57s /tmp/collections-HeB/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139