ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-43g/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-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Wednesday 25 June 2025 08:11:14 -0400 (0:00:00.020) 0:00:00.020 ******** included: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Wednesday 25 June 2025 08:11:14 -0400 (0:00:00.032) 0:00:00.053 ******** ok: [managed-node1] META: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Wednesday 25 June 2025 08:11:15 -0400 (0:00:00.987) 0:00:01.040 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:11:15 -0400 (0:00:00.039) 0:00:01.080 ******** included: /tmp/collections-43g/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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:11:15 -0400 (0:00:00.018) 0:00:01.099 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:11:15 -0400 (0:00:00.016) 0:00:01.115 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:11:16 -0400 (0:00:00.410) 0:00:01.525 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:11:16 -0400 (0:00:00.018) 0:00:01.544 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:11:16 -0400 (0:00:00.032) 0:00:01.576 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:11:16 -0400 (0:00:00.012) 0:00:01.589 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:11:31 -0400 (0:00:14.722) 0:00:16.311 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1716968862.497, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1716968862.287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1716968862.287, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "1394307174", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:11:31 -0400 (0:00:00.330) 0:00:16.642 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:11:31 -0400 (0:00:00.015) 0:00:16.657 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:11:31 -0400 (0:00:00.013) 0:00:16.670 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:11:31 -0400 (0:00:00.310) 0:00:16.981 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:11:31 -0400 (0:00:00.023) 0:00:17.005 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853491.4140294, "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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:11:32 -0400 (0:00:00.335) 0:00:17.340 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1716968863.313, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "33f81baef485d229f360bb8edb243c84b5829854", "ctime": 1716968863.314, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 998159, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716968863.314, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6406, "uid": 0, "version": "4098057869", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:11:32 -0400 (0:00:00.339) 0:00:17.680 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004074", "end": "2025-06-25 08:11:32.896419", "rc": 0, "start": "2025-06-25 08:11:32.892345" } 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:11:32 -0400 (0:00:00.431) 0:00:18.111 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:11:32 -0400 (0:00:00.018) 0:00:18.130 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:11:33 -0400 (0:00:00.431) 0:00:18.562 ******** changed: [managed-node1] => { "changed": true } MSG: 5 replacements made TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:11:33 -0400 (0:00:00.333) 0:00:18.895 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:11:34 -0400 (0:00:00.439) 0:00:19.335 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:11:34 -0400 (0:00:00.016) 0:00:19.351 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:11:34 -0400 (0:00:00.013) 0:00:19.364 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:11:34 -0400 (0:00:00.012) 0:00:19.377 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" } ] }, "changed": false } META: end_host conditional evaluated to false, continuing execution for managed-node1 META: ran handlers TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Wednesday 25 June 2025 08:11:34 -0400 (0:00:00.589) 0:00:19.966 ******** ok: [managed-node1] => { "ansible_facts": { "__default_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" } }, "changed": false } TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Wednesday 25 June 2025 08:11:34 -0400 (0:00:00.017) 0:00:19.983 ******** included: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Wednesday 25 June 2025 08:11:34 -0400 (0:00:00.035) 0:00:20.019 ******** 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-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Wednesday 25 June 2025 08:11:35 -0400 (0:00:00.963) 0:00:20.983 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:11:35 -0400 (0:00:00.034) 0:00:21.017 ******** included: /tmp/collections-43g/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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:11:35 -0400 (0:00:00.018) 0:00:21.036 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:11:35 -0400 (0:00:00.015) 0:00:21.052 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:11:35 -0400 (0:00:00.014) 0:00:21.066 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:11:35 -0400 (0:00:00.013) 0:00:21.079 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:11:35 -0400 (0:00:00.032) 0:00:21.112 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:11:35 -0400 (0:00:00.019) 0:00:21.131 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:11:38 -0400 (0:00:02.897) 0:00:24.029 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853491.4140294, "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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:11:39 -0400 (0:00:00.389) 0:00:24.418 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:11:39 -0400 (0:00:00.025) 0:00:24.444 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:11:39 -0400 (0:00:00.026) 0:00:24.470 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:11:39 -0400 (0:00:00.403) 0:00:24.874 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:11:39 -0400 (0:00:00.037) 0:00:24.911 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853491.4140294, "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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:11:40 -0400 (0:00:00.408) 0:00:25.320 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853493.6780372, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750853493.679037, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750853493.6780372, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1340831866", "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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:11:40 -0400 (0:00:00.395) 0:00:25.716 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003914", "end": "2025-06-25 08:11:40.841797", "rc": 0, "start": "2025-06-25 08:11:40.837883" } 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:11:40 -0400 (0:00:00.358) 0:00:26.074 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:11:40 -0400 (0:00:00.020) 0:00:26.094 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:11:41 -0400 (0:00:00.358) 0:00:26.452 ******** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:11:41 -0400 (0:00:00.320) 0:00:26.773 ******** 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", "grubby --set-default=/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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:11:42 -0400 (0:00:00.578) 0:00:27.351 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:11:42 -0400 (0:00:00.015) 0:00:27.366 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:11:42 -0400 (0:00:00.013) 0:00:27.380 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:11:42 -0400 (0:00:00.012) 0:00:27.393 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 08:11:42 -0400 (0:00:00.010) 0:00:27.404 ******** 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.136312", "end": "2025-06-25 08:11:42.645179", "rc": 0, "start": "2025-06-25 08:11:42.508867" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 08:11:42 -0400 (0:00:00.454) 0:00:27.858 ******** included: /tmp/collections-43g/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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 08:11:42 -0400 (0:00:00.014) 0:00:27.873 ******** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 08:12:05 -0400 (0:00:23.159) 0:00:51.032 ******** skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 08:12:05 -0400 (0:00:00.014) 0:00:51.047 ******** 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-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Wednesday 25 June 2025 08:12:05 -0400 (0:00:00.020) 0:00:51.067 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Wednesday 25 June 2025 08:12:05 -0400 (0:00:00.015) 0:00:51.082 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:12:05 -0400 (0:00:00.069) 0:00:51.152 ******** included: /tmp/collections-43g/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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:12:06 -0400 (0:00:00.019) 0:00:51.171 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:12:06 -0400 (0:00:00.015) 0:00:51.186 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:12:06 -0400 (0:00:00.013) 0:00:51.200 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:12:06 -0400 (0:00:00.012) 0:00:51.213 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:12:06 -0400 (0:00:00.031) 0:00:51.244 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:12:06 -0400 (0:00:00.013) 0:00:51.258 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:12:10 -0400 (0:00:04.863) 0:00:56.121 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853502.644068, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750853502.643068, "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": 1750853502.643068, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "852131531", "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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:12:11 -0400 (0:00:00.353) 0:00:56.474 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:12:11 -0400 (0:00:00.026) 0:00:56.501 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:12:11 -0400 (0:00:00.022) 0:00:56.523 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:12:11 -0400 (0:00:00.378) 0:00:56.902 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:12:11 -0400 (0:00:00.040) 0:00:56.942 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853502.644068, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750853502.643068, "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": 1750853502.643068, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "852131531", "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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:12:12 -0400 (0:00:00.378) 0:00:57.321 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853500.4790606, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750853493.679037, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750853493.6780372, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1340831866", "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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:12:12 -0400 (0:00:00.361) 0:00:57.682 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004312", "end": "2025-06-25 08:12:12.514765", "rc": 0, "start": "2025-06-25 08:12:12.510453" } 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:12:12 -0400 (0:00:00.353) 0:00:58.036 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:12:12 -0400 (0:00:00.028) 0:00:58.064 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:12:13 -0400 (0:00:00.354) 0:00:58.419 ******** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:12:13 -0400 (0:00:00.373) 0:00:58.792 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:12:13 -0400 (0:00:00.329) 0:00:59.122 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:12:13 -0400 (0:00:00.017) 0:00:59.139 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:12:13 -0400 (0:00:00.014) 0:00:59.153 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:12:14 -0400 (0:00:00.014) 0:00:59.168 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": false, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": true, "id": "1ec08d163d564c3c89f634436c607e63-4.18.0-553.5.1.el8.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "Clone1" } ] }, "changed": false } TASK [Clone again to check idempotency] **************************************** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Wednesday 25 June 2025 08:12:14 -0400 (0:00:00.473) 0:00:59.642 ******** included: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Wednesday 25 June 2025 08:12:14 -0400 (0:00:00.025) 0:00:59.667 ******** ok: [managed-node1] => (item={'src': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64', 'dest': '/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "c8ac6dcb6cde0b4e8f1d9be544aa6ef6b78dd978", "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64" }, "md5sum": "4d651ec861d2a6a23cf61ad30367cd99", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 10873232, "src": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "state": "file", "uid": 0 } ok: [managed-node1] => (item={'src': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img', 'dest': '/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "819d5d5bd4679e855016d6b8e997b96e546aafdd", "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img" }, "md5sum": "ab248af65f1e45f1283e3ab1f2c8f51e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 31361993, "src": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Wednesday 25 June 2025 08:12:15 -0400 (0:00:00.848) 0:01:00.516 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:12:15 -0400 (0:00:00.021) 0:01:00.537 ******** included: /tmp/collections-43g/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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:12:15 -0400 (0:00:00.018) 0:01:00.556 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:12:15 -0400 (0:00:00.014) 0:01:00.571 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:12:15 -0400 (0:00:00.014) 0:01:00.585 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:12:15 -0400 (0:00:00.013) 0:01:00.598 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:12:15 -0400 (0:00:00.033) 0:01:00.631 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:12:15 -0400 (0:00:00.013) 0:01:00.645 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:12:18 -0400 (0:00:02.807) 0:01:03.453 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853502.644068, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750853502.643068, "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": 1750853502.643068, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "852131531", "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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:12:18 -0400 (0:00:00.334) 0:01:03.788 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:12:18 -0400 (0:00:00.015) 0:01:03.803 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:12:18 -0400 (0:00:00.013) 0:01:03.817 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:12:18 -0400 (0:00:00.322) 0:01:04.140 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:12:18 -0400 (0:00:00.026) 0:01:04.166 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853502.644068, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750853502.643068, "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": 1750853502.643068, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "852131531", "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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:12:19 -0400 (0:00:00.339) 0:01:04.506 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853500.4790606, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750853493.679037, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750853493.6780372, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1340831866", "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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:12:19 -0400 (0:00:00.365) 0:01:04.872 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003927", "end": "2025-06-25 08:12:20.010479", "rc": 0, "start": "2025-06-25 08:12:20.006552" } 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:12:20 -0400 (0:00:00.358) 0:01:05.230 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:12:20 -0400 (0:00:00.018) 0:01:05.248 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:12:20 -0400 (0:00:00.335) 0:01:05.583 ******** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:12:20 -0400 (0:00:00.340) 0:01:05.924 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:12:21 -0400 (0:00:00.574) 0:01:06.499 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:12:21 -0400 (0:00:00.016) 0:01:06.515 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:12:21 -0400 (0:00:00.013) 0:01:06.529 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:12:21 -0400 (0:00:00.016) 0:01:06.545 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Wednesday 25 June 2025 08:12:21 -0400 (0:00:00.015) 0:01:06.560 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Wednesday 25 June 2025 08:12:21 -0400 (0:00:00.014) 0:01:06.575 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:12:21 -0400 (0:00:00.034) 0:01:06.610 ******** included: /tmp/collections-43g/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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:12:21 -0400 (0:00:00.018) 0:01:06.629 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:12:21 -0400 (0:00:00.015) 0:01:06.644 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:12:21 -0400 (0:00:00.012) 0:01:06.656 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:12:21 -0400 (0:00:00.014) 0:01:06.670 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:12:21 -0400 (0:00:00.033) 0:01:06.704 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:12:21 -0400 (0:00:00.016) 0:01:06.721 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:12:24 -0400 (0:00:02.826) 0:01:09.547 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853502.644068, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750853502.643068, "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": 1750853502.643068, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "852131531", "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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:12:24 -0400 (0:00:00.341) 0:01:09.889 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:12:24 -0400 (0:00:00.015) 0:01:09.904 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:12:24 -0400 (0:00:00.013) 0:01:09.918 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:12:25 -0400 (0:00:00.324) 0:01:10.243 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:12:25 -0400 (0:00:00.023) 0:01:10.266 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853502.644068, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750853502.643068, "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": 1750853502.643068, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "852131531", "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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:12:25 -0400 (0:00:00.339) 0:01:10.606 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853500.4790606, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750853493.679037, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750853493.6780372, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1340831866", "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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:12:25 -0400 (0:00:00.349) 0:01:10.956 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003662", "end": "2025-06-25 08:12:26.089908", "rc": 0, "start": "2025-06-25 08:12:26.086246" } 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:12:26 -0400 (0:00:00.347) 0:01:11.303 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:12:26 -0400 (0:00:00.020) 0:01:11.324 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:12:26 -0400 (0:00:00.330) 0:01:11.655 ******** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:12:26 -0400 (0:00:00.333) 0:01:11.989 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:12:27 -0400 (0:00:00.329) 0:01:12.318 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:12:27 -0400 (0:00:00.017) 0:01:12.335 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:12:27 -0400 (0:00:00.016) 0:01:12.352 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:12:27 -0400 (0:00:00.014) 0:01:12.367 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": false, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": true, "id": "1ec08d163d564c3c89f634436c607e63-4.18.0-553.5.1.el8.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone1] ********************************************** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Wednesday 25 June 2025 08:12:27 -0400 (0:00:00.494) 0:01:12.861 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Wednesday 25 June 2025 08:12:27 -0400 (0:00:00.028) 0:01:12.889 ******** included: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-4.18.0-553.5.1.el8.x86_64] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Wednesday 25 June 2025 08:12:27 -0400 (0:00:00.043) 0:01:12.933 ******** 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-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Wednesday 25 June 2025 08:12:28 -0400 (0:00:00.863) 0:01:13.797 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:12:28 -0400 (0:00:00.024) 0:01:13.822 ******** included: /tmp/collections-43g/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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:12:28 -0400 (0:00:00.019) 0:01:13.841 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:12:28 -0400 (0:00:00.017) 0:01:13.859 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:12:28 -0400 (0:00:00.015) 0:01:13.875 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:12:28 -0400 (0:00:00.015) 0:01:13.890 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:12:28 -0400 (0:00:00.033) 0:01:13.924 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:12:28 -0400 (0:00:00.014) 0:01:13.938 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:12:31 -0400 (0:00:02.810) 0:01:16.748 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853502.644068, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750853502.643068, "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": 1750853502.643068, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "852131531", "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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:12:31 -0400 (0:00:00.332) 0:01:17.081 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:12:31 -0400 (0:00:00.016) 0:01:17.097 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:12:31 -0400 (0:00:00.013) 0:01:17.111 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:12:32 -0400 (0:00:00.318) 0:01:17.429 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:12:32 -0400 (0:00:00.024) 0:01:17.454 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853502.644068, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750853502.643068, "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": 1750853502.643068, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "852131531", "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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:12:32 -0400 (0:00:00.334) 0:01:17.789 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853500.4790606, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750853493.679037, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750853493.6780372, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1340831866", "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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:12:32 -0400 (0:00:00.336) 0:01:18.125 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004022", "end": "2025-06-25 08:12:33.240889", "rc": 0, "start": "2025-06-25 08:12:33.236867" } 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:12:33 -0400 (0:00:00.327) 0:01:18.453 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:12:33 -0400 (0:00:00.017) 0:01:18.470 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:12:33 -0400 (0:00:00.322) 0:01:18.793 ******** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:12:33 -0400 (0:00:00.324) 0:01:19.117 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:12:34 -0400 (0:00:00.588) 0:01:19.706 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:12:34 -0400 (0:00:00.016) 0:01:19.722 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:12:34 -0400 (0:00:00.013) 0:01:19.736 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:12:34 -0400 (0:00:00.013) 0:01:19.749 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Wednesday 25 June 2025 08:12:34 -0400 (0:00:00.012) 0:01:19.762 ******** 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.162097", "end": "2025-06-25 08:12:35.032501", "rc": 0, "start": "2025-06-25 08:12:34.870404" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Wednesday 25 June 2025 08:12:35 -0400 (0:00:00.481) 0:01:20.244 ******** included: /tmp/collections-43g/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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Wednesday 25 June 2025 08:12:35 -0400 (0:00:00.015) 0:01:20.260 ******** changed: [managed-node1] => { "changed": true, "elapsed": 20, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Wednesday 25 June 2025 08:12:56 -0400 (0:00:21.663) 0:01:41.924 ******** skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Wednesday 25 June 2025 08:12:56 -0400 (0:00:00.016) 0:01:41.940 ******** 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-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Wednesday 25 June 2025 08:12:56 -0400 (0:00:00.025) 0:01:41.965 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Wednesday 25 June 2025 08:12:56 -0400 (0:00:00.017) 0:01:41.983 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:12:56 -0400 (0:00:00.040) 0:01:42.024 ******** included: /tmp/collections-43g/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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:12:56 -0400 (0:00:00.019) 0:01:42.044 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:12:56 -0400 (0:00:00.015) 0:01:42.059 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:12:56 -0400 (0:00:00.014) 0:01:42.074 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:12:56 -0400 (0:00:00.014) 0:01:42.088 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:12:56 -0400 (0:00:00.032) 0:01:42.121 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:12:56 -0400 (0:00:00.013) 0:01:42.134 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:13:01 -0400 (0:00:04.882) 0:01:47.017 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853555.0312421, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750853555.0302422, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853555.0302422, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2246796463", "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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:13:02 -0400 (0:00:00.363) 0:01:47.381 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:13:02 -0400 (0:00:00.016) 0:01:47.397 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:13:02 -0400 (0:00:00.014) 0:01:47.412 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:13:02 -0400 (0:00:00.327) 0:01:47.740 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:13:02 -0400 (0:00:00.025) 0:01:47.765 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853555.0312421, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750853555.0302422, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853555.0302422, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2246796463", "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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:13:02 -0400 (0:00:00.364) 0:01:48.130 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853500.4790606, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750853493.679037, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750853493.6780372, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1340831866", "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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:13:03 -0400 (0:00:00.367) 0:01:48.497 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003994", "end": "2025-06-25 08:13:03.492991", "rc": 0, "start": "2025-06-25 08:13:03.488997" } 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:13:03 -0400 (0:00:00.352) 0:01:48.849 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:13:03 -0400 (0:00:00.018) 0:01:48.868 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:13:04 -0400 (0:00:00.337) 0:01:49.205 ******** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:13:04 -0400 (0:00:00.332) 0:01:49.537 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Wednesday 25 June 2025 08:13:04 -0400 (0:00:00.337) 0:01:49.874 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Wednesday 25 June 2025 08:13:04 -0400 (0:00:00.020) 0:01:49.895 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Wednesday 25 June 2025 08:13:04 -0400 (0:00:00.014) 0:01:49.909 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Wednesday 25 June 2025 08:13:04 -0400 (0:00:00.013) 0:01:49.923 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": false, "id": "296974b5ae524724a4e5b0037952a204-4.18.0-553.5.1.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (4.18.0-553.5.1.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "296974b5ae524724a4e5b0037952a204-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-296974b5ae524724a4e5b0037952a204.img", "kernel": "/boot/vmlinuz-0-rescue-296974b5ae524724a4e5b0037952a204", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "CentOS Stream (0-rescue-296974b5ae524724a4e5b0037952a204) 8" }, { "args": "test=kernel", "default": false, "id": "1ec08d163d564c3c89f634436c607e63-4.18.0-553.5.1.el8.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone2", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params test=kernel", "default": true, "id": "1ec08d163d564c3c89f634436c607e63-4.18.0-553.5.1.el8.x86_64_clone1", "index": "3", "initrd": "/boot/initramfs-4.18.0-553.5.1.el8.x86_64.img_clone1", "kernel": "/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64_clone1", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings for Clone2] ********************************************** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Wednesday 25 June 2025 08:13:05 -0400 (0:00:00.507) 0:01:50.430 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Wednesday 25 June 2025 08:13:05 -0400 (0:00:00.024) 0:01:50.455 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Wednesday 25 June 2025 08:13:05 -0400 (0:00:00.035) 0:01:50.490 ******** included: /tmp/collections-43g/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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Wednesday 25 June 2025 08:13:05 -0400 (0:00:00.020) 0:01:50.511 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Wednesday 25 June 2025 08:13:05 -0400 (0:00:00.016) 0:01:50.527 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Wednesday 25 June 2025 08:13:05 -0400 (0:00:00.014) 0:01:50.542 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Wednesday 25 June 2025 08:13:05 -0400 (0:00:00.014) 0:01:50.556 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Wednesday 25 June 2025 08:13:05 -0400 (0:00:00.033) 0:01:50.590 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Wednesday 25 June 2025 08:13:05 -0400 (0:00:00.015) 0:01:50.605 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Wednesday 25 June 2025 08:13:08 -0400 (0:00:02.803) 0:01:53.408 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853555.0312421, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750853555.0302422, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853555.0302422, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2246796463", "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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Wednesday 25 June 2025 08:13:08 -0400 (0:00:00.329) 0:01:53.737 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Wednesday 25 June 2025 08:13:08 -0400 (0:00:00.016) 0:01:53.754 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Wednesday 25 June 2025 08:13:08 -0400 (0:00:00.013) 0:01:53.768 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Wednesday 25 June 2025 08:13:08 -0400 (0:00:00.315) 0:01:54.083 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Wednesday 25 June 2025 08:13:08 -0400 (0:00:00.024) 0:01:54.108 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853555.0312421, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc2248d461d8035aaa5f28049141c0b734d2f91", "ctime": 1750853555.0302422, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6882937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750853555.0302422, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 289, "uid": 0, "version": "2246796463", "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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Wednesday 25 June 2025 08:13:09 -0400 (0:00:00.333) 0:01:54.442 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750853500.4790606, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8deab7735766859b2e68756da9afec1aff4ba232", "ctime": 1750853493.679037, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 201326786, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1750853493.6780372, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6405, "uid": 0, "version": "1340831866", "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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Wednesday 25 June 2025 08:13:09 -0400 (0:00:00.337) 0:01:54.779 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004143", "end": "2025-06-25 08:13:09.890672", "rc": 0, "start": "2025-06-25 08:13:09.886529" } 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Wednesday 25 June 2025 08:13:09 -0400 (0:00:00.323) 0:01:55.103 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Wednesday 25 June 2025 08:13:09 -0400 (0:00:00.018) 0:01:55.122 ******** 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-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Wednesday 25 June 2025 08:13:10 -0400 (0:00:00.326) 0:01:55.449 ******** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Wednesday 25 June 2025 08:13:10 -0400 (0:00:00.324) 0:01:55.773 ******** An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: fail_json() takes 1 positional argument but 2 were given fatal: [managed-node1]: FAILED! => { "changed": false, "rc": 1 } MSG: MODULE FAILURE See stdout/stderr for the exact error MODULE_STDOUT: Traceback (most recent call last): File "/root/.ansible/tmp/ansible-tmp-1750853590.6461985-11238-8638186775989/AnsiballZ_bootloader_settings.py", line 102, in _ansiballz_main() File "/root/.ansible/tmp/ansible-tmp-1750853590.6461985-11238-8638186775989/AnsiballZ_bootloader_settings.py", line 94, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "/root/.ansible/tmp/ansible-tmp-1750853590.6461985-11238-8638186775989/AnsiballZ_bootloader_settings.py", line 40, in invoke_module runpy.run_module(mod_name='ansible_collections.fedora.linux_system_roles.plugins.modules.bootloader_settings', init_globals=None, run_name='__main__', alter_sys=True) File "/usr/lib64/python3.6/runpy.py", line 205, in run_module return _run_module_code(code, init_globals, run_name, mod_spec) File "/usr/lib64/python3.6/runpy.py", line 96, in _run_module_code mod_name, mod_spec, pkg_name, script_name) File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/tmp/ansible_fedora.linux_system_roles.bootloader_settings_payload_9ao5gc4t/ansible_fedora.linux_system_roles.bootloader_settings_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/bootloader_settings.py", line 475, in File "/tmp/ansible_fedora.linux_system_roles.bootloader_settings_payload_9ao5gc4t/ansible_fedora.linux_system_roles.bootloader_settings_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/bootloader_settings.py", line 471, in main File "/tmp/ansible_fedora.linux_system_roles.bootloader_settings_payload_9ao5gc4t/ansible_fedora.linux_system_roles.bootloader_settings_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/bootloader_settings.py", line 420, in run_module File "/tmp/ansible_fedora.linux_system_roles.bootloader_settings_payload_9ao5gc4t/ansible_fedora.linux_system_roles.bootloader_settings_payload.zip/ansible_collections/fedora/linux_system_roles/plugins/modules/bootloader_settings.py", line 182, in validate_default_kernel TypeError: fail_json() takes 1 positional argument but 2 were given MODULE_STDERR: Shared connection to 10.31.12.185 closed. TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Wednesday 25 June 2025 08:13:10 -0400 (0:00:00.328) 0:01:56.102 ******** fatal: [managed-node1]: FAILED! => { "assertion": "'Only one kernel can be set as default' in ansible_failed_result.msg", "changed": false, "evaluated_to": false } MSG: Assertion failed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Wednesday 25 June 2025 08:13:10 -0400 (0:00:00.016) 0:01:56.118 ******** 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.107717", "end": "2025-06-25 08:13:11.334475", "failed_when_result": false, "item": 1, "rc": 0, "start": "2025-06-25 08:13:11.226758" } 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.079439", "end": "2025-06-25 08:13:11.728597", "failed_when_result": false, "item": 2, "rc": 0, "start": "2025-06-25 08:13:11.649158" } PLAY RECAP ********************************************************************* managed-node1 : ok=116 changed=10 unreachable=0 failed=1 skipped=88 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.9.27", "end_time": "2025-06-25T12:13:10.932123+00:00Z", "host": "managed-node1", "message": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1, "start_time": "2025-06-25T12:13:10.607630+00:00Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102" }, { "ansible_version": "2.9.27", "end_time": "2025-06-25T12:13:10.949225+00:00Z", "host": "managed-node1", "message": "Assertion failed", "start_time": "2025-06-25T12:13:10.935837+00:00Z", "task_name": "Assert that the role failed with multiple default kernels set", "task_path": "/tmp/collections-43g/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Wednesday 25 June 2025 08:13:11 -0400 (0:00:00.825) 0:01:56.944 ******** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed -- 27.30s /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.16s /tmp/collections-43g/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 -- 21.66s /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 8.52s /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.80s /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 2.06s /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.74s /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 1.49s /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 1.45s /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.43s /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.42s /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 1.42s /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.39s /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 1.37s /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 fedora.linux_system_roles.bootloader : Determine platform type ---------- 1.34s /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 1.10s /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.08s /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.06s /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Determine platform type ---------- 1.04s /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 1.04s /tmp/collections-43g/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73