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-3IK executable location = /usr/local/bin/ansible-playbook python version = 3.12.8 (main, Dec 3 2024, 00:00:00) [GCC 14.2.1 20241104 (Red Hat 14.2.1-6)] (/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-3IK/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-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 28 December 2024 07:54:19 -0500 (0:00:00.007) 0:00:00.007 ***** included: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 28 December 2024 07:54:19 -0500 (0:00:00.013) 0:00:00.021 ***** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 28 December 2024 07:54:22 -0500 (0:00:02.842) 0:00:02.864 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 28 December 2024 07:54:22 -0500 (0:00:00.004) 0:00:02.868 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 28 December 2024 07:54:22 -0500 (0:00:00.053) 0:00:02.921 ***** included: /tmp/collections-3IK/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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 28 December 2024 07:54:22 -0500 (0:00:00.016) 0:00:02.938 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 28 December 2024 07:54:22 -0500 (0:00:00.030) 0:00:02.968 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 28 December 2024 07:54:23 -0500 (0:00:00.516) 0:00:03.485 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 28 December 2024 07:54:23 -0500 (0:00:00.032) 0:00:03.518 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 28 December 2024 07:54:23 -0500 (0:00:00.051) 0:00:03.569 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 28 December 2024 07:54:23 -0500 (0:00:00.019) 0:00:03.588 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 28 December 2024 07:54:26 -0500 (0:00:03.708) 0:00:07.297 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734692603.8280525, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1734692602.1960526, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8904944, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734692602.1960526, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2013441020", "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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 28 December 2024 07:54:27 -0500 (0:00:00.427) 0:00:07.725 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 28 December 2024 07:54:27 -0500 (0:00:00.029) 0:00:07.755 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 28 December 2024 07:54:27 -0500 (0:00:00.023) 0:00:07.778 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 28 December 2024 07:54:27 -0500 (0:00:00.415) 0:00:08.193 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 28 December 2024 07:54:27 -0500 (0:00:00.077) 0:00:08.271 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390467.3125596, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1734692602.1960526, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8904944, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734692602.1960526, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2013441020", "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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 28 December 2024 07:54:28 -0500 (0:00:00.417) 0:00:08.688 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1734679508.117, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "49ae483d580827b374a8e3354b49c4ac44eb9150", "ctime": 1734679508.118, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8904946, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1734679508.118, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6986, "uid": 0, "version": "2508617472", "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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 28 December 2024 07:54:28 -0500 (0:00:00.409) 0:00:09.098 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004523", "end": "2024-12-28 07:54:29.285796", "rc": 0, "start": "2024-12-28 07:54:29.281273" } 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 28 December 2024 07:54:29 -0500 (0:00:00.571) 0:00:09.669 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 28 December 2024 07:54:29 -0500 (0:00:00.037) 0:00:09.707 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 28 December 2024 07:54:29 -0500 (0:00:00.497) 0:00:10.205 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 28 December 2024 07:54:30 -0500 (0:00:00.400) 0:00:10.606 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 28 December 2024 07:54:30 -0500 (0:00:00.495) 0:00:11.101 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 28 December 2024 07:54:30 -0500 (0:00:00.020) 0:00:11.121 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 28 December 2024 07:54:30 -0500 (0:00:00.020) 0:00:11.141 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 28 December 2024 07:54:30 -0500 (0:00:00.033) 0:00:11.175 ***** 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": "f0bb6ca83f494f5f889ac77f0c299f8e-6.12.0-36.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-36.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-36.el10.x86_64", "root": "UUID=d34a4578-e79c-4219-88ec-bb1d36b608ae", "title": "CentOS Stream (6.12.0-36.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": "f0bb6ca83f494f5f889ac77f0c299f8e-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-f0bb6ca83f494f5f889ac77f0c299f8e.img", "kernel": "/boot/vmlinuz-0-rescue-f0bb6ca83f494f5f889ac77f0c299f8e", "root": "UUID=d34a4578-e79c-4219-88ec-bb1d36b608ae", "title": "CentOS Stream (0-rescue-f0bb6ca83f494f5f889ac77f0c299f8e) 10 (Coughlan)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 28 December 2024 07:54:31 -0500 (0:00:00.603) 0:00:11.778 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 28 December 2024 07:54:31 -0500 (0:00:00.005) 0:00:11.784 ***** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 28 December 2024 07:54:31 -0500 (0:00:00.002) 0:00:11.786 ***** included: /tmp/collections-3IK/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-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 28 December 2024 07:54:31 -0500 (0:00:00.034) 0:00:11.821 ***** 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": "f0bb6ca83f494f5f889ac77f0c299f8e-6.12.0-36.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-36.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-36.el10.x86_64", "root": "UUID=d34a4578-e79c-4219-88ec-bb1d36b608ae", "title": "CentOS Stream (6.12.0-36.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 28 December 2024 07:54:31 -0500 (0:00:00.038) 0:00:11.859 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-36.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-36.el10.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "59997e9fe77bc854960c25dd2f69e165e98d8ec8", "dest": "/boot/vmlinuz-6.12.0-36.el10.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-36.el10.x86_64_clone1", "src": "/boot/vmlinuz-6.12.0-36.el10.x86_64" }, "md5sum": "a1993b1e56c66ffae3efb26756d729b0", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15870200, "src": "/boot/vmlinuz-6.12.0-36.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-36.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-36.el10.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "cfb42c3240c85cdeab741109699fb9cfac94ac2a", "dest": "/boot/initramfs-6.12.0-36.el10.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-36.el10.x86_64.img_clone1", "src": "/boot/initramfs-6.12.0-36.el10.x86_64.img" }, "md5sum": "7a8dd997a2562f337783e4e7549f2897", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 29209877, "src": "/boot/initramfs-6.12.0-36.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 28 December 2024 07:54:32 -0500 (0:00:01.067) 0:00:12.926 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 28 December 2024 07:54:32 -0500 (0:00:00.067) 0:00:12.994 ***** included: /tmp/collections-3IK/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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 28 December 2024 07:54:32 -0500 (0:00:00.043) 0:00:13.038 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 28 December 2024 07:54:32 -0500 (0:00:00.048) 0:00:13.087 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 28 December 2024 07:54:32 -0500 (0:00:00.025) 0:00:13.112 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 28 December 2024 07:54:32 -0500 (0:00:00.031) 0:00:13.144 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 28 December 2024 07:54:32 -0500 (0:00:00.060) 0:00:13.204 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 28 December 2024 07:54:32 -0500 (0:00:00.020) 0:00:13.224 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 28 December 2024 07:54:33 -0500 (0:00:00.768) 0:00:13.993 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390467.3125596, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1734692602.1960526, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8904944, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734692602.1960526, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2013441020", "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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 28 December 2024 07:54:34 -0500 (0:00:00.393) 0:00:14.386 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 28 December 2024 07:54:34 -0500 (0:00:00.015) 0:00:14.401 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 28 December 2024 07:54:34 -0500 (0:00:00.018) 0:00:14.420 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 28 December 2024 07:54:34 -0500 (0:00:00.409) 0:00:14.830 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 28 December 2024 07:54:34 -0500 (0:00:00.047) 0:00:14.877 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390467.3125596, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1734692602.1960526, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8904944, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1734692602.1960526, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "2013441020", "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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 28 December 2024 07:54:34 -0500 (0:00:00.414) 0:00:15.292 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390470.2376914, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "45249620d477997a33c52e52601d769d8eaf21ff", "ctime": 1735390470.237558, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 142606530, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1735390470.237692, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "2688667436", "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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 28 December 2024 07:54:35 -0500 (0:00:00.390) 0:00:15.682 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004654", "end": "2024-12-28 07:54:35.727763", "rc": 0, "start": "2024-12-28 07:54:35.723109" } 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 28 December 2024 07:54:35 -0500 (0:00:00.418) 0:00:16.101 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 28 December 2024 07:54:35 -0500 (0:00:00.048) 0:00:16.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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 28 December 2024 07:54:36 -0500 (0:00:00.465) 0:00:16.615 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 28 December 2024 07:54:36 -0500 (0:00:00.462) 0:00:17.078 ***** 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-36.el10.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.12.0-36.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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 28 December 2024 07:54:37 -0500 (0:00:00.640) 0:00:17.719 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 28 December 2024 07:54:37 -0500 (0:00:00.020) 0:00:17.739 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 28 December 2024 07:54:37 -0500 (0:00:00.024) 0:00:17.764 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 28 December 2024 07:54:37 -0500 (0:00:00.042) 0:00:17.807 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 28 December 2024 07:54:37 -0500 (0:00:00.045) 0:00:17.852 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 28 December 2024 07:54:37 -0500 (0:00:00.003) 0:00:17.856 ***** 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.129388", "end": "2024-12-28 07:54:38.015896", "rc": 0, "start": "2024-12-28 07:54:37.886508" } 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 28 December 2024 07:54:38 -0500 (0:00:00.541) 0:00:18.397 ***** included: /tmp/collections-3IK/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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 28 December 2024 07:54:38 -0500 (0:00:00.042) 0:00:18.440 ***** changed: [managed-node1] => { "changed": true, "elapsed": 151, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 28 December 2024 07:57:10 -0500 (0:02:32.675) 0:02:51.116 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 28 December 2024 07:57:10 -0500 (0:00:00.011) 0:02:51.127 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 28 December 2024 07:57:10 -0500 (0:00:00.015) 0:02:51.143 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 28 December 2024 07:57:10 -0500 (0:00:00.013) 0:02:51.156 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 28 December 2024 07:57:10 -0500 (0:00:00.049) 0:02:51.206 ***** included: /tmp/collections-3IK/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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 28 December 2024 07:57:10 -0500 (0:00:00.016) 0:02:51.222 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 28 December 2024 07:57:10 -0500 (0:00:00.030) 0:02:51.252 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 28 December 2024 07:57:10 -0500 (0:00:00.016) 0:02:51.268 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 28 December 2024 07:57:10 -0500 (0:00:00.015) 0:02:51.284 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 28 December 2024 07:57:10 -0500 (0:00:00.027) 0:02:51.311 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 28 December 2024 07:57:11 -0500 (0:00:00.011) 0:02:51.323 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 28 December 2024 07:57:12 -0500 (0:00:01.320) 0:02:52.643 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390478.0155535, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1735390478.0145533, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8904954, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1735390478.0145533, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1187668448", "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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 28 December 2024 07:57:12 -0500 (0:00:00.404) 0:02:53.048 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 28 December 2024 07:57:12 -0500 (0:00:00.013) 0:02:53.062 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 28 December 2024 07:57:12 -0500 (0:00:00.011) 0:02:53.073 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 28 December 2024 07:57:13 -0500 (0:00:00.347) 0:02:53.421 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 28 December 2024 07:57:13 -0500 (0:00:00.036) 0:02:53.458 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390478.0155535, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1735390478.0145533, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8904954, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1735390478.0145533, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1187668448", "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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 28 December 2024 07:57:13 -0500 (0:00:00.365) 0:02:53.824 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390475.299555, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "45249620d477997a33c52e52601d769d8eaf21ff", "ctime": 1735390470.237558, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 142606530, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1735390470.237692, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "2688667436", "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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 28 December 2024 07:57:13 -0500 (0:00:00.369) 0:02:54.193 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004501", "end": "2024-12-28 07:57:14.199319", "rc": 0, "start": "2024-12-28 07:57:14.194818" } 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 28 December 2024 07:57:14 -0500 (0:00:00.371) 0:02:54.565 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 28 December 2024 07:57:14 -0500 (0:00:00.031) 0:02:54.596 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 28 December 2024 07:57:14 -0500 (0:00:00.376) 0:02:54.972 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 28 December 2024 07:57:15 -0500 (0:00:00.371) 0:02:55.344 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 28 December 2024 07:57:15 -0500 (0:00:00.355) 0:02:55.700 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 28 December 2024 07:57:15 -0500 (0:00:00.017) 0:02:55.717 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 28 December 2024 07:57:15 -0500 (0:00:00.016) 0:02:55.734 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 28 December 2024 07:57:15 -0500 (0:00:00.027) 0:02:55.761 ***** 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": "f0bb6ca83f494f5f889ac77f0c299f8e-6.12.0-36.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-36.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-36.el10.x86_64", "root": "UUID=d34a4578-e79c-4219-88ec-bb1d36b608ae", "title": "CentOS Stream (6.12.0-36.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": "f0bb6ca83f494f5f889ac77f0c299f8e-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-f0bb6ca83f494f5f889ac77f0c299f8e.img", "kernel": "/boot/vmlinuz-0-rescue-f0bb6ca83f494f5f889ac77f0c299f8e", "root": "UUID=d34a4578-e79c-4219-88ec-bb1d36b608ae", "title": "CentOS Stream (0-rescue-f0bb6ca83f494f5f889ac77f0c299f8e) 10 (Coughlan)" }, { "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": "ec290f6cf5319ea3e3a7f4bab609f0f0-6.12.0-36.el10.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-6.12.0-36.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.0-36.el10.x86_64_clone1", "root": "UUID=d34a4578-e79c-4219-88ec-bb1d36b608ae", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 28 December 2024 07:57:15 -0500 (0:00:00.515) 0:02:56.276 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 28 December 2024 07:57:15 -0500 (0:00:00.038) 0:02:56.315 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 28 December 2024 07:57:16 -0500 (0:00:00.049) 0:02:56.364 ***** included: /tmp/collections-3IK/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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 28 December 2024 07:57:16 -0500 (0:00:00.015) 0:02:56.380 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 28 December 2024 07:57:16 -0500 (0:00:00.031) 0:02:56.412 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 28 December 2024 07:57:16 -0500 (0:00:00.017) 0:02:56.429 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 28 December 2024 07:57:16 -0500 (0:00:00.016) 0:02:56.446 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 28 December 2024 07:57:16 -0500 (0:00:00.028) 0:02:56.474 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 28 December 2024 07:57:16 -0500 (0:00:00.011) 0:02:56.485 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 28 December 2024 07:57:16 -0500 (0:00:00.688) 0:02:57.173 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390478.0155535, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1735390478.0145533, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8904954, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1735390478.0145533, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1187668448", "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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 28 December 2024 07:57:17 -0500 (0:00:00.364) 0:02:57.538 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 28 December 2024 07:57:17 -0500 (0:00:00.013) 0:02:57.552 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 28 December 2024 07:57:17 -0500 (0:00:00.013) 0:02:57.565 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 28 December 2024 07:57:17 -0500 (0:00:00.352) 0:02:57.917 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 28 December 2024 07:57:17 -0500 (0:00:00.039) 0:02:57.956 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390478.0155535, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1735390478.0145533, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8904954, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1735390478.0145533, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1187668448", "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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 28 December 2024 07:57:18 -0500 (0:00:00.368) 0:02:58.324 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390475.299555, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "45249620d477997a33c52e52601d769d8eaf21ff", "ctime": 1735390470.237558, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 142606530, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1735390470.237692, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "2688667436", "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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 28 December 2024 07:57:18 -0500 (0:00:00.376) 0:02:58.700 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004678", "end": "2024-12-28 07:57:18.711637", "rc": 0, "start": "2024-12-28 07:57:18.706959" } 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 28 December 2024 07:57:18 -0500 (0:00:00.378) 0:02:59.079 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 28 December 2024 07:57:18 -0500 (0:00:00.033) 0:02:59.112 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 28 December 2024 07:57:19 -0500 (0:00:00.376) 0:02:59.489 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 28 December 2024 07:57:19 -0500 (0:00:00.373) 0:02:59.862 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.12.0-36.el10.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 28 December 2024 07:57:20 -0500 (0:00:00.595) 0:03:00.458 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 28 December 2024 07:57:20 -0500 (0:00:00.017) 0:03:00.475 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 28 December 2024 07:57:20 -0500 (0:00:00.015) 0:03:00.491 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 28 December 2024 07:57:20 -0500 (0:00:00.028) 0:03:00.519 ***** 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": "f0bb6ca83f494f5f889ac77f0c299f8e-6.12.0-36.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-36.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-36.el10.x86_64", "root": "UUID=d34a4578-e79c-4219-88ec-bb1d36b608ae", "title": "CentOS Stream (6.12.0-36.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": "f0bb6ca83f494f5f889ac77f0c299f8e-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-f0bb6ca83f494f5f889ac77f0c299f8e.img", "kernel": "/boot/vmlinuz-0-rescue-f0bb6ca83f494f5f889ac77f0c299f8e", "root": "UUID=d34a4578-e79c-4219-88ec-bb1d36b608ae", "title": "CentOS Stream (0-rescue-f0bb6ca83f494f5f889ac77f0c299f8e) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 28 December 2024 07:57:20 -0500 (0:00:00.471) 0:03:00.991 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 28 December 2024 07:57:20 -0500 (0:00:00.037) 0:03:01.029 ***** included: /tmp/collections-3IK/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-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 28 December 2024 07:57:20 -0500 (0:00:00.029) 0:03:01.058 ***** 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": "f0bb6ca83f494f5f889ac77f0c299f8e-6.12.0-36.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-36.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-36.el10.x86_64", "root": "UUID=d34a4578-e79c-4219-88ec-bb1d36b608ae", "title": "CentOS Stream (6.12.0-36.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 28 December 2024 07:57:20 -0500 (0:00:00.036) 0:03:01.094 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-36.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-36.el10.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "59997e9fe77bc854960c25dd2f69e165e98d8ec8", "dest": "/boot/vmlinuz-6.12.0-36.el10.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-36.el10.x86_64_clone2", "src": "/boot/vmlinuz-6.12.0-36.el10.x86_64" }, "md5sum": "a1993b1e56c66ffae3efb26756d729b0", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15870200, "src": "/boot/vmlinuz-6.12.0-36.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-36.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-36.el10.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "cfb42c3240c85cdeab741109699fb9cfac94ac2a", "dest": "/boot/initramfs-6.12.0-36.el10.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-36.el10.x86_64.img_clone2", "src": "/boot/initramfs-6.12.0-36.el10.x86_64.img" }, "md5sum": "7a8dd997a2562f337783e4e7549f2897", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 29209877, "src": "/boot/initramfs-6.12.0-36.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 28 December 2024 07:57:21 -0500 (0:00:00.981) 0:03:02.076 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 28 December 2024 07:57:21 -0500 (0:00:00.034) 0:03:02.110 ***** included: /tmp/collections-3IK/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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 28 December 2024 07:57:21 -0500 (0:00:00.016) 0:03:02.127 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 28 December 2024 07:57:21 -0500 (0:00:00.033) 0:03:02.160 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 28 December 2024 07:57:21 -0500 (0:00:00.016) 0:03:02.177 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 28 December 2024 07:57:21 -0500 (0:00:00.016) 0:03:02.193 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 28 December 2024 07:57:21 -0500 (0:00:00.029) 0:03:02.223 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 28 December 2024 07:57:21 -0500 (0:00:00.012) 0:03:02.235 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 28 December 2024 07:57:22 -0500 (0:00:00.682) 0:03:02.918 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390478.0155535, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1735390478.0145533, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8904954, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1735390478.0145533, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1187668448", "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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 28 December 2024 07:57:22 -0500 (0:00:00.372) 0:03:03.290 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 28 December 2024 07:57:22 -0500 (0:00:00.021) 0:03:03.312 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 28 December 2024 07:57:23 -0500 (0:00:00.019) 0:03:03.332 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 28 December 2024 07:57:23 -0500 (0:00:00.375) 0:03:03.708 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 28 December 2024 07:57:23 -0500 (0:00:00.048) 0:03:03.757 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390478.0155535, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1735390478.0145533, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8904954, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1735390478.0145533, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1187668448", "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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 28 December 2024 07:57:23 -0500 (0:00:00.368) 0:03:04.125 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390475.299555, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "45249620d477997a33c52e52601d769d8eaf21ff", "ctime": 1735390470.237558, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 142606530, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1735390470.237692, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "2688667436", "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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 28 December 2024 07:57:24 -0500 (0:00:00.373) 0:03:04.498 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004987", "end": "2024-12-28 07:57:24.512272", "rc": 0, "start": "2024-12-28 07:57:24.507285" } 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 28 December 2024 07:57:24 -0500 (0:00:00.384) 0:03:04.883 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 28 December 2024 07:57:24 -0500 (0:00:00.037) 0:03:04.920 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 28 December 2024 07:57:24 -0500 (0:00:00.384) 0:03:05.305 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 28 December 2024 07:57:25 -0500 (0:00:00.380) 0:03:05.686 ***** 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-36.el10.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.12.0-36.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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 28 December 2024 07:57:25 -0500 (0:00:00.574) 0:03:06.260 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 28 December 2024 07:57:25 -0500 (0:00:00.018) 0:03:06.278 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 28 December 2024 07:57:25 -0500 (0:00:00.016) 0:03:06.295 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 28 December 2024 07:57:26 -0500 (0:00:00.027) 0:03:06.322 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 28 December 2024 07:57:26 -0500 (0:00:00.032) 0:03:06.354 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 28 December 2024 07:57:26 -0500 (0:00:00.002) 0:03:06.356 ***** 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.126439", "end": "2024-12-28 07:57:26.484073", "rc": 0, "start": "2024-12-28 07:57:26.357634" } 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 28 December 2024 07:57:26 -0500 (0:00:00.494) 0:03:06.851 ***** included: /tmp/collections-3IK/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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 28 December 2024 07:57:26 -0500 (0:00:00.015) 0:03:06.867 ***** changed: [managed-node1] => { "changed": true, "elapsed": 140, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 28 December 2024 07:59:47 -0500 (0:02:21.273) 0:05:28.140 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 28 December 2024 07:59:47 -0500 (0:00:00.012) 0:05:28.153 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 28 December 2024 07:59:47 -0500 (0:00:00.015) 0:05:28.168 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 28 December 2024 07:59:47 -0500 (0:00:00.015) 0:05:28.184 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 28 December 2024 07:59:47 -0500 (0:00:00.050) 0:05:28.234 ***** included: /tmp/collections-3IK/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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 28 December 2024 07:59:47 -0500 (0:00:00.024) 0:05:28.259 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 28 December 2024 07:59:47 -0500 (0:00:00.031) 0:05:28.291 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 28 December 2024 07:59:47 -0500 (0:00:00.018) 0:05:28.309 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 28 December 2024 07:59:48 -0500 (0:00:00.016) 0:05:28.326 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 28 December 2024 07:59:48 -0500 (0:00:00.030) 0:05:28.357 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 28 December 2024 07:59:48 -0500 (0:00:00.013) 0:05:28.371 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 28 December 2024 07:59:49 -0500 (0:00:01.331) 0:05:29.702 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390646.4820328, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1735390646.4820328, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8904955, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1735390646.4820328, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3737849551", "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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 28 December 2024 07:59:49 -0500 (0:00:00.409) 0:05:30.111 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 28 December 2024 07:59:49 -0500 (0:00:00.014) 0:05:30.126 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 28 December 2024 07:59:49 -0500 (0:00:00.012) 0:05:30.138 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 28 December 2024 07:59:50 -0500 (0:00:00.363) 0:05:30.501 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 28 December 2024 07:59:50 -0500 (0:00:00.038) 0:05:30.540 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390788.825168, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1735390646.4820328, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8904955, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1735390646.4820328, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3737849551", "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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 28 December 2024 07:59:50 -0500 (0:00:00.372) 0:05:30.913 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390475.299555, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "45249620d477997a33c52e52601d769d8eaf21ff", "ctime": 1735390470.237558, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 142606530, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1735390470.237692, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "2688667436", "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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 28 December 2024 07:59:50 -0500 (0:00:00.378) 0:05:31.292 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005329", "end": "2024-12-28 07:59:50.473978", "rc": 0, "start": "2024-12-28 07:59:50.468649" } 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 28 December 2024 07:59:51 -0500 (0:00:00.390) 0:05:31.682 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 28 December 2024 07:59:51 -0500 (0:00:00.032) 0:05:31.715 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 28 December 2024 07:59:51 -0500 (0:00:00.378) 0:05:32.093 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 28 December 2024 07:59:52 -0500 (0:00:00.380) 0:05:32.474 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 28 December 2024 07:59:52 -0500 (0:00:00.362) 0:05:32.837 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 28 December 2024 07:59:52 -0500 (0:00:00.018) 0:05:32.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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 28 December 2024 07:59:52 -0500 (0:00:00.016) 0:05:32.872 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 28 December 2024 07:59:52 -0500 (0:00:00.029) 0:05:32.901 ***** 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": "f0bb6ca83f494f5f889ac77f0c299f8e-6.12.0-36.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-36.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-36.el10.x86_64", "root": "UUID=d34a4578-e79c-4219-88ec-bb1d36b608ae", "title": "CentOS Stream (6.12.0-36.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": "f0bb6ca83f494f5f889ac77f0c299f8e-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-f0bb6ca83f494f5f889ac77f0c299f8e.img", "kernel": "/boot/vmlinuz-0-rescue-f0bb6ca83f494f5f889ac77f0c299f8e", "root": "UUID=d34a4578-e79c-4219-88ec-bb1d36b608ae", "title": "CentOS Stream (0-rescue-f0bb6ca83f494f5f889ac77f0c299f8e) 10 (Coughlan)" }, { "args": "test=kernel", "default": false, "id": "ec290f6cf5319ea3e3a7f4bab609f0f0-6.12.0-36.el10.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-6.12.0-36.el10.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.12.0-36.el10.x86_64_clone2", "title": "Clone2" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 28 December 2024 07:59:53 -0500 (0:00:00.509) 0:05:33.411 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 28 December 2024 07:59:53 -0500 (0:00:00.037) 0:05:33.449 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 28 December 2024 07:59:53 -0500 (0:00:00.066) 0:05:33.515 ***** included: /tmp/collections-3IK/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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 28 December 2024 07:59:53 -0500 (0:00:00.018) 0:05:33.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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 28 December 2024 07:59:53 -0500 (0:00:00.033) 0:05:33.567 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 28 December 2024 07:59:53 -0500 (0:00:00.018) 0:05:33.585 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 28 December 2024 07:59:53 -0500 (0:00:00.018) 0:05:33.604 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 28 December 2024 07:59:53 -0500 (0:00:00.030) 0:05:33.634 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 28 December 2024 07:59:53 -0500 (0:00:00.012) 0:05:33.646 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 28 December 2024 07:59:54 -0500 (0:00:00.707) 0:05:34.354 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390788.825168, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1735390646.4820328, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8904955, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1735390646.4820328, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3737849551", "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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 28 December 2024 07:59:54 -0500 (0:00:00.380) 0:05:34.734 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 28 December 2024 07:59:54 -0500 (0:00:00.014) 0:05:34.749 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 28 December 2024 07:59:54 -0500 (0:00:00.013) 0:05:34.762 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 28 December 2024 07:59:54 -0500 (0:00:00.361) 0:05:35.123 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 28 December 2024 07:59:54 -0500 (0:00:00.038) 0:05:35.162 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390788.825168, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1735390646.4820328, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8904955, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1735390646.4820328, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "3737849551", "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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 28 December 2024 07:59:55 -0500 (0:00:00.382) 0:05:35.545 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1735390475.299555, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "45249620d477997a33c52e52601d769d8eaf21ff", "ctime": 1735390470.237558, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 142606530, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1735390470.237692, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "2688667436", "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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 28 December 2024 07:59:55 -0500 (0:00:00.381) 0:05:35.927 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004967", "end": "2024-12-28 07:59:55.492498", "rc": 0, "start": "2024-12-28 07:59:55.487531" } 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 28 December 2024 07:59:56 -0500 (0:00:00.389) 0:05:36.316 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_grep_configfile.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 28 December 2024 07:59:56 -0500 (0:00:00.041) 0:05:36.358 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 28 December 2024 07:59:56 -0500 (0:00:00.385) 0:05:36.743 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 28 December 2024 07:59:56 -0500 (0:00:00.379) 0:05:37.123 ***** 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-36.el10.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 28 December 2024 07:59:57 -0500 (0:00:00.577) 0:05:37.700 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 28 December 2024 07:59:57 -0500 (0:00:00.017) 0:05:37.718 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 28 December 2024 07:59:57 -0500 (0:00:00.016) 0:05:37.735 ***** 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 28 December 2024 07:59:57 -0500 (0:00:00.029) 0:05:37.764 ***** 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": "f0bb6ca83f494f5f889ac77f0c299f8e-6.12.0-36.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-36.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-36.el10.x86_64", "root": "UUID=d34a4578-e79c-4219-88ec-bb1d36b608ae", "title": "CentOS Stream (6.12.0-36.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": "f0bb6ca83f494f5f889ac77f0c299f8e-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-f0bb6ca83f494f5f889ac77f0c299f8e.img", "kernel": "/boot/vmlinuz-0-rescue-f0bb6ca83f494f5f889ac77f0c299f8e", "root": "UUID=d34a4578-e79c-4219-88ec-bb1d36b608ae", "title": "CentOS Stream (0-rescue-f0bb6ca83f494f5f889ac77f0c299f8e) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 28 December 2024 07:59:57 -0500 (0:00:00.483) 0:05:38.248 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 28 December 2024 07:59:57 -0500 (0:00:00.038) 0:05:38.286 ***** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.0-36.el10.x86_64_clone1" ], "delta": "0:00:00.049146", "end": "2024-12-28 07:59:58.083768", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-12-28 07:59:58.034622" } STDERR: The param /boot/vmlinuz-6.12.0-36.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-36.el10.x86_64_clone2" ], "delta": "0:00:00.050363", "end": "2024-12-28 07:59:58.523060", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-12-28 07:59:58.472697" } STDERR: The param /boot/vmlinuz-6.12.0-36.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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 28 December 2024 07:59:58 -0500 (0:00:00.829) 0:05:39.116 ***** 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.112305", "end": "2024-12-28 07:59:59.040236", "rc": 0, "start": "2024-12-28 07:59:58.927931" } 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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 28 December 2024 07:59:59 -0500 (0:00:00.474) 0:05:39.590 ***** included: /tmp/collections-3IK/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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 28 December 2024 07:59:59 -0500 (0:00:00.014) 0:05:39.605 ***** changed: [managed-node1] => { "changed": true, "elapsed": 151, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 28 December 2024 08:02:31 -0500 (0:02:32.704) 0:08:12.309 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 28 December 2024 08:02:32 -0500 (0:00:00.012) 0:08:12.322 ***** 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 28 December 2024 08:02:32 -0500 (0:00:00.014) 0:08:12.336 ***** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true - 152.70s /tmp/collections-3IK/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 - 152.68s /tmp/collections-3IK/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 - 141.27s /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 3.71s /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.84s /tmp/collections-3IK/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.33s /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.32s /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.07s /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 0.98s /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.83s /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.77s /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.71s /tmp/collections-3IK/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-3IK/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-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.64s /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.60s /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.60s /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.58s /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.57s /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.57s /tmp/collections-3IK/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73