ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', 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 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** META: ran handlers TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Thursday 26 June 2025 06:07:18 -0400 (0:00:00.020) 0:00:00.020 ********* included: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Thursday 26 June 2025 06:07:18 -0400 (0:00:00.031) 0:00:00.051 ********* ok: [managed-node1] META: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Thursday 26 June 2025 06:07:19 -0400 (0:00:00.968) 0:00:01.019 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 06:07:19 -0400 (0:00:00.040) 0:00:01.060 ********* included: /tmp/collections-Wyv/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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 06:07:19 -0400 (0:00:00.018) 0:00:01.078 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 06:07:19 -0400 (0:00:00.013) 0:00:01.091 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 06:07:19 -0400 (0:00:00.403) 0:00:01.495 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 06:07:19 -0400 (0:00:00.018) 0:00:01.514 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 06:07:19 -0400 (0:00:00.031) 0:00:01.545 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 06:07:19 -0400 (0:00:00.012) 0:00:01.558 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 06:07:34 -0400 (0:00:14.589) 0:00:16.148 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.044944", "end": "2025-06-26 06:07:34.632696", "rc": 0, "start": "2025-06-26 06:07:34.587752" } STDOUT: /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 06:07:34 -0400 (0:00:00.471) 0:00:16.619 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1716968862.497, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 06:07:35 -0400 (0:00:00.337) 0:00:16.957 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 06:07:35 -0400 (0:00:00.016) 0:00:16.973 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 06:07:35 -0400 (0:00:00.014) 0:00:16.987 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 06:07:35 -0400 (0:00:00.310) 0:00:17.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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 06:07:35 -0400 (0:00:00.024) 0:00:17.323 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932454.9606059, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 06:07:35 -0400 (0:00:00.333) 0:00:17.656 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1716968863.313, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "33f81baef485d229f360bb8edb243c84b5829854", "ctime": 1716968863.314, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 998159, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716968863.314, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6406, "uid": 0, "version": "4098057869", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 06:07:36 -0400 (0:00:00.332) 0:00:17.989 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003701", "end": "2025-06-26 06:07:36.332834", "rc": 0, "start": "2025-06-26 06:07:36.329133" } 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 06:07:36 -0400 (0:00:00.326) 0:00:18.316 ********* skipping: [managed-node1] => { "changed": false, "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 06:07:36 -0400 (0:00:00.017) 0:00:18.334 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 06:07:36 -0400 (0:00:00.431) 0:00:18.765 ********* changed: [managed-node1] => { "changed": true } MSG: 5 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 06:07:37 -0400 (0:00:00.348) 0:00:19.113 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 06:07:37 -0400 (0:00:00.432) 0:00:19.546 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 06:07:37 -0400 (0:00:00.017) 0:00:19.563 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 06:07:37 -0400 (0:00:00.012) 0:00:19.576 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 06:07:37 -0400 (0:00:00.013) 0:00:19.590 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 06:07:38 -0400 (0:00:00.546) 0:00:20.136 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" } ] }, "changed": false } META: end_host conditional evaluated to false, continuing execution for managed-node1 META: ran handlers TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Thursday 26 June 2025 06:07:38 -0400 (0:00:00.538) 0:00:20.675 ********* ok: [managed-node1] => { "ansible_facts": { "__default_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" } }, "changed": false } TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Thursday 26 June 2025 06:07:38 -0400 (0:00:00.017) 0:00:20.692 ********* included: /tmp/collections-Wyv/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-4.18.0-553.5.1.el8.x86_64] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 26 June 2025 06:07:38 -0400 (0:00:00.026) 0:00:20.719 ********* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "c8ac6dcb6cde0b4e8f1d9be544aa6ef6b78dd978", "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64" }, "md5sum": "4d651ec861d2a6a23cf61ad30367cd99", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 10873232, "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "819d5d5bd4679e855016d6b8e997b96e546aafdd", "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img" }, "md5sum": "ab248af65f1e45f1283e3ab1f2c8f51e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31361993, "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 26 June 2025 06:07:39 -0400 (0:00:00.997) 0:00:21.716 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 06:07:39 -0400 (0:00:00.057) 0:00:21.773 ********* included: /tmp/collections-Wyv/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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 06:07:39 -0400 (0:00:00.034) 0:00:21.808 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 06:07:39 -0400 (0:00:00.023) 0:00:21.831 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 06:07:39 -0400 (0:00:00.021) 0:00:21.852 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 06:07:39 -0400 (0:00:00.017) 0:00:21.870 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 06:07:39 -0400 (0:00:00.040) 0:00:21.911 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 06:07:39 -0400 (0:00:00.025) 0:00:21.936 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 06:07:42 -0400 (0:00:02.846) 0:00:24.783 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 06:07:42 -0400 (0:00:00.046) 0:00:24.829 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932454.9606059, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 06:07:43 -0400 (0:00:00.392) 0:00:25.222 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 06:07:43 -0400 (0:00:00.027) 0:00:25.250 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 06:07:43 -0400 (0:00:00.025) 0:00:25.276 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 06:07:43 -0400 (0:00:00.381) 0:00:25.657 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 06:07:43 -0400 (0:00:00.036) 0:00:25.693 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932454.9606059, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 06:07:44 -0400 (0:00:00.392) 0:00:26.085 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932457.1266196, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750932457.1276195, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750932457.1266196, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3824438381", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 06:07:44 -0400 (0:00:00.391) 0:00:26.477 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003688", "end": "2025-06-26 06:07:44.854067", "rc": 0, "start": "2025-06-26 06:07:44.850379" } 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 06:07:44 -0400 (0:00:00.360) 0:00:26.837 ********* skipping: [managed-node1] => { "changed": false, "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 06:07:44 -0400 (0:00:00.017) 0:00:26.854 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 06:07:45 -0400 (0:00:00.379) 0:00:27.234 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 06:07:45 -0400 (0:00:00.348) 0:00:27.583 ********* 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 changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 06:07:46 -0400 (0:00:00.540) 0:00:28.123 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 06:07:46 -0400 (0:00:00.016) 0:00:28.139 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 06:07:46 -0400 (0:00:00.014) 0:00:28.154 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 06:07:46 -0400 (0:00:00.014) 0:00:28.168 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 06:07:46 -0400 (0:00:00.021) 0:00:28.189 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 26 June 2025 06:07:46 -0400 (0:00:00.013) 0:00:28.202 ********* 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.136074", "end": "2025-06-26 06:07:46.680827", "rc": 0, "start": "2025-06-26 06:07:46.544753" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params 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" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb quiet" 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" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 26 June 2025 06:07:46 -0400 (0:00:00.459) 0:00:28.662 ********* included: /tmp/collections-Wyv/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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 26 June 2025 06:07:46 -0400 (0:00:00.016) 0:00:28.679 ********* changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 26 June 2025 06:08:09 -0400 (0:00:22.923) 0:00:51.602 ********* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 26 June 2025 06:08:09 -0400 (0:00:00.014) 0:00:51.617 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 26 June 2025 06:08:09 -0400 (0:00:00.023) 0:00:51.640 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 26 June 2025 06:08:09 -0400 (0:00:00.019) 0:00:51.659 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 06:08:09 -0400 (0:00:00.064) 0:00:51.724 ********* included: /tmp/collections-Wyv/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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 06:08:09 -0400 (0:00:00.032) 0:00:51.757 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 06:08:09 -0400 (0:00:00.024) 0:00:51.781 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 06:08:09 -0400 (0:00:00.022) 0:00:51.803 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 06:08:09 -0400 (0:00:00.022) 0:00:51.825 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 06:08:09 -0400 (0:00:00.037) 0:00:51.863 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 06:08:09 -0400 (0:00:00.016) 0:00:51.880 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 06:08:14 -0400 (0:00:04.839) 0:00:56.719 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.060097", "end": "2025-06-26 06:08:14.649302", "rc": 0, "start": "2025-06-26 06:08:14.589205" } STDOUT: /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 06:08:15 -0400 (0:00:00.412) 0:00:57.132 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932466.6796799, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750932466.67868, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932466.67868, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4234119379", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 06:08:15 -0400 (0:00:00.357) 0:00:57.489 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 06:08:15 -0400 (0:00:00.016) 0:00:57.505 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 06:08:15 -0400 (0:00:00.020) 0:00:57.525 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 06:08:15 -0400 (0:00:00.324) 0:00:57.850 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 06:08:15 -0400 (0:00:00.025) 0:00:57.875 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932466.6796799, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750932466.67868, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932466.67868, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4234119379", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 06:08:16 -0400 (0:00:00.351) 0:00:58.227 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932464.4686658, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750932457.1276195, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750932457.1266196, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3824438381", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 06:08:16 -0400 (0:00:00.346) 0:00:58.574 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004146", "end": "2025-06-26 06:08:16.591463", "rc": 0, "start": "2025-06-26 06:08:16.587317" } 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 06:08:16 -0400 (0:00:00.341) 0:00:58.915 ********* skipping: [managed-node1] => { "changed": false, "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 06:08:16 -0400 (0:00:00.021) 0:00:58.936 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 06:08:17 -0400 (0:00:00.340) 0:00:59.276 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 06:08:17 -0400 (0:00:00.331) 0:00:59.608 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 06:08:17 -0400 (0:00:00.322) 0:00:59.931 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 06:08:18 -0400 (0:00:00.015) 0:00:59.947 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 06:08:18 -0400 (0:00:00.014) 0:00:59.961 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 06:08:18 -0400 (0:00:00.013) 0:00:59.975 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 06:08:18 -0400 (0:00:00.592) 0:01:00.567 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": false, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": true, "id": "3b770f9d5804494e8d1b129ee8c6808f-4.18.0-553.5.1.el8.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "Clone1" } ] }, "changed": false } TASK [Clone again to check idempotency] **************************************** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Thursday 26 June 2025 06:08:19 -0400 (0:00:00.506) 0:01:01.073 ********* included: /tmp/collections-Wyv/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-4.18.0-553.5.1.el8.x86_64] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 26 June 2025 06:08:19 -0400 (0:00:00.031) 0:01:01.105 ********* ok: [managed-node1] => (item={'src': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "c8ac6dcb6cde0b4e8f1d9be544aa6ef6b78dd978", "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64" }, "md5sum": "4d651ec861d2a6a23cf61ad30367cd99", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 10873232, "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "state": "file", "uid": 0 } ok: [managed-node1] => (item={'src': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "819d5d5bd4679e855016d6b8e997b96e546aafdd", "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img" }, "md5sum": "ab248af65f1e45f1283e3ab1f2c8f51e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31361993, "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 26 June 2025 06:08:20 -0400 (0:00:00.900) 0:01:02.005 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 06:08:20 -0400 (0:00:00.036) 0:01:02.042 ********* included: /tmp/collections-Wyv/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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 06:08:20 -0400 (0:00:00.031) 0:01:02.073 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 06:08:20 -0400 (0:00:00.025) 0:01:02.099 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 06:08:20 -0400 (0:00:00.020) 0:01:02.119 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 06:08:20 -0400 (0:00:00.022) 0:01:02.142 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 06:08:20 -0400 (0:00:00.039) 0:01:02.182 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 06:08:20 -0400 (0:00:00.018) 0:01:02.200 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 06:08:23 -0400 (0:00:02.798) 0:01:04.999 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 06:08:23 -0400 (0:00:00.022) 0:01:05.021 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932466.6796799, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750932466.67868, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932466.67868, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4234119379", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 06:08:23 -0400 (0:00:00.333) 0:01:05.354 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 06:08:23 -0400 (0:00:00.015) 0:01:05.370 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 06:08:23 -0400 (0:00:00.014) 0:01:05.385 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 06:08:23 -0400 (0:00:00.332) 0:01:05.717 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 06:08:23 -0400 (0:00:00.024) 0:01:05.742 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932466.6796799, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750932466.67868, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932466.67868, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4234119379", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 06:08:24 -0400 (0:00:00.334) 0:01:06.076 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932464.4686658, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750932457.1276195, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750932457.1266196, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3824438381", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 06:08:24 -0400 (0:00:00.348) 0:01:06.425 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003974", "end": "2025-06-26 06:08:24.774347", "rc": 0, "start": "2025-06-26 06:08:24.770373" } 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 06:08:24 -0400 (0:00:00.332) 0:01:06.757 ********* skipping: [managed-node1] => { "changed": false, "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 06:08:24 -0400 (0:00:00.020) 0:01:06.777 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 06:08:25 -0400 (0:00:00.338) 0:01:07.116 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 06:08:25 -0400 (0:00:00.319) 0:01:07.435 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 06:08:26 -0400 (0:00:00.604) 0:01:08.040 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 06:08:26 -0400 (0:00:00.015) 0:01:08.055 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 06:08:26 -0400 (0:00:00.013) 0:01:08.069 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 06:08:26 -0400 (0:00:00.013) 0:01:08.082 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 06:08:26 -0400 (0:00:00.019) 0:01:08.101 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 26 June 2025 06:08:26 -0400 (0:00:00.013) 0:01:08.115 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 26 June 2025 06:08:26 -0400 (0:00:00.015) 0:01:08.131 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 06:08:26 -0400 (0:00:00.051) 0:01:08.182 ********* included: /tmp/collections-Wyv/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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 06:08:26 -0400 (0:00:00.056) 0:01:08.239 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 06:08:26 -0400 (0:00:00.016) 0:01:08.255 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 06:08:26 -0400 (0:00:00.019) 0:01:08.275 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 06:08:26 -0400 (0:00:00.013) 0:01:08.288 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 06:08:26 -0400 (0:00:00.038) 0:01:08.327 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 06:08:26 -0400 (0:00:00.014) 0:01:08.341 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 06:08:29 -0400 (0:00:02.808) 0:01:11.150 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.052009", "end": "2025-06-26 06:08:29.581989", "rc": 0, "start": "2025-06-26 06:08:29.529980" } STDOUT: /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 06:08:29 -0400 (0:00:00.416) 0:01:11.566 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932466.6796799, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750932466.67868, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932466.67868, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4234119379", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 06:08:29 -0400 (0:00:00.332) 0:01:11.899 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 06:08:29 -0400 (0:00:00.016) 0:01:11.915 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 06:08:29 -0400 (0:00:00.014) 0:01:11.930 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 06:08:30 -0400 (0:00:00.311) 0:01:12.241 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 06:08:30 -0400 (0:00:00.024) 0:01:12.266 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932466.6796799, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750932466.67868, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932466.67868, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4234119379", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 06:08:30 -0400 (0:00:00.333) 0:01:12.600 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932464.4686658, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750932457.1276195, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750932457.1266196, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3824438381", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 06:08:30 -0400 (0:00:00.334) 0:01:12.934 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004270", "end": "2025-06-26 06:08:31.284290", "rc": 0, "start": "2025-06-26 06:08:31.280020" } 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 06:08:31 -0400 (0:00:00.332) 0:01:13.267 ********* skipping: [managed-node1] => { "changed": false, "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 06:08:31 -0400 (0:00:00.018) 0:01:13.285 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 06:08:31 -0400 (0:00:00.320) 0:01:13.606 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 06:08:31 -0400 (0:00:00.322) 0:01:13.928 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 06:08:32 -0400 (0:00:00.320) 0:01:14.249 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 06:08:32 -0400 (0:00:00.020) 0:01:14.270 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 06:08:32 -0400 (0:00:00.014) 0:01:14.284 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 06:08:32 -0400 (0:00:00.014) 0:01:14.299 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 06:08:32 -0400 (0:00:00.590) 0:01:14.889 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": false, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": true, "id": "3b770f9d5804494e8d1b129ee8c6808f-4.18.0-553.5.1.el8.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone1] ********************************************** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Thursday 26 June 2025 06:08:33 -0400 (0:00:00.479) 0:01:15.369 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Thursday 26 June 2025 06:08:33 -0400 (0:00:00.026) 0:01:15.395 ********* included: /tmp/collections-Wyv/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-4.18.0-553.5.1.el8.x86_64] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 26 June 2025 06:08:33 -0400 (0:00:00.028) 0:01:15.424 ********* changed: [managed-node1] => (item={'src': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "c8ac6dcb6cde0b4e8f1d9be544aa6ef6b78dd978", "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64" }, "md5sum": "4d651ec861d2a6a23cf61ad30367cd99", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 10873232, "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={'src': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "819d5d5bd4679e855016d6b8e997b96e546aafdd", "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2", "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img" }, "md5sum": "ab248af65f1e45f1283e3ab1f2c8f51e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31361993, "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 26 June 2025 06:08:34 -0400 (0:00:00.827) 0:01:16.252 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 06:08:34 -0400 (0:00:00.037) 0:01:16.289 ********* included: /tmp/collections-Wyv/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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 06:08:34 -0400 (0:00:00.029) 0:01:16.319 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 06:08:34 -0400 (0:00:00.016) 0:01:16.335 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 06:08:34 -0400 (0:00:00.017) 0:01:16.352 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 06:08:34 -0400 (0:00:00.015) 0:01:16.368 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 06:08:34 -0400 (0:00:00.036) 0:01:16.405 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 06:08:34 -0400 (0:00:00.014) 0:01:16.419 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 06:08:37 -0400 (0:00:02.824) 0:01:19.244 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.052819", "end": "2025-06-26 06:08:37.658603", "rc": 0, "start": "2025-06-26 06:08:37.605784" } STDOUT: /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 06:08:37 -0400 (0:00:00.400) 0:01:19.644 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932466.6796799, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750932466.67868, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932466.67868, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4234119379", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 06:08:38 -0400 (0:00:00.337) 0:01:19.981 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 06:08:38 -0400 (0:00:00.016) 0:01:19.998 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 06:08:38 -0400 (0:00:00.014) 0:01:20.013 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 06:08:38 -0400 (0:00:00.316) 0:01:20.329 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 06:08:38 -0400 (0:00:00.024) 0:01:20.354 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932466.6796799, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750932466.67868, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6883997, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932466.67868, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "4234119379", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 06:08:38 -0400 (0:00:00.330) 0:01:20.685 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932464.4686658, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750932457.1276195, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750932457.1266196, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3824438381", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 06:08:39 -0400 (0:00:00.329) 0:01:21.014 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003583", "end": "2025-06-26 06:08:39.362945", "rc": 0, "start": "2025-06-26 06:08:39.359362" } 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 06:08:39 -0400 (0:00:00.331) 0:01:21.346 ********* skipping: [managed-node1] => { "changed": false, "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 06:08:39 -0400 (0:00:00.018) 0:01:21.364 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 06:08:39 -0400 (0:00:00.329) 0:01:21.694 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 06:08:40 -0400 (0:00:00.329) 0:01:22.023 ********* 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 changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 06:08:40 -0400 (0:00:00.592) 0:01:22.616 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 06:08:40 -0400 (0:00:00.015) 0:01:22.632 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 06:08:40 -0400 (0:00:00.013) 0:01:22.646 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 06:08:40 -0400 (0:00:00.013) 0:01:22.659 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 06:08:41 -0400 (0:00:00.634) 0:01:23.293 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 26 June 2025 06:08:41 -0400 (0:00:00.012) 0:01:23.305 ********* 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.158268", "end": "2025-06-26 06:08:41.802534", "rc": 0, "start": "2025-06-26 06:08:41.644266" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params 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" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet 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" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 26 June 2025 06:08:41 -0400 (0:00:00.477) 0:01:23.783 ********* included: /tmp/collections-Wyv/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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 26 June 2025 06:08:41 -0400 (0:00:00.015) 0:01:23.798 ********* changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 26 June 2025 06:09:04 -0400 (0:00:22.381) 0:01:46.179 ********* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 26 June 2025 06:09:04 -0400 (0:00:00.014) 0:01:46.194 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 26 June 2025 06:09:04 -0400 (0:00:00.020) 0:01:46.215 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 26 June 2025 06:09:04 -0400 (0:00:00.015) 0:01:46.231 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 06:09:04 -0400 (0:00:00.038) 0:01:46.269 ********* included: /tmp/collections-Wyv/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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 06:09:04 -0400 (0:00:00.024) 0:01:46.293 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 06:09:04 -0400 (0:00:00.016) 0:01:46.309 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 06:09:04 -0400 (0:00:00.024) 0:01:46.334 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 06:09:04 -0400 (0:00:00.021) 0:01:46.355 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 06:09:04 -0400 (0:00:00.039) 0:01:46.395 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 06:09:04 -0400 (0:00:00.013) 0:01:46.408 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 06:09:09 -0400 (0:00:04.872) 0:01:51.281 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.068685", "end": "2025-06-26 06:09:09.705780", "rc": 0, "start": "2025-06-26 06:09:09.637095" } STDOUT: /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 06:09:09 -0400 (0:00:00.411) 0:01:51.692 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932521.801281, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750932521.8002808, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932521.8002808, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2458331847", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 06:09:10 -0400 (0:00:00.341) 0:01:52.034 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 06:09:10 -0400 (0:00:00.017) 0:01:52.051 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 06:09:10 -0400 (0:00:00.012) 0:01:52.064 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 06:09:10 -0400 (0:00:00.316) 0:01:52.381 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 06:09:10 -0400 (0:00:00.024) 0:01:52.405 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932521.801281, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750932521.8002808, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932521.8002808, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2458331847", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 06:09:10 -0400 (0:00:00.331) 0:01:52.736 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932464.4686658, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750932457.1276195, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750932457.1266196, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3824438381", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 06:09:11 -0400 (0:00:00.344) 0:01:53.081 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003523", "end": "2025-06-26 06:09:11.430702", "rc": 0, "start": "2025-06-26 06:09:11.427179" } 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 06:09:11 -0400 (0:00:00.332) 0:01:53.413 ********* skipping: [managed-node1] => { "changed": false, "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 06:09:11 -0400 (0:00:00.018) 0:01:53.431 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 06:09:11 -0400 (0:00:00.328) 0:01:53.759 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 06:09:12 -0400 (0:00:00.324) 0:01:54.084 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 06:09:12 -0400 (0:00:00.326) 0:01:54.410 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 06:09:12 -0400 (0:00:00.016) 0:01:54.426 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 06:09:12 -0400 (0:00:00.013) 0:01:54.440 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 06:09:12 -0400 (0:00:00.015) 0:01:54.455 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 06:09:13 -0400 (0:00:00.651) 0:01:55.107 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": false, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" }, { "args": "test=kernel", "default": false, "id": "3b770f9d5804494e8d1b129ee8c6808f-4.18.0-553.5.1.el8.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": true, "id": "3b770f9d5804494e8d1b129ee8c6808f-4.18.0-553.5.1.el8.x86_64_clone1", "index": "3", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone2] ********************************************** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Thursday 26 June 2025 06:09:13 -0400 (0:00:00.507) 0:01:55.614 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Thursday 26 June 2025 06:09:13 -0400 (0:00:00.028) 0:01:55.643 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 06:09:13 -0400 (0:00:00.040) 0:01:55.683 ********* included: /tmp/collections-Wyv/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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 06:09:13 -0400 (0:00:00.022) 0:01:55.706 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 06:09:13 -0400 (0:00:00.020) 0:01:55.727 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 06:09:13 -0400 (0:00:00.018) 0:01:55.745 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 06:09:13 -0400 (0:00:00.020) 0:01:55.766 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 06:09:13 -0400 (0:00:00.035) 0:01:55.802 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 06:09:13 -0400 (0:00:00.014) 0:01:55.816 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 06:09:16 -0400 (0:00:02.824) 0:01:58.641 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 06:09:16 -0400 (0:00:00.019) 0:01:58.660 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932521.801281, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750932521.8002808, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932521.8002808, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2458331847", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 06:09:17 -0400 (0:00:00.333) 0:01:58.993 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 06:09:17 -0400 (0:00:00.016) 0:01:59.010 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 06:09:17 -0400 (0:00:00.014) 0:01:59.025 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 06:09:17 -0400 (0:00:00.315) 0:01:59.340 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 06:09:17 -0400 (0:00:00.029) 0:01:59.370 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932521.801281, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750932521.8002808, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932521.8002808, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2458331847", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 06:09:17 -0400 (0:00:00.338) 0:01:59.708 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932464.4686658, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750932457.1276195, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750932457.1266196, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3824438381", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 06:09:18 -0400 (0:00:00.355) 0:02:00.064 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003536", "end": "2025-06-26 06:09:18.413061", "rc": 0, "start": "2025-06-26 06:09:18.409525" } 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 06:09:18 -0400 (0:00:00.330) 0:02:00.395 ********* skipping: [managed-node1] => { "changed": false, "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 06:09:18 -0400 (0:00:00.018) 0:02:00.413 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 06:09:18 -0400 (0:00:00.332) 0:02:00.746 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 06:09:19 -0400 (0:00:00.326) 0:02:01.072 ********* fatal: [managed-node1]: FAILED! => { "changed": false } MSG: Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1, /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2 TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Thursday 26 June 2025 06:09:19 -0400 (0:00:00.325) 0:02:01.398 ********* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Thursday 26 June 2025 06:09:19 -0400 (0:00:00.016) 0:02:01.415 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 06:09:19 -0400 (0:00:00.056) 0:02:01.471 ********* included: /tmp/collections-Wyv/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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 06:09:19 -0400 (0:00:00.020) 0:02:01.492 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 06:09:19 -0400 (0:00:00.015) 0:02:01.508 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 06:09:19 -0400 (0:00:00.013) 0:02:01.522 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 06:09:19 -0400 (0:00:00.014) 0:02:01.536 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 06:09:19 -0400 (0:00:00.032) 0:02:01.568 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 06:09:19 -0400 (0:00:00.014) 0:02:01.583 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 06:09:22 -0400 (0:00:02.784) 0:02:04.368 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.063084", "end": "2025-06-26 06:09:22.775545", "rc": 0, "start": "2025-06-26 06:09:22.712461" } STDOUT: /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 06:09:22 -0400 (0:00:00.393) 0:02:04.761 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932521.801281, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750932521.8002808, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932521.8002808, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2458331847", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 06:09:23 -0400 (0:00:00.329) 0:02:05.091 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 06:09:23 -0400 (0:00:00.017) 0:02:05.108 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 06:09:23 -0400 (0:00:00.015) 0:02:05.123 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 06:09:23 -0400 (0:00:00.319) 0:02:05.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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 06:09:23 -0400 (0:00:00.024) 0:02:05.468 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932521.801281, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750932521.8002808, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932521.8002808, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2458331847", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 06:09:23 -0400 (0:00:00.332) 0:02:05.800 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932464.4686658, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750932457.1276195, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750932457.1266196, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3824438381", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 06:09:24 -0400 (0:00:00.338) 0:02:06.138 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004262", "end": "2025-06-26 06:09:24.483361", "rc": 0, "start": "2025-06-26 06:09:24.479099" } 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 06:09:24 -0400 (0:00:00.325) 0:02:06.464 ********* skipping: [managed-node1] => { "changed": false, "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 06:09:24 -0400 (0:00:00.018) 0:02:06.483 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 06:09:24 -0400 (0:00:00.323) 0:02:06.807 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 06:09:25 -0400 (0:00:00.316) 0:02:07.124 ********* 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 changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 06:09:25 -0400 (0:00:00.603) 0:02:07.727 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 06:09:25 -0400 (0:00:00.016) 0:02:07.744 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 06:09:25 -0400 (0:00:00.015) 0:02:07.759 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 06:09:25 -0400 (0:00:00.014) 0:02:07.774 ********* changed: [managed-node1] => { "actions": [ "grubby --update-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1 --make-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 06:09:26 -0400 (0:00:00.626) 0:02:08.400 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" }, { "args": "test=kernel", "default": false, "id": "3b770f9d5804494e8d1b129ee8c6808f-4.18.0-553.5.1.el8.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "title": "Clone2" } ] }, "changed": false } TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Thursday 26 June 2025 06:09:26 -0400 (0:00:00.461) 0:02:08.861 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 26 June 2025 06:09:26 -0400 (0:00:00.066) 0:02:08.928 ********* included: /tmp/collections-Wyv/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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 26 June 2025 06:09:27 -0400 (0:00:00.019) 0:02:08.947 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 26 June 2025 06:09:27 -0400 (0:00:00.015) 0:02:08.962 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 26 June 2025 06:09:27 -0400 (0:00:00.016) 0:02:08.979 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 26 June 2025 06:09:27 -0400 (0:00:00.014) 0:02:08.993 ********* skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 26 June 2025 06:09:27 -0400 (0:00:00.033) 0:02:09.027 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Thursday 26 June 2025 06:09:27 -0400 (0:00:00.013) 0:02:09.040 ********* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 Thursday 26 June 2025 06:09:29 -0400 (0:00:02.802) 0:02:11.842 ********* ok: [managed-node1] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.051213", "end": "2025-06-26 06:09:30.238243", "rc": 0, "start": "2025-06-26 06:09:30.187030" } STDOUT: /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64 TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 Thursday 26 June 2025 06:09:30 -0400 (0:00:00.380) 0:02:12.223 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932521.801281, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750932521.8002808, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932521.8002808, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2458331847", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:36 Thursday 26 June 2025 06:09:30 -0400 (0:00:00.328) 0:02:12.552 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:43 Thursday 26 June 2025 06:09:30 -0400 (0:00:00.016) 0:02:12.568 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:53 Thursday 26 June 2025 06:09:30 -0400 (0:00:00.014) 0:02:12.582 ********* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:58 Thursday 26 June 2025 06:09:30 -0400 (0:00:00.315) 0:02:12.898 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 Thursday 26 June 2025 06:09:30 -0400 (0:00:00.024) 0:02:12.923 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932521.801281, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750932521.8002808, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750932521.8002808, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2458331847", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 Thursday 26 June 2025 06:09:31 -0400 (0:00:00.332) 0:02:13.255 ********* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750932464.4686658, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750932457.1276195, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 205521090, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750932457.1266196, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "3824438381", "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 Thursday 26 June 2025 06:09:31 -0400 (0:00:00.331) 0:02:13.587 ********* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003762", "end": "2025-06-26 06:09:31.929647", "rc": 0, "start": "2025-06-26 06:09:31.925885" } 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:88 Thursday 26 June 2025 06:09:31 -0400 (0:00:00.326) 0:02:13.913 ********* skipping: [managed-node1] => { "changed": false, "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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 Thursday 26 June 2025 06:09:31 -0400 (0:00:00.019) 0:02:13.933 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104 Thursday 26 June 2025 06:09:32 -0400 (0:00:00.326) 0:02:14.260 ********* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 Thursday 26 June 2025 06:09:32 -0400 (0:00:00.323) 0:02:14.583 ********* 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 changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:121 Thursday 26 June 2025 06:09:33 -0400 (0:00:00.537) 0:02:15.121 ********* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:133 Thursday 26 June 2025 06:09:33 -0400 (0:00:00.015) 0:02:15.137 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:141 Thursday 26 June 2025 06:09:33 -0400 (0:00:00.014) 0:02:15.152 ********* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 Thursday 26 June 2025 06:09:33 -0400 (0:00:00.013) 0:02:15.166 ********* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 Thursday 26 June 2025 06:09:33 -0400 (0:00:00.531) 0:02:15.698 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" } ] }, "changed": false } TASK [Verify that kernel is removed {{ item }}] ******************************** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Thursday 26 June 2025 06:09:34 -0400 (0:00:00.436) 0:02:16.135 ********* 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-Wyv/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Thursday 26 June 2025 06:09:34 -0400 (0:00:00.027) 0:02:16.162 ********* changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1" ], "delta": "0:00:00.041468", "end": "2025-06-26 06:09:34.546691", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-06-26 06:09:34.505223" } STDERR: The param /boot/vmlinuz-4.18.0-553.5.1.el8.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-4.18.0-553.5.1.el8.x86_64_clone2" ], "delta": "0:00:00.042867", "end": "2025-06-26 06:09:34.902180", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-06-26 06:09:34.859313" } STDERR: The param /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2 is incorrect MSG: non-zero return code RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 26 June 2025 06:09:34 -0400 (0:00:00.720) 0:02:16.883 ********* 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.112787", "end": "2025-06-26 06:09:35.337679", "rc": 0, "start": "2025-06-26 06:09:35.224892" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet 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" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 26 June 2025 06:09:35 -0400 (0:00:00.436) 0:02:17.319 ********* included: /tmp/collections-Wyv/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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 26 June 2025 06:09:35 -0400 (0:00:00.016) 0:02:17.335 ********* changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 26 June 2025 06:09:58 -0400 (0:00:23.133) 0:02:40.469 ********* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 26 June 2025 06:09:58 -0400 (0:00:00.014) 0:02:40.484 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 26 June 2025 06:09:58 -0400 (0:00:00.016) 0:02:40.500 ********* 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.129284", "end": "2025-06-26 06:09:58.175084", "rc": 0, "start": "2025-06-26 06:09:58.045800" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " 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" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 26 June 2025 06:09:59 -0400 (0:00:00.462) 0:02:40.962 ********* included: /tmp/collections-Wyv/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-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 26 June 2025 06:09:59 -0400 (0:00:00.015) 0:02:40.978 ********* changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 26 June 2025 06:10:21 -0400 (0:00:22.761) 0:03:03.740 ********* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 26 June 2025 06:10:21 -0400 (0:00:00.022) 0:03:03.763 ********* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=164 changed=17 unreachable=0 failed=0 skipped=117 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.9.27", "end_time": "2025-06-26T10:09:19.458844+00:00Z", "host": "managed-node1", "message": "Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1, /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "start_time": "2025-06-26T10:09:19.136757+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 26 June 2025 06:10:21 -0400 (0:00:00.026) 0:03:03.789 ********* =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 27.11s /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.13s /tmp/collections-Wyv/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 -- 22.92s /tmp/collections-Wyv/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 -- 22.76s /tmp/collections-Wyv/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 -- 22.38s /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 8.47s /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.82s /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.80s /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.78s /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure that the default kernel remains the default --- 2.38s /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:147 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 2.03s /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:159 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.74s /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 fedora.linux_system_roles.bootloader : Get default kernel in the beginning of the role --- 1.71s /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:22 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 1.42s /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:96 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.40s /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:111 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.37s /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:28 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 1.36s /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:74 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.35s /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:69 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 1.33s /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:82 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 1.33s /tmp/collections-Wyv/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:104