ansible-playbook [core 2.17.4] 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-R3H 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-R3H/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-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 05 October 2024 09:00:11 -0400 (0:00:00.022) 0:00:00.022 ****** included: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 05 October 2024 09:00:11 -0400 (0:00:00.013) 0:00:00.035 ****** [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-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 05 October 2024 09:00:14 -0400 (0:00:02.593) 0:00:02.629 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 05 October 2024 09:00:14 -0400 (0:00:00.004) 0:00:02.633 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 05 October 2024 09:00:14 -0400 (0:00:00.038) 0:00:02.672 ****** included: /tmp/collections-R3H/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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 05 October 2024 09:00:14 -0400 (0:00:00.016) 0:00:02.688 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 05 October 2024 09:00:14 -0400 (0:00:00.031) 0:00:02.720 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 05 October 2024 09:00:15 -0400 (0:00:00.393) 0:00:03.114 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 05 October 2024 09:00:15 -0400 (0:00:00.019) 0:00:03.134 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 05 October 2024 09:00:15 -0400 (0:00:00.029) 0:00:03.163 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 05 October 2024 09:00:15 -0400 (0:00:00.011) 0:00:03.174 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 05 October 2024 09:00:16 -0400 (0:00:01.157) 0:00:04.332 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727803292.1829698, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1727803292.1839697, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 528139, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727803292.1829698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2008863221", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 05 October 2024 09:00:17 -0400 (0:00:00.968) 0:00:05.300 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 05 October 2024 09:00:17 -0400 (0:00:00.021) 0:00:05.321 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 05 October 2024 09:00:17 -0400 (0:00:00.020) 0:00:05.341 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 05 October 2024 09:00:17 -0400 (0:00:00.347) 0:00:05.689 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 05 October 2024 09:00:17 -0400 (0:00:00.040) 0:00:05.729 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133216.5522573, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1727803292.1839697, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 528139, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727803292.1829698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2008863221", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 05 October 2024 09:00:18 -0400 (0:00:00.326) 0:00:06.056 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1727802391.666, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "aaf95880dee634566ad4fb34610492f6ebca6c33", "ctime": 1727802391.668, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13796848, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727802391.668, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6743, "uid": 0, "version": "3360979508", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 05 October 2024 09:00:18 -0400 (0:00:00.333) 0:00:06.390 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004271", "end": "2024-10-05 09:00:18.825970", "rc": 0, "start": "2024-10-05 09:00:18.821699" } 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 05 October 2024 09:00:18 -0400 (0:00:00.544) 0:00:06.934 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 05 October 2024 09:00:18 -0400 (0:00:00.052) 0:00:06.986 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 05 October 2024 09:00:19 -0400 (0:00:00.549) 0:00:07.536 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 05 October 2024 09:00:19 -0400 (0:00:00.421) 0:00:07.957 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 05 October 2024 09:00:20 -0400 (0:00:00.515) 0:00:08.472 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 05 October 2024 09:00:20 -0400 (0:00:00.031) 0:00:08.504 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 05 October 2024 09:00:20 -0400 (0:00:00.026) 0:00:08.531 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 05 October 2024 09:00:20 -0400 (0:00:00.041) 0:00:08.573 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "3fa5d8e85a9143adbcad235898fed473-6.11.0-25.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.0-25.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-25.el10.x86_64", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (6.11.0-25.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "3fa5d8e85a9143adbcad235898fed473-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-3fa5d8e85a9143adbcad235898fed473.img", "kernel": "/boot/vmlinuz-0-rescue-3fa5d8e85a9143adbcad235898fed473", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (0-rescue-3fa5d8e85a9143adbcad235898fed473) 10 (Coughlan)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 05 October 2024 09:00:21 -0400 (0:00:00.760) 0:00:09.333 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 05 October 2024 09:00:21 -0400 (0:00:00.005) 0:00:09.339 ****** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 05 October 2024 09:00:21 -0400 (0:00:00.004) 0:00:09.343 ****** included: /tmp/collections-R3H/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-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 05 October 2024 09:00:21 -0400 (0:00:00.057) 0:00:09.400 ****** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "3fa5d8e85a9143adbcad235898fed473-6.11.0-25.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.0-25.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-25.el10.x86_64", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (6.11.0-25.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 05 October 2024 09:00:21 -0400 (0:00:00.049) 0:00:09.450 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.0-25.el10.x86_64', 'dest': '/boot/vmlinuz-6.11.0-25.el10.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "6d0072e99d059b8d9a4d61c19b07f8323a99a4fc", "dest": "/boot/vmlinuz-6.11.0-25.el10.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.0-25.el10.x86_64_clone1", "src": "/boot/vmlinuz-6.11.0-25.el10.x86_64" }, "md5sum": "4c39d0221b02ef17438d549a5e9cda34", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15493368, "src": "/boot/vmlinuz-6.11.0-25.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.0-25.el10.x86_64.img', 'dest': '/boot/initramfs-6.11.0-25.el10.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "8024d69e9cf3d57aa56b6883ad93c3bc47c4da8b", "dest": "/boot/initramfs-6.11.0-25.el10.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.0-25.el10.x86_64.img_clone1", "src": "/boot/initramfs-6.11.0-25.el10.x86_64.img" }, "md5sum": "bc5b3b4afe1c9d5cad713840cd9b1afd", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31225712, "src": "/boot/initramfs-6.11.0-25.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 05 October 2024 09:00:22 -0400 (0:00:01.018) 0:00:10.469 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.061) 0:00:10.530 ****** included: /tmp/collections-R3H/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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.048) 0:00:10.578 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.061) 0:00:10.640 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.022) 0:00:10.663 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.020) 0:00:10.684 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.054) 0:00:10.738 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 05 October 2024 09:00:22 -0400 (0:00:00.021) 0:00:10.759 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 05 October 2024 09:00:23 -0400 (0:00:00.660) 0:00:11.420 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133216.5522573, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1727803292.1839697, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 528139, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727803292.1829698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2008863221", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 05 October 2024 09:00:23 -0400 (0:00:00.393) 0:00:11.813 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 05 October 2024 09:00:23 -0400 (0:00:00.014) 0:00:11.828 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 05 October 2024 09:00:23 -0400 (0:00:00.023) 0:00:11.852 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 05 October 2024 09:00:24 -0400 (0:00:00.324) 0:00:12.176 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 05 October 2024 09:00:24 -0400 (0:00:00.055) 0:00:12.232 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133216.5522573, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1727803292.1839697, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 528139, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1727803292.1829698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2008863221", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 05 October 2024 09:00:24 -0400 (0:00:00.380) 0:00:12.612 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133218.2772608, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "c31ae84e966cc3a80dea375f9c1710106e7ce63d", "ctime": 1728133219.8492637, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 54526154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727802391.668, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "433501357", "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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 05 October 2024 09:00:24 -0400 (0:00:00.344) 0:00:12.957 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003855", "end": "2024-10-05 09:00:25.220919", "rc": 0, "start": "2024-10-05 09:00:25.217064" } 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 05 October 2024 09:00:25 -0400 (0:00:00.382) 0:00:13.339 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 05 October 2024 09:00:25 -0400 (0:00:00.046) 0:00:13.386 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 05 October 2024 09:00:25 -0400 (0:00:00.356) 0:00:13.742 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 05 October 2024 09:00:26 -0400 (0:00:00.362) 0:00:14.104 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 05 October 2024 09:00:26 -0400 (0:00:00.574) 0:00:14.679 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 05 October 2024 09:00:26 -0400 (0:00:00.043) 0:00:14.722 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 05 October 2024 09:00:26 -0400 (0:00:00.043) 0:00:14.766 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 05 October 2024 09:00:26 -0400 (0:00:00.051) 0:00:14.818 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 05 October 2024 09:00:26 -0400 (0:00:00.054) 0:00:14.872 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 05 October 2024 09:00:26 -0400 (0:00:00.004) 0:00:14.877 ****** 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.119345", "end": "2024-10-05 09:00:27.244040", "rc": 0, "start": "2024-10-05 09:00:27.124695" } 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 05 October 2024 09:00:27 -0400 (0:00:00.489) 0:00:15.366 ****** included: /tmp/collections-R3H/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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 05 October 2024 09:00:27 -0400 (0:00:00.039) 0:00:15.405 ****** changed: [managed-node1] => { "changed": true, "elapsed": 27, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 05 October 2024 09:00:55 -0400 (0:00:28.288) 0:00:43.693 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 05 October 2024 09:00:55 -0400 (0:00:00.013) 0:00:43.707 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 05 October 2024 09:00:55 -0400 (0:00:00.014) 0:00:43.722 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 05 October 2024 09:00:55 -0400 (0:00:00.013) 0:00:43.735 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 05 October 2024 09:00:55 -0400 (0:00:00.048) 0:00:43.784 ****** included: /tmp/collections-R3H/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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 05 October 2024 09:00:55 -0400 (0:00:00.016) 0:00:43.800 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 05 October 2024 09:00:55 -0400 (0:00:00.030) 0:00:43.831 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 05 October 2024 09:00:55 -0400 (0:00:00.016) 0:00:43.847 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 05 October 2024 09:00:55 -0400 (0:00:00.015) 0:00:43.863 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 05 October 2024 09:00:55 -0400 (0:00:00.028) 0:00:43.891 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 05 October 2024 09:00:55 -0400 (0:00:00.011) 0:00:43.902 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 05 October 2024 09:00:57 -0400 (0:00:01.311) 0:00:45.214 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133227.243282, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1728133227.2422822, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9006330, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728133227.2422822, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2087143598", "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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 05 October 2024 09:00:57 -0400 (0:00:00.363) 0:00:45.577 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 05 October 2024 09:00:57 -0400 (0:00:00.014) 0:00:45.592 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 05 October 2024 09:00:57 -0400 (0:00:00.011) 0:00:45.603 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 05 October 2024 09:00:57 -0400 (0:00:00.309) 0:00:45.913 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 05 October 2024 09:00:57 -0400 (0:00:00.038) 0:00:45.951 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133227.243282, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1728133227.2422822, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9006330, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728133227.2422822, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2087143598", "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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 05 October 2024 09:00:58 -0400 (0:00:00.322) 0:00:46.273 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133224.838273, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "c31ae84e966cc3a80dea375f9c1710106e7ce63d", "ctime": 1728133219.8492637, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 54526154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727802391.668, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "433501357", "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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 05 October 2024 09:00:58 -0400 (0:00:00.324) 0:00:46.598 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003761", "end": "2024-10-05 09:00:58.832616", "rc": 0, "start": "2024-10-05 09:00:58.828855" } 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 05 October 2024 09:00:58 -0400 (0:00:00.331) 0:00:46.930 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 05 October 2024 09:00:58 -0400 (0:00:00.033) 0:00:46.963 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 05 October 2024 09:00:59 -0400 (0:00:00.327) 0:00:47.291 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 05 October 2024 09:00:59 -0400 (0:00:00.340) 0:00:47.631 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 05 October 2024 09:00:59 -0400 (0:00:00.308) 0:00:47.940 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 05 October 2024 09:00:59 -0400 (0:00:00.017) 0:00:47.958 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 05 October 2024 09:00:59 -0400 (0:00:00.015) 0:00:47.973 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 05 October 2024 09:00:59 -0400 (0:00:00.028) 0:00:48.001 ****** 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": "ec2a630274a79c8b651cec9fcb5a592d-6.11.0-25.el10.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.11.0-25.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.11.0-25.el10.x86_64_clone1", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "Clone1" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "3fa5d8e85a9143adbcad235898fed473-6.11.0-25.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.0-25.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-25.el10.x86_64", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (6.11.0-25.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "3fa5d8e85a9143adbcad235898fed473-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-3fa5d8e85a9143adbcad235898fed473.img", "kernel": "/boot/vmlinuz-0-rescue-3fa5d8e85a9143adbcad235898fed473", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (0-rescue-3fa5d8e85a9143adbcad235898fed473) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.455) 0:00:48.457 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.037) 0:00:48.495 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.046) 0:00:48.541 ****** included: /tmp/collections-R3H/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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.016) 0:00:48.558 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.032) 0:00:48.590 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.017) 0:00:48.607 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.021) 0:00:48.629 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.029) 0:00:48.659 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 05 October 2024 09:01:00 -0400 (0:00:00.011) 0:00:48.670 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 05 October 2024 09:01:01 -0400 (0:00:00.618) 0:00:49.288 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133227.243282, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1728133227.2422822, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9006330, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728133227.2422822, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2087143598", "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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 05 October 2024 09:01:01 -0400 (0:00:00.339) 0:00:49.628 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 05 October 2024 09:01:01 -0400 (0:00:00.018) 0:00: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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 05 October 2024 09:01:01 -0400 (0:00:00.012) 0:00:49.659 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 05 October 2024 09:01:01 -0400 (0:00:00.310) 0:00:49.970 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 05 October 2024 09:01:01 -0400 (0:00:00.038) 0:00:50.009 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133227.243282, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1728133227.2422822, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9006330, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728133227.2422822, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2087143598", "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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 05 October 2024 09:01:02 -0400 (0:00:00.327) 0:00:50.336 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133224.838273, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "c31ae84e966cc3a80dea375f9c1710106e7ce63d", "ctime": 1728133219.8492637, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 54526154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727802391.668, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "433501357", "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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 05 October 2024 09:01:02 -0400 (0:00:00.342) 0:00:50.679 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003863", "end": "2024-10-05 09:01:02.915329", "rc": 0, "start": "2024-10-05 09:01:02.911466" } 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 05 October 2024 09:01:02 -0400 (0:00:00.334) 0:00:51.013 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 05 October 2024 09:01:02 -0400 (0:00:00.031) 0:00:51.044 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 05 October 2024 09:01:03 -0400 (0:00:00.330) 0:00:51.374 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 05 October 2024 09:01:03 -0400 (0:00:00.329) 0:00:51.704 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 05 October 2024 09:01:04 -0400 (0:00:00.531) 0:00:52.235 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 05 October 2024 09:01:04 -0400 (0:00:00.017) 0:00:52.253 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 05 October 2024 09:01:04 -0400 (0:00:00.016) 0:00:52.269 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 05 October 2024 09:01:04 -0400 (0:00:00.027) 0:00:52.297 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "3fa5d8e85a9143adbcad235898fed473-6.11.0-25.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.0-25.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-25.el10.x86_64", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (6.11.0-25.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "3fa5d8e85a9143adbcad235898fed473-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-3fa5d8e85a9143adbcad235898fed473.img", "kernel": "/boot/vmlinuz-0-rescue-3fa5d8e85a9143adbcad235898fed473", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (0-rescue-3fa5d8e85a9143adbcad235898fed473) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 05 October 2024 09:01:04 -0400 (0:00:00.429) 0:00:52.727 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 05 October 2024 09:01:04 -0400 (0:00:00.056) 0:00:52.784 ****** included: /tmp/collections-R3H/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-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 05 October 2024 09:01:04 -0400 (0:00:00.047) 0:00:52.831 ****** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "3fa5d8e85a9143adbcad235898fed473-6.11.0-25.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.0-25.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-25.el10.x86_64", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (6.11.0-25.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 05 October 2024 09:01:04 -0400 (0:00:00.057) 0:00:52.889 ****** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.0-25.el10.x86_64', 'dest': '/boot/vmlinuz-6.11.0-25.el10.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "6d0072e99d059b8d9a4d61c19b07f8323a99a4fc", "dest": "/boot/vmlinuz-6.11.0-25.el10.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.0-25.el10.x86_64_clone2", "src": "/boot/vmlinuz-6.11.0-25.el10.x86_64" }, "md5sum": "4c39d0221b02ef17438d549a5e9cda34", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15493368, "src": "/boot/vmlinuz-6.11.0-25.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.0-25.el10.x86_64.img', 'dest': '/boot/initramfs-6.11.0-25.el10.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "8024d69e9cf3d57aa56b6883ad93c3bc47c4da8b", "dest": "/boot/initramfs-6.11.0-25.el10.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.0-25.el10.x86_64.img_clone2", "src": "/boot/initramfs-6.11.0-25.el10.x86_64.img" }, "md5sum": "bc5b3b4afe1c9d5cad713840cd9b1afd", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31225712, "src": "/boot/initramfs-6.11.0-25.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 05 October 2024 09:01:05 -0400 (0:00:00.936) 0:00:53.826 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 05 October 2024 09:01:05 -0400 (0:00:00.034) 0:00:53.860 ****** included: /tmp/collections-R3H/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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 05 October 2024 09:01:05 -0400 (0:00:00.017) 0:00:53.877 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 05 October 2024 09:01:05 -0400 (0:00:00.031) 0:00:53.909 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 05 October 2024 09:01:05 -0400 (0:00:00.017) 0:00:53.927 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 05 October 2024 09:01:05 -0400 (0:00:00.016) 0:00:53.943 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 05 October 2024 09:01:05 -0400 (0:00:00.029) 0:00:53.972 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 05 October 2024 09:01:05 -0400 (0:00:00.012) 0:00:53.984 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 05 October 2024 09:01:06 -0400 (0:00:00.610) 0:00:54.595 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133227.243282, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1728133227.2422822, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9006330, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728133227.2422822, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2087143598", "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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 05 October 2024 09:01:06 -0400 (0:00:00.343) 0:00:54.939 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 05 October 2024 09:01:06 -0400 (0:00:00.014) 0:00:54.953 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 05 October 2024 09:01:06 -0400 (0:00:00.012) 0:00:54.966 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 05 October 2024 09:01:07 -0400 (0:00:00.322) 0:00:55.288 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 05 October 2024 09:01:07 -0400 (0:00:00.038) 0:00:55.326 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133227.243282, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1728133227.2422822, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9006330, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728133227.2422822, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2087143598", "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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 05 October 2024 09:01:07 -0400 (0:00:00.333) 0:00:55.659 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133224.838273, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "c31ae84e966cc3a80dea375f9c1710106e7ce63d", "ctime": 1728133219.8492637, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 54526154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727802391.668, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "433501357", "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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 05 October 2024 09:01:07 -0400 (0:00:00.336) 0:00:55.996 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004070", "end": "2024-10-05 09:01:08.243319", "rc": 0, "start": "2024-10-05 09:01:08.239249" } 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 05 October 2024 09:01:08 -0400 (0:00:00.344) 0:00:56.340 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 05 October 2024 09:01:08 -0400 (0:00:00.031) 0:00:56.372 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 05 October 2024 09:01:08 -0400 (0:00:00.343) 0:00:56.715 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 05 October 2024 09:01:09 -0400 (0:00:00.352) 0:00:57.068 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 05 October 2024 09:01:09 -0400 (0:00:00.525) 0:00:57.594 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 05 October 2024 09:01:09 -0400 (0:00:00.018) 0:00:57.612 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 05 October 2024 09:01:09 -0400 (0:00:00.017) 0:00:57.630 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 05 October 2024 09:01:09 -0400 (0:00:00.030) 0:00:57.661 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 05 October 2024 09:01:09 -0400 (0:00:00.039) 0:00:57.700 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 05 October 2024 09:01:09 -0400 (0:00:00.004) 0:00:57.705 ****** 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.119580", "end": "2024-10-05 09:01:10.059726", "rc": 0, "start": "2024-10-05 09:01:09.940146" } 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 05 October 2024 09:01:10 -0400 (0:00:00.461) 0:00:58.167 ****** included: /tmp/collections-R3H/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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 05 October 2024 09:01:10 -0400 (0:00:00.020) 0:00:58.187 ****** changed: [managed-node1] => { "changed": true, "elapsed": 31, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 05 October 2024 09:01:42 -0400 (0:00:32.862) 0:01:31.050 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 05 October 2024 09:01:43 -0400 (0:00:00.012) 0:01:31.063 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 05 October 2024 09:01:43 -0400 (0:00:00.018) 0:01:31.081 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 05 October 2024 09:01:43 -0400 (0:00:00.016) 0:01:31.097 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 05 October 2024 09:01:43 -0400 (0:00:00.058) 0:01:31.156 ****** included: /tmp/collections-R3H/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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 05 October 2024 09:01:43 -0400 (0:00:00.018) 0:01:31.174 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 05 October 2024 09:01:43 -0400 (0:00:00.032) 0:01:31.207 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 05 October 2024 09:01:43 -0400 (0:00:00.017) 0:01:31.224 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 05 October 2024 09:01:43 -0400 (0:00:00.017) 0:01:31.242 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 05 October 2024 09:01:43 -0400 (0:00:00.030) 0:01:31.273 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 05 October 2024 09:01:43 -0400 (0:00:00.012) 0:01:31.285 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 05 October 2024 09:01:44 -0400 (0:00:01.194) 0:01:32.480 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133270.058124, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1728133270.0571241, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9006294, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728133270.0571241, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3473309734", "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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 05 October 2024 09:01:44 -0400 (0:00:00.384) 0:01:32.864 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 05 October 2024 09:01:44 -0400 (0:00:00.013) 0:01:32.878 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 05 October 2024 09:01:44 -0400 (0:00:00.012) 0:01:32.890 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 05 October 2024 09:01:45 -0400 (0:00:00.313) 0:01:33.204 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 05 October 2024 09:01:45 -0400 (0:00:00.042) 0:01:33.247 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133270.058124, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1728133270.0571241, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9006294, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728133270.0571241, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3473309734", "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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 05 October 2024 09:01:45 -0400 (0:00:00.328) 0:01:33.575 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133224.838273, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "c31ae84e966cc3a80dea375f9c1710106e7ce63d", "ctime": 1728133219.8492637, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 54526154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727802391.668, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "433501357", "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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 05 October 2024 09:01:45 -0400 (0:00:00.337) 0:01:33.912 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003901", "end": "2024-10-05 09:01:46.160718", "rc": 0, "start": "2024-10-05 09:01:46.156817" } 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 05 October 2024 09:01:46 -0400 (0:00:00.344) 0:01:34.257 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 05 October 2024 09:01:46 -0400 (0:00:00.033) 0:01:34.291 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 05 October 2024 09:01:46 -0400 (0:00:00.335) 0:01:34.627 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 05 October 2024 09:01:46 -0400 (0:00:00.330) 0:01:34.958 ****** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 05 October 2024 09:01:47 -0400 (0:00:00.313) 0:01:35.271 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 05 October 2024 09:01:47 -0400 (0:00:00.018) 0:01:35.289 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 05 October 2024 09:01:47 -0400 (0:00:00.017) 0:01:35.307 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 05 October 2024 09:01:47 -0400 (0:00:00.029) 0:01:35.336 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec2a630274a79c8b651cec9fcb5a592d-6.11.0-25.el10.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.11.0-25.el10.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.11.0-25.el10.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "3fa5d8e85a9143adbcad235898fed473-6.11.0-25.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.0-25.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-25.el10.x86_64", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (6.11.0-25.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "3fa5d8e85a9143adbcad235898fed473-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-3fa5d8e85a9143adbcad235898fed473.img", "kernel": "/boot/vmlinuz-0-rescue-3fa5d8e85a9143adbcad235898fed473", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (0-rescue-3fa5d8e85a9143adbcad235898fed473) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 05 October 2024 09:01:47 -0400 (0:00:00.455) 0:01:35.792 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 05 October 2024 09:01:47 -0400 (0:00:00.036) 0:01:35.828 ****** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 05 October 2024 09:01:47 -0400 (0:00:00.060) 0:01:35.888 ****** included: /tmp/collections-R3H/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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 05 October 2024 09:01:47 -0400 (0:00:00.017) 0:01:35.906 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 05 October 2024 09:01:47 -0400 (0:00:00.034) 0:01:35.940 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 05 October 2024 09:01:47 -0400 (0:00:00.021) 0:01:35.961 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 05 October 2024 09:01:47 -0400 (0:00:00.020) 0:01:35.982 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 05 October 2024 09:01:47 -0400 (0:00:00.054) 0:01:36.037 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 05 October 2024 09:01:48 -0400 (0:00:00.020) 0:01:36.057 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 05 October 2024 09:01:48 -0400 (0:00:00.648) 0:01:36.706 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133270.058124, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1728133270.0571241, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9006294, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728133270.0571241, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3473309734", "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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 05 October 2024 09:01:48 -0400 (0:00:00.334) 0:01:37.041 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 05 October 2024 09:01:49 -0400 (0:00:00.013) 0:01:37.055 ****** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 05 October 2024 09:01:49 -0400 (0:00:00.012) 0:01:37.067 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 05 October 2024 09:01:49 -0400 (0:00:00.316) 0:01:37.384 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 05 October 2024 09:01:49 -0400 (0:00:00.052) 0:01:37.437 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133270.058124, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1728133270.0571241, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9006294, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1728133270.0571241, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3473309734", "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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 05 October 2024 09:01:49 -0400 (0:00:00.339) 0:01:37.776 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728133224.838273, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "c31ae84e966cc3a80dea375f9c1710106e7ce63d", "ctime": 1728133219.8492637, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 54526154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1727802391.668, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6716, "uid": 0, "version": "433501357", "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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 05 October 2024 09:01:50 -0400 (0:00:00.349) 0:01:38.126 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004048", "end": "2024-10-05 09:01:50.383921", "rc": 0, "start": "2024-10-05 09:01:50.379873" } 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 05 October 2024 09:01:50 -0400 (0:00:00.354) 0:01:38.480 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 05 October 2024 09:01:50 -0400 (0:00:00.032) 0:01:38.513 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 05 October 2024 09:01:50 -0400 (0:00:00.345) 0:01:38.858 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 05 October 2024 09:01:51 -0400 (0:00:00.345) 0:01:39.204 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 05 October 2024 09:01:51 -0400 (0:00:00.537) 0:01:39.742 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 05 October 2024 09:01:51 -0400 (0:00:00.021) 0:01:39.764 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 05 October 2024 09:01:51 -0400 (0:00:00.023) 0:01:39.788 ****** 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 05 October 2024 09:01:51 -0400 (0:00:00.032) 0:01:39.820 ****** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "3fa5d8e85a9143adbcad235898fed473-6.11.0-25.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.0-25.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-25.el10.x86_64", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (6.11.0-25.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "3fa5d8e85a9143adbcad235898fed473-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-3fa5d8e85a9143adbcad235898fed473.img", "kernel": "/boot/vmlinuz-0-rescue-3fa5d8e85a9143adbcad235898fed473", "root": "UUID=5101df7d-7d04-471c-8b87-a8afd44579eb", "title": "CentOS Stream (0-rescue-3fa5d8e85a9143adbcad235898fed473) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 05 October 2024 09:01:52 -0400 (0:00:00.433) 0:01:40.253 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 05 October 2024 09:01:52 -0400 (0:00:00.043) 0:01:40.297 ****** 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.040215", "end": "2024-10-05 09:01:52.552201", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-10-05 09:01:52.511986" } 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.040088", "end": "2024-10-05 09:01:52.918613", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-10-05 09:01:52.878525" } 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 05 October 2024 09:01:52 -0400 (0:00:00.722) 0:01:41.019 ****** changed: [managed-node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:01.095910", "end": "2024-10-05 09:01:54.338363", "rc": 0, "start": "2024-10-05 09:01:53.242453" } 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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 05 October 2024 09:01:54 -0400 (0:00:01.417) 0:01:42.436 ****** included: /tmp/collections-R3H/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-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 05 October 2024 09:01:54 -0400 (0:00:00.017) 0:01:42.454 ****** changed: [managed-node1] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 05 October 2024 09:02:18 -0400 (0:00:24.293) 0:02:06.747 ****** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 05 October 2024 09:02:18 -0400 (0:00:00.013) 0:02:06.761 ****** 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 05 October 2024 09:02:18 -0400 (0:00:00.018) 0:02:06.779 ****** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 32.86s /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 28.29s /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 24.29s /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Gather architecture facts ----------------------------------------------- 2.59s /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 1.42s /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.31s /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.19s /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.16s /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.02s /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.97s /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Clone test_kernel kernel and initrd for test purposes ------------------- 0.94s /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.76s /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Remove cloned kernels --------------------------------------------------- 0.72s /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.66s /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.65s /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.62s /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.61s /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.57s /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.55s /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.54s /tmp/collections-R3H/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73