ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-A9S/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-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 08 March 2025 07:54:19 -0500 (0:00:00.023) 0:00:00.023 ******** included: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 08 March 2025 07:54:19 -0500 (0:00:00.073) 0:00:00.097 ******** ok: [managed-node1] META: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 08 March 2025 07:54:19 -0500 (0:00:00.670) 0:00:00.767 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 08 March 2025 07:54:19 -0500 (0:00:00.053) 0:00:00.821 ******** included: /tmp/collections-A9S/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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 08 March 2025 07:54:19 -0500 (0:00:00.024) 0:00:00.845 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 08 March 2025 07:54:19 -0500 (0:00:00.018) 0:00:00.863 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 08 March 2025 07:54:20 -0500 (0:00:00.397) 0:00:01.261 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 08 March 2025 07:54:20 -0500 (0:00:00.022) 0:00:01.284 ******** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 08 March 2025 07:54:20 -0500 (0:00:00.042) 0:00:01.327 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 08 March 2025 07:54:20 -0500 (0:00:00.016) 0:00:01.344 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 08 March 2025 07:54:21 -0500 (0:00:00.712) 0:00:02.056 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741438445.9029229, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1741438442.8279107, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262491, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741438442.8269107, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "1962648341", "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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 08 March 2025 07:54:21 -0500 (0:00:00.287) 0:00:02.344 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 08 March 2025 07:54:21 -0500 (0:00:00.020) 0:00:02.365 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 08 March 2025 07:54:21 -0500 (0:00:00.019) 0:00:02.384 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 08 March 2025 07:54:21 -0500 (0:00:00.266) 0:00:02.651 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 08 March 2025 07:54:21 -0500 (0:00:00.028) 0:00:02.679 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741438445.9029229, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1741438442.8279107, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262491, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741438442.8269107, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "1962648341", "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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 08 March 2025 07:54:21 -0500 (0:00:00.282) 0:00:02.962 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741438446.7869263, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0d4b26c5f22732d8432971abedb64c79aad6b8c3", "ctime": 1741438443.1059117, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262492, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741438443.1059117, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5050, "uid": 0, "version": "1962648347", "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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 08 March 2025 07:54:22 -0500 (0:00:00.289) 0:00:03.251 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004463", "end": "2025-03-08 07:54:22.596893", "rc": 0, "start": "2025-03-08 07:54:22.592430" } 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 08 March 2025 07:54:22 -0500 (0:00:00.363) 0:00:03.614 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 08 March 2025 07:54:22 -0500 (0:00:00.021) 0:00:03.636 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 08 March 2025 07:54:23 -0500 (0:00:00.358) 0:00:03.994 ******** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 08 March 2025 07:54:23 -0500 (0:00:00.277) 0:00:04.272 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 08 March 2025 07:54:23 -0500 (0:00:00.407) 0:00:04.680 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 08 March 2025 07:54:23 -0500 (0:00:00.019) 0:00:04.699 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 08 March 2025 07:54:23 -0500 (0:00:00.017) 0:00:04.717 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 08 March 2025 07:54:23 -0500 (0:00:00.018) 0:00:04.735 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 debug", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } META: end_host conditional evaluated to false, continuing execution for managed-node1 META: ran handlers TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 08 March 2025 07:54:24 -0500 (0:00:00.410) 0:00:05.146 ******** included: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 08 March 2025 07:54:24 -0500 (0:00:00.033) 0:00:05.179 ******** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 08 March 2025 07:54:24 -0500 (0:00:00.021) 0:00:05.201 ******** ok: [managed-node1] => (item={u'dest': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1', u'src': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "bcc96d540663b9b1764e12a7ab21389e0b9ceb0e", "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64" }, "md5sum": "8d408037538856fa5672cf3f9da1ff35", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "state": "file", "uid": 0 } ok: [managed-node1] => (item={u'dest': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1', u'src': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "a48b0c90c9b0dce76f2e1f4a861b7f3b00714982", "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img" }, "md5sum": "dd570b9af2ecb0d8f046a071cd868a55", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20160196, "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 08 March 2025 07:54:25 -0500 (0:00:00.812) 0:00:06.013 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 08 March 2025 07:54:25 -0500 (0:00:00.051) 0:00:06.065 ******** included: /tmp/collections-A9S/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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 08 March 2025 07:54:25 -0500 (0:00:00.027) 0:00:06.092 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 08 March 2025 07:54:25 -0500 (0:00:00.020) 0:00:06.112 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 08 March 2025 07:54:25 -0500 (0:00:00.018) 0:00:06.131 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 08 March 2025 07:54:25 -0500 (0:00:00.017) 0:00:06.149 ******** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 08 March 2025 07:54:25 -0500 (0:00:00.045) 0:00:06.194 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 08 March 2025 07:54:25 -0500 (0:00:00.022) 0:00:06.217 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 08 March 2025 07:54:25 -0500 (0:00:00.557) 0:00:06.774 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741438445.9029229, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1741438442.8279107, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262491, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741438442.8269107, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "1962648341", "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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 08 March 2025 07:54:26 -0500 (0:00:00.295) 0:00:07.070 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 08 March 2025 07:54:26 -0500 (0:00:00.021) 0:00:07.091 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 08 March 2025 07:54:26 -0500 (0:00:00.018) 0:00:07.110 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 08 March 2025 07:54:26 -0500 (0:00:00.270) 0:00:07.381 ******** ok: [managed-node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 08 March 2025 07:54:26 -0500 (0:00:00.029) 0:00:07.411 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741438445.9029229, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1741438442.8279107, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262491, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741438442.8269107, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "1962648341", "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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 08 March 2025 07:54:26 -0500 (0:00:00.284) 0:00:07.696 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741438446.7869263, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0d4b26c5f22732d8432971abedb64c79aad6b8c3", "ctime": 1741438443.1059117, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262492, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741438443.1059117, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5050, "uid": 0, "version": "1962648347", "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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 08 March 2025 07:54:27 -0500 (0:00:00.293) 0:00:07.989 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004195", "end": "2025-03-08 07:54:27.254042", "rc": 0, "start": "2025-03-08 07:54:27.249847" } 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 08 March 2025 07:54:27 -0500 (0:00:00.279) 0:00:08.269 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 08 March 2025 07:54:27 -0500 (0:00:00.022) 0:00:08.292 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 08 March 2025 07:54:27 -0500 (0:00:00.272) 0:00:08.564 ******** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 08 March 2025 07:54:27 -0500 (0:00:00.274) 0:00:08.839 ******** 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-3.10.0-1160.119.1.el7.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 08 March 2025 07:54:28 -0500 (0:00:00.545) 0:00:09.384 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 08 March 2025 07:54:28 -0500 (0:00:00.021) 0:00:09.405 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 08 March 2025 07:54:28 -0500 (0:00:00.017) 0:00:09.423 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 08 March 2025 07:54:28 -0500 (0:00:00.018) 0:00:09.442 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 08 March 2025 07:54:28 -0500 (0:00:00.012) 0:00:09.454 ******** 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.016535", "end": "2025-03-08 07:54:28.733547", "rc": 0, "start": "2025-03-08 07:54:28.717012" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 08 March 2025 07:54:28 -0500 (0:00:00.290) 0:00:09.744 ******** included: /tmp/collections-A9S/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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 08 March 2025 07:54:28 -0500 (0:00:00.020) 0:00:09.765 ******** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 08 March 2025 07:54:52 -0500 (0:00:23.519) 0:00:33.284 ******** skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 08 March 2025 07:54:52 -0500 (0:00:00.019) 0:00:33.304 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 08 March 2025 07:54:52 -0500 (0:00:00.025) 0:00:33.329 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 08 March 2025 07:54:52 -0500 (0:00:00.022) 0:00:33.352 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 08 March 2025 07:54:52 -0500 (0:00:00.054) 0:00:33.407 ******** included: /tmp/collections-A9S/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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 08 March 2025 07:54:52 -0500 (0:00:00.028) 0:00:33.435 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 08 March 2025 07:54:52 -0500 (0:00:00.020) 0:00:33.455 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 08 March 2025 07:54:52 -0500 (0:00:00.018) 0:00:33.474 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 08 March 2025 07:54:52 -0500 (0:00:00.018) 0:00:33.492 ******** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 08 March 2025 07:54:52 -0500 (0:00:00.043) 0:00:33.535 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 08 March 2025 07:54:52 -0500 (0:00:00.018) 0:00:33.554 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 08 March 2025 07:54:53 -0500 (0:00:00.897) 0:00:34.451 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741438468.7330127, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1741438468.7320125, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741438468.7320125, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "1962648663", "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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 08 March 2025 07:54:53 -0500 (0:00:00.306) 0:00:34.757 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 08 March 2025 07:54:53 -0500 (0:00:00.020) 0:00:34.778 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 08 March 2025 07:54:53 -0500 (0:00:00.020) 0:00:34.799 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 08 March 2025 07:54:54 -0500 (0:00:00.287) 0:00:35.087 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 08 March 2025 07:54:54 -0500 (0:00:00.030) 0:00:35.117 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741438468.7330127, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1741438468.7320125, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741438468.7320125, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "1962648663", "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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 08 March 2025 07:54:54 -0500 (0:00:00.296) 0:00:35.413 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741438468.7200124, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "d00806977a92df86555e1c2daa978605a79a4e35", "ctime": 1741438468.3680112, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741438468.3680112, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5869, "uid": 0, "version": "1962648657", "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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 08 March 2025 07:54:54 -0500 (0:00:00.301) 0:00:35.715 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004199", "end": "2025-03-08 07:54:53.971669", "rc": 0, "start": "2025-03-08 07:54:53.967470" } 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 08 March 2025 07:54:55 -0500 (0:00:00.288) 0:00:36.004 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 08 March 2025 07:54:55 -0500 (0:00:00.023) 0:00:36.027 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 08 March 2025 07:54:55 -0500 (0:00:00.278) 0:00:36.306 ******** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 08 March 2025 07:54:55 -0500 (0:00:00.280) 0:00:36.587 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 08 March 2025 07:54:55 -0500 (0:00:00.277) 0:00:36.864 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 08 March 2025 07:54:55 -0500 (0:00:00.020) 0:00:36.885 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 08 March 2025 07:54:55 -0500 (0:00:00.017) 0:00:36.902 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 08 March 2025 07:54:55 -0500 (0:00:00.019) 0:00:36.921 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 debug", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 08 March 2025 07:54:56 -0500 (0:00:00.300) 0:00:37.222 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 08 March 2025 07:54:56 -0500 (0:00:00.025) 0:00:37.247 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 08 March 2025 07:54:56 -0500 (0:00:00.071) 0:00:37.318 ******** included: /tmp/collections-A9S/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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 08 March 2025 07:54:56 -0500 (0:00:00.026) 0:00:37.344 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 08 March 2025 07:54:56 -0500 (0:00:00.020) 0:00:37.365 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 08 March 2025 07:54:56 -0500 (0:00:00.018) 0:00:37.384 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 08 March 2025 07:54:56 -0500 (0:00:00.019) 0:00:37.403 ******** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 08 March 2025 07:54:56 -0500 (0:00:00.043) 0:00:37.446 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 08 March 2025 07:54:56 -0500 (0:00:00.018) 0:00:37.464 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 08 March 2025 07:54:57 -0500 (0:00:00.558) 0:00:38.023 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741438468.7330127, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1741438468.7320125, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741438468.7320125, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "1962648663", "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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 08 March 2025 07:54:57 -0500 (0:00:00.295) 0:00:38.318 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 08 March 2025 07:54:57 -0500 (0:00:00.020) 0:00:38.339 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 08 March 2025 07:54:57 -0500 (0:00:00.020) 0:00:38.359 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 08 March 2025 07:54:57 -0500 (0:00:00.269) 0:00:38.629 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 08 March 2025 07:54:57 -0500 (0:00:00.030) 0:00:38.659 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741438468.7330127, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1741438468.7320125, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741438468.7320125, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "1962648663", "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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 08 March 2025 07:54:57 -0500 (0:00:00.291) 0:00:38.950 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741438468.7200124, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "d00806977a92df86555e1c2daa978605a79a4e35", "ctime": 1741438468.3680112, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741438468.3680112, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5869, "uid": 0, "version": "1962648657", "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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 08 March 2025 07:54:58 -0500 (0:00:00.293) 0:00:39.244 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004199", "end": "2025-03-08 07:54:58.514454", "rc": 0, "start": "2025-03-08 07:54:58.510255" } 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 08 March 2025 07:54:58 -0500 (0:00:00.282) 0:00:39.526 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 08 March 2025 07:54:58 -0500 (0:00:00.022) 0:00:39.549 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 08 March 2025 07:54:58 -0500 (0:00:00.279) 0:00:39.829 ******** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 08 March 2025 07:54:59 -0500 (0:00:00.280) 0:00:40.109 ******** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 08 March 2025 07:54:59 -0500 (0:00:00.309) 0:00:40.418 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 08 March 2025 07:54:59 -0500 (0:00:00.019) 0:00:40.438 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 08 March 2025 07:54:59 -0500 (0:00:00.018) 0:00:40.456 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 08 March 2025 07:54:59 -0500 (0:00:00.017) 0:00:40.474 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 debug", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 08 March 2025 07:54:59 -0500 (0:00:00.294) 0:00:40.769 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 08 March 2025 07:54:59 -0500 (0:00:00.023) 0:00:40.792 ******** included: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 08 March 2025 07:54:59 -0500 (0:00:00.043) 0:00:40.836 ******** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 08 March 2025 07:54:59 -0500 (0:00:00.022) 0:00:40.859 ******** changed: [managed-node1] => (item={u'dest': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2', u'src': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "bcc96d540663b9b1764e12a7ab21389e0b9ceb0e", "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64" }, "md5sum": "8d408037538856fa5672cf3f9da1ff35", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "state": "file", "uid": 0 } changed: [managed-node1] => (item={u'dest': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2', u'src': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a48b0c90c9b0dce76f2e1f4a861b7f3b00714982", "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2", "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img" }, "md5sum": "dd570b9af2ecb0d8f046a071cd868a55", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20160196, "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 08 March 2025 07:55:00 -0500 (0:00:00.686) 0:00:41.546 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 08 March 2025 07:55:00 -0500 (0:00:00.032) 0:00:41.578 ******** included: /tmp/collections-A9S/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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 08 March 2025 07:55:00 -0500 (0:00:00.027) 0:00:41.606 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 08 March 2025 07:55:00 -0500 (0:00:00.020) 0:00:41.626 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 08 March 2025 07:55:00 -0500 (0:00:00.018) 0:00:41.645 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 08 March 2025 07:55:00 -0500 (0:00:00.017) 0:00:41.662 ******** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 08 March 2025 07:55:00 -0500 (0:00:00.042) 0:00:41.705 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 08 March 2025 07:55:00 -0500 (0:00:00.018) 0:00:41.723 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 08 March 2025 07:55:01 -0500 (0:00:00.561) 0:00:42.284 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741438468.7330127, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1741438468.7320125, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741438468.7320125, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "1962648663", "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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 08 March 2025 07:55:01 -0500 (0:00:00.285) 0:00:42.570 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 08 March 2025 07:55:01 -0500 (0:00:00.021) 0:00:42.591 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 08 March 2025 07:55:01 -0500 (0:00:00.018) 0:00:42.610 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 08 March 2025 07:55:01 -0500 (0:00:00.273) 0:00:42.884 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 08 March 2025 07:55:01 -0500 (0:00:00.034) 0:00:42.918 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741438468.7330127, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1741438468.7320125, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741438468.7320125, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "1962648663", "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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 08 March 2025 07:55:02 -0500 (0:00:00.290) 0:00:43.209 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741438499.743633, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0d4b26c5f22732d8432971abedb64c79aad6b8c3", "ctime": 1741438499.4056315, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741438499.4056315, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5050, "uid": 0, "version": "545473117", "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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 08 March 2025 07:55:02 -0500 (0:00:00.293) 0:00:43.502 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004125", "end": "2025-03-08 07:55:02.775219", "rc": 0, "start": "2025-03-08 07:55:02.771094" } 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 08 March 2025 07:55:02 -0500 (0:00:00.282) 0:00:43.785 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 08 March 2025 07:55:02 -0500 (0:00:00.022) 0:00:43.808 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 08 March 2025 07:55:03 -0500 (0:00:00.280) 0:00:44.088 ******** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 08 March 2025 07:55:03 -0500 (0:00:00.277) 0:00:44.365 ******** 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-3.10.0-1160.119.1.el7.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 08 March 2025 07:55:03 -0500 (0:00:00.305) 0:00:44.671 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 08 March 2025 07:55:03 -0500 (0:00:00.019) 0:00:44.691 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 08 March 2025 07:55:03 -0500 (0:00:00.018) 0:00:44.709 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 08 March 2025 07:55:03 -0500 (0:00:00.017) 0:00:44.727 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 08 March 2025 07:55:03 -0500 (0:00:00.015) 0:00:44.742 ******** 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.016772", "end": "2025-03-08 07:55:04.028475", "rc": 0, "start": "2025-03-08 07:55:04.011703" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 08 March 2025 07:55:04 -0500 (0:00:00.291) 0:00:45.034 ******** included: /tmp/collections-A9S/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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 08 March 2025 07:55:04 -0500 (0:00:00.020) 0:00:45.055 ******** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 08 March 2025 07:55:27 -0500 (0:00:23.154) 0:01:08.209 ******** skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 08 March 2025 07:55:27 -0500 (0:00:00.019) 0:01:08.228 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 08 March 2025 07:55:27 -0500 (0:00:00.023) 0:01:08.251 ******** 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.035527", "end": "2025-03-08 07:55:26.567343", "rc": 0, "start": "2025-03-08 07:55:26.531816" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 08 March 2025 07:55:27 -0500 (0:00:00.415) 0:01:08.667 ******** included: /tmp/collections-A9S/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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 08 March 2025 07:55:27 -0500 (0:00:00.020) 0:01:08.687 ******** changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 08 March 2025 07:55:50 -0500 (0:00:22.749) 0:01:31.437 ******** skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 08 March 2025 07:55:50 -0500 (0:00:00.018) 0:01:31.455 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 08 March 2025 07:55:50 -0500 (0:00:00.025) 0:01:31.481 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 08 March 2025 07:55:50 -0500 (0:00:00.021) 0:01:31.502 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 08 March 2025 07:55:50 -0500 (0:00:00.057) 0:01:31.560 ******** included: /tmp/collections-A9S/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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 08 March 2025 07:55:50 -0500 (0:00:00.027) 0:01:31.587 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 08 March 2025 07:55:50 -0500 (0:00:00.021) 0:01:31.609 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 08 March 2025 07:55:50 -0500 (0:00:00.018) 0:01:31.627 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 08 March 2025 07:55:50 -0500 (0:00:00.017) 0:01:31.644 ******** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 08 March 2025 07:55:50 -0500 (0:00:00.044) 0:01:31.689 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 08 March 2025 07:55:50 -0500 (0:00:00.019) 0:01:31.708 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 08 March 2025 07:55:51 -0500 (0:00:00.813) 0:01:32.522 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741438526.5664055, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1741438526.5654056, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741438526.5654056, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "1119914164", "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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 08 March 2025 07:55:51 -0500 (0:00:00.294) 0:01:32.817 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 08 March 2025 07:55:51 -0500 (0:00:00.020) 0:01:32.838 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 08 March 2025 07:55:51 -0500 (0:00:00.020) 0:01:32.858 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 08 March 2025 07:55:52 -0500 (0:00:00.273) 0:01:33.131 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 08 March 2025 07:55:52 -0500 (0:00:00.030) 0:01:33.162 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741438526.5664055, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1741438526.5654056, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741438526.5654056, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "1119914164", "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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 08 March 2025 07:55:52 -0500 (0:00:00.294) 0:01:33.456 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741438504.0146494, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "133b444de9b5d4411d4acb0d15772236245efe2b", "ctime": 1741438503.659648, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137496, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741438503.659648, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5251, "uid": 0, "version": "545473181", "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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 08 March 2025 07:55:52 -0500 (0:00:00.284) 0:01:33.741 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003963", "end": "2025-03-08 07:55:52.779188", "rc": 0, "start": "2025-03-08 07:55:52.775225" } 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 08 March 2025 07:55:53 -0500 (0:00:00.277) 0:01:34.019 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 08 March 2025 07:55:53 -0500 (0:00:00.023) 0:01:34.042 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 08 March 2025 07:55:53 -0500 (0:00:00.277) 0:01:34.320 ******** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 08 March 2025 07:55:53 -0500 (0:00:00.274) 0:01:34.594 ******** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 08 March 2025 07:55:53 -0500 (0:00:00.268) 0:01:34.862 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 08 March 2025 07:55:53 -0500 (0:00:00.020) 0:01:34.883 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 08 March 2025 07:55:53 -0500 (0:00:00.019) 0:01:34.902 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 08 March 2025 07:55:53 -0500 (0:00:00.017) 0:01:34.920 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 debug", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 08 March 2025 07:55:54 -0500 (0:00:00.289) 0:01:35.209 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 08 March 2025 07:55:54 -0500 (0:00:00.025) 0:01:35.235 ******** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 08 March 2025 07:55:54 -0500 (0:00:00.096) 0:01:35.331 ******** included: /tmp/collections-A9S/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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 08 March 2025 07:55:54 -0500 (0:00:00.026) 0:01:35.358 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 08 March 2025 07:55:54 -0500 (0:00:00.020) 0:01:35.378 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 08 March 2025 07:55:54 -0500 (0:00:00.019) 0:01:35.398 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 08 March 2025 07:55:54 -0500 (0:00:00.018) 0:01:35.416 ******** 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_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 08 March 2025 07:55:54 -0500 (0:00:00.045) 0:01:35.461 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 08 March 2025 07:55:54 -0500 (0:00:00.018) 0:01:35.480 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 08 March 2025 07:55:55 -0500 (0:00:00.546) 0:01:36.027 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741438526.5664055, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1741438526.5654056, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741438526.5654056, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "1119914164", "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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 08 March 2025 07:55:55 -0500 (0:00:00.282) 0:01:36.309 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 08 March 2025 07:55:55 -0500 (0:00:00.022) 0:01:36.332 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 08 March 2025 07:55:55 -0500 (0:00:00.019) 0:01:36.351 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 08 March 2025 07:55:55 -0500 (0:00:00.266) 0:01:36.618 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 08 March 2025 07:55:55 -0500 (0:00:00.031) 0:01:36.649 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741438526.5664055, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1741438526.5654056, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741438526.5654056, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "1119914164", "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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 08 March 2025 07:55:55 -0500 (0:00:00.282) 0:01:36.932 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1741438504.0146494, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "133b444de9b5d4411d4acb0d15772236245efe2b", "ctime": 1741438503.659648, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137496, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1741438503.659648, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5251, "uid": 0, "version": "545473181", "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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 08 March 2025 07:55:56 -0500 (0:00:00.286) 0:01:37.218 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004441", "end": "2025-03-08 07:55:56.436343", "rc": 0, "start": "2025-03-08 07:55:56.431902" } 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 08 March 2025 07:55:56 -0500 (0:00:00.288) 0:01:37.507 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 08 March 2025 07:55:56 -0500 (0:00:00.024) 0:01:37.531 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 08 March 2025 07:55:56 -0500 (0:00:00.278) 0:01:37.810 ******** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 08 March 2025 07:55:57 -0500 (0:00:00.274) 0:01:38.084 ******** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 changed: [managed-node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 08 March 2025 07:55:57 -0500 (0:00:00.297) 0:01:38.381 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 08 March 2025 07:55:57 -0500 (0:00:00.019) 0:01:38.401 ******** 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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 08 March 2025 07:55:57 -0500 (0:00:00.018) 0:01:38.419 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 08 March 2025 07:55:57 -0500 (0:00:00.016) 0:01:38.436 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 debug", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 08 March 2025 07:55:57 -0500 (0:00:00.300) 0:01:38.736 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 08 March 2025 07:55:57 -0500 (0:00:00.024) 0:01:38.760 ******** changed: [managed-node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" ], "delta": "0:00:00.013085", "end": "2025-03-08 07:55:58.035805", "failed_when_result": false, "item": 1, "rc": 0, "start": "2025-03-08 07:55:58.022720" } changed: [managed-node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2" ], "delta": "0:00:00.012986", "end": "2025-03-08 07:55:58.306751", "failed_when_result": false, "item": 2, "rc": 0, "start": "2025-03-08 07:55:58.293765" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 08 March 2025 07:55:58 -0500 (0:00:00.554) 0:01:39.315 ******** 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.016704", "end": "2025-03-08 07:55:58.599147", "rc": 0, "start": "2025-03-08 07:55:58.582443" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 08 March 2025 07:55:58 -0500 (0:00:00.289) 0:01:39.605 ******** included: /tmp/collections-A9S/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-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 08 March 2025 07:55:58 -0500 (0:00:00.020) 0:01:39.625 ******** changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 08 March 2025 07:56:21 -0500 (0:00:22.431) 0:02:02.057 ******** skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 08 March 2025 07:56:21 -0500 (0:00:00.020) 0:02:02.077 ******** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=115 changed=14 unreachable=0 failed=0 skipped=81 rescued=0 ignored=0 Saturday 08 March 2025 07:56:21 -0500 (0:00:00.023) 0:02:02.100 ******** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.52s /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.15s /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 22.75s /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 22.43s /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.81s /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 0.81s /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 0.69s /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Gather architecture facts ----------------------------------------------- 0.67s /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.56s /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.56s /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Remove cloned kernels --------------------------------------------------- 0.55s /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.55s /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.42s /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.40s /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.31s /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.31s /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.30s /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.30s /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.30s /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.29s /tmp/collections-A9S/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19