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 '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-PnZ/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-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Friday 11 April 2025 18:05:47 -0400 (0:00:00.021) 0:00:00.021 ********** included: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Friday 11 April 2025 18:05:47 -0400 (0:00:00.032) 0:00:00.054 ********** ok: [managed-node1] META: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Friday 11 April 2025 18:05:48 -0400 (0:00:00.798) 0:00:00.852 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 11 April 2025 18:05:48 -0400 (0:00:00.038) 0:00:00.891 ********** included: /tmp/collections-PnZ/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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 11 April 2025 18:05:48 -0400 (0:00:00.018) 0:00:00.909 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 11 April 2025 18:05:48 -0400 (0:00:00.014) 0:00:00.924 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 11 April 2025 18:05:48 -0400 (0:00:00.431) 0:00:01.355 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 11 April 2025 18:05:48 -0400 (0:00:00.018) 0:00:01.374 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 11 April 2025 18:05:48 -0400 (0:00:00.031) 0:00:01.406 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 11 April 2025 18:05:48 -0400 (0:00:00.013) 0:00:01.419 ********** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 11 April 2025 18:05:51 -0400 (0:00:02.981) 0:00:04.401 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1744409120.5684893, "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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 11 April 2025 18:05:52 -0400 (0:00:00.350) 0:00:04.752 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 11 April 2025 18:05:52 -0400 (0:00:00.016) 0:00:04.768 ********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 11 April 2025 18:05:52 -0400 (0:00:00.013) 0:00:04.781 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 11 April 2025 18:05:52 -0400 (0:00:00.334) 0:00:05.116 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 11 April 2025 18:05:52 -0400 (0:00:00.023) 0:00:05.139 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1744409120.5684893, "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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 11 April 2025 18:05:53 -0400 (0:00:00.346) 0:00:05.486 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1744409130.347685, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1744409122.9375367, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 199229634, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1744409122.9375367, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1147315510", "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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 11 April 2025 18:05:53 -0400 (0:00:00.359) 0:00:05.846 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003979", "end": "2025-04-11 18:05:53.793742", "rc": 0, "start": "2025-04-11 18:05:53.789763" } 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 11 April 2025 18:05:53 -0400 (0:00:00.444) 0:00:06.290 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 11 April 2025 18:05:53 -0400 (0:00:00.017) 0:00:06.308 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 11 April 2025 18:05:54 -0400 (0:00:00.439) 0:00:06.748 ********** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 11 April 2025 18:05:54 -0400 (0:00:00.353) 0:00:07.101 ********** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 11 April 2025 18:05:55 -0400 (0:00:00.435) 0:00:07.537 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 11 April 2025 18:05:55 -0400 (0:00:00.016) 0:00:07.554 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 11 April 2025 18:05:55 -0400 (0:00:00.013) 0:00:07.568 ********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 11 April 2025 18:05:55 -0400 (0:00:00.013) 0:00:07.581 ********** 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 [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Friday 11 April 2025 18:05:55 -0400 (0:00:00.559) 0:00:08.141 ********** included: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Friday 11 April 2025 18:05:55 -0400 (0:00:00.023) 0:00:08.165 ********** ok: [managed-node1] => { "ansible_facts": { "test_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 test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Friday 11 April 2025 18:05:55 -0400 (0:00:00.017) 0:00:08.182 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Friday 11 April 2025 18:05:56 -0400 (0:00:00.959) 0:00:09.141 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 11 April 2025 18:05:56 -0400 (0:00:00.036) 0:00:09.178 ********** included: /tmp/collections-PnZ/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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 11 April 2025 18:05:56 -0400 (0:00:00.020) 0:00:09.199 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 11 April 2025 18:05:56 -0400 (0:00:00.015) 0:00:09.214 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 11 April 2025 18:05:56 -0400 (0:00:00.014) 0:00:09.229 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 11 April 2025 18:05:56 -0400 (0:00:00.014) 0:00:09.243 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 11 April 2025 18:05:56 -0400 (0:00:00.032) 0:00:09.276 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 11 April 2025 18:05:56 -0400 (0:00:00.013) 0:00:09.290 ********** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 11 April 2025 18:05:59 -0400 (0:00:02.869) 0:00:12.159 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1744409120.5684893, "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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 11 April 2025 18:06:00 -0400 (0:00:00.352) 0:00:12.512 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 11 April 2025 18:06:00 -0400 (0:00:00.015) 0:00:12.528 ********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 11 April 2025 18:06:00 -0400 (0:00:00.014) 0:00:12.543 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 11 April 2025 18:06:00 -0400 (0:00:00.340) 0:00:12.883 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 11 April 2025 18:06:00 -0400 (0:00:00.024) 0:00:12.907 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1744409120.5684893, "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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 11 April 2025 18:06:00 -0400 (0:00:00.348) 0:00:13.255 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1744409130.347685, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1744409122.9375367, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 199229634, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1744409122.9375367, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1147315510", "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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 11 April 2025 18:06:01 -0400 (0:00:00.360) 0:00:13.616 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004235", "end": "2025-04-11 18:06:01.490164", "rc": 0, "start": "2025-04-11 18:06:01.485929" } 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 11 April 2025 18:06:01 -0400 (0:00:00.371) 0:00:13.987 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 11 April 2025 18:06:01 -0400 (0:00:00.017) 0:00:14.005 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 11 April 2025 18:06:01 -0400 (0:00:00.354) 0:00:14.360 ********** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 11 April 2025 18:06:02 -0400 (0:00:00.350) 0:00:14.710 ********** 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" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 11 April 2025 18:06:02 -0400 (0:00:00.556) 0:00:15.267 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 11 April 2025 18:06:02 -0400 (0:00:00.015) 0:00:15.283 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 11 April 2025 18:06:02 -0400 (0:00:00.013) 0:00:15.297 ********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 11 April 2025 18:06:02 -0400 (0:00:00.013) 0:00:15.310 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 11 April 2025 18:06:02 -0400 (0:00:00.011) 0:00:15.322 ********** 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.139985", "end": "2025-04-11 18:06:03.322273", "rc": 0, "start": "2025-04-11 18:06:03.182288" } 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="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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 11 April 2025 18:06:03 -0400 (0:00:00.493) 0:00:15.816 ********** included: /tmp/collections-PnZ/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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 11 April 2025 18:06:03 -0400 (0:00:00.015) 0:00:15.831 ********** changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 11 April 2025 18:06:25 -0400 (0:00:22.397) 0:00:38.228 ********** skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 11 April 2025 18:06:25 -0400 (0:00:00.015) 0:00:38.243 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Friday 11 April 2025 18:06:25 -0400 (0:00:00.019) 0:00:38.263 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Friday 11 April 2025 18:06:25 -0400 (0:00:00.015) 0:00:38.278 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 11 April 2025 18:06:25 -0400 (0:00:00.037) 0:00:38.316 ********** included: /tmp/collections-PnZ/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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 11 April 2025 18:06:25 -0400 (0:00:00.020) 0:00:38.336 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 11 April 2025 18:06:25 -0400 (0:00:00.015) 0:00:38.352 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 11 April 2025 18:06:25 -0400 (0:00:00.014) 0:00:38.366 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 11 April 2025 18:06:25 -0400 (0:00:00.017) 0:00:38.384 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 11 April 2025 18:06:26 -0400 (0:00:00.074) 0:00:38.459 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 11 April 2025 18:06:26 -0400 (0:00:00.014) 0:00:38.474 ********** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 11 April 2025 18:06:30 -0400 (0:00:04.893) 0:00:43.368 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1744409163.3206964, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1744409163.3196964, "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": 1744409163.3196964, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1639576651", "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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 11 April 2025 18:06:31 -0400 (0:00:00.367) 0:00:43.735 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 11 April 2025 18:06:31 -0400 (0:00:00.016) 0:00:43.752 ********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 11 April 2025 18:06:31 -0400 (0:00:00.014) 0:00:43.766 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 11 April 2025 18:06:31 -0400 (0:00:00.341) 0:00:44.108 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 11 April 2025 18:06:31 -0400 (0:00:00.025) 0:00:44.133 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1744409163.3206964, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1744409163.3196964, "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": 1744409163.3196964, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1639576651", "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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 11 April 2025 18:06:32 -0400 (0:00:00.356) 0:00:44.489 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1744409130.347685, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1744409122.9375367, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 199229634, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1744409122.9375367, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1147315510", "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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 11 April 2025 18:06:32 -0400 (0:00:00.366) 0:00:44.856 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004511", "end": "2025-04-11 18:06:32.424045", "rc": 0, "start": "2025-04-11 18:06:32.419534" } 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 11 April 2025 18:06:32 -0400 (0:00:00.355) 0:00:45.211 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 11 April 2025 18:06:32 -0400 (0:00:00.019) 0:00:45.230 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 11 April 2025 18:06:33 -0400 (0:00:00.341) 0:00:45.572 ********** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 11 April 2025 18:06:33 -0400 (0:00:00.347) 0:00:45.919 ********** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 11 April 2025 18:06:33 -0400 (0:00:00.348) 0:00:46.268 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 11 April 2025 18:06:33 -0400 (0:00:00.016) 0:00:46.284 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 11 April 2025 18:06:33 -0400 (0:00:00.014) 0:00:46.299 ********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 11 April 2025 18:06:33 -0400 (0:00:00.014) 0:00:46.313 ********** 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": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": false, "id": "d1f155e0dee2435ea1ebc695e12ee963-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] ********************************************************* task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Friday 11 April 2025 18:06:34 -0400 (0:00:00.500) 0:00:46.813 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Friday 11 April 2025 18:06:34 -0400 (0:00:00.020) 0:00:46.834 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 11 April 2025 18:06:34 -0400 (0:00:00.048) 0:00:46.882 ********** included: /tmp/collections-PnZ/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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 11 April 2025 18:06:34 -0400 (0:00:00.019) 0:00:46.902 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 11 April 2025 18:06:34 -0400 (0:00:00.015) 0:00:46.917 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 11 April 2025 18:06:34 -0400 (0:00:00.015) 0:00:46.932 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 11 April 2025 18:06:34 -0400 (0:00:00.019) 0:00:46.951 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 11 April 2025 18:06:34 -0400 (0:00:00.032) 0:00:46.984 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 11 April 2025 18:06:34 -0400 (0:00:00.013) 0:00:46.998 ********** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 11 April 2025 18:06:37 -0400 (0:00:02.897) 0:00:49.895 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1744409163.3206964, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1744409163.3196964, "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": 1744409163.3196964, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1639576651", "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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 11 April 2025 18:06:37 -0400 (0:00:00.362) 0:00:50.258 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 11 April 2025 18:06:37 -0400 (0:00:00.017) 0:00:50.275 ********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 11 April 2025 18:06:37 -0400 (0:00:00.015) 0:00:50.290 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 11 April 2025 18:06:38 -0400 (0:00:00.347) 0:00:50.638 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 11 April 2025 18:06:38 -0400 (0:00:00.025) 0:00:50.663 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1744409163.3206964, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1744409163.3196964, "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": 1744409163.3196964, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1639576651", "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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 11 April 2025 18:06:38 -0400 (0:00:00.358) 0:00:51.022 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1744409130.347685, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1744409122.9375367, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 199229634, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1744409122.9375367, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1147315510", "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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 11 April 2025 18:06:38 -0400 (0:00:00.355) 0:00:51.378 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003983", "end": "2025-04-11 18:06:39.232799", "rc": 0, "start": "2025-04-11 18:06:39.228816" } 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 11 April 2025 18:06:39 -0400 (0:00:00.351) 0:00:51.729 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 11 April 2025 18:06:39 -0400 (0:00:00.018) 0:00:51.748 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 11 April 2025 18:06:39 -0400 (0:00:00.341) 0:00:52.090 ********** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 11 April 2025 18:06:39 -0400 (0:00:00.343) 0:00:52.433 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 11 April 2025 18:06:40 -0400 (0:00:00.578) 0:00:53.012 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 11 April 2025 18:06:40 -0400 (0:00:00.016) 0:00:53.028 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 11 April 2025 18:06:40 -0400 (0:00:00.015) 0:00:53.043 ********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 11 April 2025 18:06:40 -0400 (0:00:00.015) 0:00:53.058 ********** 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 Clone1 kernel is removed] ************************************ task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Friday 11 April 2025 18:06:41 -0400 (0:00:00.451) 0:00:53.510 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Friday 11 April 2025 18:06:41 -0400 (0:00:00.018) 0:00:53.529 ********** included: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Friday 11 April 2025 18:06:41 -0400 (0:00:00.027) 0:00:53.556 ********** ok: [managed-node1] => { "ansible_facts": { "test_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 test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Friday 11 April 2025 18:06:41 -0400 (0:00:00.017) 0:00:53.574 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Friday 11 April 2025 18:06:42 -0400 (0:00:00.873) 0:00:54.448 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 11 April 2025 18:06:42 -0400 (0:00:00.024) 0:00:54.473 ********** included: /tmp/collections-PnZ/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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 11 April 2025 18:06:42 -0400 (0:00:00.020) 0:00:54.493 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 11 April 2025 18:06:42 -0400 (0:00:00.017) 0:00:54.510 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 11 April 2025 18:06:42 -0400 (0:00:00.014) 0:00:54.525 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 11 April 2025 18:06:42 -0400 (0:00:00.014) 0:00:54.540 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 11 April 2025 18:06:42 -0400 (0:00:00.033) 0:00:54.573 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 11 April 2025 18:06:42 -0400 (0:00:00.015) 0:00:54.588 ********** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 11 April 2025 18:06:45 -0400 (0:00:02.875) 0:00:57.464 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1744409163.3206964, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1744409163.3196964, "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": 1744409163.3196964, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1639576651", "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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 11 April 2025 18:06:45 -0400 (0:00:00.353) 0:00:57.818 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 11 April 2025 18:06:45 -0400 (0:00:00.017) 0:00:57.836 ********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 11 April 2025 18:06:45 -0400 (0:00:00.014) 0:00:57.851 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 11 April 2025 18:06:45 -0400 (0:00:00.336) 0:00:58.187 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 11 April 2025 18:06:45 -0400 (0:00:00.024) 0:00:58.212 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1744409163.3206964, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1744409163.3196964, "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": 1744409163.3196964, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1639576651", "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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 11 April 2025 18:06:46 -0400 (0:00:00.357) 0:00:58.569 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1744409130.347685, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1744409122.9375367, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 199229634, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1744409122.9375367, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1147315510", "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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 11 April 2025 18:06:46 -0400 (0:00:00.361) 0:00:58.931 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004065", "end": "2025-04-11 18:06:46.790068", "rc": 0, "start": "2025-04-11 18:06:46.786003" } 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 11 April 2025 18:06:46 -0400 (0:00:00.358) 0:00:59.289 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 11 April 2025 18:06:46 -0400 (0:00:00.019) 0:00:59.308 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 11 April 2025 18:06:47 -0400 (0:00:00.353) 0:00:59.662 ********** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 11 April 2025 18:06:47 -0400 (0:00:00.350) 0:01:00.012 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 11 April 2025 18:06:48 -0400 (0:00:00.552) 0:01:00.565 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 11 April 2025 18:06:48 -0400 (0:00:00.017) 0:01:00.582 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 11 April 2025 18:06:48 -0400 (0:00:00.014) 0:01:00.596 ********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 11 April 2025 18:06:48 -0400 (0:00:00.015) 0:01:00.612 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 11 April 2025 18:06:48 -0400 (0:00:00.013) 0:01:00.625 ********** 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.141054", "end": "2025-04-11 18:06:48.618795", "rc": 0, "start": "2025-04-11 18:06:48.477741" } 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 11 April 2025 18:06:48 -0400 (0:00:00.490) 0:01:01.115 ********** included: /tmp/collections-PnZ/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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 11 April 2025 18:06:48 -0400 (0:00:00.015) 0:01:01.131 ********** changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 11 April 2025 18:07:11 -0400 (0:00:22.403) 0:01:23.534 ********** skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 11 April 2025 18:07:11 -0400 (0:00:00.015) 0:01:23.550 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 11 April 2025 18:07:11 -0400 (0:00:00.017) 0:01:23.568 ********** 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.162652", "end": "2025-04-11 18:07:10.599464", "rc": 0, "start": "2025-04-11 18:07:10.436812" } 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 11 April 2025 18:07:11 -0400 (0:00:00.531) 0:01:24.099 ********** included: /tmp/collections-PnZ/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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 11 April 2025 18:07:11 -0400 (0:00:00.015) 0:01:24.115 ********** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 11 April 2025 18:07:34 -0400 (0:00:23.064) 0:01:47.179 ********** skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 11 April 2025 18:07:34 -0400 (0:00:00.014) 0:01:47.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-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Friday 11 April 2025 18:07:34 -0400 (0:00:00.019) 0:01:47.214 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Friday 11 April 2025 18:07:34 -0400 (0:00:00.015) 0:01:47.230 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 11 April 2025 18:07:34 -0400 (0:00:00.037) 0:01:47.267 ********** included: /tmp/collections-PnZ/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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 11 April 2025 18:07:34 -0400 (0:00:00.022) 0:01:47.289 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 11 April 2025 18:07:34 -0400 (0:00:00.025) 0:01:47.315 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 11 April 2025 18:07:34 -0400 (0:00:00.022) 0:01:47.337 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 11 April 2025 18:07:34 -0400 (0:00:00.019) 0:01:47.357 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 11 April 2025 18:07:34 -0400 (0:00:00.034) 0:01:47.392 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 11 April 2025 18:07:34 -0400 (0:00:00.017) 0:01:47.409 ********** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 11 April 2025 18:07:39 -0400 (0:00:04.894) 0:01:52.303 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1744409230.5978115, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1744409230.5978115, "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": 1744409230.5978115, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1394307177", "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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 11 April 2025 18:07:40 -0400 (0:00:00.377) 0:01:52.681 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 11 April 2025 18:07:40 -0400 (0:00:00.017) 0:01:52.698 ********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 11 April 2025 18:07:40 -0400 (0:00:00.015) 0:01:52.714 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 11 April 2025 18:07:40 -0400 (0:00:00.346) 0:01:53.060 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 11 April 2025 18:07:40 -0400 (0:00:00.024) 0:01:53.084 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1744409259.653545, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1744409230.5978115, "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": 1744409230.5978115, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1394307177", "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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 11 April 2025 18:07:41 -0400 (0:00:00.363) 0:01:53.448 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1744409130.347685, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1744409122.9375367, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 199229634, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1744409122.9375367, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1147315510", "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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 11 April 2025 18:07:41 -0400 (0:00:00.375) 0:01:53.823 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004540", "end": "2025-04-11 18:07:41.305071", "rc": 0, "start": "2025-04-11 18:07:41.300531" } 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 11 April 2025 18:07:41 -0400 (0:00:00.360) 0:01:54.184 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 11 April 2025 18:07:41 -0400 (0:00:00.019) 0:01:54.203 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 11 April 2025 18:07:42 -0400 (0:00:00.354) 0:01:54.557 ********** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 11 April 2025 18:07:42 -0400 (0:00:00.354) 0:01:54.912 ********** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 11 April 2025 18:07:42 -0400 (0:00:00.355) 0:01:55.267 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 11 April 2025 18:07:42 -0400 (0:00:00.016) 0:01:55.284 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 11 April 2025 18:07:42 -0400 (0:00:00.014) 0:01:55.299 ********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 11 April 2025 18:07:42 -0400 (0:00:00.014) 0:01:55.313 ********** 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": "d1f155e0dee2435ea1ebc695e12ee963-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 [Verify settings] ********************************************************* task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Friday 11 April 2025 18:07:43 -0400 (0:00:00.494) 0:01:55.808 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Friday 11 April 2025 18:07:43 -0400 (0:00:00.018) 0:01:55.826 ********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Friday 11 April 2025 18:07:43 -0400 (0:00:00.057) 0:01:55.883 ********** included: /tmp/collections-PnZ/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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Friday 11 April 2025 18:07:43 -0400 (0:00:00.018) 0:01:55.902 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Friday 11 April 2025 18:07:43 -0400 (0:00:00.015) 0:01:55.917 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Friday 11 April 2025 18:07:43 -0400 (0:00:00.016) 0:01:55.933 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Friday 11 April 2025 18:07:43 -0400 (0:00:00.013) 0:01:55.947 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Friday 11 April 2025 18:07:43 -0400 (0:00:00.074) 0:01:56.021 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Friday 11 April 2025 18:07:43 -0400 (0:00:00.013) 0:01:56.035 ********** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Friday 11 April 2025 18:07:46 -0400 (0:00:02.917) 0:01:58.952 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1744409259.653545, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1744409230.5978115, "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": 1744409230.5978115, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1394307177", "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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Friday 11 April 2025 18:07:46 -0400 (0:00:00.357) 0:01:59.309 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Friday 11 April 2025 18:07:46 -0400 (0:00:00.016) 0:01:59.325 ********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Friday 11 April 2025 18:07:46 -0400 (0:00:00.014) 0:01:59.340 ********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Friday 11 April 2025 18:07:47 -0400 (0:00:00.353) 0:01:59.693 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Friday 11 April 2025 18:07:47 -0400 (0:00:00.024) 0:01:59.717 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1744409259.653545, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8106f5ad382722c59d66e60f2e68ccf76a806e5a", "ctime": 1744409230.5978115, "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": 1744409230.5978115, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "version": "1394307177", "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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Friday 11 April 2025 18:07:47 -0400 (0:00:00.368) 0:02:00.086 ********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1744409130.347685, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1744409122.9375367, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 199229634, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1744409122.9375367, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1147315510", "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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Friday 11 April 2025 18:07:48 -0400 (0:00:00.371) 0:02:00.458 ********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004115", "end": "2025-04-11 18:07:48.316280", "rc": 0, "start": "2025-04-11 18:07:48.312165" } 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Friday 11 April 2025 18:07:48 -0400 (0:00:00.354) 0:02:00.813 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Friday 11 April 2025 18:07:48 -0400 (0:00:00.017) 0:02:00.830 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Friday 11 April 2025 18:07:48 -0400 (0:00:00.351) 0:02:01.182 ********** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Friday 11 April 2025 18:07:49 -0400 (0:00:00.358) 0:02:01.540 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Friday 11 April 2025 18:07:49 -0400 (0:00:00.579) 0:02:02.120 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Friday 11 April 2025 18:07:49 -0400 (0:00:00.015) 0:02:02.136 ********** 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Friday 11 April 2025 18:07:49 -0400 (0:00:00.014) 0:02:02.150 ********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Friday 11 April 2025 18:07:49 -0400 (0:00:00.014) 0:02:02.165 ********** 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 Clone2 kernel is removed] ************************************ task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Friday 11 April 2025 18:07:50 -0400 (0:00:00.465) 0:02:02.630 ********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Friday 11 April 2025 18:07:50 -0400 (0:00:00.017) 0:02:02.648 ********** 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.045083", "end": "2025-04-11 18:07:50.546985", "failed_when_result": false, "item": 1, "rc": 1, "start": "2025-04-11 18:07:50.501902" } 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.044770", "end": "2025-04-11 18:07:50.932262", "failed_when_result": false, "item": 2, "rc": 1, "start": "2025-04-11 18:07:50.887492" } 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Friday 11 April 2025 18:07:50 -0400 (0:00:00.777) 0:02:03.426 ********** 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.120284", "end": "2025-04-11 18:07:51.403910", "rc": 0, "start": "2025-04-11 18:07:51.283626" } 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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Friday 11 April 2025 18:07:51 -0400 (0:00:00.472) 0:02:03.898 ********** included: /tmp/collections-PnZ/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-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Friday 11 April 2025 18:07:51 -0400 (0:00:00.015) 0:02:03.914 ********** changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Friday 11 April 2025 18:08:13 -0400 (0:00:22.446) 0:02:26.360 ********** skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Friday 11 April 2025 18:08:13 -0400 (0:00:00.014) 0:02:26.375 ********** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=115 changed=15 unreachable=0 failed=0 skipped=81 rescued=0 ignored=0 Friday 11 April 2025 18:08:13 -0400 (0:00:00.018) 0:02:26.393 ********** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.06s /tmp/collections-PnZ/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.45s /tmp/collections-PnZ/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.40s /tmp/collections-PnZ/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.40s /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 4.89s /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.92s /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.90s /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.88s /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 0.96s /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 0.87s /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Gather architecture facts ----------------------------------------------- 0.80s /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Remove cloned kernels --------------------------------------------------- 0.78s /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.58s /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.58s /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.55s /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.53s /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.49s /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.49s /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.47s /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.47s /tmp/collections-PnZ/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139