ansible-playbook [core 2.17.9] 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-h8F executable location = /usr/local/bin/ansible-playbook python version = 3.12.9 (main, Feb 4 2025, 00:00:00) [GCC 14.2.1 20250110 (Red Hat 14.2.1-7)] (/usr/bin/python3.12) jinja version = 3.1.5 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-h8F/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-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 22 March 2025 08:49:07 -0400 (0:00:00.008) 0:00:00.008 ******** included: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 22 March 2025 08:49:07 -0400 (0:00:00.013) 0:00:00.021 ******** [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node1] TASK [End host on s390x architecture] ****************************************** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Saturday 22 March 2025 08:49:10 -0400 (0:00:02.479) 0:00:02.501 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 22 March 2025 08:49:10 -0400 (0:00:00.004) 0:00:02.506 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 22 March 2025 08:49:10 -0400 (0:00:00.056) 0:00:02.563 ******** included: /tmp/collections-h8F/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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 22 March 2025 08:49:10 -0400 (0:00:00.017) 0:00:02.580 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 22 March 2025 08:49:10 -0400 (0:00:00.031) 0:00:02.611 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 22 March 2025 08:49:10 -0400 (0:00:00.409) 0:00:03.021 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 22 March 2025 08:49:10 -0400 (0:00:00.021) 0:00:03.042 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 22 March 2025 08:49:10 -0400 (0:00:00.029) 0:00:03.071 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 22 March 2025 08:49:10 -0400 (0:00:00.011) 0:00:03.083 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 22 March 2025 08:49:15 -0400 (0:00:04.598) 0:00:07.682 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742229944.886663, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1742229944.887663, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 228141, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742229944.886663, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2363670690", "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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 22 March 2025 08:49:16 -0400 (0:00:00.759) 0:00:08.441 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 22 March 2025 08:49:16 -0400 (0:00:00.013) 0:00:08.454 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 22 March 2025 08:49:16 -0400 (0:00:00.012) 0:00:08.467 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 22 March 2025 08:49:16 -0400 (0:00:00.325) 0:00:08.792 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 22 March 2025 08:49:16 -0400 (0:00:00.038) 0:00:08.831 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742647755.8199322, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1742229944.887663, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 228141, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742229944.886663, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2363670690", "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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 22 March 2025 08:49:17 -0400 (0:00:00.338) 0:00:09.169 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742225909.552, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "02ba874b2c19ba540e3df2ee2aa0ef51d21ff8ce", "ctime": 1742225909.554, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4399544, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1742225909.554, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6975, "uid": 0, "version": "2094086448", "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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 22 March 2025 08:49:17 -0400 (0:00:00.345) 0:00:09.515 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004283", "end": "2025-03-22 08:49:17.767194", "rc": 0, "start": "2025-03-22 08:49:17.762911" } 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 22 March 2025 08:49:17 -0400 (0:00:00.444) 0:00:09.960 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 22 March 2025 08:49:17 -0400 (0:00:00.036) 0:00:09.996 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 22 March 2025 08:49:18 -0400 (0:00:00.430) 0:00:10.426 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 22 March 2025 08:49:18 -0400 (0:00:00.358) 0:00:10.785 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 22 March 2025 08:49:19 -0400 (0:00:00.448) 0:00:11.234 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 22 March 2025 08:49:19 -0400 (0:00:00.018) 0:00:11.252 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 22 March 2025 08:49:19 -0400 (0:00:00.020) 0:00:11.273 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 22 March 2025 08:49:19 -0400 (0:00:00.032) 0:00:11.305 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "a98138ad38a94a9aaeea18e6ebc92370-6.12.0-63.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-63.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-63.el10.x86_64", "root": "UUID=2d905dc5-88d5-43cf-8999-653e5af48ad9", "title": "CentOS Stream (6.12.0-63.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "a98138ad38a94a9aaeea18e6ebc92370-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-a98138ad38a94a9aaeea18e6ebc92370.img", "kernel": "/boot/vmlinuz-0-rescue-a98138ad38a94a9aaeea18e6ebc92370", "root": "UUID=2d905dc5-88d5-43cf-8999-653e5af48ad9", "title": "CentOS Stream (0-rescue-a98138ad38a94a9aaeea18e6ebc92370) 10 (Coughlan)" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Saturday 22 March 2025 08:49:19 -0400 (0:00:00.533) 0:00:11.838 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Saturday 22 March 2025 08:49:19 -0400 (0:00:00.003) 0:00:11.842 ******** META: triggered running handlers for managed-node1 TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 22 March 2025 08:49:19 -0400 (0:00:00.001) 0:00:11.843 ******** included: /tmp/collections-h8F/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-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 22 March 2025 08:49:19 -0400 (0:00:00.023) 0:00:11.866 ******** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "a98138ad38a94a9aaeea18e6ebc92370-6.12.0-63.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-63.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-63.el10.x86_64", "root": "UUID=2d905dc5-88d5-43cf-8999-653e5af48ad9", "title": "CentOS Stream (6.12.0-63.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 22 March 2025 08:49:19 -0400 (0:00:00.037) 0:00:11.904 ******** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-63.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-63.el10.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "86a90b39232508a323a8f3307c5665ec117d5bde", "dest": "/boot/vmlinuz-6.12.0-63.el10.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-63.el10.x86_64_clone1", "src": "/boot/vmlinuz-6.12.0-63.el10.x86_64" }, "md5sum": "03ac4b5c33d26dcc9002fdedecf5d52a", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15865896, "src": "/boot/vmlinuz-6.12.0-63.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-63.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-63.el10.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "1be065f04d0dbb39223c7db2bf329e84fc632a11", "dest": "/boot/initramfs-6.12.0-63.el10.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-63.el10.x86_64.img_clone1", "src": "/boot/initramfs-6.12.0-63.el10.x86_64.img" }, "md5sum": "b95965267f5aa822fc8c3397c8b29cea", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 27659619, "src": "/boot/initramfs-6.12.0-63.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 22 March 2025 08:49:20 -0400 (0:00:01.062) 0:00:12.966 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 22 March 2025 08:49:20 -0400 (0:00:00.041) 0:00:13.008 ******** included: /tmp/collections-h8F/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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 22 March 2025 08:49:20 -0400 (0:00:00.028) 0:00:13.036 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 22 March 2025 08:49:20 -0400 (0:00:00.051) 0:00:13.088 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 22 March 2025 08:49:20 -0400 (0:00:00.025) 0:00:13.113 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 22 March 2025 08:49:20 -0400 (0:00:00.025) 0:00:13.139 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 22 March 2025 08:49:21 -0400 (0:00:00.033) 0:00:13.173 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 22 March 2025 08:49:21 -0400 (0:00:00.016) 0:00:13.190 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 22 March 2025 08:49:21 -0400 (0:00:00.722) 0:00:13.912 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742647755.8199322, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1742229944.887663, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 228141, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742229944.886663, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2363670690", "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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 22 March 2025 08:49:22 -0400 (0:00:00.397) 0:00:14.310 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 22 March 2025 08:49:22 -0400 (0:00:00.021) 0:00:14.331 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 22 March 2025 08:49:22 -0400 (0:00:00.018) 0:00:14.349 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 22 March 2025 08:49:22 -0400 (0:00:00.340) 0:00:14.689 ******** ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 22 March 2025 08:49:22 -0400 (0:00:00.043) 0:00:14.733 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742647755.8199322, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c3a1ad8c01578acdd2ef0a82d9752ad40e32e0a", "ctime": 1742229944.887663, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 228141, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742229944.886663, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 327, "uid": 0, "version": "2363670690", "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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 22 March 2025 08:49:22 -0400 (0:00:00.346) 0:00:15.079 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742647758.588861, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "085757768a796c59d9626b882d8aa25ab4de5373", "ctime": 1742647758.5879457, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 167772354, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1742647758.588862, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "3593598767", "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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 22 March 2025 08:49:23 -0400 (0:00:00.345) 0:00:15.425 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004222", "end": "2025-03-22 08:49:23.592019", "rc": 0, "start": "2025-03-22 08:49:23.587797" } 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 22 March 2025 08:49:23 -0400 (0:00:00.362) 0:00:15.788 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 22 March 2025 08:49:23 -0400 (0:00:00.080) 0:00:15.869 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 22 March 2025 08:49:24 -0400 (0:00:00.392) 0:00:16.261 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 22 March 2025 08:49:24 -0400 (0:00:00.386) 0:00:16.648 ******** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.12.0-63.el10.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-6.12.0-63.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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 22 March 2025 08:49:25 -0400 (0:00:00.587) 0:00:17.235 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 22 March 2025 08:49:25 -0400 (0:00:00.029) 0:00:17.264 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 22 March 2025 08:49:25 -0400 (0:00:00.028) 0:00:17.293 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 22 March 2025 08:49:25 -0400 (0:00:00.046) 0:00:17.340 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 22 March 2025 08:49:25 -0400 (0:00:00.048) 0:00:17.388 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 22 March 2025 08:49:25 -0400 (0:00:00.003) 0:00:17.392 ******** 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.126660", "end": "2025-03-22 08:49:25.684931", "rc": 0, "start": "2025-03-22 08:49:25.558271" } STDOUT: args="ro rhgb crashkernel=2G-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=2G-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=2G-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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 22 March 2025 08:49:25 -0400 (0:00:00.483) 0:00:17.876 ******** included: /tmp/collections-h8F/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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 22 March 2025 08:49:25 -0400 (0:00:00.015) 0:00:17.892 ******** changed: [managed-node1] => { "changed": true, "elapsed": 27, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 22 March 2025 08:49:54 -0400 (0:00:28.387) 0:00:46.279 ******** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 22 March 2025 08:49:54 -0400 (0:00:00.020) 0:00:46.299 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 22 March 2025 08:49:54 -0400 (0:00:00.026) 0:00:46.326 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 22 March 2025 08:49:54 -0400 (0:00:00.025) 0:00:46.352 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 22 March 2025 08:49:54 -0400 (0:00:00.065) 0:00:46.417 ******** included: /tmp/collections-h8F/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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 22 March 2025 08:49:54 -0400 (0:00:00.021) 0:00:46.439 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 22 March 2025 08:49:54 -0400 (0:00:00.033) 0:00:46.472 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 22 March 2025 08:49:54 -0400 (0:00:00.016) 0:00:46.489 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 22 March 2025 08:49:54 -0400 (0:00:00.020) 0:00:46.509 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 22 March 2025 08:49:54 -0400 (0:00:00.033) 0:00:46.543 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 22 March 2025 08:49:54 -0400 (0:00:00.013) 0:00:46.557 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 22 March 2025 08:49:55 -0400 (0:00:01.350) 0:00:47.907 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742647765.6839805, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1742647765.6829803, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4399550, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742647765.6829803, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "2817310609", "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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 22 March 2025 08:49:56 -0400 (0:00:00.390) 0:00:48.298 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 22 March 2025 08:49:56 -0400 (0:00:00.021) 0:00:48.320 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 22 March 2025 08:49:56 -0400 (0:00:00.018) 0:00:48.338 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 22 March 2025 08:49:56 -0400 (0:00:00.331) 0:00:48.669 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 22 March 2025 08:49:56 -0400 (0:00:00.046) 0:00:48.715 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742647765.6839805, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1742647765.6829803, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4399550, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742647765.6829803, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "2817310609", "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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 22 March 2025 08:49:56 -0400 (0:00:00.344) 0:00:49.060 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742647763.2209682, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "085757768a796c59d9626b882d8aa25ab4de5373", "ctime": 1742647758.5879457, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 167772354, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1742647758.588862, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "3593598767", "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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 22 March 2025 08:49:57 -0400 (0:00:00.353) 0:00:49.413 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004805", "end": "2025-03-22 08:49:57.590681", "rc": 0, "start": "2025-03-22 08:49:57.585876" } 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 22 March 2025 08:49:57 -0400 (0:00:00.366) 0:00:49.780 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 22 March 2025 08:49:57 -0400 (0:00:00.033) 0:00:49.813 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 22 March 2025 08:49:58 -0400 (0:00:00.354) 0:00:50.168 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 22 March 2025 08:49:58 -0400 (0:00:00.360) 0:00:50.528 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 22 March 2025 08:49:58 -0400 (0:00:00.343) 0:00:50.871 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 22 March 2025 08:49:58 -0400 (0:00:00.028) 0:00:50.899 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 22 March 2025 08:49:58 -0400 (0:00:00.027) 0:00:50.927 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 22 March 2025 08:49:58 -0400 (0:00:00.036) 0:00:50.963 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "id": "ec212f00c33804134a5d23aef8fdff8b-6.12.0-63.el10.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-6.12.0-63.el10.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.12.0-63.el10.x86_64_clone1", "root": "UUID=2d905dc5-88d5-43cf-8999-653e5af48ad9", "title": "Clone1" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "a98138ad38a94a9aaeea18e6ebc92370-6.12.0-63.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.0-63.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-63.el10.x86_64", "root": "UUID=2d905dc5-88d5-43cf-8999-653e5af48ad9", "title": "CentOS Stream (6.12.0-63.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "a98138ad38a94a9aaeea18e6ebc92370-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-a98138ad38a94a9aaeea18e6ebc92370.img", "kernel": "/boot/vmlinuz-0-rescue-a98138ad38a94a9aaeea18e6ebc92370", "root": "UUID=2d905dc5-88d5-43cf-8999-653e5af48ad9", "title": "CentOS Stream (0-rescue-a98138ad38a94a9aaeea18e6ebc92370) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 22 March 2025 08:49:59 -0400 (0:00:00.499) 0:00:51.463 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 22 March 2025 08:49:59 -0400 (0:00:00.040) 0:00:51.503 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 22 March 2025 08:49:59 -0400 (0:00:00.051) 0:00:51.555 ******** included: /tmp/collections-h8F/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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 22 March 2025 08:49:59 -0400 (0:00:00.018) 0:00:51.573 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 22 March 2025 08:49:59 -0400 (0:00:00.039) 0:00:51.612 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 22 March 2025 08:49:59 -0400 (0:00:00.020) 0:00:51.633 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 22 March 2025 08:49:59 -0400 (0:00:00.018) 0:00:51.652 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 22 March 2025 08:49:59 -0400 (0:00:00.048) 0:00:51.700 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 22 March 2025 08:49:59 -0400 (0:00:00.020) 0:00:51.720 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 22 March 2025 08:50:00 -0400 (0:00:00.732) 0:00:52.453 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742647765.6839805, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1742647765.6829803, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4399550, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742647765.6829803, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "2817310609", "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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 22 March 2025 08:50:00 -0400 (0:00:00.369) 0:00:52.823 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 22 March 2025 08:50:00 -0400 (0:00:00.016) 0:00:52.839 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 22 March 2025 08:50:00 -0400 (0:00:00.016) 0:00:52.855 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 22 March 2025 08:50:01 -0400 (0:00:00.346) 0:00:53.202 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 22 March 2025 08:50:01 -0400 (0:00:00.040) 0:00:53.243 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742647765.6839805, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1742647765.6829803, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4399550, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742647765.6829803, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "2817310609", "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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 22 March 2025 08:50:01 -0400 (0:00:00.352) 0:00:53.596 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742647763.2209682, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "085757768a796c59d9626b882d8aa25ab4de5373", "ctime": 1742647758.5879457, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 167772354, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1742647758.588862, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "3593598767", "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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 22 March 2025 08:50:01 -0400 (0:00:00.369) 0:00:53.965 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004829", "end": "2025-03-22 08:50:02.154064", "rc": 0, "start": "2025-03-22 08:50:02.149235" } 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 22 March 2025 08:50:02 -0400 (0:00:00.381) 0:00:54.346 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 22 March 2025 08:50:02 -0400 (0:00:00.033) 0:00:54.380 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 22 March 2025 08:50:02 -0400 (0:00:00.370) 0:00:54.750 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 22 March 2025 08:50:02 -0400 (0:00:00.361) 0:00:55.111 ******** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.12.0-63.el10.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 22 March 2025 08:50:03 -0400 (0:00:00.581) 0:00:55.693 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 22 March 2025 08:50:03 -0400 (0:00:00.019) 0:00:55.713 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 22 March 2025 08:50:03 -0400 (0:00:00.017) 0:00:55.730 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 22 March 2025 08:50:03 -0400 (0:00:00.029) 0:00:55.759 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "a98138ad38a94a9aaeea18e6ebc92370-6.12.0-63.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-63.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-63.el10.x86_64", "root": "UUID=2d905dc5-88d5-43cf-8999-653e5af48ad9", "title": "CentOS Stream (6.12.0-63.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "a98138ad38a94a9aaeea18e6ebc92370-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-a98138ad38a94a9aaeea18e6ebc92370.img", "kernel": "/boot/vmlinuz-0-rescue-a98138ad38a94a9aaeea18e6ebc92370", "root": "UUID=2d905dc5-88d5-43cf-8999-653e5af48ad9", "title": "CentOS Stream (0-rescue-a98138ad38a94a9aaeea18e6ebc92370) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 22 March 2025 08:50:04 -0400 (0:00:00.457) 0:00:56.217 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 22 March 2025 08:50:04 -0400 (0:00:00.038) 0:00:56.255 ******** included: /tmp/collections-h8F/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-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 22 March 2025 08:50:04 -0400 (0:00:00.029) 0:00:56.285 ******** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "a98138ad38a94a9aaeea18e6ebc92370-6.12.0-63.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-63.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-63.el10.x86_64", "root": "UUID=2d905dc5-88d5-43cf-8999-653e5af48ad9", "title": "CentOS Stream (6.12.0-63.el10.x86_64) 10 (Coughlan)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 22 March 2025 08:50:04 -0400 (0:00:00.037) 0:00:56.323 ******** changed: [managed-node1] => (item={'src': '/boot/vmlinuz-6.12.0-63.el10.x86_64', 'dest': '/boot/vmlinuz-6.12.0-63.el10.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "86a90b39232508a323a8f3307c5665ec117d5bde", "dest": "/boot/vmlinuz-6.12.0-63.el10.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.12.0-63.el10.x86_64_clone2", "src": "/boot/vmlinuz-6.12.0-63.el10.x86_64" }, "md5sum": "03ac4b5c33d26dcc9002fdedecf5d52a", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15865896, "src": "/boot/vmlinuz-6.12.0-63.el10.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-6.12.0-63.el10.x86_64.img', 'dest': '/boot/initramfs-6.12.0-63.el10.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "1be065f04d0dbb39223c7db2bf329e84fc632a11", "dest": "/boot/initramfs-6.12.0-63.el10.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.12.0-63.el10.x86_64.img_clone2", "src": "/boot/initramfs-6.12.0-63.el10.x86_64.img" }, "md5sum": "b95965267f5aa822fc8c3397c8b29cea", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 27659619, "src": "/boot/initramfs-6.12.0-63.el10.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 22 March 2025 08:50:05 -0400 (0:00:00.953) 0:00:57.276 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 22 March 2025 08:50:05 -0400 (0:00:00.035) 0:00:57.311 ******** included: /tmp/collections-h8F/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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 22 March 2025 08:50:05 -0400 (0:00:00.018) 0:00:57.330 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 22 March 2025 08:50:05 -0400 (0:00:00.034) 0:00:57.364 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 22 March 2025 08:50:05 -0400 (0:00:00.017) 0:00:57.381 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 22 March 2025 08:50:05 -0400 (0:00:00.019) 0:00:57.401 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 22 March 2025 08:50:05 -0400 (0:00:00.033) 0:00:57.435 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 22 March 2025 08:50:05 -0400 (0:00:00.012) 0:00:57.447 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 22 March 2025 08:50:06 -0400 (0:00:00.715) 0:00:58.163 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742647765.6839805, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1742647765.6829803, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4399550, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742647765.6829803, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "2817310609", "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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 22 March 2025 08:50:06 -0400 (0:00:00.349) 0:00:58.513 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 22 March 2025 08:50:06 -0400 (0:00:00.013) 0:00:58.527 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 22 March 2025 08:50:06 -0400 (0:00:00.012) 0:00:58.540 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 22 March 2025 08:50:06 -0400 (0:00:00.338) 0:00:58.878 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 22 March 2025 08:50:06 -0400 (0:00:00.041) 0:00:58.920 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742647765.6839805, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1742647765.6829803, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4399550, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742647765.6829803, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "2817310609", "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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 22 March 2025 08:50:07 -0400 (0:00:00.346) 0:00:59.266 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742647763.2209682, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "085757768a796c59d9626b882d8aa25ab4de5373", "ctime": 1742647758.5879457, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 167772354, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1742647758.588862, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "3593598767", "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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 22 March 2025 08:50:07 -0400 (0:00:00.356) 0:00:59.623 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004241", "end": "2025-03-22 08:50:07.788575", "rc": 0, "start": "2025-03-22 08:50:07.784334" } 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 22 March 2025 08:50:07 -0400 (0:00:00.355) 0:00:59.978 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 22 March 2025 08:50:07 -0400 (0:00:00.033) 0:01:00.011 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 22 March 2025 08:50:08 -0400 (0:00:00.353) 0:01:00.365 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 22 March 2025 08:50:08 -0400 (0:00:00.353) 0:01:00.719 ******** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-6.12.0-63.el10.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-6.12.0-63.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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 22 March 2025 08:50:09 -0400 (0:00:00.545) 0:01:01.265 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 22 March 2025 08:50:09 -0400 (0:00:00.019) 0:01:01.285 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 22 March 2025 08:50:09 -0400 (0:00:00.018) 0:01:01.304 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 22 March 2025 08:50:09 -0400 (0:00:00.029) 0:01:01.333 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Saturday 22 March 2025 08:50:09 -0400 (0:00:00.032) 0:01:01.366 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 22 March 2025 08:50:09 -0400 (0:00:00.002) 0:01:01.368 ******** 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.126347", "end": "2025-03-22 08:50:09.638871", "rc": 0, "start": "2025-03-22 08:50:09.512524" } STDOUT: args="ro rhgb crashkernel=2G-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=2G-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=2G-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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 22 March 2025 08:50:09 -0400 (0:00:00.461) 0:01:01.829 ******** included: /tmp/collections-h8F/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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 22 March 2025 08:50:09 -0400 (0:00:00.015) 0:01:01.845 ******** changed: [managed-node1] => { "changed": true, "elapsed": 27, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 22 March 2025 08:50:37 -0400 (0:00:28.128) 0:01:29.973 ******** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 22 March 2025 08:50:37 -0400 (0:00:00.012) 0:01:29.986 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 22 March 2025 08:50:37 -0400 (0:00:00.016) 0:01:30.003 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 22 March 2025 08:50:37 -0400 (0:00:00.016) 0:01:30.020 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 22 March 2025 08:50:37 -0400 (0:00:00.061) 0:01:30.081 ******** included: /tmp/collections-h8F/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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 22 March 2025 08:50:37 -0400 (0:00:00.019) 0:01:30.100 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 22 March 2025 08:50:37 -0400 (0:00:00.034) 0:01:30.134 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 22 March 2025 08:50:38 -0400 (0:00:00.018) 0:01:30.153 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 22 March 2025 08:50:38 -0400 (0:00:00.022) 0:01:30.175 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 22 March 2025 08:50:38 -0400 (0:00:00.037) 0:01:30.213 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 22 March 2025 08:50:38 -0400 (0:00:00.013) 0:01:30.227 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 22 March 2025 08:50:39 -0400 (0:00:01.333) 0:01:31.560 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742647809.6370459, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1742647809.6370459, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4432524, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742647809.6370459, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "317642130", "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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 22 March 2025 08:50:39 -0400 (0:00:00.381) 0:01:31.942 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 22 March 2025 08:50:39 -0400 (0:00:00.014) 0:01:31.957 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_default_grub_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 22 March 2025 08:50:39 -0400 (0:00:00.012) 0:01:31.969 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 22 March 2025 08:50:40 -0400 (0:00:00.337) 0:01:32.307 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 22 March 2025 08:50:40 -0400 (0:00:00.040) 0:01:32.347 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742647839.8021932, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1742647809.6370459, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4432524, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742647809.6370459, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "317642130", "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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 22 March 2025 08:50:40 -0400 (0:00:00.355) 0:01:32.702 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742647763.2209682, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "085757768a796c59d9626b882d8aa25ab4de5373", "ctime": 1742647758.5879457, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 167772354, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1742647758.588862, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "3593598767", "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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 22 March 2025 08:50:40 -0400 (0:00:00.355) 0:01:33.057 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004209", "end": "2025-03-22 08:50:41.233879", "rc": 0, "start": "2025-03-22 08:50:41.229670" } 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 22 March 2025 08:50:41 -0400 (0:00:00.359) 0:01:33.417 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 22 March 2025 08:50:41 -0400 (0:00:00.034) 0:01:33.452 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 22 March 2025 08:50:41 -0400 (0:00:00.355) 0:01:33.808 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 22 March 2025 08:50:42 -0400 (0:00:00.349) 0:01:34.157 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 22 March 2025 08:50:42 -0400 (0:00:00.337) 0:01:34.494 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 22 March 2025 08:50:42 -0400 (0:00:00.018) 0:01:34.513 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 22 March 2025 08:50:42 -0400 (0:00:00.018) 0:01:34.531 ******** skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_remove_password | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 22 March 2025 08:50:42 -0400 (0:00:00.031) 0:01:34.563 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "ec212f00c33804134a5d23aef8fdff8b-6.12.0-63.el10.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-6.12.0-63.el10.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.12.0-63.el10.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "a98138ad38a94a9aaeea18e6ebc92370-6.12.0-63.el10.x86_64", "index": "1", "initrd": "/boot/initramfs-6.12.0-63.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-63.el10.x86_64", "root": "UUID=2d905dc5-88d5-43cf-8999-653e5af48ad9", "title": "CentOS Stream (6.12.0-63.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "a98138ad38a94a9aaeea18e6ebc92370-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-a98138ad38a94a9aaeea18e6ebc92370.img", "kernel": "/boot/vmlinuz-0-rescue-a98138ad38a94a9aaeea18e6ebc92370", "root": "UUID=2d905dc5-88d5-43cf-8999-653e5af48ad9", "title": "CentOS Stream (0-rescue-a98138ad38a94a9aaeea18e6ebc92370) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 22 March 2025 08:50:42 -0400 (0:00:00.489) 0:01:35.052 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 22 March 2025 08:50:42 -0400 (0:00:00.040) 0:01:35.093 ******** included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 22 March 2025 08:50:43 -0400 (0:00:00.072) 0:01:35.165 ******** included: /tmp/collections-h8F/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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 22 March 2025 08:50:43 -0400 (0:00:00.019) 0:01:35.184 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 22 March 2025 08:50:43 -0400 (0:00:00.033) 0:01:35.218 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 22 March 2025 08:50:43 -0400 (0:00:00.019) 0:01:35.237 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 22 March 2025 08:50:43 -0400 (0:00:00.017) 0:01:35.255 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 22 March 2025 08:50:43 -0400 (0:00:00.031) 0:01:35.286 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 22 March 2025 08:50:43 -0400 (0:00:00.012) 0:01:35.298 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 22 March 2025 08:50:43 -0400 (0:00:00.708) 0:01:36.007 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742647839.8021932, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1742647809.6370459, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4432524, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742647809.6370459, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "317642130", "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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 22 March 2025 08:50:44 -0400 (0:00:00.354) 0:01:36.362 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 22 March 2025 08:50:44 -0400 (0:00:00.014) 0:01:36.377 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 22 March 2025 08:50:44 -0400 (0:00:00.013) 0:01:36.390 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 22 March 2025 08:50:44 -0400 (0:00:00.335) 0:01:36.725 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 22 March 2025 08:50:44 -0400 (0:00:00.042) 0:01:36.768 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742647839.8021932, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b5e9e6c860cef0db47202070a239b8042c5c878e", "ctime": 1742647809.6370459, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4432524, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1742647809.6370459, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "version": "317642130", "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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 22 March 2025 08:50:44 -0400 (0:00:00.350) 0:01:37.118 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1742647763.2209682, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "085757768a796c59d9626b882d8aa25ab4de5373", "ctime": 1742647758.5879457, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 167772354, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1742647758.588862, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6948, "uid": 0, "version": "3593598767", "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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 22 March 2025 08:50:45 -0400 (0:00:00.352) 0:01:37.471 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004794", "end": "2025-03-22 08:50:45.640242", "rc": 0, "start": "2025-03-22 08:50:45.635448" } 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 22 March 2025 08:50:45 -0400 (0:00:00.359) 0:01:37.831 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 22 March 2025 08:50:45 -0400 (0:00:00.035) 0:01:37.866 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 22 March 2025 08:50:46 -0400 (0:00:00.354) 0:01:38.221 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 22 March 2025 08:50:46 -0400 (0:00:00.349) 0:01:38.570 ******** Notification for handler Fix default kernel boot parameters has been saved. Notification for handler Reboot system has been saved. changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.12.0-63.el10.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 22 March 2025 08:50:46 -0400 (0:00:00.543) 0:01:39.114 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 22 March 2025 08:50:46 -0400 (0:00:00.018) 0:01:39.133 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 22 March 2025 08:50:47 -0400 (0:00:00.018) 0:01:39.151 ******** 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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 22 March 2025 08:50:47 -0400 (0:00:00.036) 0:01:39.187 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "a98138ad38a94a9aaeea18e6ebc92370-6.12.0-63.el10.x86_64", "index": "0", "initrd": "/boot/initramfs-6.12.0-63.el10.x86_64.img", "kernel": "/boot/vmlinuz-6.12.0-63.el10.x86_64", "root": "UUID=2d905dc5-88d5-43cf-8999-653e5af48ad9", "title": "CentOS Stream (6.12.0-63.el10.x86_64) 10 (Coughlan)" }, { "args": "ro rhgb crashkernel=2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "a98138ad38a94a9aaeea18e6ebc92370-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-a98138ad38a94a9aaeea18e6ebc92370.img", "kernel": "/boot/vmlinuz-0-rescue-a98138ad38a94a9aaeea18e6ebc92370", "root": "UUID=2d905dc5-88d5-43cf-8999-653e5af48ad9", "title": "CentOS Stream (0-rescue-a98138ad38a94a9aaeea18e6ebc92370) 10 (Coughlan)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 22 March 2025 08:50:47 -0400 (0:00:00.453) 0:01:39.641 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 22 March 2025 08:50:47 -0400 (0:00:00.038) 0:01:39.680 ******** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.0-63.el10.x86_64_clone1" ], "delta": "0:00:00.043189", "end": "2025-03-22 08:50:47.869185", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-03-22 08:50:47.825996" } STDERR: The param /boot/vmlinuz-6.12.0-63.el10.x86_64_clone1 is incorrect MSG: non-zero return code changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.12.0-63.el10.x86_64_clone2" ], "delta": "0:00:00.042165", "end": "2025-03-22 08:50:48.232427", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-03-22 08:50:48.190262" } STDERR: The param /boot/vmlinuz-6.12.0-63.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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 22 March 2025 08:50:48 -0400 (0:00:00.743) 0:01:40.424 ******** 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.100735", "end": "2025-03-22 08:50:48.670293", "rc": 0, "start": "2025-03-22 08:50:48.569558" } STDOUT: args="ro rhgb crashkernel=2G-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=2G-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=2G-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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 22 March 2025 08:50:48 -0400 (0:00:00.438) 0:01:40.863 ******** included: /tmp/collections-h8F/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-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 22 March 2025 08:50:48 -0400 (0:00:00.014) 0:01:40.877 ******** changed: [managed-node1] => { "changed": true, "elapsed": 28, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 22 March 2025 08:51:18 -0400 (0:00:29.717) 0:02:10.595 ******** skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 22 March 2025 08:51:18 -0400 (0:00:00.013) 0:02:10.608 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=118 changed=14 unreachable=0 failed=0 skipped=80 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 22 March 2025 08:51:18 -0400 (0:00:00.014) 0:02:10.623 ******** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 29.72s /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 28.39s /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 28.13s /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 4.60s /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 2.48s /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.35s /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.33s /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 1.06s /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 0.95s /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.76s /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Remove cloned kernels --------------------------------------------------- 0.74s /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.73s /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.72s /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.72s /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.71s /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.59s /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.58s /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.55s /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.54s /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.53s /tmp/collections-h8F/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139