ansible-playbook [core 2.17.13] 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-Sr5 executable location = /usr/local/bin/ansible-playbook python version = 3.12.11 (main, Jun 4 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-7)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. 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-Sr5/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-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Thursday 31 July 2025 13:20:22 -0400 (0:00:00.018) 0:00:00.018 ********* included: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Thursday 31 July 2025 13:20:22 -0400 (0:00:00.013) 0:00:00.032 ********* [WARNING]: Platform linux on host managed-node1 is using the discovered Python interpreter at /usr/bin/python3.9, 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-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:8 Thursday 31 July 2025 13:20:24 -0400 (0:00:01.972) 0:00:02.005 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Thursday 31 July 2025 13:20:24 -0400 (0:00:00.007) 0:00:02.012 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 31 July 2025 13:20:24 -0400 (0:00:00.087) 0:00:02.100 ********* included: /tmp/collections-Sr5/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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 31 July 2025 13:20:24 -0400 (0:00:00.028) 0:00:02.128 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 31 July 2025 13:20:24 -0400 (0:00:00.038) 0:00:02.167 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 31 July 2025 13:20:25 -0400 (0:00:00.422) 0:00:02.590 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 31 July 2025 13:20:25 -0400 (0:00:00.020) 0:00:02.611 ********* 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 31 July 2025 13:20:25 -0400 (0:00:00.028) 0:00:02.640 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 31 July 2025 13:20:25 -0400 (0:00:00.010) 0:00:02.650 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 31 July 2025 13:20:25 -0400 (0:00:00.043) 0:00:02.694 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 31 July 2025 13:20:47 -0400 (0:00:21.754) 0:00:24.448 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753194282.3105347, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1753194282.3090668, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12726308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753194282.310535, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1189413059", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 31 July 2025 13:20:47 -0400 (0:00:00.374) 0:00:24.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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 31 July 2025 13:20:47 -0400 (0:00:00.013) 0:00:24.836 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 31 July 2025 13:20:47 -0400 (0:00:00.014) 0:00:24.851 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 31 July 2025 13:20:47 -0400 (0:00:00.352) 0:00:25.203 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 31 July 2025 13:20:47 -0400 (0:00:00.039) 0:00:25.243 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982447.4030664, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1753194282.3090668, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12726308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753194282.310535, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1189413059", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 31 July 2025 13:20:48 -0400 (0:00:00.352) 0:00:25.595 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753191141.319, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a3a1b4c12cf3a3cc925c568029adbf85039ebb6a", "ctime": 1753191141.32, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 762928, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753191141.32, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6755, "uid": 0, "version": "907330349", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 31 July 2025 13:20:48 -0400 (0:00:00.351) 0:00:25.947 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005069", "end": "2025-07-31 13:20:49.075925", "rc": 0, "start": "2025-07-31 13:20:49.070856" } 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 31 July 2025 13:20:49 -0400 (0:00:00.522) 0:00:26.469 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 31 July 2025 13:20:49 -0400 (0:00:00.049) 0:00:26.519 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 31 July 2025 13:20:49 -0400 (0:00:00.533) 0:00:27.052 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 31 July 2025 13:20:50 -0400 (0:00:00.365) 0:00:27.417 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 31 July 2025 13:20:50 -0400 (0:00:00.418) 0:00:27.835 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 31 July 2025 13:20:50 -0400 (0:00:00.025) 0:00:27.860 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 31 July 2025 13:20:50 -0400 (0:00:00.024) 0:00:27.885 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 31 July 2025 13:20:50 -0400 (0:00:00.042) 0:00:27.928 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "28aa4c144a0b42f89db7cd6b75e235a0-5.14.0-598.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-598.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-598.el9.x86_64", "root": "UUID=837f348d-d449-40fc-836e-4b14996e5e86", "title": "CentOS Stream (5.14.0-598.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "28aa4c144a0b42f89db7cd6b75e235a0-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-28aa4c144a0b42f89db7cd6b75e235a0.img", "kernel": "/boot/vmlinuz-0-rescue-28aa4c144a0b42f89db7cd6b75e235a0", "root": "UUID=837f348d-d449-40fc-836e-4b14996e5e86", "title": "CentOS Stream (0-rescue-28aa4c144a0b42f89db7cd6b75e235a0) 9" } ] }, "changed": false } TASK [Skip test on ostree systems] ********************************************* task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:22 Thursday 31 July 2025 13:20:51 -0400 (0:00:00.650) 0:00:28.578 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:29 Thursday 31 July 2025 13:20:51 -0400 (0:00:00.006) 0:00:28.585 ********* META: triggered running handlers for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Thursday 31 July 2025 13:20:51 -0400 (0:00:00.003) 0:00:28.588 ********* ok: [managed-node1] => { "ansible_facts": { "__default_kernel": { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "28aa4c144a0b42f89db7cd6b75e235a0-5.14.0-598.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-598.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-598.el9.x86_64", "root": "UUID=837f348d-d449-40fc-836e-4b14996e5e86", "title": "CentOS Stream (5.14.0-598.el9.x86_64) 9" } }, "changed": false } TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Thursday 31 July 2025 13:20:51 -0400 (0:00:00.056) 0:00:28.645 ********* included: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-598.el9.x86_64] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 31 July 2025 13:20:51 -0400 (0:00:00.045) 0:00:28.690 ********* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-598.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-598.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "0187af993d7ed3b60cc3d5ddbdb4457cb96ceaec", "dest": "/boot/vmlinuz-5.14.0-598.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-598.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-598.el9.x86_64" }, "md5sum": "2954a22b03c33ec7fefaaeec2bdb28b3", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15058984, "src": "/boot/vmlinuz-5.14.0-598.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-598.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-598.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a1e948b877e8fc5263d45a43d23df99d044e8daa", "dest": "/boot/initramfs-5.14.0-598.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-598.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-598.el9.x86_64.img" }, "md5sum": "8034e5c70f4913ff04008f2e19f9e3b3", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38237510, "src": "/boot/initramfs-5.14.0-598.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 31 July 2025 13:20:52 -0400 (0:00:01.198) 0:00:29.888 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 31 July 2025 13:20:52 -0400 (0:00:00.063) 0:00:29.952 ********* included: /tmp/collections-Sr5/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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 31 July 2025 13:20:52 -0400 (0:00:00.028) 0:00:29.980 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 31 July 2025 13:20:52 -0400 (0:00:00.049) 0:00:30.030 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 31 July 2025 13:20:52 -0400 (0:00:00.025) 0:00:30.055 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 31 July 2025 13:20:52 -0400 (0:00:00.036) 0:00:30.092 ********* 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 31 July 2025 13:20:52 -0400 (0:00:00.054) 0:00:30.146 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 31 July 2025 13:20:52 -0400 (0:00:00.018) 0:00:30.165 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 31 July 2025 13:20:52 -0400 (0:00:00.076) 0:00:30.242 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 31 July 2025 13:20:54 -0400 (0:00:01.331) 0:00:31.574 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982447.4030664, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1753194282.3090668, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12726308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753194282.310535, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1189413059", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 31 July 2025 13:20:54 -0400 (0:00:00.345) 0:00:31.919 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 31 July 2025 13:20:54 -0400 (0:00:00.013) 0:00:31.932 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 31 July 2025 13:20:54 -0400 (0:00:00.010) 0:00:31.943 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 31 July 2025 13:20:54 -0400 (0:00:00.332) 0:00:32.276 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 31 July 2025 13:20:54 -0400 (0:00:00.038) 0:00:32.314 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982447.4030664, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "89c8be76603e67e2a616f1f231acacb9e690f01a", "ctime": 1753194282.3090668, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12726308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753194282.310535, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 338, "uid": 0, "version": "1189413059", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 31 July 2025 13:20:55 -0400 (0:00:00.352) 0:00:32.667 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982450.0319467, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e24b4abeeb7b8dfba6595f4b3c1c250b0cdcacb7", "ctime": 1753982450.0301468, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753982450.0319476, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1737642161", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 31 July 2025 13:20:55 -0400 (0:00:00.352) 0:00:33.019 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004613", "end": "2025-07-31 13:20:55.991809", "rc": 0, "start": "2025-07-31 13:20:55.987196" } 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 31 July 2025 13:20:56 -0400 (0:00:00.360) 0:00:33.380 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 31 July 2025 13:20:56 -0400 (0:00:00.034) 0:00:33.415 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 31 July 2025 13:20:56 -0400 (0:00:00.360) 0:00:33.775 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 31 July 2025 13:20:56 -0400 (0:00:00.367) 0:00:34.142 ********* 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-5.14.0-598.el9.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-5.14.0-598.el9.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default --make-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 31 July 2025 13:20:57 -0400 (0:00:00.706) 0:00:34.849 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 31 July 2025 13:20:57 -0400 (0:00:00.017) 0:00:34.866 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 31 July 2025 13:20:57 -0400 (0:00:00.017) 0:00:34.884 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 31 July 2025 13:20:57 -0400 (0:00:00.032) 0:00:34.917 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Thursday 31 July 2025 13:20:57 -0400 (0:00:00.041) 0:00:34.958 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 31 July 2025 13:20:57 -0400 (0:00:00.004) 0:00:34.962 ********* 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.133140", "end": "2025-07-31 13:20:58.061876", "rc": 0, "start": "2025-07-31 13:20:57.928736" } STDOUT: args="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="rhgb crashkernel=1G-2G:192M,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=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 31 July 2025 13:20:58 -0400 (0:00:00.489) 0:00:35.452 ********* included: /tmp/collections-Sr5/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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 31 July 2025 13:20:58 -0400 (0:00:00.029) 0:00:35.481 ********* changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 31 July 2025 13:21:22 -0400 (0:00:24.013) 0:00:59.494 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 31 July 2025 13:21:22 -0400 (0:00:00.011) 0:00:59.506 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 31 July 2025 13:21:22 -0400 (0:00:00.015) 0:00:59.521 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 31 July 2025 13:21:22 -0400 (0:00:00.013) 0:00:59.535 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 31 July 2025 13:21:22 -0400 (0:00:00.051) 0:00:59.587 ********* included: /tmp/collections-Sr5/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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 31 July 2025 13:21:22 -0400 (0:00:00.022) 0:00:59.609 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 31 July 2025 13:21:22 -0400 (0:00:00.030) 0:00:59.640 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 31 July 2025 13:21:22 -0400 (0:00:00.015) 0:00:59.656 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 31 July 2025 13:21:22 -0400 (0:00:00.015) 0:00:59.672 ********* 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 31 July 2025 13:21:22 -0400 (0:00:00.027) 0:00:59.700 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 31 July 2025 13:21:22 -0400 (0:00:00.010) 0:00:59.710 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 31 July 2025 13:21:22 -0400 (0:00:00.041) 0:00:59.752 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 31 July 2025 13:21:35 -0400 (0:00:12.793) 0:01:12.545 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982458.0603924, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1753982458.0593922, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4635582, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982458.0593922, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2396214590", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 31 July 2025 13:21:35 -0400 (0:00:00.376) 0:01:12.921 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 31 July 2025 13:21:35 -0400 (0:00:00.014) 0:01:12.936 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 31 July 2025 13:21:35 -0400 (0:00:00.012) 0:01:12.949 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 31 July 2025 13:21:35 -0400 (0:00:00.333) 0:01:13.282 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 31 July 2025 13:21:35 -0400 (0:00:00.040) 0:01:13.323 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982458.0603924, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1753982458.0593922, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4635582, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982458.0593922, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2396214590", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 31 July 2025 13:21:36 -0400 (0:00:00.349) 0:01:13.672 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982455.6153176, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e24b4abeeb7b8dfba6595f4b3c1c250b0cdcacb7", "ctime": 1753982450.0301468, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753982450.0319476, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1737642161", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 31 July 2025 13:21:36 -0400 (0:00:00.353) 0:01:14.026 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004906", "end": "2025-07-31 13:21:37.001960", "rc": 0, "start": "2025-07-31 13:21:36.997054" } 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 31 July 2025 13:21:37 -0400 (0:00:00.360) 0:01:14.386 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 31 July 2025 13:21:37 -0400 (0:00:00.033) 0:01:14.419 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 31 July 2025 13:21:37 -0400 (0:00:00.356) 0:01:14.776 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 31 July 2025 13:21:37 -0400 (0:00:00.358) 0:01:15.135 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 31 July 2025 13:21:38 -0400 (0:00:00.337) 0:01:15.472 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 31 July 2025 13:21:38 -0400 (0:00:00.017) 0:01:15.490 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 31 July 2025 13:21:38 -0400 (0:00:00.015) 0:01:15.505 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 31 July 2025 13:21:38 -0400 (0:00:00.027) 0:01:15.533 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "258f555b535740b29cac9fd42989d781-5.14.0-598.el9.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-5.14.0-598.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-598.el9.x86_64_clone1", "root": "UUID=837f348d-d449-40fc-836e-4b14996e5e86", "title": "Clone1" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "28aa4c144a0b42f89db7cd6b75e235a0-5.14.0-598.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-598.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-598.el9.x86_64", "root": "UUID=837f348d-d449-40fc-836e-4b14996e5e86", "title": "CentOS Stream (5.14.0-598.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "28aa4c144a0b42f89db7cd6b75e235a0-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-28aa4c144a0b42f89db7cd6b75e235a0.img", "kernel": "/boot/vmlinuz-0-rescue-28aa4c144a0b42f89db7cd6b75e235a0", "root": "UUID=837f348d-d449-40fc-836e-4b14996e5e86", "title": "CentOS Stream (0-rescue-28aa4c144a0b42f89db7cd6b75e235a0) 9" } ] }, "changed": false } TASK [Clone again to check idempotency] **************************************** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Thursday 31 July 2025 13:21:38 -0400 (0:00:00.502) 0:01:16.036 ********* included: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-598.el9.x86_64] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 31 July 2025 13:21:38 -0400 (0:00:00.026) 0:01:16.062 ********* ok: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-598.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-598.el9.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "0187af993d7ed3b60cc3d5ddbdb4457cb96ceaec", "dest": "/boot/vmlinuz-5.14.0-598.el9.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-598.el9.x86_64_clone1", "src": "/boot/vmlinuz-5.14.0-598.el9.x86_64" }, "md5sum": "2954a22b03c33ec7fefaaeec2bdb28b3", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15058984, "src": "/boot/vmlinuz-5.14.0-598.el9.x86_64", "state": "file", "uid": 0 } ok: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-598.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-598.el9.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "a1e948b877e8fc5263d45a43d23df99d044e8daa", "dest": "/boot/initramfs-5.14.0-598.el9.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-598.el9.x86_64.img_clone1", "src": "/boot/initramfs-5.14.0-598.el9.x86_64.img" }, "md5sum": "8034e5c70f4913ff04008f2e19f9e3b3", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38237510, "src": "/boot/initramfs-5.14.0-598.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 31 July 2025 13:21:39 -0400 (0:00:01.155) 0:01:17.218 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 31 July 2025 13:21:39 -0400 (0:00:00.036) 0:01:17.254 ********* included: /tmp/collections-Sr5/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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 31 July 2025 13:21:39 -0400 (0:00:00.017) 0:01:17.272 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 31 July 2025 13:21:39 -0400 (0:00:00.034) 0:01:17.306 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 31 July 2025 13:21:39 -0400 (0:00:00.015) 0:01:17.322 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 31 July 2025 13:21:40 -0400 (0:00:00.016) 0:01:17.339 ********* 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 31 July 2025 13:21:40 -0400 (0:00:00.028) 0:01:17.367 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 31 July 2025 13:21:40 -0400 (0:00:00.010) 0:01:17.378 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 31 July 2025 13:21:40 -0400 (0:00:00.058) 0:01:17.436 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 31 July 2025 13:21:41 -0400 (0:00:01.295) 0:01:18.732 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982458.0603924, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1753982458.0593922, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4635582, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982458.0593922, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2396214590", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 31 July 2025 13:21:41 -0400 (0:00:00.349) 0:01:19.081 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 31 July 2025 13:21:41 -0400 (0:00:00.013) 0:01:19.095 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 31 July 2025 13:21:41 -0400 (0:00:00.011) 0:01:19.107 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 31 July 2025 13:21:42 -0400 (0:00:00.336) 0:01:19.443 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 31 July 2025 13:21:42 -0400 (0:00:00.039) 0:01:19.482 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982458.0603924, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1753982458.0593922, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4635582, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982458.0593922, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2396214590", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 31 July 2025 13:21:42 -0400 (0:00:00.353) 0:01:19.836 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982455.6153176, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e24b4abeeb7b8dfba6595f4b3c1c250b0cdcacb7", "ctime": 1753982450.0301468, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753982450.0319476, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1737642161", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 31 July 2025 13:21:42 -0400 (0:00:00.358) 0:01:20.194 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005752", "end": "2025-07-31 13:21:43.173137", "rc": 0, "start": "2025-07-31 13:21:43.167385" } 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 31 July 2025 13:21:43 -0400 (0:00:00.361) 0:01:20.556 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 31 July 2025 13:21:43 -0400 (0:00:00.033) 0:01:20.589 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 31 July 2025 13:21:43 -0400 (0:00:00.356) 0:01:20.945 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 31 July 2025 13:21:43 -0400 (0:00:00.356) 0:01:21.302 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 31 July 2025 13:21:44 -0400 (0:00:00.627) 0:01:21.929 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 31 July 2025 13:21:44 -0400 (0:00:00.019) 0:01:21.949 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 31 July 2025 13:21:44 -0400 (0:00:00.016) 0:01:21.965 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 31 July 2025 13:21:44 -0400 (0:00:00.029) 0:01:21.994 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Thursday 31 July 2025 13:21:44 -0400 (0:00:00.030) 0:01:22.025 ********* META: triggered running handlers for managed-node1 TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 31 July 2025 13:21:44 -0400 (0:00:00.001) 0:01:22.026 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 31 July 2025 13:21:44 -0400 (0:00:00.014) 0:01:22.041 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 31 July 2025 13:21:44 -0400 (0:00:00.052) 0:01:22.093 ********* included: /tmp/collections-Sr5/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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 31 July 2025 13:21:44 -0400 (0:00:00.019) 0:01:22.113 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 31 July 2025 13:21:44 -0400 (0:00:00.033) 0:01:22.147 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 31 July 2025 13:21:44 -0400 (0:00:00.017) 0:01:22.164 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 31 July 2025 13:21:44 -0400 (0:00:00.017) 0:01:22.182 ********* 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 31 July 2025 13:21:44 -0400 (0:00:00.029) 0:01:22.212 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 31 July 2025 13:21:44 -0400 (0:00:00.011) 0:01:22.223 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 31 July 2025 13:21:44 -0400 (0:00:00.042) 0:01:22.266 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 31 July 2025 13:21:46 -0400 (0:00:01.308) 0:01:23.574 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982458.0603924, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1753982458.0593922, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4635582, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982458.0593922, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2396214590", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 31 July 2025 13:21:46 -0400 (0:00:00.355) 0:01:23.930 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 31 July 2025 13:21:46 -0400 (0:00:00.015) 0:01:23.945 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 31 July 2025 13:21:46 -0400 (0:00:00.012) 0:01:23.957 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 31 July 2025 13:21:46 -0400 (0:00:00.340) 0:01:24.298 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 31 July 2025 13:21:47 -0400 (0:00:00.039) 0:01:24.338 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982458.0603924, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1753982458.0593922, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4635582, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982458.0593922, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2396214590", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 31 July 2025 13:21:47 -0400 (0:00:00.360) 0:01:24.699 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982455.6153176, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e24b4abeeb7b8dfba6595f4b3c1c250b0cdcacb7", "ctime": 1753982450.0301468, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753982450.0319476, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1737642161", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 31 July 2025 13:21:47 -0400 (0:00:00.361) 0:01:25.061 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004751", "end": "2025-07-31 13:21:48.042095", "rc": 0, "start": "2025-07-31 13:21:48.037344" } 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 31 July 2025 13:21:48 -0400 (0:00:00.365) 0:01:25.426 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 31 July 2025 13:21:48 -0400 (0:00:00.033) 0:01:25.460 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 31 July 2025 13:21:48 -0400 (0:00:00.370) 0:01:25.830 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 31 July 2025 13:21:48 -0400 (0:00:00.361) 0:01:26.192 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 31 July 2025 13:21:49 -0400 (0:00:00.340) 0:01:26.532 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 31 July 2025 13:21:49 -0400 (0:00:00.018) 0:01:26.551 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 31 July 2025 13:21:49 -0400 (0:00:00.016) 0:01:26.568 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 31 July 2025 13:21:49 -0400 (0:00:00.029) 0:01:26.597 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "258f555b535740b29cac9fd42989d781-5.14.0-598.el9.x86_64_clone1", "index": "0", "initrd": "/boot/initramfs-5.14.0-598.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-598.el9.x86_64_clone1", "root": "UUID=837f348d-d449-40fc-836e-4b14996e5e86", "title": "Clone1" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "28aa4c144a0b42f89db7cd6b75e235a0-5.14.0-598.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-598.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-598.el9.x86_64", "root": "UUID=837f348d-d449-40fc-836e-4b14996e5e86", "title": "CentOS Stream (5.14.0-598.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "28aa4c144a0b42f89db7cd6b75e235a0-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-28aa4c144a0b42f89db7cd6b75e235a0.img", "kernel": "/boot/vmlinuz-0-rescue-28aa4c144a0b42f89db7cd6b75e235a0", "root": "UUID=837f348d-d449-40fc-836e-4b14996e5e86", "title": "CentOS Stream (0-rescue-28aa4c144a0b42f89db7cd6b75e235a0) 9" } ] }, "changed": false } TASK [Verify settings for Clone1] ********************************************** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Thursday 31 July 2025 13:21:49 -0400 (0:00:00.504) 0:01:27.101 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Thursday 31 July 2025 13:21:49 -0400 (0:00:00.042) 0:01:27.144 ********* included: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-598.el9.x86_64] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 31 July 2025 13:21:49 -0400 (0:00:00.027) 0:01:27.172 ********* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-5.14.0-598.el9.x86_64', 'dest': '/boot/vmlinuz-5.14.0-598.el9.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "0187af993d7ed3b60cc3d5ddbdb4457cb96ceaec", "dest": "/boot/vmlinuz-5.14.0-598.el9.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-5.14.0-598.el9.x86_64_clone2", "src": "/boot/vmlinuz-5.14.0-598.el9.x86_64" }, "md5sum": "2954a22b03c33ec7fefaaeec2bdb28b3", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 15058984, "src": "/boot/vmlinuz-5.14.0-598.el9.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-5.14.0-598.el9.x86_64.img', 'dest': '/boot/initramfs-5.14.0-598.el9.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a1e948b877e8fc5263d45a43d23df99d044e8daa", "dest": "/boot/initramfs-5.14.0-598.el9.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-5.14.0-598.el9.x86_64.img_clone2", "src": "/boot/initramfs-5.14.0-598.el9.x86_64.img" }, "md5sum": "8034e5c70f4913ff04008f2e19f9e3b3", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 38237510, "src": "/boot/initramfs-5.14.0-598.el9.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 31 July 2025 13:21:50 -0400 (0:00:00.878) 0:01:28.051 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 31 July 2025 13:21:50 -0400 (0:00:00.037) 0:01:28.088 ********* included: /tmp/collections-Sr5/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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 31 July 2025 13:21:50 -0400 (0:00:00.018) 0:01:28.107 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 31 July 2025 13:21:50 -0400 (0:00:00.033) 0:01:28.140 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 31 July 2025 13:21:50 -0400 (0:00:00.017) 0:01:28.158 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 31 July 2025 13:21:50 -0400 (0:00:00.016) 0:01:28.174 ********* 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 31 July 2025 13:21:50 -0400 (0:00:00.029) 0:01:28.204 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 31 July 2025 13:21:50 -0400 (0:00:00.012) 0:01:28.217 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 31 July 2025 13:21:50 -0400 (0:00:00.059) 0:01:28.276 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 31 July 2025 13:21:52 -0400 (0:00:01.294) 0:01:29.571 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982458.0603924, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1753982458.0593922, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4635582, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982458.0593922, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2396214590", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 31 July 2025 13:21:52 -0400 (0:00:00.352) 0:01:29.923 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 31 July 2025 13:21:52 -0400 (0:00:00.014) 0:01:29.937 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 31 July 2025 13:21:52 -0400 (0:00:00.011) 0:01:29.948 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 31 July 2025 13:21:52 -0400 (0:00:00.337) 0:01:30.285 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 31 July 2025 13:21:52 -0400 (0:00:00.040) 0:01:30.326 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982458.0603924, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1753982458.0593922, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4635582, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982458.0593922, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "2396214590", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 31 July 2025 13:21:53 -0400 (0:00:00.359) 0:01:30.685 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982455.6153176, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e24b4abeeb7b8dfba6595f4b3c1c250b0cdcacb7", "ctime": 1753982450.0301468, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753982450.0319476, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1737642161", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 31 July 2025 13:21:53 -0400 (0:00:00.356) 0:01:31.042 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005354", "end": "2025-07-31 13:21:54.022030", "rc": 0, "start": "2025-07-31 13:21:54.016676" } 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 31 July 2025 13:21:54 -0400 (0:00:00.362) 0:01:31.404 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 31 July 2025 13:21:54 -0400 (0:00:00.034) 0:01:31.438 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 31 July 2025 13:21:54 -0400 (0:00:00.361) 0:01:31.800 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 31 July 2025 13:21:54 -0400 (0:00:00.361) 0:01:32.162 ********* 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-5.14.0-598.el9.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-5.14.0-598.el9.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 31 July 2025 13:21:55 -0400 (0:00:00.643) 0:01:32.806 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 31 July 2025 13:21:55 -0400 (0:00:00.018) 0:01:32.825 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 31 July 2025 13:21:55 -0400 (0:00:00.017) 0:01:32.842 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 31 July 2025 13:21:55 -0400 (0:00:00.030) 0:01:32.873 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "bootloader_gather_facts | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:33 Thursday 31 July 2025 13:21:55 -0400 (0:00:00.037) 0:01:32.911 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 31 July 2025 13:21:55 -0400 (0:00:00.001) 0:01:32.912 ********* 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.164809", "end": "2025-07-31 13:21:56.036081", "rc": 0, "start": "2025-07-31 13:21:55.871272" } STDOUT: args="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 31 July 2025 13:21:56 -0400 (0:00:00.509) 0:01:33.422 ********* included: /tmp/collections-Sr5/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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 31 July 2025 13:21:56 -0400 (0:00:00.015) 0:01:33.437 ********* changed: [managed-node1] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 31 July 2025 13:22:20 -0400 (0:00:24.082) 0:01:57.520 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 31 July 2025 13:22:20 -0400 (0:00:00.013) 0:01:57.533 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 31 July 2025 13:22:20 -0400 (0:00:00.015) 0:01:57.548 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 31 July 2025 13:22:20 -0400 (0:00:00.014) 0:01:57.563 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 31 July 2025 13:22:20 -0400 (0:00:00.051) 0:01:57.615 ********* included: /tmp/collections-Sr5/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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 31 July 2025 13:22:20 -0400 (0:00:00.017) 0:01:57.632 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 31 July 2025 13:22:20 -0400 (0:00:00.031) 0:01:57.663 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 31 July 2025 13:22:20 -0400 (0:00:00.015) 0:01:57.679 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 31 July 2025 13:22:20 -0400 (0:00:00.015) 0:01:57.695 ********* 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 31 July 2025 13:22:20 -0400 (0:00:00.028) 0:01:57.723 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 31 July 2025 13:22:20 -0400 (0:00:00.011) 0:01:57.734 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 31 July 2025 13:22:20 -0400 (0:00:00.043) 0:01:57.778 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 31 July 2025 13:22:23 -0400 (0:00:02.951) 0:02:00.730 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982516.0354798, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1753982516.0344799, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4635566, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982516.0344799, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1781154262", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 31 July 2025 13:22:23 -0400 (0:00:00.388) 0:02:01.119 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 31 July 2025 13:22:23 -0400 (0:00:00.013) 0:02:01.132 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 31 July 2025 13:22:23 -0400 (0:00:00.011) 0:02:01.144 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 31 July 2025 13:22:24 -0400 (0:00:00.338) 0:02:01.482 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 31 July 2025 13:22:24 -0400 (0:00:00.040) 0:02:01.523 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982516.0354798, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1753982516.0344799, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4635566, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982516.0344799, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1781154262", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 31 July 2025 13:22:24 -0400 (0:00:00.356) 0:02:01.879 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982455.6153176, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e24b4abeeb7b8dfba6595f4b3c1c250b0cdcacb7", "ctime": 1753982450.0301468, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753982450.0319476, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1737642161", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 31 July 2025 13:22:24 -0400 (0:00:00.357) 0:02:02.237 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004979", "end": "2025-07-31 13:22:25.091257", "rc": 0, "start": "2025-07-31 13:22:25.086278" } 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 31 July 2025 13:22:25 -0400 (0:00:00.367) 0:02:02.605 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 31 July 2025 13:22:25 -0400 (0:00:00.034) 0:02:02.639 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 31 July 2025 13:22:25 -0400 (0:00:00.361) 0:02:03.000 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 31 July 2025 13:22:26 -0400 (0:00:00.366) 0:02:03.367 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 31 July 2025 13:22:26 -0400 (0:00:00.342) 0:02:03.709 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 31 July 2025 13:22:26 -0400 (0:00:00.018) 0:02:03.728 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 31 July 2025 13:22:26 -0400 (0:00:00.017) 0:02:03.745 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 31 July 2025 13:22:26 -0400 (0:00:00.027) 0:02:03.773 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "id": "258f555b535740b29cac9fd42989d781-5.14.0-598.el9.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-5.14.0-598.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-598.el9.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel", "default": true, "id": "258f555b535740b29cac9fd42989d781-5.14.0-598.el9.x86_64_clone1", "index": "1", "initrd": "/boot/initramfs-5.14.0-598.el9.x86_64.img_clone1", "kernel": "/boot/vmlinuz-5.14.0-598.el9.x86_64_clone1", "root": "UUID=837f348d-d449-40fc-836e-4b14996e5e86", "title": "Clone1" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "28aa4c144a0b42f89db7cd6b75e235a0-5.14.0-598.el9.x86_64", "index": "2", "initrd": "/boot/initramfs-5.14.0-598.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-598.el9.x86_64", "root": "UUID=837f348d-d449-40fc-836e-4b14996e5e86", "title": "CentOS Stream (5.14.0-598.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "28aa4c144a0b42f89db7cd6b75e235a0-0-rescue", "index": "3", "initrd": "/boot/initramfs-0-rescue-28aa4c144a0b42f89db7cd6b75e235a0.img", "kernel": "/boot/vmlinuz-0-rescue-28aa4c144a0b42f89db7cd6b75e235a0", "root": "UUID=837f348d-d449-40fc-836e-4b14996e5e86", "title": "CentOS Stream (0-rescue-28aa4c144a0b42f89db7cd6b75e235a0) 9" } ] }, "changed": false } TASK [Verify settings for Clone2] ********************************************** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Thursday 31 July 2025 13:22:26 -0400 (0:00:00.539) 0:02:04.313 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Thursday 31 July 2025 13:22:27 -0400 (0:00:00.041) 0:02:04.354 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 31 July 2025 13:22:27 -0400 (0:00:00.033) 0:02:04.388 ********* included: /tmp/collections-Sr5/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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 31 July 2025 13:22:27 -0400 (0:00:00.016) 0:02:04.405 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 31 July 2025 13:22:27 -0400 (0:00:00.034) 0:02:04.439 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 31 July 2025 13:22:27 -0400 (0:00:00.017) 0:02:04.456 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 31 July 2025 13:22:27 -0400 (0:00:00.016) 0:02:04.472 ********* 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 31 July 2025 13:22:27 -0400 (0:00:00.028) 0:02:04.501 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 31 July 2025 13:22:27 -0400 (0:00:00.012) 0:02:04.513 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 31 July 2025 13:22:27 -0400 (0:00:00.049) 0:02:04.563 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 31 July 2025 13:22:28 -0400 (0:00:01.293) 0:02:05.857 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982516.0354798, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1753982516.0344799, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4635566, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982516.0344799, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1781154262", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 31 July 2025 13:22:28 -0400 (0:00:00.355) 0:02:06.212 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 31 July 2025 13:22:28 -0400 (0:00:00.014) 0:02:06.227 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 31 July 2025 13:22:28 -0400 (0:00:00.012) 0:02:06.239 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 31 July 2025 13:22:29 -0400 (0:00:00.334) 0:02:06.573 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 31 July 2025 13:22:29 -0400 (0:00:00.039) 0:02:06.613 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982516.0354798, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1753982516.0344799, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4635566, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982516.0344799, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1781154262", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 31 July 2025 13:22:29 -0400 (0:00:00.354) 0:02:06.968 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982455.6153176, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e24b4abeeb7b8dfba6595f4b3c1c250b0cdcacb7", "ctime": 1753982450.0301468, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753982450.0319476, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1737642161", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 31 July 2025 13:22:29 -0400 (0:00:00.357) 0:02:07.325 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005171", "end": "2025-07-31 13:22:30.303781", "rc": 0, "start": "2025-07-31 13:22:30.298610" } 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 31 July 2025 13:22:30 -0400 (0:00:00.361) 0:02:07.687 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 31 July 2025 13:22:30 -0400 (0:00:00.034) 0:02:07.721 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 31 July 2025 13:22:30 -0400 (0:00:00.360) 0:02:08.082 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 31 July 2025 13:22:31 -0400 (0:00:00.359) 0:02:08.442 ********* fatal: [managed-node1]: FAILED! => { "changed": false } MSG: Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-5.14.0-598.el9.x86_64_clone1, /boot/vmlinuz-5.14.0-598.el9.x86_64_clone2 TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Thursday 31 July 2025 13:22:31 -0400 (0:00:00.344) 0:02:08.786 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Thursday 31 July 2025 13:22:31 -0400 (0:00:00.017) 0:02:08.803 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 31 July 2025 13:22:31 -0400 (0:00:00.056) 0:02:08.860 ********* included: /tmp/collections-Sr5/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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 31 July 2025 13:22:31 -0400 (0:00:00.017) 0:02:08.877 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 31 July 2025 13:22:31 -0400 (0:00:00.061) 0:02:08.938 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 31 July 2025 13:22:31 -0400 (0:00:00.017) 0:02:08.956 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 31 July 2025 13:22:31 -0400 (0:00:00.044) 0:02:09.000 ********* 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 31 July 2025 13:22:31 -0400 (0:00:00.083) 0:02:09.084 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 31 July 2025 13:22:31 -0400 (0:00:00.013) 0:02:09.097 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 31 July 2025 13:22:31 -0400 (0:00:00.053) 0:02:09.151 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 31 July 2025 13:22:33 -0400 (0:00:01.289) 0:02:10.441 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982516.0354798, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1753982516.0344799, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4635566, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982516.0344799, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1781154262", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 31 July 2025 13:22:33 -0400 (0:00:00.350) 0:02:10.791 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 31 July 2025 13:22:33 -0400 (0:00:00.013) 0:02:10.804 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 31 July 2025 13:22:33 -0400 (0:00:00.012) 0:02:10.817 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 31 July 2025 13:22:33 -0400 (0:00:00.337) 0:02:11.154 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 31 July 2025 13:22:33 -0400 (0:00:00.045) 0:02:11.199 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982516.0354798, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1753982516.0344799, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4635566, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982516.0344799, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1781154262", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 31 July 2025 13:22:34 -0400 (0:00:00.357) 0:02:11.556 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982455.6153176, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e24b4abeeb7b8dfba6595f4b3c1c250b0cdcacb7", "ctime": 1753982450.0301468, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753982450.0319476, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1737642161", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 31 July 2025 13:22:34 -0400 (0:00:00.358) 0:02:11.915 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004821", "end": "2025-07-31 13:22:34.893448", "rc": 0, "start": "2025-07-31 13:22:34.888627" } 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 31 July 2025 13:22:34 -0400 (0:00:00.363) 0:02:12.278 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 31 July 2025 13:22:34 -0400 (0:00:00.034) 0:02:12.312 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 31 July 2025 13:22:35 -0400 (0:00:00.360) 0:02:12.673 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 31 July 2025 13:22:35 -0400 (0:00:00.366) 0:02:13.040 ********* 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-5.14.0-598.el9.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 31 July 2025 13:22:36 -0400 (0:00:00.664) 0:02:13.705 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 31 July 2025 13:22:36 -0400 (0:00:00.018) 0:02:13.723 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 31 July 2025 13:22:36 -0400 (0:00:00.017) 0:02:13.740 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 31 July 2025 13:22:36 -0400 (0:00:00.029) 0:02:13.770 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": true, "id": "258f555b535740b29cac9fd42989d781-5.14.0-598.el9.x86_64_clone2", "index": "0", "initrd": "/boot/initramfs-5.14.0-598.el9.x86_64.img_clone2", "kernel": "/boot/vmlinuz-5.14.0-598.el9.x86_64_clone2", "title": "Clone2" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "28aa4c144a0b42f89db7cd6b75e235a0-5.14.0-598.el9.x86_64", "index": "1", "initrd": "/boot/initramfs-5.14.0-598.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-598.el9.x86_64", "root": "UUID=837f348d-d449-40fc-836e-4b14996e5e86", "title": "CentOS Stream (5.14.0-598.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "28aa4c144a0b42f89db7cd6b75e235a0-0-rescue", "index": "2", "initrd": "/boot/initramfs-0-rescue-28aa4c144a0b42f89db7cd6b75e235a0.img", "kernel": "/boot/vmlinuz-0-rescue-28aa4c144a0b42f89db7cd6b75e235a0", "root": "UUID=837f348d-d449-40fc-836e-4b14996e5e86", "title": "CentOS Stream (0-rescue-28aa4c144a0b42f89db7cd6b75e235a0) 9" } ] }, "changed": false } TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Thursday 31 July 2025 13:22:36 -0400 (0:00:00.499) 0:02:14.270 ********* included: fedora.linux_system_roles.bootloader for managed-node1 TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 31 July 2025 13:22:37 -0400 (0:00:00.120) 0:02:14.390 ********* included: /tmp/collections-Sr5/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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 31 July 2025 13:22:37 -0400 (0:00:00.030) 0:02:14.421 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 31 July 2025 13:22:37 -0400 (0:00:00.043) 0:02:14.464 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 31 July 2025 13:22:37 -0400 (0:00:00.020) 0:02:14.485 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 31 July 2025 13:22:37 -0400 (0:00:00.017) 0:02:14.503 ********* 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_9.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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 31 July 2025 13:22:37 -0400 (0:00:00.036) 0:02:14.539 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 31 July 2025 13:22:37 -0400 (0:00:00.012) 0:02:14.551 ********* skipping: [managed-node1] => { "changed": false, "false_condition": "(__values | selectattr(\"value\", \"sameas\", true) | list | length > 0) or (__values | selectattr(\"value\", \"sameas\", false) | list | length > 0) or (__values_with_null_and_state_present | length > 0) or (__values_with_null_and_no_state | length > 0)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 31 July 2025 13:22:37 -0400 (0:00:00.057) 0:02:14.609 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 31 July 2025 13:22:38 -0400 (0:00:01.304) 0:02:15.913 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982516.0354798, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1753982516.0344799, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4635566, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982516.0344799, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1781154262", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 31 July 2025 13:22:38 -0400 (0:00:00.352) 0:02:16.265 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 31 July 2025 13:22:38 -0400 (0:00:00.013) 0:02:16.279 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 31 July 2025 13:22:38 -0400 (0:00:00.011) 0:02:16.291 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 31 July 2025 13:22:39 -0400 (0:00:00.339) 0:02:16.630 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 31 July 2025 13:22:39 -0400 (0:00:00.040) 0:02:16.671 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982516.0354798, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d6fb6b254852955c8ad3b6a74716aede9daec40d", "ctime": 1753982516.0344799, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4635566, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1753982516.0344799, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 353, "uid": 0, "version": "1781154262", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 31 July 2025 13:22:39 -0400 (0:00:00.358) 0:02:17.029 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1753982455.6153176, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "e24b4abeeb7b8dfba6595f4b3c1c250b0cdcacb7", "ctime": 1753982450.0301468, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 293601475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1753982450.0319476, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6728, "uid": 0, "version": "1737642161", "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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 31 July 2025 13:22:40 -0400 (0:00:00.357) 0:02:17.387 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005040", "end": "2025-07-31 13:22:40.367149", "rc": 0, "start": "2025-07-31 13:22:40.362109" } 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 31 July 2025 13:22:40 -0400 (0:00:00.362) 0:02:17.750 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 31 July 2025 13:22:40 -0400 (0:00:00.035) 0:02:17.785 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 31 July 2025 13:22:40 -0400 (0:00:00.367) 0:02:18.153 ********* ok: [managed-node1] => { "changed": false, "rc": 0 } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 31 July 2025 13:22:41 -0400 (0:00:00.367) 0:02:18.520 ********* 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-5.14.0-598.el9.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 31 July 2025 13:22:41 -0400 (0:00:00.584) 0:02:19.105 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 31 July 2025 13:22:41 -0400 (0:00:00.019) 0:02:19.124 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 31 July 2025 13:22:41 -0400 (0:00:00.021) 0:02:19.146 ********* 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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 31 July 2025 13:22:41 -0400 (0:00:00.038) 0:02:19.185 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": true, "id": "28aa4c144a0b42f89db7cd6b75e235a0-5.14.0-598.el9.x86_64", "index": "0", "initrd": "/boot/initramfs-5.14.0-598.el9.x86_64.img", "kernel": "/boot/vmlinuz-5.14.0-598.el9.x86_64", "root": "UUID=837f348d-d449-40fc-836e-4b14996e5e86", "title": "CentOS Stream (5.14.0-598.el9.x86_64) 9" }, { "args": "ro rhgb crashkernel=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8", "default": false, "id": "28aa4c144a0b42f89db7cd6b75e235a0-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-28aa4c144a0b42f89db7cd6b75e235a0.img", "kernel": "/boot/vmlinuz-0-rescue-28aa4c144a0b42f89db7cd6b75e235a0", "root": "UUID=837f348d-d449-40fc-836e-4b14996e5e86", "title": "CentOS Stream (0-rescue-28aa4c144a0b42f89db7cd6b75e235a0) 9" } ] }, "changed": false } TASK [Verify that kernel is removed {{ item }}] ******************************** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Thursday 31 July 2025 13:22:42 -0400 (0:00:00.472) 0:02:19.658 ********* ok: [managed-node1] => (item=Clone1) => { "ansible_loop_var": "item", "changed": false, "item": "Clone1" } MSG: All assertions passed ok: [managed-node1] => (item=Clone2) => { "ansible_loop_var": "item", "changed": false, "item": "Clone2" } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Thursday 31 July 2025 13:22:42 -0400 (0:00:00.062) 0:02:19.720 ********* changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-5.14.0-598.el9.x86_64_clone1" ], "delta": "0:00:00.045660", "end": "2025-07-31 13:22:42.724196", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-07-31 13:22:42.678536" } STDERR: The param /boot/vmlinuz-5.14.0-598.el9.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-5.14.0-598.el9.x86_64_clone2" ], "delta": "0:00:00.046616", "end": "2025-07-31 13:22:43.103699", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-07-31 13:22:43.057083" } STDERR: The param /boot/vmlinuz-5.14.0-598.el9.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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 31 July 2025 13:22:43 -0400 (0:00:00.772) 0:02:20.493 ********* 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.108706", "end": "2025-07-31 13:22:43.560486", "rc": 0, "start": "2025-07-31 13:22:43.451780" } STDOUT: args="ro rhgb crashkernel=1G-2G:192M,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=1G-2G:192M,2G-64G:256M,64G-:512M net.ifnames=0 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro rhgb crashkernel=1G-2G:192M,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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 31 July 2025 13:22:43 -0400 (0:00:00.452) 0:02:20.945 ********* included: /tmp/collections-Sr5/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-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 31 July 2025 13:22:43 -0400 (0:00:00.014) 0:02:20.960 ********* changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 31 July 2025 13:23:06 -0400 (0:00:23.358) 0:02:44.319 ********* skipping: [managed-node1] => { "false_condition": "not bootloader_reboot_ok" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 31 July 2025 13:23:06 -0400 (0:00:00.014) 0:02:44.333 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } PLAY RECAP ********************************************************************* managed-node1 : ok=156 changed=14 unreachable=0 failed=0 skipped=121 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.13", "end_time": "2025-07-31T17:22:31.447289+00:00Z", "host": "managed-node1", "message": "Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-5.14.0-598.el9.x86_64_clone1, /boot/vmlinuz-5.14.0-598.el9.x86_64_clone2", "start_time": "2025-07-31T17:22:31.106260+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 31 July 2025 13:23:07 -0400 (0:00:00.015) 0:02:44.348 ********* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 24.08s /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 24.01s /tmp/collections-Sr5/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 -- 23.36s /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 21.75s /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 12.79s /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.95s /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Gather architecture facts ----------------------------------------------- 1.97s /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.33s /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.31s /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.30s /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.30s /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.29s /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.29s /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.29s /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-598.el9.x86_64 --- 1.20s /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-598.el9.x86_64 --- 1.16s /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Copy kernel and initrd for test purposes from /boot/vmlinuz-5.14.0-598.el9.x86_64 --- 0.88s /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Remove cloned kernels --------------------------------------------------- 0.77s /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.71s /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.66s /tmp/collections-Sr5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114