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-ZGA/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-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Monday 23 June 2025 13:34:40 -0400 (0:00:00.028) 0:00:00.028 *********** included: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Monday 23 June 2025 13:34:40 -0400 (0:00:00.083) 0:00:00.111 *********** ok: [managed-node1] META: end_host conditional evaluated to false, continuing execution for managed-node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Monday 23 June 2025 13:34:41 -0400 (0:00:00.988) 0:00:01.100 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 23 June 2025 13:34:41 -0400 (0:00:00.063) 0:00:01.164 *********** included: /tmp/collections-ZGA/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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 23 June 2025 13:34:41 -0400 (0:00:00.029) 0:00:01.193 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 23 June 2025 13:34:41 -0400 (0:00:00.021) 0:00:01.215 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 23 June 2025 13:34:42 -0400 (0:00:00.397) 0:00:01.612 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 23 June 2025 13:34:42 -0400 (0:00:00.041) 0:00:01.654 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 23 June 2025 13:34:42 -0400 (0:00:00.074) 0:00:01.728 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 23 June 2025 13:34:42 -0400 (0:00:00.032) 0:00:01.761 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 23 June 2025 13:34:43 -0400 (0:00:00.913) 0:00:02.674 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 23 June 2025 13:34:43 -0400 (0:00:00.296) 0:00:02.971 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 23 June 2025 13:34:43 -0400 (0:00:00.035) 0:00:03.006 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 23 June 2025 13:34:43 -0400 (0:00:00.034) 0:00:03.041 *********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 23 June 2025 13:34:43 -0400 (0:00:00.282) 0:00:03.323 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 23 June 2025 13:34:43 -0400 (0:00:00.034) 0:00:03.358 *********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750700083.4537, "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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 23 June 2025 13:34:44 -0400 (0:00:00.305) 0:00:03.664 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 23 June 2025 13:34:44 -0400 (0:00:00.336) 0:00:04.000 *********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004220", "end": "2025-06-23 13:34:44.933952", "rc": 0, "start": "2025-06-23 13:34:44.929732" } 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 23 June 2025 13:34:45 -0400 (0:00:00.445) 0:00:04.446 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 23 June 2025 13:34:45 -0400 (0:00:00.036) 0:00:04.482 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 23 June 2025 13:34:45 -0400 (0:00:00.460) 0:00:04.942 *********** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 23 June 2025 13:34:45 -0400 (0:00:00.285) 0:00:05.228 *********** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 23 June 2025 13:34:46 -0400 (0:00:00.444) 0:00:05.672 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 23 June 2025 13:34:46 -0400 (0:00:00.029) 0:00:05.702 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 23 June 2025 13:34:46 -0400 (0:00:00.024) 0:00:05.726 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 23 June 2025 13:34:46 -0400 (0:00:00.021) 0:00:05.747 *********** 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 [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Monday 23 June 2025 13:34:46 -0400 (0:00:00.513) 0:00:06.261 *********** included: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Monday 23 June 2025 13:34:46 -0400 (0:00:00.060) 0:00:06.322 *********** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Monday 23 June 2025 13:34:46 -0400 (0:00:00.028) 0:00:06.351 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Monday 23 June 2025 13:34:47 -0400 (0:00:00.892) 0:00:07.243 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 23 June 2025 13:34:47 -0400 (0:00:00.079) 0:00:07.322 *********** included: /tmp/collections-ZGA/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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 23 June 2025 13:34:47 -0400 (0:00:00.033) 0:00:07.356 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 23 June 2025 13:34:47 -0400 (0:00:00.024) 0:00:07.380 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 23 June 2025 13:34:47 -0400 (0:00:00.022) 0:00:07.402 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 23 June 2025 13:34:47 -0400 (0:00:00.026) 0:00:07.429 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 23 June 2025 13:34:48 -0400 (0:00:00.076) 0:00:07.505 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 23 June 2025 13:34:48 -0400 (0:00:00.025) 0:00:07.531 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 23 June 2025 13:34:48 -0400 (0:00:00.628) 0:00:08.160 *********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750700083.4537, "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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 23 June 2025 13:34:49 -0400 (0:00:00.316) 0:00:08.477 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 23 June 2025 13:34:49 -0400 (0:00:00.021) 0:00:08.498 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 23 June 2025 13:34:49 -0400 (0:00:00.023) 0:00:08.522 *********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 23 June 2025 13:34:49 -0400 (0:00:00.268) 0:00:08.790 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 23 June 2025 13:34:49 -0400 (0:00:00.055) 0:00:08.846 *********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750700083.4537, "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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 23 June 2025 13:34:49 -0400 (0:00:00.346) 0:00:09.193 *********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750700084.489704, "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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 23 June 2025 13:34:50 -0400 (0:00:00.354) 0:00:09.547 *********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004169", "end": "2025-06-23 13:34:50.373158", "rc": 0, "start": "2025-06-23 13:34:50.368989" } 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 23 June 2025 13:34:50 -0400 (0:00:00.332) 0:00:09.879 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 23 June 2025 13:34:50 -0400 (0:00:00.036) 0:00:09.915 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 23 June 2025 13:34:50 -0400 (0:00:00.283) 0:00:10.199 *********** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 23 June 2025 13:34:51 -0400 (0:00:00.283) 0:00:10.482 *********** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node1 changed: [managed-node1] => { "actions": [ "grubby --initrd=/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 23 June 2025 13:34:51 -0400 (0:00:00.463) 0:00:10.946 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 23 June 2025 13:34:51 -0400 (0:00:00.034) 0:00:10.981 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 23 June 2025 13:34:51 -0400 (0:00:00.033) 0:00:11.014 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 23 June 2025 13:34:51 -0400 (0:00:00.030) 0:00:11.045 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 23 June 2025 13:34:51 -0400 (0:00:00.022) 0:00:11.068 *********** 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.017401", "end": "2025-06-23 13:34:51.913516", "rc": 0, "start": "2025-06-23 13:34:51.896115" } 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="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" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 23 June 2025 13:34:51 -0400 (0:00:00.336) 0:00:11.404 *********** included: /tmp/collections-ZGA/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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 23 June 2025 13:34:51 -0400 (0:00:00.039) 0:00:11.444 *********** changed: [managed-node1] => { "changed": true, "elapsed": 29, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 23 June 2025 13:35:22 -0400 (0:00:30.828) 0:00:42.272 *********** skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 23 June 2025 13:35:22 -0400 (0:00:00.032) 0:00:42.305 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Monday 23 June 2025 13:35:22 -0400 (0:00:00.048) 0:00:42.354 *********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Monday 23 June 2025 13:35:22 -0400 (0:00:00.035) 0:00:42.389 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 23 June 2025 13:35:23 -0400 (0:00:00.101) 0:00:42.491 *********** included: /tmp/collections-ZGA/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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 23 June 2025 13:35:23 -0400 (0:00:00.040) 0:00:42.532 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 23 June 2025 13:35:23 -0400 (0:00:00.026) 0:00:42.558 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 23 June 2025 13:35:23 -0400 (0:00:00.021) 0:00:42.579 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 23 June 2025 13:35:23 -0400 (0:00:00.022) 0:00:42.602 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 23 June 2025 13:35:23 -0400 (0:00:00.063) 0:00:42.665 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 23 June 2025 13:35:23 -0400 (0:00:00.033) 0:00:42.699 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 23 June 2025 13:35:24 -0400 (0:00:00.763) 0:00:43.463 *********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750700091.9117312, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1750700091.9117312, "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": 1750700091.9117312, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "44599616", "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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 23 June 2025 13:35:24 -0400 (0:00:00.303) 0:00:43.767 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 23 June 2025 13:35:24 -0400 (0:00:00.029) 0:00:43.797 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 23 June 2025 13:35:24 -0400 (0:00:00.030) 0:00:43.827 *********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 23 June 2025 13:35:24 -0400 (0:00:00.265) 0:00:44.093 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 23 June 2025 13:35:24 -0400 (0:00:00.044) 0:00:44.138 *********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750700124.2602606, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1750700091.9117312, "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": 1750700091.9117312, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "44599616", "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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 23 June 2025 13:35:24 -0400 (0:00:00.299) 0:00:44.437 *********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750700091.8997312, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1750700091.4447296, "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": 1750700091.4447296, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "44599610", "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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 23 June 2025 13:35:25 -0400 (0:00:00.285) 0:00:44.723 *********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005090", "end": "2025-06-23 13:35:25.533969", "rc": 0, "start": "2025-06-23 13:35:25.528879" } 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 23 June 2025 13:35:25 -0400 (0:00:00.295) 0:00:45.019 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 23 June 2025 13:35:25 -0400 (0:00:00.033) 0:00:45.053 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 23 June 2025 13:35:25 -0400 (0:00:00.293) 0:00:45.347 *********** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 23 June 2025 13:35:26 -0400 (0:00:00.286) 0:00:45.634 *********** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 23 June 2025 13:35:26 -0400 (0:00:00.307) 0:00:45.941 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 23 June 2025 13:35:26 -0400 (0:00:00.024) 0:00:45.965 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 23 June 2025 13:35:26 -0400 (0:00:00.020) 0:00:45.986 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 23 June 2025 13:35:26 -0400 (0:00:00.022) 0:00:46.008 *********** 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": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "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 [Verify settings] ********************************************************* task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Monday 23 June 2025 13:35:26 -0400 (0:00:00.300) 0:00:46.309 *********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Monday 23 June 2025 13:35:26 -0400 (0:00:00.028) 0:00:46.338 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 23 June 2025 13:35:26 -0400 (0:00:00.089) 0:00:46.427 *********** included: /tmp/collections-ZGA/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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 23 June 2025 13:35:27 -0400 (0:00:00.031) 0:00:46.458 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 23 June 2025 13:35:27 -0400 (0:00:00.024) 0:00:46.482 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 23 June 2025 13:35:27 -0400 (0:00:00.021) 0:00:46.504 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 23 June 2025 13:35:27 -0400 (0:00:00.023) 0:00:46.527 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 23 June 2025 13:35:27 -0400 (0:00:00.052) 0:00:46.579 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 23 June 2025 13:35:27 -0400 (0:00:00.022) 0:00:46.601 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 23 June 2025 13:35:27 -0400 (0:00:00.573) 0:00:47.175 *********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750700124.2602606, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1750700091.9117312, "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": 1750700091.9117312, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "44599616", "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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 23 June 2025 13:35:28 -0400 (0:00:00.287) 0:00:47.463 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 23 June 2025 13:35:28 -0400 (0:00:00.024) 0:00:47.487 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 23 June 2025 13:35:28 -0400 (0:00:00.022) 0:00:47.509 *********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 23 June 2025 13:35:28 -0400 (0:00:00.270) 0:00:47.779 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 23 June 2025 13:35:28 -0400 (0:00:00.036) 0:00:47.816 *********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750700124.2602606, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1750700091.9117312, "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": 1750700091.9117312, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "44599616", "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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 23 June 2025 13:35:28 -0400 (0:00:00.285) 0:00:48.102 *********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750700091.8997312, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1750700091.4447296, "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": 1750700091.4447296, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "44599610", "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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 23 June 2025 13:35:28 -0400 (0:00:00.290) 0:00:48.392 *********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005395", "end": "2025-06-23 13:35:29.194066", "rc": 0, "start": "2025-06-23 13:35:29.188671" } 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 23 June 2025 13:35:29 -0400 (0:00:00.283) 0:00:48.675 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 23 June 2025 13:35:29 -0400 (0:00:00.027) 0:00:48.703 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 23 June 2025 13:35:29 -0400 (0:00:00.277) 0:00:48.981 *********** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 23 June 2025 13:35:29 -0400 (0:00:00.275) 0:00:49.257 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 23 June 2025 13:35:30 -0400 (0:00:00.295) 0:00:49.553 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 23 June 2025 13:35:30 -0400 (0:00:00.023) 0:00:49.576 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 23 June 2025 13:35:30 -0400 (0:00:00.020) 0:00:49.597 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 23 June 2025 13:35:30 -0400 (0:00:00.022) 0:00:49.619 *********** 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 Clone1 kernel is removed] ************************************ task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Monday 23 June 2025 13:35:30 -0400 (0:00:00.287) 0:00:49.907 *********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Monday 23 June 2025 13:35:30 -0400 (0:00:00.027) 0:00:49.935 *********** included: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Monday 23 June 2025 13:35:30 -0400 (0:00:00.054) 0:00:49.989 *********** ok: [managed-node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Monday 23 June 2025 13:35:30 -0400 (0:00:00.028) 0:00:50.017 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Monday 23 June 2025 13:35:31 -0400 (0:00:00.678) 0:00:50.695 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 23 June 2025 13:35:31 -0400 (0:00:00.039) 0:00:50.735 *********** included: /tmp/collections-ZGA/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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 23 June 2025 13:35:31 -0400 (0:00:00.032) 0:00:50.767 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 23 June 2025 13:35:31 -0400 (0:00:00.023) 0:00:50.791 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 23 June 2025 13:35:31 -0400 (0:00:00.022) 0:00:50.813 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 23 June 2025 13:35:31 -0400 (0:00:00.021) 0:00:50.834 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 23 June 2025 13:35:31 -0400 (0:00:00.057) 0:00:50.891 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 23 June 2025 13:35:31 -0400 (0:00:00.021) 0:00:50.913 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 23 June 2025 13:35:32 -0400 (0:00:00.583) 0:00:51.497 *********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750700124.2602606, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1750700091.9117312, "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": 1750700091.9117312, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "44599616", "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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 23 June 2025 13:35:32 -0400 (0:00:00.283) 0:00:51.781 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 23 June 2025 13:35:32 -0400 (0:00:00.023) 0:00:51.804 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 23 June 2025 13:35:32 -0400 (0:00:00.023) 0:00:51.828 *********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 23 June 2025 13:35:32 -0400 (0:00:00.262) 0:00:52.090 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 23 June 2025 13:35:32 -0400 (0:00:00.036) 0:00:52.127 *********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750700124.2602606, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1750700091.9117312, "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": 1750700091.9117312, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "44599616", "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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 23 June 2025 13:35:32 -0400 (0:00:00.292) 0:00:52.420 *********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750700130.410231, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1750700130.0712328, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1750700130.0712328, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "1618989626", "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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 23 June 2025 13:35:33 -0400 (0:00:00.295) 0:00:52.716 *********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004225", "end": "2025-06-23 13:35:33.519242", "rc": 0, "start": "2025-06-23 13:35:33.515017" } 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 23 June 2025 13:35:33 -0400 (0:00:00.284) 0:00:53.001 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 23 June 2025 13:35:33 -0400 (0:00:00.028) 0:00:53.029 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 23 June 2025 13:35:33 -0400 (0:00:00.282) 0:00:53.311 *********** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 23 June 2025 13:35:34 -0400 (0:00:00.281) 0:00:53.593 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 23 June 2025 13:35:34 -0400 (0:00:00.300) 0:00:53.893 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 23 June 2025 13:35:34 -0400 (0:00:00.022) 0:00:53.916 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 23 June 2025 13:35:34 -0400 (0:00:00.023) 0:00:53.940 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 23 June 2025 13:35:34 -0400 (0:00:00.022) 0:00:53.962 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 23 June 2025 13:35:34 -0400 (0:00:00.017) 0:00:53.980 *********** 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.016521", "end": "2025-06-23 13:35:34.787078", "rc": 0, "start": "2025-06-23 13:35:34.770557" } 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 23 June 2025 13:35:34 -0400 (0:00:00.281) 0:00:54.262 *********** included: /tmp/collections-ZGA/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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 23 June 2025 13:35:34 -0400 (0:00:00.024) 0:00:54.287 *********** changed: [managed-node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 23 June 2025 13:35:56 -0400 (0:00:22.026) 0:01:16.313 *********** skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 23 June 2025 13:35:56 -0400 (0:00:00.021) 0:01:16.335 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 23 June 2025 13:35:56 -0400 (0:00:00.026) 0:01:16.362 *********** 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.026253", "end": "2025-06-23 13:35:57.201510", "rc": 0, "start": "2025-06-23 13:35:57.175257" } 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 23 June 2025 13:35:57 -0400 (0:00:00.312) 0:01:16.674 *********** included: /tmp/collections-ZGA/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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 23 June 2025 13:35:57 -0400 (0:00:00.023) 0:01:16.698 *********** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 23 June 2025 13:36:19 -0400 (0:00:22.689) 0:01:39.387 *********** skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 23 June 2025 13:36:19 -0400 (0:00:00.021) 0:01:39.409 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Monday 23 June 2025 13:36:19 -0400 (0:00:00.032) 0:01:39.441 *********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Monday 23 June 2025 13:36:20 -0400 (0:00:00.026) 0:01:39.467 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 23 June 2025 13:36:20 -0400 (0:00:00.071) 0:01:39.539 *********** included: /tmp/collections-ZGA/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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 23 June 2025 13:36:20 -0400 (0:00:00.032) 0:01:39.571 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 23 June 2025 13:36:20 -0400 (0:00:00.023) 0:01:39.595 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 23 June 2025 13:36:20 -0400 (0:00:00.021) 0:01:39.616 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 23 June 2025 13:36:20 -0400 (0:00:00.021) 0:01:39.638 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 23 June 2025 13:36:20 -0400 (0:00:00.053) 0:01:39.691 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 23 June 2025 13:36:20 -0400 (0:00:00.021) 0:01:39.713 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 23 June 2025 13:36:20 -0400 (0:00:00.702) 0:01:40.415 *********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750700157.2005334, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1750700157.2005334, "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": 1750700157.1995335, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072342675801", "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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 23 June 2025 13:36:21 -0400 (0:00:00.289) 0:01:40.704 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 23 June 2025 13:36:21 -0400 (0:00:00.024) 0:01:40.729 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 23 June 2025 13:36:21 -0400 (0:00:00.028) 0:01:40.757 *********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 23 June 2025 13:36:21 -0400 (0:00:00.259) 0:01:41.017 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 23 June 2025 13:36:21 -0400 (0:00:00.036) 0:01:41.053 *********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750700180.899867, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1750700157.2005334, "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": 1750700157.1995335, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072342675801", "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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 23 June 2025 13:36:21 -0400 (0:00:00.270) 0:01:41.323 *********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750700134.7742105, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dd4a829b9057a88b4d1c0d9b50cfc16c28a1c3b5", "ctime": 1750700134.4112122, "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": 1750700134.4112122, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5233, "uid": 0, "version": "1618989690", "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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 23 June 2025 13:36:22 -0400 (0:00:00.275) 0:01:41.599 *********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004338", "end": "2025-06-23 13:36:22.099313", "rc": 0, "start": "2025-06-23 13:36:22.094975" } 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 23 June 2025 13:36:22 -0400 (0:00:00.267) 0:01:41.866 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 23 June 2025 13:36:22 -0400 (0:00:00.026) 0:01:41.893 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 23 June 2025 13:36:22 -0400 (0:00:00.268) 0:01:42.161 *********** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 23 June 2025 13:36:22 -0400 (0:00:00.264) 0:01:42.425 *********** ok: [managed-node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 23 June 2025 13:36:23 -0400 (0:00:00.257) 0:01:42.682 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 23 June 2025 13:36:23 -0400 (0:00:00.022) 0:01:42.705 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 23 June 2025 13:36:23 -0400 (0:00:00.019) 0:01:42.725 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 23 June 2025 13:36:23 -0400 (0:00:00.021) 0:01:42.746 *********** 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 [Verify settings] ********************************************************* task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Monday 23 June 2025 13:36:23 -0400 (0:00:00.284) 0:01:43.031 *********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Monday 23 June 2025 13:36:23 -0400 (0:00:00.027) 0:01:43.058 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 23 June 2025 13:36:23 -0400 (0:00:00.114) 0:01:43.172 *********** included: /tmp/collections-ZGA/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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 23 June 2025 13:36:23 -0400 (0:00:00.031) 0:01:43.204 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 23 June 2025 13:36:23 -0400 (0:00:00.022) 0:01:43.226 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 23 June 2025 13:36:23 -0400 (0:00:00.021) 0:01:43.248 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 23 June 2025 13:36:23 -0400 (0:00:00.020) 0:01:43.268 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 23 June 2025 13:36:23 -0400 (0:00:00.051) 0:01:43.319 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 23 June 2025 13:36:23 -0400 (0:00:00.020) 0:01:43.340 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Monday 23 June 2025 13:36:24 -0400 (0:00:00.560) 0:01:43.900 *********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750700180.899867, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1750700157.2005334, "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": 1750700157.1995335, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072342675801", "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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Monday 23 June 2025 13:36:24 -0400 (0:00:00.269) 0:01:44.169 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Monday 23 June 2025 13:36:24 -0400 (0:00:00.023) 0:01:44.193 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Monday 23 June 2025 13:36:24 -0400 (0:00:00.020) 0:01:44.214 *********** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Monday 23 June 2025 13:36:25 -0400 (0:00:00.252) 0:01:44.466 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Monday 23 June 2025 13:36:25 -0400 (0:00:00.035) 0:01:44.502 *********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750700180.899867, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1750700157.2005334, "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": 1750700157.1995335, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072342675801", "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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Monday 23 June 2025 13:36:25 -0400 (0:00:00.271) 0:01:44.773 *********** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1750700134.7742105, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dd4a829b9057a88b4d1c0d9b50cfc16c28a1c3b5", "ctime": 1750700134.4112122, "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": 1750700134.4112122, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5233, "uid": 0, "version": "1618989690", "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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Monday 23 June 2025 13:36:25 -0400 (0:00:00.277) 0:01:45.051 *********** ok: [managed-node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004068", "end": "2025-06-23 13:36:25.830646", "rc": 0, "start": "2025-06-23 13:36:25.826578" } 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Monday 23 June 2025 13:36:25 -0400 (0:00:00.265) 0:01:45.317 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Monday 23 June 2025 13:36:25 -0400 (0:00:00.026) 0:01:45.344 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Monday 23 June 2025 13:36:26 -0400 (0:00:00.260) 0:01:45.604 *********** ok: [managed-node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Monday 23 June 2025 13:36:26 -0400 (0:00:00.266) 0:01:45.871 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Monday 23 June 2025 13:36:26 -0400 (0:00:00.286) 0:01:46.157 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Monday 23 June 2025 13:36:26 -0400 (0:00:00.023) 0:01:46.180 *********** 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Monday 23 June 2025 13:36:26 -0400 (0:00:00.020) 0:01:46.201 *********** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Monday 23 June 2025 13:36:26 -0400 (0:00:00.020) 0:01:46.221 *********** 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 Clone2 kernel is removed] ************************************ task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Monday 23 June 2025 13:36:27 -0400 (0:00:00.274) 0:01:46.496 *********** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Monday 23 June 2025 13:36:27 -0400 (0:00:00.028) 0:01:46.525 *********** 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.010900", "end": "2025-06-23 13:36:27.310251", "failed_when_result": false, "item": 1, "rc": 0, "start": "2025-06-23 13:36:27.299351" } 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.011716", "end": "2025-06-23 13:36:27.570898", "failed_when_result": false, "item": 2, "rc": 0, "start": "2025-06-23 13:36:27.559182" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Monday 23 June 2025 13:36:27 -0400 (0:00:00.530) 0:01:47.055 *********** 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.016195", "end": "2025-06-23 13:36:27.854117", "rc": 0, "start": "2025-06-23 13:36:27.837922" } 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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Monday 23 June 2025 13:36:27 -0400 (0:00:00.283) 0:01:47.338 *********** included: /tmp/collections-ZGA/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-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Monday 23 June 2025 13:36:27 -0400 (0:00:00.023) 0:01:47.361 *********** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Monday 23 June 2025 13:36:51 -0400 (0:00:23.264) 0:02:10.626 *********** skipping: [managed-node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Monday 23 June 2025 13:36:51 -0400 (0:00:00.021) 0:02:10.647 *********** ok: [managed-node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=115 changed=15 unreachable=0 failed=0 skipped=81 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Monday 23 June 2025 13:36:51 -0400 (0:00:00.027) 0:02:10.674 *********** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 30.83s /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.26s /tmp/collections-ZGA/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.69s /tmp/collections-ZGA/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.03s /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 2.38s /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.21s /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 1.10s /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 1.02s /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 1.01s /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 1.01s /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Gather architecture facts ----------------------------------------------- 0.99s /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.90s /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Clone test_kernel kernel and initrd for test purposes ------------------- 0.89s /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.89s /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.88s /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.84s /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.81s /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.76s /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Clone test_kernel kernel and initrd for test purposes ------------------- 0.68s /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.65s /tmp/collections-ZGA/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65