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 'jsonl', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-2SE/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-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:11 Thursday 07 August 2025 11:04:37 -0400 (0:00:00.025) 0:00:00.025 ******* included: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Thursday 07 August 2025 11:04:37 -0400 (0:00:00.072) 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-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Thursday 07 August 2025 11:04:38 -0400 (0:00:00.917) 0:00:01.015 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:04:38 -0400 (0:00:00.054) 0:00:01.070 ******* included: /tmp/collections-2SE/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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:04:38 -0400 (0:00:00.025) 0:00:01.095 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:04:38 -0400 (0:00:00.018) 0:00:01.114 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:04:39 -0400 (0:00:00.367) 0:00:01.481 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:04:39 -0400 (0:00:00.022) 0:00:01.503 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:04:39 -0400 (0:00:00.054) 0:00:01.558 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:04:39 -0400 (0:00:00.025) 0:00:01.584 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:04:39 -0400 (0:00:00.045) 0:00:01.629 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:04:40 -0400 (0:00:00.796) 0:00:02.425 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1718881015.7736502, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:04:40 -0400 (0:00:00.286) 0:00:02.712 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:04:40 -0400 (0:00:00.031) 0:00:02.744 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:04:40 -0400 (0:00:00.025) 0:00:02.770 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:04:40 -0400 (0:00:00.271) 0:00:03.042 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:04:40 -0400 (0:00:00.028) 0:00:03.070 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579080.220907, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:04:40 -0400 (0:00:00.269) 0:00:03.339 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1718880548.6646502, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1718881171.2176502, "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": 1718880548.6706502, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "22411319", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:04:41 -0400 (0:00:00.277) 0:00:03.617 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004171", "end": "2025-08-07 11:04:41.499491", "rc": 0, "start": "2025-08-07 11:04:41.495320" } 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:04:41 -0400 (0:00:00.348) 0:00:03.965 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:04:41 -0400 (0:00:00.021) 0:00:03.987 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:04:41 -0400 (0:00:00.392) 0:00:04.380 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:04:42 -0400 (0:00:00.301) 0:00:04.681 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:04:42 -0400 (0:00:00.445) 0:00:05.127 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:04:42 -0400 (0:00:00.026) 0:00:05.153 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:04:42 -0400 (0:00:00.024) 0:00:05.178 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:04:42 -0400 (0:00:00.024) 0:00:05.203 ******* 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", "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", "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", "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 [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Thursday 07 August 2025 11:04:43 -0400 (0:00:00.504) 0:00:05.708 ******* ok: [managed-node1] => { "ansible_facts": { "__default_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "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 kernel to Clone1] ************************************************** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:36 Thursday 07 August 2025 11:04:43 -0400 (0:00:00.030) 0:00:05.738 ******* included: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 07 August 2025 11:04:43 -0400 (0:00:00.059) 0:00:05.797 ******* changed: [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": true, "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 } changed: [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": true, "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-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 07 August 2025 11:04:44 -0400 (0:00:00.794) 0:00:06.592 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:04:44 -0400 (0:00:00.064) 0:00:06.656 ******* included: /tmp/collections-2SE/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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:04:44 -0400 (0:00:00.055) 0:00:06.712 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:04:44 -0400 (0:00:00.031) 0:00:06.743 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:04:44 -0400 (0:00:00.027) 0:00:06.770 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:04:44 -0400 (0:00:00.025) 0:00:06.795 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:04:44 -0400 (0:00:00.065) 0:00:06.860 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:04:44 -0400 (0:00:00.035) 0:00:06.895 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:04:44 -0400 (0:00:00.067) 0:00:06.963 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:04:45 -0400 (0:00:00.656) 0:00:07.619 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579080.220907, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:04:45 -0400 (0:00:00.307) 0:00:07.927 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:04:45 -0400 (0:00:00.022) 0:00:07.950 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:04:45 -0400 (0:00:00.018) 0:00:07.969 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:04:45 -0400 (0:00:00.254) 0:00:08.224 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:04:45 -0400 (0:00:00.041) 0:00:08.266 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579080.220907, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:04:46 -0400 (0:00:00.295) 0:00:08.561 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579081.1319153, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1718881171.2176502, "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": 1718880548.6706502, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "22411319", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:04:46 -0400 (0:00:00.297) 0:00:08.859 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004167", "end": "2025-08-07 11:04:46.695408", "rc": 0, "start": "2025-08-07 11:04:46.691241" } 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:04:46 -0400 (0:00:00.315) 0:00:09.174 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:04:46 -0400 (0:00:00.028) 0:00:09.203 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:04:47 -0400 (0:00:00.266) 0:00:09.470 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:04:47 -0400 (0:00:00.272) 0:00:09.743 ******* 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 --make-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:04:47 -0400 (0:00:00.464) 0:00:10.207 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:04:47 -0400 (0:00:00.024) 0:00:10.231 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:04:47 -0400 (0:00:00.022) 0:00:10.254 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:04:47 -0400 (0:00:00.025) 0:00:10.280 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 07 August 2025 11:04:47 -0400 (0:00:00.017) 0:00:10.297 ******* 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.016699", "end": "2025-08-07 11:04:48.108682", "rc": 0, "start": "2025-08-07 11:04:48.091983" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" 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 test=kernel" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 07 August 2025 11:04:48 -0400 (0:00:00.272) 0:00:10.570 ******* included: /tmp/collections-2SE/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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 07 August 2025 11:04:48 -0400 (0:00:00.021) 0:00:10.591 ******* changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 07 August 2025 11:05:09 -0400 (0:00:21.796) 0:00:32.387 ******* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 07 August 2025 11:05:09 -0400 (0:00:00.019) 0:00:32.407 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 07 August 2025 11:05:10 -0400 (0:00:00.026) 0:00:32.433 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 07 August 2025 11:05:10 -0400 (0:00:00.022) 0:00:32.456 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:05:10 -0400 (0:00:00.057) 0:00:32.514 ******* included: /tmp/collections-2SE/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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:05:10 -0400 (0:00:00.029) 0:00:32.543 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:05:10 -0400 (0:00:00.019) 0:00:32.562 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:05:10 -0400 (0:00:00.023) 0:00:32.586 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:05:10 -0400 (0:00:00.020) 0:00:32.606 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:05:10 -0400 (0:00:00.057) 0:00:32.663 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:05:10 -0400 (0:00:00.024) 0:00:32.687 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:05:10 -0400 (0:00:00.037) 0:00:32.724 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:05:11 -0400 (0:00:00.706) 0:00:33.431 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579088.1069794, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1754579088.1069794, "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": 1754579088.1069794, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073698670269", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:05:11 -0400 (0:00:00.286) 0:00:33.717 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:05:11 -0400 (0:00:00.022) 0:00:33.739 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:05:11 -0400 (0:00:00.020) 0:00:33.760 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:05:11 -0400 (0:00:00.270) 0:00:34.031 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:05:11 -0400 (0:00:00.045) 0:00:34.076 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579110.6251512, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1754579088.1069794, "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": 1754579088.1069794, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073698670269", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:05:11 -0400 (0:00:00.309) 0:00:34.386 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579088.0949793, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1754579087.7309759, "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": 1754579087.7309759, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "18446744073698670263", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:05:12 -0400 (0:00:00.304) 0:00:34.691 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004781", "end": "2025-08-07 11:05:11.906492", "rc": 0, "start": "2025-08-07 11:05:11.901711" } 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:05:12 -0400 (0:00:00.289) 0:00:34.980 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:05:12 -0400 (0:00:00.030) 0:00:35.010 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:05:12 -0400 (0:00:00.285) 0:00:35.295 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:05:13 -0400 (0:00:00.270) 0:00:35.566 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:05:13 -0400 (0:00:00.262) 0:00:35.829 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:05:13 -0400 (0:00:00.019) 0:00:35.848 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:05:13 -0400 (0:00:00.019) 0:00:35.867 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:05:13 -0400 (0:00:00.018) 0:00:35.885 ******* 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 test=kernel", "default": true, "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", "default": false, "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", "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", "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 [Clone again to check idempotency] **************************************** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:44 Thursday 07 August 2025 11:05:13 -0400 (0:00:00.287) 0:00:36.173 ******* included: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 07 August 2025 11:05:13 -0400 (0:00:00.039) 0:00:36.212 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 07 August 2025 11:05:14 -0400 (0:00:00.788) 0:00:37.001 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:05:14 -0400 (0:00:00.049) 0:00:37.050 ******* included: /tmp/collections-2SE/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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:05:14 -0400 (0:00:00.044) 0:00:37.095 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:05:14 -0400 (0:00:00.032) 0:00:37.128 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:05:14 -0400 (0:00:00.030) 0:00:37.159 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:05:14 -0400 (0:00:00.035) 0:00:37.194 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:05:14 -0400 (0:00:00.069) 0:00:37.264 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:05:14 -0400 (0:00:00.031) 0:00:37.296 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:05:14 -0400 (0:00:00.066) 0:00:37.362 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:05:15 -0400 (0:00:00.575) 0:00:37.938 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579110.6251512, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1754579088.1069794, "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": 1754579088.1069794, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073698670269", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:05:15 -0400 (0:00:00.303) 0:00:38.241 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:05:15 -0400 (0:00:00.037) 0:00:38.278 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:05:15 -0400 (0:00:00.030) 0:00:38.309 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:05:16 -0400 (0:00:00.306) 0:00:38.616 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:05:16 -0400 (0:00:00.048) 0:00:38.664 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579110.6251512, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1754579088.1069794, "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": 1754579088.1069794, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073698670269", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:05:16 -0400 (0:00:00.310) 0:00:38.975 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579088.0949793, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1754579087.7309759, "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": 1754579087.7309759, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "18446744073698670263", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:05:16 -0400 (0:00:00.281) 0:00:39.257 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004572", "end": "2025-08-07 11:05:16.852784", "rc": 0, "start": "2025-08-07 11:05:16.848212" } 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:05:17 -0400 (0:00:00.288) 0:00:39.545 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:05:17 -0400 (0:00:00.032) 0:00:39.577 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:05:17 -0400 (0:00:00.276) 0:00:39.854 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:05:17 -0400 (0:00:00.270) 0:00:40.125 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:05:18 -0400 (0:00:00.301) 0:00:40.426 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:05:18 -0400 (0:00:00.030) 0:00:40.457 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:05:18 -0400 (0:00:00.027) 0:00:40.485 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:05:18 -0400 (0:00:00.027) 0:00:40.512 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 07 August 2025 11:05:18 -0400 (0:00:00.022) 0:00:40.535 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 07 August 2025 11:05:18 -0400 (0:00:00.028) 0:00:40.564 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:05:18 -0400 (0:00:00.061) 0:00:40.626 ******* included: /tmp/collections-2SE/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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:05:18 -0400 (0:00:00.029) 0:00:40.655 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:05:18 -0400 (0:00:00.020) 0:00:40.676 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:05:18 -0400 (0:00:00.022) 0:00:40.699 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:05:18 -0400 (0:00:00.021) 0:00:40.720 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:05:18 -0400 (0:00:00.069) 0:00:40.790 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:05:18 -0400 (0:00:00.021) 0:00:40.812 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:05:18 -0400 (0:00:00.036) 0:00:40.848 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:05:19 -0400 (0:00:00.597) 0:00:41.445 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579110.6251512, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1754579088.1069794, "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": 1754579088.1069794, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073698670269", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:05:19 -0400 (0:00:00.293) 0:00:41.739 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:05:19 -0400 (0:00:00.020) 0:00:41.759 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:05:19 -0400 (0:00:00.024) 0:00:41.784 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:05:19 -0400 (0:00:00.282) 0:00:42.067 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:05:19 -0400 (0:00:00.038) 0:00:42.105 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579110.6251512, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1754579088.1069794, "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": 1754579088.1069794, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073698670269", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:05:19 -0400 (0:00:00.285) 0:00:42.390 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579088.0949793, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1754579087.7309759, "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": 1754579087.7309759, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "18446744073698670263", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:05:20 -0400 (0:00:00.299) 0:00:42.690 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004054", "end": "2025-08-07 11:05:20.498562", "rc": 0, "start": "2025-08-07 11:05:20.494508" } 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:05:20 -0400 (0:00:00.269) 0:00:42.959 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:05:20 -0400 (0:00:00.022) 0:00:42.982 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:05:20 -0400 (0:00:00.274) 0:00:43.257 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:05:21 -0400 (0:00:00.313) 0:00:43.570 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:05:21 -0400 (0:00:00.259) 0:00:43.829 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:05:21 -0400 (0:00:00.019) 0:00:43.849 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:05:21 -0400 (0:00:00.018) 0:00:43.867 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:05:21 -0400 (0:00:00.018) 0:00:43.886 ******* 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 test=kernel", "default": true, "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", "default": false, "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", "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", "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 for Clone1] ********************************************** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:52 Thursday 07 August 2025 11:05:21 -0400 (0:00:00.272) 0:00:44.158 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:62 Thursday 07 August 2025 11:05:21 -0400 (0:00:00.030) 0:00:44.189 ******* included: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Copy kernel and initrd for test purposes from /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Thursday 07 August 2025 11:05:21 -0400 (0:00:00.044) 0:00:44.234 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:17 Thursday 07 August 2025 11:05:22 -0400 (0:00:00.706) 0:00:44.940 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:05:22 -0400 (0:00:00.042) 0:00:44.983 ******* included: /tmp/collections-2SE/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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:05:22 -0400 (0:00:00.039) 0:00:45.023 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:05:22 -0400 (0:00:00.026) 0:00:45.049 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:05:22 -0400 (0:00:00.023) 0:00:45.072 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:05:22 -0400 (0:00:00.018) 0:00:45.091 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:05:22 -0400 (0:00:00.045) 0:00:45.136 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:05:22 -0400 (0:00:00.019) 0:00:45.155 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:05:22 -0400 (0:00:00.052) 0:00:45.208 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:05:23 -0400 (0:00:00.610) 0:00:45.818 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579110.6251512, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1754579088.1069794, "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": 1754579088.1069794, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073698670269", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:05:23 -0400 (0:00:00.307) 0:00:46.125 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:05:23 -0400 (0:00:00.028) 0:00:46.154 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:05:23 -0400 (0:00:00.026) 0:00:46.180 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:05:24 -0400 (0:00:00.366) 0:00:46.546 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:05:24 -0400 (0:00:00.049) 0:00:46.595 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579110.6251512, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1754579088.1069794, "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": 1754579088.1069794, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744073698670269", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:05:24 -0400 (0:00:00.300) 0:00:46.896 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579088.0949793, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1754579087.7309759, "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": 1754579087.7309759, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "18446744073698670263", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:05:24 -0400 (0:00:00.300) 0:00:47.196 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004301", "end": "2025-08-07 11:05:25.018835", "rc": 0, "start": "2025-08-07 11:05:25.014534" } 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:05:25 -0400 (0:00:00.289) 0:00:47.485 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:05:25 -0400 (0:00:00.025) 0:00:47.511 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:05:25 -0400 (0:00:00.268) 0:00:47.780 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:05:25 -0400 (0:00:00.265) 0:00:48.045 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:05:25 -0400 (0:00:00.291) 0:00:48.337 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:05:25 -0400 (0:00:00.022) 0:00:48.359 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:05:25 -0400 (0:00:00.018) 0:00:48.378 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:05:25 -0400 (0:00:00.023) 0:00:48.402 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 07 August 2025 11:05:25 -0400 (0:00:00.013) 0:00:48.415 ******* 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.017363", "end": "2025-08-07 11:05:26.231035", "rc": 0, "start": "2025-08-07 11:05:26.213672" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel" 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 test=kernel" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 07 August 2025 11:05:26 -0400 (0:00:00.273) 0:00:48.689 ******* included: /tmp/collections-2SE/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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 07 August 2025 11:05:26 -0400 (0:00:00.022) 0:00:48.711 ******* changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 07 August 2025 11:05:48 -0400 (0:00:22.117) 0:01:10.829 ******* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 07 August 2025 11:05:48 -0400 (0:00:00.030) 0:01:10.859 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:36 Thursday 07 August 2025 11:05:48 -0400 (0:00:00.035) 0:01:10.895 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:40 Thursday 07 August 2025 11:05:48 -0400 (0:00:00.025) 0:01:10.920 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:05:48 -0400 (0:00:00.081) 0:01:11.002 ******* included: /tmp/collections-2SE/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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:05:48 -0400 (0:00:00.032) 0:01:11.034 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:05:48 -0400 (0:00:00.021) 0:01:11.055 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:05:48 -0400 (0:00:00.018) 0:01:11.074 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:05:48 -0400 (0:00:00.018) 0:01:11.093 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:05:48 -0400 (0:00:00.055) 0:01:11.148 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:05:48 -0400 (0:00:00.029) 0:01:11.178 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:05:48 -0400 (0:00:00.052) 0:01:11.231 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:05:49 -0400 (0:00:00.709) 0:01:11.940 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579126.2293615, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1754579126.2283614, "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": 1754579126.2283614, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744071820273389", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:05:49 -0400 (0:00:00.289) 0:01:12.230 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:05:49 -0400 (0:00:00.021) 0:01:12.251 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:05:49 -0400 (0:00:00.019) 0:01:12.271 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.275) 0:01:12.547 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.047) 0:01:12.594 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579126.2293615, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1754579126.2283614, "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": 1754579126.2283614, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744071820273389", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.313) 0:01:12.908 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579126.2163615, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8fe5962fc8399d68cc1b8c59a5473cbb4f0072aa", "ctime": 1754579125.8713593, "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": 1754579125.8713593, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 6046, "uid": 0, "version": "18446744071820273383", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:05:50 -0400 (0:00:00.312) 0:01:13.221 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004870", "end": "2025-08-07 11:05:51.003003", "rc": 0, "start": "2025-08-07 11:05:50.998133" } 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:05:51 -0400 (0:00:00.310) 0:01:13.531 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:05:51 -0400 (0:00:00.038) 0:01:13.570 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:05:51 -0400 (0:00:00.313) 0:01:13.884 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:05:51 -0400 (0:00:00.266) 0:01:14.150 ******* ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:05:51 -0400 (0:00:00.271) 0:01:14.422 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:05:52 -0400 (0:00:00.019) 0:01:14.442 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:05:52 -0400 (0:00:00.017) 0:01:14.459 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:05:52 -0400 (0:00:00.026) 0:01:14.486 ******* 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 test=kernel", "default": true, "index": "1", "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", "default": false, "index": "2", "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", "default": false, "index": "3", "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", "default": false, "index": "4", "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": "5", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings for Clone2] ********************************************** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:69 Thursday 07 August 2025 11:05:52 -0400 (0:00:00.316) 0:01:14.803 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Try to configure two default kernels] ************************************ task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Thursday 07 August 2025 11:05:52 -0400 (0:00:00.041) 0:01:14.845 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:05:52 -0400 (0:00:00.075) 0:01:14.921 ******* included: /tmp/collections-2SE/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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:05:52 -0400 (0:00:00.037) 0:01:14.958 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:05:52 -0400 (0:00:00.027) 0:01:14.986 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:05:52 -0400 (0:00:00.025) 0:01:15.012 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:05:52 -0400 (0:00:00.023) 0:01:15.036 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:05:52 -0400 (0:00:00.047) 0:01:15.083 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:05:52 -0400 (0:00:00.018) 0:01:15.101 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:05:52 -0400 (0:00:00.037) 0:01:15.138 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:05:53 -0400 (0:00:00.585) 0:01:15.724 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579126.2293615, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1754579126.2283614, "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": 1754579126.2283614, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744071820273389", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:05:53 -0400 (0:00:00.305) 0:01:16.029 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:05:53 -0400 (0:00:00.029) 0:01:16.058 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:05:53 -0400 (0:00:00.029) 0:01:16.087 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:05:53 -0400 (0:00:00.268) 0:01:16.356 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:05:53 -0400 (0:00:00.039) 0:01:16.396 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579126.2293615, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1754579126.2283614, "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": 1754579126.2283614, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744071820273389", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:05:54 -0400 (0:00:00.289) 0:01:16.685 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579126.2163615, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8fe5962fc8399d68cc1b8c59a5473cbb4f0072aa", "ctime": 1754579125.8713593, "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": 1754579125.8713593, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 6046, "uid": 0, "version": "18446744071820273383", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:05:54 -0400 (0:00:00.303) 0:01:16.988 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004359", "end": "2025-08-07 11:05:54.823030", "rc": 0, "start": "2025-08-07 11:05:54.818671" } 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:05:54 -0400 (0:00:00.298) 0:01:17.287 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:05:54 -0400 (0:00:00.023) 0:01:17.311 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:05:55 -0400 (0:00:00.295) 0:01:17.607 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:05:55 -0400 (0:00:00.316) 0:01:17.923 ******* fatal: [managed-node1]: FAILED! => { "changed": false } MSG: Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1, /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2 TASK [Assert that the role failed with multiple default kernels set] *********** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:97 Thursday 07 August 2025 11:05:55 -0400 (0:00:00.274) 0:01:18.198 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:101 Thursday 07 August 2025 11:05:55 -0400 (0:00:00.022) 0:01:18.220 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:05:55 -0400 (0:00:00.109) 0:01:18.329 ******* included: /tmp/collections-2SE/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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:05:55 -0400 (0:00:00.033) 0:01:18.363 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:05:55 -0400 (0:00:00.025) 0:01:18.389 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:05:55 -0400 (0:00:00.025) 0:01:18.415 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:05:56 -0400 (0:00:00.026) 0:01:18.441 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:05:56 -0400 (0:00:00.049) 0:01:18.491 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:05:56 -0400 (0:00:00.020) 0:01:18.511 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:05:56 -0400 (0:00:00.038) 0:01:18.549 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:05:56 -0400 (0:00:00.628) 0:01:19.178 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579126.2293615, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1754579126.2283614, "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": 1754579126.2283614, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744071820273389", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.283) 0:01:19.462 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.021) 0:01:19.483 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.018) 0:01:19.502 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.276) 0:01:19.778 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.038) 0:01:19.817 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579126.2293615, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1754579126.2283614, "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": 1754579126.2283614, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744071820273389", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.299) 0:01:20.116 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579126.2163615, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8fe5962fc8399d68cc1b8c59a5473cbb4f0072aa", "ctime": 1754579125.8713593, "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": 1754579125.8713593, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 6046, "uid": 0, "version": "18446744071820273383", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:05:57 -0400 (0:00:00.300) 0:01:20.417 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004696", "end": "2025-08-07 11:05:58.251174", "rc": 0, "start": "2025-08-07 11:05:58.246478" } 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:05:58 -0400 (0:00:00.300) 0:01:20.717 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:05:58 -0400 (0:00:00.043) 0:01:20.760 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:05:58 -0400 (0:00:00.292) 0:01:21.052 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:05:58 -0400 (0:00:00.279) 0:01:21.332 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:05:59 -0400 (0:00:00.732) 0:01:22.065 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:05:59 -0400 (0:00:00.020) 0:01:22.085 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:05:59 -0400 (0:00:00.021) 0:01:22.106 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:05:59 -0400 (0:00:00.019) 0:01:22.126 ******* 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", "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", "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", "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 [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:118 Thursday 07 August 2025 11:05:59 -0400 (0:00:00.274) 0:01:22.400 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Thursday 07 August 2025 11:06:00 -0400 (0:00:00.101) 0:01:22.501 ******* included: /tmp/collections-2SE/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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Thursday 07 August 2025 11:06:00 -0400 (0:00:00.028) 0:01:22.529 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Thursday 07 August 2025 11:06:00 -0400 (0:00:00.021) 0:01:22.551 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Thursday 07 August 2025 11:06:00 -0400 (0:00:00.019) 0:01:22.570 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Thursday 07 August 2025 11:06:00 -0400 (0:00:00.017) 0:01:22.588 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Thursday 07 August 2025 11:06:00 -0400 (0:00:00.051) 0:01:22.639 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check bootloader settings for boolean and null values] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:15 Thursday 07 August 2025 11:06:00 -0400 (0:00:00.018) 0:01:22.658 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 Thursday 07 August 2025 11:06:00 -0400 (0:00:00.034) 0:01:22.693 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Thursday 07 August 2025 11:06:00 -0400 (0:00:00.547) 0:01:23.240 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579126.2293615, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1754579126.2283614, "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": 1754579126.2283614, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744071820273389", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:39 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.270) 0:01:23.511 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:46 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.021) 0:01:23.532 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.020) 0:01:23.553 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:61 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.250) 0:01:23.803 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.033) 0:01:23.836 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579126.2293615, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "816efca0b8b9d8fc0031098ee7a30bf1e178245b", "ctime": 1754579126.2283614, "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": 1754579126.2283614, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "version": "18446744071820273389", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.273) 0:01:24.110 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1754579159.9206595, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dd4a829b9057a88b4d1c0d9b50cfc16c28a1c3b5", "ctime": 1754579159.5976574, "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": 1754579159.5976574, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5233, "uid": 0, "version": "804985348", "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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 Thursday 07 August 2025 11:06:01 -0400 (0:00:00.281) 0:01:24.392 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004489", "end": "2025-08-07 11:06:02.194098", "rc": 0, "start": "2025-08-07 11:06:02.189609" } 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:91 Thursday 07 August 2025 11:06:02 -0400 (0:00:00.266) 0:01:24.658 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 Thursday 07 August 2025 11:06:02 -0400 (0:00:00.024) 0:01:24.683 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 Thursday 07 August 2025 11:06:02 -0400 (0:00:00.270) 0:01:24.953 ******* ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 Thursday 07 August 2025 11:06:02 -0400 (0:00:00.271) 0:01:25.225 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Thursday 07 August 2025 11:06:03 -0400 (0:00:00.287) 0:01:25.513 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:136 Thursday 07 August 2025 11:06:03 -0400 (0:00:00.022) 0:01:25.535 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:144 Thursday 07 August 2025 11:06:03 -0400 (0:00:00.018) 0:01:25.553 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 Thursday 07 August 2025 11:06:03 -0400 (0:00:00.019) 0:01:25.574 ******* 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", "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", "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", "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 kernel is removed {{ item }}] ******************************** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:128 Thursday 07 August 2025 11:06:03 -0400 (0:00:00.274) 0:01:25.849 ******* ok: [managed-node1] => (item=Clone1) => { "ansible_loop_var": "item", "changed": false, "item": "Clone1" } MSG: All assertions passed ok: [managed-node1] => (item=Clone2) => { "ansible_loop_var": "item", "changed": false, "item": "Clone2" } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:138 Thursday 07 August 2025 11:06:03 -0400 (0:00:00.037) 0:01:25.887 ******* 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.011959", "end": "2025-08-07 11:06:03.695941", "failed_when_result": false, "item": 1, "rc": 0, "start": "2025-08-07 11:06:03.683982" } 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.011951", "end": "2025-08-07 11:06:03.955787", "failed_when_result": false, "item": 2, "rc": 0, "start": "2025-08-07 11:06:03.943836" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 07 August 2025 11:06:03 -0400 (0:00:00.529) 0:01:26.416 ******* 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.016788", "end": "2025-08-07 11:06:04.234938", "rc": 0, "start": "2025-08-07 11:06:04.218150" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel" 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" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 07 August 2025 11:06:04 -0400 (0:00:00.280) 0:01:26.696 ******* included: /tmp/collections-2SE/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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 07 August 2025 11:06:04 -0400 (0:00:00.022) 0:01:26.718 ******* changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 07 August 2025 11:06:26 -0400 (0:00:22.058) 0:01:48.777 ******* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 07 August 2025 11:06:26 -0400 (0:00:00.018) 0:01:48.795 ******* 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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Thursday 07 August 2025 11:06:26 -0400 (0:00:00.022) 0:01:48.818 ******* 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.027576", "end": "2025-08-07 11:06:26.522036", "rc": 0, "start": "2025-08-07 11:06:26.494460" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" 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" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Thursday 07 August 2025 11:06:26 -0400 (0:00:00.286) 0:01:49.104 ******* included: /tmp/collections-2SE/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-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Thursday 07 August 2025 11:06:26 -0400 (0:00:00.020) 0:01:49.125 ******* changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Thursday 07 August 2025 11:06:49 -0400 (0:00:22.322) 0:02:11.447 ******* skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Thursday 07 August 2025 11:06:49 -0400 (0:00:00.018) 0:02:11.465 ******* ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=150 changed=15 unreachable=0 failed=0 skipped=122 rescued=1 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.9.27", "end_time": "2025-08-07T15:05:55.771055Z", "host": "managed-node1", "message": "Only one kernel can be set as default. Found 2 kernels with 'default: true' - /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1, /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "start_time": "2025-08-07T15:05:55.501827Z", "task_name": "Ensure boot loader settings", "task_path": "/tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 07 August 2025 11:06:49 -0400 (0:00:00.024) 0:02:11.490 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 22.32s /tmp/collections-2SE/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.12s /tmp/collections-2SE/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.06s /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 21.80s /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.81s /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.84s /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:25 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 1.38s /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:151 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 1.27s /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:99 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.24s /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 1.22s /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:85 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 1.19s /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:77 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.18s /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 1.16s /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 1.15s /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:107 fedora.linux_system_roles.bootloader : Determine platform type ---------- 1.10s /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.06s /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:114 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.93s /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:56 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.92s /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:31 Gather architecture facts ----------------------------------------------- 0.92s /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.91s /tmp/collections-2SE/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:72