ansible-playbook [core 2.17.6] 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-Ru7 executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Oct 29 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-2)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-Ru7/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-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 30 November 2024 07:52:02 -0500 (0:00:00.007) 0:00:00.007 ***** included: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 30 November 2024 07:52:02 -0500 (0:00:00.013) 0:00:00.020 ***** [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-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 30 November 2024 07:52:05 -0500 (0:00:02.689) 0:00:02.710 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 30 November 2024 07:52:05 -0500 (0:00:00.004) 0:00:02.715 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 30 November 2024 07:52:05 -0500 (0:00:00.072) 0:00:02.787 ***** included: /tmp/collections-Ru7/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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 30 November 2024 07:52:05 -0500 (0:00:00.016) 0:00:02.804 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 30 November 2024 07:52:05 -0500 (0:00:00.031) 0:00:02.835 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 30 November 2024 07:52:05 -0500 (0:00:00.484) 0:00:03.320 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 30 November 2024 07:52:05 -0500 (0:00:00.032) 0:00:03.352 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 30 November 2024 07:52:05 -0500 (0:00:00.049) 0:00:03.401 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 30 November 2024 07:52:05 -0500 (0:00:00.018) 0:00:03.420 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 30 November 2024 07:52:10 -0500 (0:00:04.247) 0:00:07.667 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732183669.5867496, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1732183669.5867496, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4836947, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732183669.5867496, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "3718581002", "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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 30 November 2024 07:52:11 -0500 (0:00:01.154) 0:00:08.822 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 30 November 2024 07:52:11 -0500 (0:00:00.037) 0:00:08.860 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 30 November 2024 07:52:11 -0500 (0:00:00.018) 0:00:08.879 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 30 November 2024 07:52:11 -0500 (0:00:00.439) 0:00:09.318 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 30 November 2024 07:52:11 -0500 (0:00:00.070) 0:00:09.388 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971130.5889666, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1732183669.5867496, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4836947, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732183669.5867496, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "3718581002", "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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 30 November 2024 07:52:12 -0500 (0:00:00.445) 0:00:09.834 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732182800.094, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "413f67b30e2bb3cdc80926fd48ba5f361f938123", "ctime": 1732182800.096, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12585927, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732182800.096, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6986, "uid": 0, "version": "1888187984", "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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 30 November 2024 07:52:12 -0500 (0:00:00.442) 0:00:10.276 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005123", "end": "2024-11-30 07:52:13.307553", "rc": 0, "start": "2024-11-30 07:52:13.302430" } 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 30 November 2024 07:52:13 -0500 (0:00:00.545) 0:00:10.822 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 30 November 2024 07:52:13 -0500 (0:00:00.039) 0:00:10.861 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 30 November 2024 07:52:13 -0500 (0:00:00.512) 0:00:11.374 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 30 November 2024 07:52:14 -0500 (0:00:00.428) 0:00:11.803 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 30 November 2024 07:52:14 -0500 (0:00:00.508) 0:00:12.311 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 30 November 2024 07:52:14 -0500 (0:00:00.018) 0:00:12.329 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 30 November 2024 07:52:14 -0500 (0:00:00.018) 0:00:12.348 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 30 November 2024 07:52:14 -0500 (0:00:00.029) 0:00:12.377 ***** 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": "bb9bce8ec6df4fee8b236e0462515312-6.11.0-29.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.0-29.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-29.el10.x86_64", "root": "UUID=a816d579-5e98-49f1-ab4a-d4c1d04ffa33", "title": "CentOS Stream (6.11.0-29.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": "bb9bce8ec6df4fee8b236e0462515312-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-bb9bce8ec6df4fee8b236e0462515312.img", "kernel": "/boot/vmlinuz-0-rescue-bb9bce8ec6df4fee8b236e0462515312", "root": "UUID=a816d579-5e98-49f1-ab4a-d4c1d04ffa33", "title": "CentOS Stream (0-rescue-bb9bce8ec6df4fee8b236e0462515312) 10 (Coughlan)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 30 November 2024 07:52:15 -0500 (0:00:00.647) 0:00:13.024 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 30 November 2024 07:52:15 -0500 (0:00:00.008) 0:00:13.033 ***** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 30 November 2024 07:52:15 -0500 (0:00:00.002) 0:00:13.035 ***** included: /tmp/collections-Ru7/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-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 30 November 2024 07:52:15 -0500 (0:00:00.025) 0:00:13.061 ***** 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": "bb9bce8ec6df4fee8b236e0462515312-6.11.0-29.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.0-29.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-29.el10.x86_64", "root": "UUID=a816d579-5e98-49f1-ab4a-d4c1d04ffa33", "title": "CentOS Stream (6.11.0-29.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 30 November 2024 07:52:15 -0500 (0:00:00.041) 0:00:13.102 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.0-29.el10.x86_64', 'dest': '/boot/vmlinuz-6.11.0-29.el10.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "990c88371f098ccfa7e388d8fa38fbb4d6816f7a", "dest": "/boot/vmlinuz-6.11.0-29.el10.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.0-29.el10.x86_64_clone1", "src": "/boot/vmlinuz-6.11.0-29.el10.x86_64" }, "md5sum": "7752ddd3debc2233c2ce9f7354d6a06d", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15866104, "src": "/boot/vmlinuz-6.11.0-29.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.0-29.el10.x86_64.img', 'dest': '/boot/initramfs-6.11.0-29.el10.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "94a15d911e29db298e38aa056039d9258b4825c6", "dest": "/boot/initramfs-6.11.0-29.el10.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.0-29.el10.x86_64.img_clone1", "src": "/boot/initramfs-6.11.0-29.el10.x86_64.img" }, "md5sum": "c6f9cdc37cb3076116e57ec0320814f7", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 27137214, "src": "/boot/initramfs-6.11.0-29.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 30 November 2024 07:52:16 -0500 (0:00:01.349) 0:00:14.451 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 30 November 2024 07:52:17 -0500 (0:00:00.068) 0:00:14.520 ***** included: /tmp/collections-Ru7/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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 30 November 2024 07:52:17 -0500 (0:00:00.028) 0:00:14.548 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 30 November 2024 07:52:17 -0500 (0:00:00.049) 0:00:14.598 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 30 November 2024 07:52:17 -0500 (0:00:00.024) 0:00:14.623 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 30 November 2024 07:52:17 -0500 (0:00:00.026) 0:00:14.650 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 30 November 2024 07:52:17 -0500 (0:00:00.046) 0:00:14.696 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 30 November 2024 07:52:17 -0500 (0:00:00.019) 0:00:14.716 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 30 November 2024 07:52:18 -0500 (0:00:00.777) 0:00:15.494 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971130.5889666, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1732183669.5867496, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4836947, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732183669.5867496, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "3718581002", "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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 30 November 2024 07:52:18 -0500 (0:00:00.452) 0:00:15.946 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 30 November 2024 07:52:18 -0500 (0:00:00.016) 0:00:15.962 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 30 November 2024 07:52:18 -0500 (0:00:00.016) 0:00:15.979 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 30 November 2024 07:52:18 -0500 (0:00:00.426) 0:00:16.406 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 30 November 2024 07:52:19 -0500 (0:00:00.065) 0:00:16.471 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971130.5889666, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3533df6d61119d3dbd6959a265d5a35134a0f8cc", "ctime": 1732183669.5867496, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4836947, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732183669.5867496, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "3718581002", "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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 30 November 2024 07:52:19 -0500 (0:00:00.470) 0:00:16.942 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971134.2848437, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "72eadc22b15e446c0149ce5127c308bcc18d6c95", "ctime": 1732971134.2848594, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 109052098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732971134.2848454, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "3461815152", "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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 30 November 2024 07:52:19 -0500 (0:00:00.444) 0:00:17.387 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004921", "end": "2024-11-30 07:52:20.304551", "rc": 0, "start": "2024-11-30 07:52:20.299630" } 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 30 November 2024 07:52:20 -0500 (0:00:00.433) 0:00:17.821 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 30 November 2024 07:52:20 -0500 (0:00:00.043) 0:00:17.865 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 30 November 2024 07:52:20 -0500 (0:00:00.440) 0:00:18.305 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 30 November 2024 07:52:21 -0500 (0:00:00.466) 0:00:18.772 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.11.0-29.el10.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.11.0-29.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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 30 November 2024 07:52:22 -0500 (0:00:00.705) 0:00:19.477 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 30 November 2024 07:52:22 -0500 (0:00:00.027) 0:00:19.505 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 30 November 2024 07:52:22 -0500 (0:00:00.027) 0:00:19.533 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 30 November 2024 07:52:22 -0500 (0:00:00.047) 0:00:19.580 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 30 November 2024 07:52:22 -0500 (0:00:00.062) 0:00:19.642 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 30 November 2024 07:52:22 -0500 (0:00:00.008) 0:00:19.651 ***** 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.150548", "end": "2024-11-30 07:52:22.764702", "rc": 0, "start": "2024-11-30 07:52:22.614154" } 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 30 November 2024 07:52:22 -0500 (0:00:00.637) 0:00:20.289 ***** included: /tmp/collections-Ru7/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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 30 November 2024 07:52:22 -0500 (0:00:00.041) 0:00:20.330 ***** changed: [managed-node1] => { "changed": true, "elapsed": 54, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 30 November 2024 07:53:18 -0500 (0:00:56.094) 0:01:16.425 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 30 November 2024 07:53:18 -0500 (0:00:00.013) 0:01:16.438 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 30 November 2024 07:53:18 -0500 (0:00:00.019) 0:01:16.458 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 30 November 2024 07:53:19 -0500 (0:00:00.015) 0:01:16.474 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 30 November 2024 07:53:19 -0500 (0:00:00.060) 0:01:16.534 ***** included: /tmp/collections-Ru7/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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 30 November 2024 07:53:19 -0500 (0:00:00.022) 0:01:16.557 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 30 November 2024 07:53:19 -0500 (0:00:00.033) 0:01:16.590 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 30 November 2024 07:53:19 -0500 (0:00:00.016) 0:01:16.607 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 30 November 2024 07:53:19 -0500 (0:00:00.017) 0:01:16.624 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 30 November 2024 07:53:19 -0500 (0:00:00.029) 0:01:16.653 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 30 November 2024 07:53:19 -0500 (0:00:00.012) 0:01:16.666 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 30 November 2024 07:53:21 -0500 (0:00:02.117) 0:01:18.784 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971142.7636132, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1732971142.7626133, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4836982, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971142.7626133, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1034579532", "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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 30 November 2024 07:53:21 -0500 (0:00:00.503) 0:01:19.287 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 30 November 2024 07:53:21 -0500 (0:00:00.013) 0:01:19.300 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 30 November 2024 07:53:21 -0500 (0:00:00.011) 0:01:19.312 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 30 November 2024 07:53:22 -0500 (0:00:00.405) 0:01:19.718 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 30 November 2024 07:53:22 -0500 (0:00:00.039) 0:01:19.757 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971142.7636132, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1732971142.7626133, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4836982, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971142.7626133, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1034579532", "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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 30 November 2024 07:53:22 -0500 (0:00:00.419) 0:01:20.177 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971139.8526976, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "72eadc22b15e446c0149ce5127c308bcc18d6c95", "ctime": 1732971134.2848594, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 109052098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732971134.2848454, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "3461815152", "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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 30 November 2024 07:53:23 -0500 (0:00:00.429) 0:01:20.607 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004902", "end": "2024-11-30 07:53:23.518282", "rc": 0, "start": "2024-11-30 07:53:23.513380" } 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 30 November 2024 07:53:23 -0500 (0:00:00.428) 0:01:21.035 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 30 November 2024 07:53:23 -0500 (0:00:00.039) 0:01:21.075 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 30 November 2024 07:53:24 -0500 (0:00:00.440) 0:01:21.516 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 30 November 2024 07:53:24 -0500 (0:00:00.428) 0:01:21.944 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 30 November 2024 07:53:24 -0500 (0:00:00.417) 0:01:22.362 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 30 November 2024 07:53:24 -0500 (0:00:00.019) 0:01:22.381 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 30 November 2024 07:53:24 -0500 (0:00:00.017) 0:01:22.399 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 30 November 2024 07:53:24 -0500 (0:00:00.029) 0:01:22.428 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "ec2e1d5072723474fc6d809071eddc09-6.11.0-29.el10.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.11.0-29.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.11.0-29.el10.x86_64_clone1", "root": "UUID=a816d579-5e98-49f1-ab4a-d4c1d04ffa33", "title": "Clone1" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "bb9bce8ec6df4fee8b236e0462515312-6.11.0-29.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.0-29.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-29.el10.x86_64", "root": "UUID=a816d579-5e98-49f1-ab4a-d4c1d04ffa33", "title": "CentOS Stream (6.11.0-29.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": "bb9bce8ec6df4fee8b236e0462515312-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-bb9bce8ec6df4fee8b236e0462515312.img", "kernel": "/boot/vmlinuz-0-rescue-bb9bce8ec6df4fee8b236e0462515312", "root": "UUID=a816d579-5e98-49f1-ab4a-d4c1d04ffa33", "title": "CentOS Stream (0-rescue-bb9bce8ec6df4fee8b236e0462515312) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 30 November 2024 07:53:25 -0500 (0:00:00.592) 0:01:23.021 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 30 November 2024 07:53:25 -0500 (0:00:00.040) 0:01:23.061 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 30 November 2024 07:53:25 -0500 (0:00:00.056) 0:01:23.118 ***** included: /tmp/collections-Ru7/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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 30 November 2024 07:53:25 -0500 (0:00:00.018) 0:01:23.137 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 30 November 2024 07:53:25 -0500 (0:00:00.033) 0:01:23.170 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 30 November 2024 07:53:25 -0500 (0:00:00.018) 0:01:23.188 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 30 November 2024 07:53:25 -0500 (0:00:00.016) 0:01:23.204 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 30 November 2024 07:53:25 -0500 (0:00:00.029) 0:01:23.234 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 30 November 2024 07:53:25 -0500 (0:00:00.013) 0:01:23.248 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 30 November 2024 07:53:26 -0500 (0:00:00.761) 0:01:24.009 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971142.7636132, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1732971142.7626133, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4836982, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971142.7626133, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1034579532", "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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 30 November 2024 07:53:26 -0500 (0:00:00.440) 0:01:24.450 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 30 November 2024 07:53:27 -0500 (0:00:00.015) 0:01:24.466 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 30 November 2024 07:53:27 -0500 (0:00:00.012) 0:01:24.479 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 30 November 2024 07:53:27 -0500 (0:00:00.417) 0:01:24.896 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 30 November 2024 07:53:27 -0500 (0:00:00.040) 0:01:24.937 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971142.7636132, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1732971142.7626133, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4836982, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971142.7626133, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1034579532", "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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 30 November 2024 07:53:27 -0500 (0:00:00.431) 0:01:25.368 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971139.8526976, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "72eadc22b15e446c0149ce5127c308bcc18d6c95", "ctime": 1732971134.2848594, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 109052098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732971134.2848454, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "3461815152", "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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 30 November 2024 07:53:28 -0500 (0:00:00.435) 0:01:25.804 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005142", "end": "2024-11-30 07:53:28.716091", "rc": 0, "start": "2024-11-30 07:53:28.710949" } 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 30 November 2024 07:53:28 -0500 (0:00:00.431) 0:01:26.236 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 30 November 2024 07:53:28 -0500 (0:00:00.034) 0:01:26.270 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 30 November 2024 07:53:29 -0500 (0:00:00.433) 0:01:26.704 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 30 November 2024 07:53:29 -0500 (0:00:00.439) 0:01:27.143 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.11.0-29.el10.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 30 November 2024 07:53:30 -0500 (0:00:00.683) 0:01:27.827 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 30 November 2024 07:53:30 -0500 (0:00:00.018) 0:01:27.845 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 30 November 2024 07:53:30 -0500 (0:00:00.018) 0:01:27.864 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 30 November 2024 07:53:30 -0500 (0:00:00.029) 0:01:27.893 ***** 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": "bb9bce8ec6df4fee8b236e0462515312-6.11.0-29.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.0-29.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-29.el10.x86_64", "root": "UUID=a816d579-5e98-49f1-ab4a-d4c1d04ffa33", "title": "CentOS Stream (6.11.0-29.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": "bb9bce8ec6df4fee8b236e0462515312-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-bb9bce8ec6df4fee8b236e0462515312.img", "kernel": "/boot/vmlinuz-0-rescue-bb9bce8ec6df4fee8b236e0462515312", "root": "UUID=a816d579-5e98-49f1-ab4a-d4c1d04ffa33", "title": "CentOS Stream (0-rescue-bb9bce8ec6df4fee8b236e0462515312) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 30 November 2024 07:53:30 -0500 (0:00:00.534) 0:01:28.428 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 30 November 2024 07:53:31 -0500 (0:00:00.039) 0:01:28.467 ***** included: /tmp/collections-Ru7/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-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 30 November 2024 07:53:31 -0500 (0:00:00.029) 0:01:28.496 ***** 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": "bb9bce8ec6df4fee8b236e0462515312-6.11.0-29.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.0-29.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-29.el10.x86_64", "root": "UUID=a816d579-5e98-49f1-ab4a-d4c1d04ffa33", "title": "CentOS Stream (6.11.0-29.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 30 November 2024 07:53:31 -0500 (0:00:00.038) 0:01:28.535 ***** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.11.0-29.el10.x86_64', 'dest': '/boot/vmlinuz-6.11.0-29.el10.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "990c88371f098ccfa7e388d8fa38fbb4d6816f7a", "dest": "/boot/vmlinuz-6.11.0-29.el10.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.11.0-29.el10.x86_64_clone2", "src": "/boot/vmlinuz-6.11.0-29.el10.x86_64" }, "md5sum": "7752ddd3debc2233c2ce9f7354d6a06d", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15866104, "src": "/boot/vmlinuz-6.11.0-29.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.11.0-29.el10.x86_64.img', 'dest': '/boot/initramfs-6.11.0-29.el10.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "94a15d911e29db298e38aa056039d9258b4825c6", "dest": "/boot/initramfs-6.11.0-29.el10.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.11.0-29.el10.x86_64.img_clone2", "src": "/boot/initramfs-6.11.0-29.el10.x86_64.img" }, "md5sum": "c6f9cdc37cb3076116e57ec0320814f7", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 27137214, "src": "/boot/initramfs-6.11.0-29.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 30 November 2024 07:53:32 -0500 (0:00:01.280) 0:01:29.816 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 30 November 2024 07:53:32 -0500 (0:00:00.035) 0:01:29.851 ***** included: /tmp/collections-Ru7/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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 30 November 2024 07:53:32 -0500 (0:00:00.018) 0:01:29.870 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 30 November 2024 07:53:32 -0500 (0:00:00.035) 0:01:29.905 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 30 November 2024 07:53:32 -0500 (0:00:00.017) 0:01:29.923 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 30 November 2024 07:53:32 -0500 (0:00:00.018) 0:01:29.941 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 30 November 2024 07:53:32 -0500 (0:00:00.031) 0:01:29.972 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 30 November 2024 07:53:32 -0500 (0:00:00.013) 0:01:29.985 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 30 November 2024 07:53:33 -0500 (0:00:00.762) 0:01:30.747 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971142.7636132, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1732971142.7626133, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4836982, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971142.7626133, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1034579532", "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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 30 November 2024 07:53:33 -0500 (0:00:00.438) 0:01:31.186 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 30 November 2024 07:53:33 -0500 (0:00:00.014) 0:01:31.201 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 30 November 2024 07:53:33 -0500 (0:00:00.012) 0:01:31.214 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 30 November 2024 07:53:34 -0500 (0:00:00.405) 0:01:31.620 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 30 November 2024 07:53:34 -0500 (0:00:00.040) 0:01:31.660 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971142.7636132, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1732971142.7626133, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4836982, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971142.7626133, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "1034579532", "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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 30 November 2024 07:53:34 -0500 (0:00:00.426) 0:01:32.086 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971139.8526976, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "72eadc22b15e446c0149ce5127c308bcc18d6c95", "ctime": 1732971134.2848594, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 109052098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732971134.2848454, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "3461815152", "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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 30 November 2024 07:53:35 -0500 (0:00:00.425) 0:01:32.512 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005080", "end": "2024-11-30 07:53:35.423726", "rc": 0, "start": "2024-11-30 07:53:35.418646" } 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 30 November 2024 07:53:35 -0500 (0:00:00.429) 0:01:32.942 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 30 November 2024 07:53:35 -0500 (0:00:00.033) 0:01:32.976 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 30 November 2024 07:53:35 -0500 (0:00:00.429) 0:01:33.405 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 30 November 2024 07:53:36 -0500 (0:00:00.429) 0:01:33.834 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.11.0-29.el10.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.11.0-29.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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 30 November 2024 07:53:37 -0500 (0:00:00.660) 0:01:34.495 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 30 November 2024 07:53:37 -0500 (0:00:00.019) 0:01:34.515 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 30 November 2024 07:53:37 -0500 (0:00:00.018) 0:01:34.533 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 30 November 2024 07:53:37 -0500 (0:00:00.030) 0:01:34.563 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 30 November 2024 07:53:37 -0500 (0:00:00.032) 0:01:34.595 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 30 November 2024 07:53:37 -0500 (0:00:00.002) 0:01:34.598 ***** 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.150132", "end": "2024-11-30 07:53:37.639001", "rc": 0, "start": "2024-11-30 07:53:37.488869" } 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 30 November 2024 07:53:37 -0500 (0:00:00.559) 0:01:35.157 ***** included: /tmp/collections-Ru7/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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 30 November 2024 07:53:37 -0500 (0:00:00.014) 0:01:35.171 ***** changed: [managed-node1] => { "changed": true, "elapsed": 47, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 30 November 2024 07:54:26 -0500 (0:00:49.095) 0:02:24.267 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 30 November 2024 07:54:26 -0500 (0:00:00.012) 0:02:24.280 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 30 November 2024 07:54:26 -0500 (0:00:00.014) 0:02:24.295 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 30 November 2024 07:54:26 -0500 (0:00:00.015) 0:02:24.310 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 30 November 2024 07:54:26 -0500 (0:00:00.051) 0:02:24.362 ***** included: /tmp/collections-Ru7/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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 30 November 2024 07:54:26 -0500 (0:00:00.018) 0:02:24.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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 30 November 2024 07:54:26 -0500 (0:00:00.031) 0:02:24.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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 30 November 2024 07:54:26 -0500 (0:00:00.016) 0:02:24.428 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 30 November 2024 07:54:26 -0500 (0:00:00.016) 0:02:24.445 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 30 November 2024 07:54:27 -0500 (0:00:00.029) 0:02:24.475 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 30 November 2024 07:54:27 -0500 (0:00:00.012) 0:02:24.487 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 30 November 2024 07:54:29 -0500 (0:00:02.127) 0:02:26.614 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971217.6374793, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1732971217.6364794, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4836947, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971217.6364794, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2780747514", "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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 30 November 2024 07:54:29 -0500 (0:00:00.494) 0:02:27.109 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 30 November 2024 07:54:29 -0500 (0:00:00.014) 0:02:27.124 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 30 November 2024 07:54:29 -0500 (0:00:00.012) 0:02:27.137 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 30 November 2024 07:54:30 -0500 (0:00:00.407) 0:02:27.544 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 30 November 2024 07:54:30 -0500 (0:00:00.062) 0:02:27.606 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971217.6374793, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1732971217.6364794, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4836947, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971217.6364794, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2780747514", "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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 30 November 2024 07:54:30 -0500 (0:00:00.461) 0:02:28.068 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971139.8526976, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "72eadc22b15e446c0149ce5127c308bcc18d6c95", "ctime": 1732971134.2848594, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 109052098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732971134.2848454, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "3461815152", "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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 30 November 2024 07:54:31 -0500 (0:00:00.430) 0:02:28.499 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004855", "end": "2024-11-30 07:54:31.497415", "rc": 0, "start": "2024-11-30 07:54:31.492560" } 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 30 November 2024 07:54:31 -0500 (0:00:00.517) 0:02:29.017 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 30 November 2024 07:54:31 -0500 (0:00:00.051) 0:02:29.069 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 30 November 2024 07:54:32 -0500 (0:00:00.488) 0:02:29.558 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 30 November 2024 07:54:32 -0500 (0:00:00.440) 0:02:29.998 ***** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 30 November 2024 07:54:32 -0500 (0:00:00.410) 0:02:30.409 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 30 November 2024 07:54:32 -0500 (0:00:00.018) 0:02:30.428 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 30 November 2024 07:54:32 -0500 (0:00:00.017) 0:02:30.445 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 30 November 2024 07:54:33 -0500 (0:00:00.030) 0:02:30.475 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec2e1d5072723474fc6d809071eddc09-6.11.0-29.el10.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.11.0-29.el10.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.11.0-29.el10.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "bb9bce8ec6df4fee8b236e0462515312-6.11.0-29.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.11.0-29.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-29.el10.x86_64", "root": "UUID=a816d579-5e98-49f1-ab4a-d4c1d04ffa33", "title": "CentOS Stream (6.11.0-29.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": "bb9bce8ec6df4fee8b236e0462515312-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-bb9bce8ec6df4fee8b236e0462515312.img", "kernel": "/boot/vmlinuz-0-rescue-bb9bce8ec6df4fee8b236e0462515312", "root": "UUID=a816d579-5e98-49f1-ab4a-d4c1d04ffa33", "title": "CentOS Stream (0-rescue-bb9bce8ec6df4fee8b236e0462515312) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 30 November 2024 07:54:33 -0500 (0:00:00.583) 0:02:31.059 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 30 November 2024 07:54:33 -0500 (0:00:00.039) 0:02:31.099 ***** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 30 November 2024 07:54:33 -0500 (0:00:00.063) 0:02:31.163 ***** included: /tmp/collections-Ru7/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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 30 November 2024 07:54:33 -0500 (0:00:00.018) 0:02:31.181 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 30 November 2024 07:54:33 -0500 (0:00:00.036) 0:02:31.217 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 30 November 2024 07:54:33 -0500 (0:00:00.019) 0:02:31.236 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 30 November 2024 07:54:33 -0500 (0:00:00.023) 0:02:31.259 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 30 November 2024 07:54:33 -0500 (0:00:00.050) 0:02:31.310 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 30 November 2024 07:54:33 -0500 (0:00:00.016) 0:02:31.326 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 30 November 2024 07:54:34 -0500 (0:00:00.775) 0:02:32.101 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971217.6374793, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1732971217.6364794, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4836947, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971217.6364794, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2780747514", "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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 30 November 2024 07:54:35 -0500 (0:00:00.441) 0:02:32.542 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 30 November 2024 07:54:35 -0500 (0:00:00.017) 0:02:32.560 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 30 November 2024 07:54:35 -0500 (0:00:00.014) 0:02:32.575 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 30 November 2024 07:54:35 -0500 (0:00:00.409) 0:02:32.985 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 30 November 2024 07:54:35 -0500 (0:00:00.048) 0:02:33.033 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971217.6374793, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "85bc4f2262ab0ff568e6ddea6fe3e99fa79222b2", "ctime": 1732971217.6364794, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4836947, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1732971217.6364794, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 341, "uid": 0, "version": "2780747514", "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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 30 November 2024 07:54:35 -0500 (0:00:00.420) 0:02:33.453 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971139.8526976, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "72eadc22b15e446c0149ce5127c308bcc18d6c95", "ctime": 1732971134.2848594, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 109052098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1732971134.2848454, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6959, "uid": 0, "version": "3461815152", "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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 30 November 2024 07:54:36 -0500 (0:00:00.429) 0:02:33.883 ***** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005000", "end": "2024-11-30 07:54:36.829707", "rc": 0, "start": "2024-11-30 07:54:36.824707" } 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 30 November 2024 07:54:36 -0500 (0:00:00.469) 0:02:34.352 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 30 November 2024 07:54:36 -0500 (0:00:00.039) 0:02:34.392 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 30 November 2024 07:54:37 -0500 (0:00:00.432) 0:02:34.825 ***** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 30 November 2024 07:54:37 -0500 (0:00:00.426) 0:02:35.251 ***** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.11.0-29.el10.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 30 November 2024 07:54:38 -0500 (0:00:00.675) 0:02:35.926 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 30 November 2024 07:54:38 -0500 (0:00:00.018) 0:02:35.945 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 30 November 2024 07:54:38 -0500 (0:00:00.016) 0:02:35.962 ***** 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 30 November 2024 07:54:38 -0500 (0:00:00.028) 0:02:35.990 ***** 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": "bb9bce8ec6df4fee8b236e0462515312-6.11.0-29.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.11.0-29.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.11.0-29.el10.x86_64", "root": "UUID=a816d579-5e98-49f1-ab4a-d4c1d04ffa33", "title": "CentOS Stream (6.11.0-29.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": "bb9bce8ec6df4fee8b236e0462515312-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-bb9bce8ec6df4fee8b236e0462515312.img", "kernel": "/boot/vmlinuz-0-rescue-bb9bce8ec6df4fee8b236e0462515312", "root": "UUID=a816d579-5e98-49f1-ab4a-d4c1d04ffa33", "title": "CentOS Stream (0-rescue-bb9bce8ec6df4fee8b236e0462515312) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 30 November 2024 07:54:39 -0500 (0:00:00.559) 0:02:36.550 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 30 November 2024 07:54:39 -0500 (0:00:00.039) 0:02:36.590 ***** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.11.0-29.el10.x86_64_clone1" ], "delta": "0:00:00.049991", "end": "2024-11-30 07:54:39.532164", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-11-30 07:54:39.482173" } STDERR: The param /boot/vmlinuz-6.11.0-29.el10.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.11.0-29.el10.x86_64_clone2" ], "delta": "0:00:00.049994", "end": "2024-11-30 07:54:39.973859", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-11-30 07:54:39.923865" } STDERR: The param /boot/vmlinuz-6.11.0-29.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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 30 November 2024 07:54:40 -0500 (0:00:00.900) 0:02:37.490 ***** 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.118322", "end": "2024-11-30 07:54:40.498563", "rc": 0, "start": "2024-11-30 07:54:40.380241" } 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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 30 November 2024 07:54:40 -0500 (0:00:00.524) 0:02:38.015 ***** included: /tmp/collections-Ru7/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-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 30 November 2024 07:54:40 -0500 (0:00:00.014) 0:02:38.029 ***** changed: [managed-node1] => { "changed": true, "elapsed": 49, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 30 November 2024 07:55:31 -0500 (0:00:50.558) 0:03:28.587 ***** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 30 November 2024 07:55:31 -0500 (0:00:00.012) 0:03:28.600 ***** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=118 changed=14 unreachable=0 failed=0 skipped=80 rescued=0 ignored=0 Saturday 30 November 2024 07:55:31 -0500 (0:00:00.013) 0:03:28.614 ***** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 56.09s /tmp/collections-Ru7/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 -- 50.56s /tmp/collections-Ru7/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 -- 49.10s /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 4.25s /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.69s /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.13s /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.12s /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.35s /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 1.28s /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.15s /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Remove cloned kernels --------------------------------------------------- 0.90s /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.78s /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.78s /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.76s /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.76s /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.71s /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.68s /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.68s /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.66s /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.65s /tmp/collections-Ru7/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139