ansible-playbook [core 2.17.7] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-fCz executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Oct 29 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-2)] (/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-fCz/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-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 14 December 2024 07:50:57 -0500 (0:00:00.008) 0:00:00.008 ***** included: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 14 December 2024 07:50:57 -0500 (0:00:00.014) 0:00:00.022 ***** [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-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 14 December 2024 07:50:59 -0500 (0:00:02.770) 0:00:02.792 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 14 December 2024 07:50:59 -0500 (0:00:00.005) 0:00:02.797 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 December 2024 07:50:59 -0500 (0:00:00.057) 0:00:02.855 ***** included: /tmp/collections-fCz/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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 December 2024 07:50:59 -0500 (0:00:00.018) 0:00:02.873 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 December 2024 07:50:59 -0500 (0:00:00.032) 0:00:02.906 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 December 2024 07:51:00 -0500 (0:00:00.426) 0:00:03.333 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 December 2024 07:51:00 -0500 (0:00:00.035) 0:00:03.368 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 December 2024 07:51:00 -0500 (0:00:00.051) 0:00:03.419 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 December 2024 07:51:00 -0500 (0:00:00.019) 0:00:03.439 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 December 2024 07:51:05 -0500 (0:00:05.434) 0:00:08.873 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733212847.9014823, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1733212847.9014823, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 257810, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733212847.9014823, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1806331806", "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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 December 2024 07:51:06 -0500 (0:00:00.824) 0:00:09.698 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 December 2024 07:51:06 -0500 (0:00:00.036) 0:00:09.735 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 December 2024 07:51:06 -0500 (0:00:00.022) 0:00:09.757 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 December 2024 07:51:07 -0500 (0:00:00.405) 0:00:10.162 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 December 2024 07:51:07 -0500 (0:00:00.092) 0:00:10.255 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180666.2801223, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1733212847.9014823, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 257810, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733212847.9014823, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1806331806", "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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 December 2024 07:51:07 -0500 (0:00:00.412) 0:00:10.667 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1733204907.425691, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "3164e92c50f3e4b3d5f1d0ae164620784760c3c3", "ctime": 1733204907.4266908, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9077159, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1733204907.4266908, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6986, "uid": 0, "version": "788604167", "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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 December 2024 07:51:08 -0500 (0:00:00.381) 0:00:11.049 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004724", "end": "2024-12-14 07:51:08.699648", "rc": 0, "start": "2024-12-14 07:51:08.694924" } 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 December 2024 07:51:08 -0500 (0:00:00.628) 0:00:11.678 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 December 2024 07:51:08 -0500 (0:00:00.051) 0:00:11.729 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 December 2024 07:51:09 -0500 (0:00:00.532) 0:00:12.262 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 December 2024 07:51:09 -0500 (0:00:00.371) 0:00:12.634 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 December 2024 07:51:10 -0500 (0:00:00.500) 0:00:13.135 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 December 2024 07:51:10 -0500 (0:00:00.029) 0:00:13.165 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 December 2024 07:51:10 -0500 (0:00:00.028) 0:00:13.193 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 December 2024 07:51:10 -0500 (0:00:00.048) 0:00:13.241 ***** 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": "651c314c7d5a400d911a8e929a05d69e-6.12.0-31.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-31.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-31.el10.x86_64", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (6.12.0-31.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": "651c314c7d5a400d911a8e929a05d69e-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-651c314c7d5a400d911a8e929a05d69e.img", "kernel": "/boot/vmlinuz-0-rescue-651c314c7d5a400d911a8e929a05d69e", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (0-rescue-651c314c7d5a400d911a8e929a05d69e) 10 (Coughlan)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 14 December 2024 07:51:10 -0500 (0:00:00.584) 0:00:13.826 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 14 December 2024 07:51:10 -0500 (0:00:00.004) 0:00:13.830 ***** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 14 December 2024 07:51:10 -0500 (0:00:00.001) 0:00:13.832 ***** included: /tmp/collections-fCz/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-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 14 December 2024 07:51:10 -0500 (0:00:00.023) 0:00:13.855 ***** 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": "651c314c7d5a400d911a8e929a05d69e-6.12.0-31.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-31.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-31.el10.x86_64", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (6.12.0-31.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 14 December 2024 07:51:10 -0500 (0:00:00.038) 0:00:13.893 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-31.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-31.el10.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "f817d533bd5413d6b589e4789ef6c6f2718ecdff", "dest": "/boot/vmlinuz-6.12.0-31.el10.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-31.el10.x86_64_clone1", "src": "/boot/vmlinuz-6.12.0-31.el10.x86_64" }, "md5sum": "29aba577d7bd6d717c4e53bf61bdd39f", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15870200, "src": "/boot/vmlinuz-6.12.0-31.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-31.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-31.el10.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "fc8dc9e37f0d76968571c265cc358bfbfef4de68", "dest": "/boot/initramfs-6.12.0-31.el10.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-31.el10.x86_64.img_clone1", "src": "/boot/initramfs-6.12.0-31.el10.x86_64.img" }, "md5sum": "a2990cec5eadaadc4afb6e0ebf7ecd2f", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 27220939, "src": "/boot/initramfs-6.12.0-31.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 14 December 2024 07:51:12 -0500 (0:00:01.083) 0:00:14.977 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 December 2024 07:51:12 -0500 (0:00:00.048) 0:00:15.026 ***** included: /tmp/collections-fCz/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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 December 2024 07:51:12 -0500 (0:00:00.023) 0:00:15.049 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 December 2024 07:51:12 -0500 (0:00:00.041) 0:00:15.091 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 December 2024 07:51:12 -0500 (0:00:00.018) 0:00:15.110 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 December 2024 07:51:12 -0500 (0:00:00.018) 0:00:15.128 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 December 2024 07:51:12 -0500 (0:00:00.030) 0:00:15.159 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 December 2024 07:51:12 -0500 (0:00:00.013) 0:00:15.172 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 December 2024 07:51:12 -0500 (0:00:00.687) 0:00:15.859 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180666.2801223, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1733212847.9014823, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 257810, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733212847.9014823, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1806331806", "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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 December 2024 07:51:13 -0500 (0:00:00.374) 0:00:16.233 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 December 2024 07:51:13 -0500 (0:00:00.027) 0:00:16.261 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 December 2024 07:51:13 -0500 (0:00:00.020) 0:00:16.281 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 December 2024 07:51:13 -0500 (0:00:00.364) 0:00:16.645 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 December 2024 07:51:13 -0500 (0:00:00.045) 0:00:16.691 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180666.2801223, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1733212847.9014823, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 257810, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733212847.9014823, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1806331806", "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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 December 2024 07:51:14 -0500 (0:00:00.380) 0:00:17.072 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180669.6586742, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "14ece4a9ef864c84bcb8028a142c7561d944a91f", "ctime": 1734180669.6571348, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 109052098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734180669.658675, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "2257431089", "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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 December 2024 07:51:14 -0500 (0:00:00.390) 0:00:17.463 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004519", "end": "2024-12-14 07:51:14.893540", "rc": 0, "start": "2024-12-14 07:51:14.889021" } 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 December 2024 07:51:14 -0500 (0:00:00.402) 0:00:17.865 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 December 2024 07:51:14 -0500 (0:00:00.038) 0:00:17.903 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 December 2024 07:51:15 -0500 (0:00:00.371) 0:00:18.275 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 December 2024 07:51:15 -0500 (0:00:00.370) 0:00:18.646 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.12.0-31.el10.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.12.0-31.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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 December 2024 07:51:16 -0500 (0:00:00.599) 0:00:19.246 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 December 2024 07:51:16 -0500 (0:00:00.058) 0:00:19.304 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 December 2024 07:51:16 -0500 (0:00:00.074) 0:00:19.379 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 December 2024 07:51:16 -0500 (0:00:00.084) 0:00:19.463 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 14 December 2024 07:51:16 -0500 (0:00:00.059) 0:00:19.523 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 14 December 2024 07:51:16 -0500 (0:00:00.003) 0:00:19.526 ***** 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.128558", "end": "2024-12-14 07:51:17.053237", "rc": 0, "start": "2024-12-14 07:51:16.924679" } 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 14 December 2024 07:51:17 -0500 (0:00:00.509) 0:00:20.035 ***** included: /tmp/collections-fCz/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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 14 December 2024 07:51:17 -0500 (0:00:00.027) 0:00:20.063 ***** changed: [managed-node1] => { "changed": true, "elapsed": 25, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 14 December 2024 07:51:43 -0500 (0:00:26.353) 0:00:46.417 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 14 December 2024 07:51:43 -0500 (0:00:00.012) 0:00:46.430 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 14 December 2024 07:51:43 -0500 (0:00:00.017) 0:00:46.447 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 14 December 2024 07:51:43 -0500 (0:00:00.015) 0:00:46.463 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 December 2024 07:51:43 -0500 (0:00:00.051) 0:00:46.515 ***** included: /tmp/collections-fCz/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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 December 2024 07:51:43 -0500 (0:00:00.018) 0:00:46.533 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 December 2024 07:51:43 -0500 (0:00:00.035) 0:00:46.569 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 December 2024 07:51:43 -0500 (0:00:00.017) 0:00:46.586 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 December 2024 07:51:43 -0500 (0:00:00.018) 0:00:46.605 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 December 2024 07:51:43 -0500 (0:00:00.032) 0:00:46.637 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 December 2024 07:51:43 -0500 (0:00:00.013) 0:00:46.650 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 December 2024 07:51:45 -0500 (0:00:01.360) 0:00:48.010 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180677.0511618, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1734180677.0511618, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4349859, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734180677.0511618, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "4256385259", "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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 December 2024 07:51:45 -0500 (0:00:00.389) 0:00:48.399 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 December 2024 07:51:45 -0500 (0:00:00.014) 0:00:48.414 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 December 2024 07:51:45 -0500 (0:00:00.012) 0:00:48.426 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 December 2024 07:51:45 -0500 (0:00:00.343) 0:00:48.769 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 December 2024 07:51:45 -0500 (0:00:00.039) 0:00:48.808 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180705.6521537, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1734180677.0511618, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4349859, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734180677.0511618, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "4256385259", "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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 December 2024 07:51:46 -0500 (0:00:00.363) 0:00:49.171 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180674.4681523, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "14ece4a9ef864c84bcb8028a142c7561d944a91f", "ctime": 1734180669.6571348, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 109052098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734180669.658675, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "2257431089", "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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 December 2024 07:51:46 -0500 (0:00:00.362) 0:00:49.534 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004322", "end": "2024-12-14 07:51:47.071984", "rc": 0, "start": "2024-12-14 07:51:47.067662" } 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 December 2024 07:51:46 -0500 (0:00:00.376) 0:00:49.911 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 December 2024 07:51:47 -0500 (0:00:00.033) 0:00:49.944 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 December 2024 07:51:47 -0500 (0:00:00.372) 0:00:50.317 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 December 2024 07:51:47 -0500 (0:00:00.379) 0:00:50.697 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 December 2024 07:51:48 -0500 (0:00:00.354) 0:00:51.052 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 December 2024 07:51:48 -0500 (0:00:00.017) 0:00:51.070 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 December 2024 07:51:48 -0500 (0:00:00.017) 0:00:51.087 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 December 2024 07:51:48 -0500 (0:00:00.029) 0:00:51.117 ***** 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": "ec204e6d9abb24a41c0146605599f8a2-6.12.0-31.el10.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.12.0-31.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.0-31.el10.x86_64_clone1", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "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": "651c314c7d5a400d911a8e929a05d69e-6.12.0-31.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.0-31.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-31.el10.x86_64", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (6.12.0-31.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": "651c314c7d5a400d911a8e929a05d69e-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-651c314c7d5a400d911a8e929a05d69e.img", "kernel": "/boot/vmlinuz-0-rescue-651c314c7d5a400d911a8e929a05d69e", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (0-rescue-651c314c7d5a400d911a8e929a05d69e) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 14 December 2024 07:51:48 -0500 (0:00:00.513) 0:00:51.630 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 14 December 2024 07:51:48 -0500 (0:00:00.040) 0:00:51.671 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 December 2024 07:51:48 -0500 (0:00:00.051) 0:00:51.722 ***** included: /tmp/collections-fCz/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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 December 2024 07:51:48 -0500 (0:00:00.018) 0:00:51.741 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 December 2024 07:51:48 -0500 (0:00:00.034) 0:00:51.775 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 December 2024 07:51:48 -0500 (0:00:00.018) 0:00:51.794 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 December 2024 07:51:48 -0500 (0:00:00.017) 0:00:51.811 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 December 2024 07:51:48 -0500 (0:00:00.030) 0:00:51.842 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 December 2024 07:51:48 -0500 (0:00:00.013) 0:00:51.856 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 December 2024 07:51:49 -0500 (0:00:00.713) 0:00:52.569 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180705.6521537, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1734180677.0511618, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4349859, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734180677.0511618, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "4256385259", "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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 December 2024 07:51:50 -0500 (0:00:00.373) 0:00:52.943 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 December 2024 07:51:50 -0500 (0:00:00.013) 0:00:52.957 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 December 2024 07:51:50 -0500 (0:00:00.013) 0:00:52.970 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 December 2024 07:51:50 -0500 (0:00:00.346) 0:00:53.316 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 December 2024 07:51:50 -0500 (0:00:00.040) 0:00:53.357 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180705.6521537, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1734180677.0511618, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4349859, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734180677.0511618, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "4256385259", "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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 December 2024 07:51:50 -0500 (0:00:00.375) 0:00:53.732 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180674.4681523, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "14ece4a9ef864c84bcb8028a142c7561d944a91f", "ctime": 1734180669.6571348, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 109052098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734180669.658675, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "2257431089", "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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 December 2024 07:51:51 -0500 (0:00:00.365) 0:00:54.097 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004544", "end": "2024-12-14 07:51:51.496630", "rc": 0, "start": "2024-12-14 07:51:51.492086" } 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 December 2024 07:51:51 -0500 (0:00:00.373) 0:00:54.471 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 December 2024 07:51:51 -0500 (0:00:00.036) 0:00:54.507 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 December 2024 07:51:51 -0500 (0:00:00.366) 0:00:54.873 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 December 2024 07:51:52 -0500 (0:00:00.372) 0:00:55.246 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.12.0-31.el10.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 December 2024 07:51:52 -0500 (0:00:00.589) 0:00:55.835 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 December 2024 07:51:52 -0500 (0:00:00.020) 0:00:55.855 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 December 2024 07:51:52 -0500 (0:00:00.017) 0:00:55.873 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 December 2024 07:51:52 -0500 (0:00:00.032) 0:00:55.905 ***** 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": "651c314c7d5a400d911a8e929a05d69e-6.12.0-31.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-31.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-31.el10.x86_64", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (6.12.0-31.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": "651c314c7d5a400d911a8e929a05d69e-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-651c314c7d5a400d911a8e929a05d69e.img", "kernel": "/boot/vmlinuz-0-rescue-651c314c7d5a400d911a8e929a05d69e", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (0-rescue-651c314c7d5a400d911a8e929a05d69e) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 14 December 2024 07:51:53 -0500 (0:00:00.462) 0:00:56.367 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 14 December 2024 07:51:53 -0500 (0:00:00.040) 0:00:56.408 ***** included: /tmp/collections-fCz/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-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 14 December 2024 07:51:53 -0500 (0:00:00.030) 0:00:56.439 ***** 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": "651c314c7d5a400d911a8e929a05d69e-6.12.0-31.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-31.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-31.el10.x86_64", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (6.12.0-31.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 14 December 2024 07:51:53 -0500 (0:00:00.039) 0:00:56.478 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-31.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-31.el10.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "f817d533bd5413d6b589e4789ef6c6f2718ecdff", "dest": "/boot/vmlinuz-6.12.0-31.el10.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-31.el10.x86_64_clone2", "src": "/boot/vmlinuz-6.12.0-31.el10.x86_64" }, "md5sum": "29aba577d7bd6d717c4e53bf61bdd39f", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15870200, "src": "/boot/vmlinuz-6.12.0-31.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-31.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-31.el10.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "fc8dc9e37f0d76968571c265cc358bfbfef4de68", "dest": "/boot/initramfs-6.12.0-31.el10.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-31.el10.x86_64.img_clone2", "src": "/boot/initramfs-6.12.0-31.el10.x86_64.img" }, "md5sum": "a2990cec5eadaadc4afb6e0ebf7ecd2f", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 27220939, "src": "/boot/initramfs-6.12.0-31.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 14 December 2024 07:51:54 -0500 (0:00:00.939) 0:00:57.417 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 December 2024 07:51:54 -0500 (0:00:00.037) 0:00:57.455 ***** included: /tmp/collections-fCz/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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 December 2024 07:51:54 -0500 (0:00:00.019) 0:00:57.474 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 December 2024 07:51:54 -0500 (0:00:00.036) 0:00:57.511 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 December 2024 07:51:54 -0500 (0:00:00.018) 0:00:57.530 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 December 2024 07:51:54 -0500 (0:00:00.018) 0:00:57.549 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 December 2024 07:51:54 -0500 (0:00:00.032) 0:00:57.581 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 December 2024 07:51:54 -0500 (0:00:00.014) 0:00:57.595 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 December 2024 07:51:55 -0500 (0:00:00.673) 0:00:58.269 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180705.6521537, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1734180677.0511618, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4349859, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734180677.0511618, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "4256385259", "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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 December 2024 07:51:55 -0500 (0:00:00.363) 0:00:58.632 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 December 2024 07:51:55 -0500 (0:00:00.015) 0:00:58.648 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 December 2024 07:51:55 -0500 (0:00:00.013) 0:00:58.662 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 December 2024 07:51:56 -0500 (0:00:00.338) 0:00:59.000 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 December 2024 07:51:56 -0500 (0:00:00.043) 0:00:59.044 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180705.6521537, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1734180677.0511618, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4349859, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734180677.0511618, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "4256385259", "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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 December 2024 07:51:56 -0500 (0:00:00.366) 0:00:59.411 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180674.4681523, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "14ece4a9ef864c84bcb8028a142c7561d944a91f", "ctime": 1734180669.6571348, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 109052098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734180669.658675, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "2257431089", "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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 December 2024 07:51:56 -0500 (0:00:00.362) 0:00:59.774 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005076", "end": "2024-12-14 07:51:57.177892", "rc": 0, "start": "2024-12-14 07:51:57.172816" } 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 December 2024 07:51:57 -0500 (0:00:00.376) 0:01:00.150 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 December 2024 07:51:57 -0500 (0:00:00.037) 0:01:00.188 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 December 2024 07:51:57 -0500 (0:00:00.396) 0:01:00.585 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 December 2024 07:51:58 -0500 (0:00:00.379) 0:01:00.964 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.12.0-31.el10.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.12.0-31.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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 December 2024 07:51:58 -0500 (0:00:00.571) 0:01:01.535 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 December 2024 07:51:58 -0500 (0:00:00.018) 0:01:01.554 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 December 2024 07:51:58 -0500 (0:00:00.018) 0:01:01.572 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 December 2024 07:51:58 -0500 (0:00:00.030) 0:01:01.603 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 14 December 2024 07:51:58 -0500 (0:00:00.032) 0:01:01.635 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 14 December 2024 07:51:58 -0500 (0:00:00.002) 0:01:01.637 ***** 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.126548", "end": "2024-12-14 07:51:59.164473", "rc": 0, "start": "2024-12-14 07:51:59.037925" } 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 14 December 2024 07:51:59 -0500 (0:00:00.504) 0:01:02.142 ***** included: /tmp/collections-fCz/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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 14 December 2024 07:51:59 -0500 (0:00:00.022) 0:01:02.165 ***** changed: [managed-node1] => { "changed": true, "elapsed": 27, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 14 December 2024 07:52:27 -0500 (0:00:28.512) 0:01:30.678 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 14 December 2024 07:52:27 -0500 (0:00:00.013) 0:01:30.691 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 14 December 2024 07:52:27 -0500 (0:00:00.016) 0:01:30.708 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 14 December 2024 07:52:27 -0500 (0:00:00.019) 0:01:30.727 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 December 2024 07:52:27 -0500 (0:00:00.052) 0:01:30.780 ***** included: /tmp/collections-fCz/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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 December 2024 07:52:27 -0500 (0:00:00.020) 0:01:30.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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 December 2024 07:52:27 -0500 (0:00:00.036) 0:01:30.837 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 December 2024 07:52:27 -0500 (0:00:00.019) 0:01:30.856 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 December 2024 07:52:27 -0500 (0:00:00.017) 0:01:30.874 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 December 2024 07:52:27 -0500 (0:00:00.031) 0:01:30.905 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 December 2024 07:52:27 -0500 (0:00:00.014) 0:01:30.920 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 December 2024 07:52:29 -0500 (0:00:01.299) 0:01:32.219 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180719.1631482, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1734180719.162148, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4349862, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734180719.162148, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1974642949", "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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 December 2024 07:52:29 -0500 (0:00:00.391) 0:01:32.611 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 December 2024 07:52:29 -0500 (0:00:00.015) 0:01:32.627 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 December 2024 07:52:29 -0500 (0:00:00.013) 0:01:32.640 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 December 2024 07:52:30 -0500 (0:00:00.338) 0:01:32.979 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 December 2024 07:52:30 -0500 (0:00:00.040) 0:01:33.020 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180719.1631482, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1734180719.162148, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4349862, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734180719.162148, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1974642949", "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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 December 2024 07:52:30 -0500 (0:00:00.362) 0:01:33.382 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180674.4681523, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "14ece4a9ef864c84bcb8028a142c7561d944a91f", "ctime": 1734180669.6571348, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 109052098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734180669.658675, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "2257431089", "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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 December 2024 07:52:30 -0500 (0:00:00.366) 0:01:33.749 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005090", "end": "2024-12-14 07:52:31.143871", "rc": 0, "start": "2024-12-14 07:52:31.138781" } 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 December 2024 07:52:31 -0500 (0:00:00.366) 0:01:34.116 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 December 2024 07:52:31 -0500 (0:00:00.034) 0:01:34.150 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 December 2024 07:52:31 -0500 (0:00:00.366) 0:01:34.516 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 December 2024 07:52:31 -0500 (0:00:00.380) 0:01:34.897 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 December 2024 07:52:32 -0500 (0:00:00.350) 0:01:35.248 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 December 2024 07:52:32 -0500 (0:00:00.019) 0:01:35.268 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 December 2024 07:52:32 -0500 (0:00:00.019) 0:01:35.288 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 December 2024 07:52:32 -0500 (0:00:00.032) 0:01:35.320 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec204e6d9abb24a41c0146605599f8a2-6.12.0-31.el10.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.12.0-31.el10.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.12.0-31.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": "651c314c7d5a400d911a8e929a05d69e-6.12.0-31.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.0-31.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-31.el10.x86_64", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (6.12.0-31.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": "651c314c7d5a400d911a8e929a05d69e-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-651c314c7d5a400d911a8e929a05d69e.img", "kernel": "/boot/vmlinuz-0-rescue-651c314c7d5a400d911a8e929a05d69e", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (0-rescue-651c314c7d5a400d911a8e929a05d69e) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 14 December 2024 07:52:32 -0500 (0:00:00.507) 0:01:35.827 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 14 December 2024 07:52:32 -0500 (0:00:00.039) 0:01:35.866 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 14 December 2024 07:52:33 -0500 (0:00:00.065) 0:01:35.932 ***** included: /tmp/collections-fCz/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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 14 December 2024 07:52:33 -0500 (0:00:00.021) 0:01:35.954 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 14 December 2024 07:52:33 -0500 (0:00:00.034) 0:01:35.988 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 14 December 2024 07:52:33 -0500 (0:00:00.019) 0:01:36.008 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 14 December 2024 07:52:33 -0500 (0:00:00.019) 0:01:36.027 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 14 December 2024 07:52:33 -0500 (0:00:00.031) 0:01:36.059 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 14 December 2024 07:52:33 -0500 (0:00:00.013) 0:01:36.073 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 14 December 2024 07:52:33 -0500 (0:00:00.684) 0:01:36.757 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180719.1631482, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1734180719.162148, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4349862, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734180719.162148, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1974642949", "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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 14 December 2024 07:52:34 -0500 (0:00:00.363) 0:01:37.120 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 14 December 2024 07:52:34 -0500 (0:00:00.014) 0:01:37.135 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 14 December 2024 07:52:34 -0500 (0:00:00.015) 0:01:37.151 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 14 December 2024 07:52:34 -0500 (0:00:00.345) 0:01:37.496 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 14 December 2024 07:52:34 -0500 (0:00:00.040) 0:01:37.537 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180719.1631482, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1734180719.162148, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4349862, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734180719.162148, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1974642949", "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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 14 December 2024 07:52:34 -0500 (0:00:00.365) 0:01:37.902 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734180674.4681523, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "14ece4a9ef864c84bcb8028a142c7561d944a91f", "ctime": 1734180669.6571348, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 109052098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734180669.658675, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "2257431089", "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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 14 December 2024 07:52:35 -0500 (0:00:00.361) 0:01:38.263 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004523", "end": "2024-12-14 07:52:35.655330", "rc": 0, "start": "2024-12-14 07:52:35.650807" } 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 14 December 2024 07:52:35 -0500 (0:00:00.363) 0:01:38.627 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 14 December 2024 07:52:35 -0500 (0:00:00.037) 0:01:38.664 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 14 December 2024 07:52:36 -0500 (0:00:00.362) 0:01:39.026 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 14 December 2024 07:52:36 -0500 (0:00:00.361) 0:01:39.388 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.12.0-31.el10.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 14 December 2024 07:52:37 -0500 (0:00:00.560) 0:01:39.948 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 14 December 2024 07:52:37 -0500 (0:00:00.019) 0:01:39.968 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 14 December 2024 07:52:37 -0500 (0:00:00.018) 0:01:39.986 ***** 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 14 December 2024 07:52:37 -0500 (0:00:00.031) 0:01:40.017 ***** 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": "651c314c7d5a400d911a8e929a05d69e-6.12.0-31.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-31.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-31.el10.x86_64", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (6.12.0-31.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": "651c314c7d5a400d911a8e929a05d69e-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-651c314c7d5a400d911a8e929a05d69e.img", "kernel": "/boot/vmlinuz-0-rescue-651c314c7d5a400d911a8e929a05d69e", "root": "UUID=f3bb1e80-fac3-4b5e-93f6-d763469176c6", "title": "CentOS Stream (0-rescue-651c314c7d5a400d911a8e929a05d69e) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 14 December 2024 07:52:37 -0500 (0:00:00.471) 0:01:40.489 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 14 December 2024 07:52:37 -0500 (0:00:00.042) 0:01:40.532 ***** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.0-31.el10.x86_64_clone1" ], "delta": "0:00:00.042887", "end": "2024-12-14 07:52:37.954625", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-12-14 07:52:37.911738" } STDERR: The param /boot/vmlinuz-6.12.0-31.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.12.0-31.el10.x86_64_clone2" ], "delta": "0:00:00.042981", "end": "2024-12-14 07:52:38.346286", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-12-14 07:52:38.303305" } STDERR: The param /boot/vmlinuz-6.12.0-31.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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 14 December 2024 07:52:38 -0500 (0:00:00.789) 0:01:41.321 ***** 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.100584", "end": "2024-12-14 07:52:38.798197", "rc": 0, "start": "2024-12-14 07:52:38.697613" } 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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 14 December 2024 07:52:38 -0500 (0:00:00.449) 0:01:41.770 ***** included: /tmp/collections-fCz/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-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 14 December 2024 07:52:38 -0500 (0:00:00.015) 0:01:41.786 ***** changed: [managed-node1] => { "changed": true, "elapsed": 27, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 14 December 2024 07:53:07 -0500 (0:00:28.826) 0:02:10.612 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 14 December 2024 07:53:07 -0500 (0:00:00.014) 0:02:10.627 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=118 changed=14 unreachable=0 failed=0 skipped=80 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 14 December 2024 07:53:07 -0500 (0:00:00.016) 0:02:10.643 ***** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 28.83s /tmp/collections-fCz/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.51s /tmp/collections-fCz/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 -- 26.35s /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 5.43s /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.77s /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.36s /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.30s /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.08s /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 0.94s /tmp/collections-fCz/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.82s /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Remove cloned kernels --------------------------------------------------- 0.79s /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.71s /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.69s /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.68s /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.67s /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.63s /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.59s /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.58s /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.57s /tmp/collections-fCz/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102