ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-kPy/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-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 04 January 2025 07:49:35 -0500 (0:00:00.055) 0:00:00.055 ****** included: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node3 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 04 January 2025 07:49:35 -0500 (0:00:00.138) 0:00:00.194 ****** ok: [managed-node3] META: end_host conditional evaluated to false, continuing execution for managed-node3 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 04 January 2025 07:49:36 -0500 (0:00:00.825) 0:00:01.019 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 January 2025 07:49:36 -0500 (0:00:00.092) 0:00:01.112 ****** included: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 January 2025 07:49:36 -0500 (0:00:00.038) 0:00:01.150 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 January 2025 07:49:36 -0500 (0:00:00.035) 0:00:01.185 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 January 2025 07:49:36 -0500 (0:00:00.449) 0:00:01.635 ****** ok: [managed-node3] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 January 2025 07:49:36 -0500 (0:00:00.027) 0:00:01.662 ****** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 January 2025 07:49:37 -0500 (0:00:00.059) 0:00:01.722 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 04 January 2025 07:49:37 -0500 (0:00:00.026) 0:00:01.749 ****** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 04 January 2025 07:49:37 -0500 (0:00:00.750) 0:00:02.499 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735994971.4567719, "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 04 January 2025 07:49:38 -0500 (0:00:00.300) 0:00:02.800 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 04 January 2025 07:49:38 -0500 (0:00:00.029) 0:00:02.829 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 04 January 2025 07:49:38 -0500 (0:00:00.029) 0:00:02.858 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 04 January 2025 07:49:38 -0500 (0:00:00.273) 0:00:03.132 ****** ok: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 04 January 2025 07:49:38 -0500 (0:00:00.037) 0:00:03.170 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735994971.4567719, "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 04 January 2025 07:49:38 -0500 (0:00:00.302) 0:00:03.472 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735994972.5347846, "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 04 January 2025 07:49:39 -0500 (0:00:00.317) 0:00:03.790 ****** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004062", "end": "2025-01-04 07:49:39.438595", "rc": 0, "start": "2025-01-04 07:49:39.434533" } 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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 04 January 2025 07:49:39 -0500 (0:00:00.390) 0:00:04.181 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 04 January 2025 07:49:39 -0500 (0:00:00.021) 0:00:04.202 ****** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 04 January 2025 07:49:39 -0500 (0:00:00.359) 0:00:04.562 ****** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 04 January 2025 07:49:40 -0500 (0:00:00.272) 0:00:04.834 ****** ok: [managed-node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 04 January 2025 07:49:40 -0500 (0:00:00.372) 0:00:05.207 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 04 January 2025 07:49:40 -0500 (0:00:00.023) 0:00:05.231 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 04 January 2025 07:49:40 -0500 (0:00:00.016) 0:00:05.248 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 04 January 2025 07:49:40 -0500 (0:00:00.018) 0:00:05.266 ****** ok: [managed-node3] => { "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-node3 META: ran handlers TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 04 January 2025 07:49:41 -0500 (0:00:00.468) 0:00:05.735 ****** included: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node3 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 04 January 2025 07:49:41 -0500 (0:00:00.048) 0:00:05.784 ****** ok: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 04 January 2025 07:49:41 -0500 (0:00:00.025) 0:00:05.810 ****** changed: [managed-node3] => (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-node3] => (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-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 04 January 2025 07:49:41 -0500 (0:00:00.846) 0:00:06.656 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 January 2025 07:49:42 -0500 (0:00:00.067) 0:00:06.724 ****** included: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 January 2025 07:49:42 -0500 (0:00:00.035) 0:00:06.760 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 January 2025 07:49:42 -0500 (0:00:00.023) 0:00:06.783 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 January 2025 07:49:42 -0500 (0:00:00.019) 0:00:06.803 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 January 2025 07:49:42 -0500 (0:00:00.023) 0:00:06.826 ****** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 January 2025 07:49:42 -0500 (0:00:00.043) 0:00:06.870 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 04 January 2025 07:49:42 -0500 (0:00:00.017) 0:00:06.887 ****** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 04 January 2025 07:49:42 -0500 (0:00:00.581) 0:00:07.469 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735994971.4567719, "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 04 January 2025 07:49:43 -0500 (0:00:00.290) 0:00:07.760 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 04 January 2025 07:49:43 -0500 (0:00:00.066) 0:00:07.827 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 04 January 2025 07:49:43 -0500 (0:00:00.069) 0:00:07.896 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 04 January 2025 07:49:43 -0500 (0:00:00.320) 0:00:08.217 ****** ok: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 04 January 2025 07:49:43 -0500 (0:00:00.045) 0:00:08.262 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735994971.4567719, "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 04 January 2025 07:49:43 -0500 (0:00:00.315) 0:00:08.577 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735994972.5347846, "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 04 January 2025 07:49:44 -0500 (0:00:00.314) 0:00:08.892 ****** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003859", "end": "2025-01-04 07:49:44.411591", "rc": 0, "start": "2025-01-04 07:49:44.407732" } 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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 04 January 2025 07:49:44 -0500 (0:00:00.264) 0:00:09.157 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 04 January 2025 07:49:44 -0500 (0:00:00.024) 0:00:09.182 ****** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 04 January 2025 07:49:44 -0500 (0:00:00.309) 0:00:09.491 ****** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 04 January 2025 07:49:45 -0500 (0:00:00.307) 0:00:09.799 ****** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node3 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node3 changed: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 04 January 2025 07:49:45 -0500 (0:00:00.544) 0:00:10.343 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 04 January 2025 07:49:45 -0500 (0:00:00.030) 0:00:10.374 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 04 January 2025 07:49:45 -0500 (0:00:00.026) 0:00:10.401 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 04 January 2025 07:49:45 -0500 (0:00:00.025) 0:00:10.426 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 04 January 2025 07:49:45 -0500 (0:00:00.019) 0:00:10.446 ****** changed: [managed-node3] => { "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.016286", "end": "2025-01-04 07:49:46.024570", "rc": 0, "start": "2025-01-04 07:49:46.008284" } 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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 04 January 2025 07:49:46 -0500 (0:00:00.330) 0:00:10.777 ****** included: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node3 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 04 January 2025 07:49:46 -0500 (0:00:00.034) 0:00:10.811 ****** changed: [managed-node3] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 04 January 2025 07:50:08 -0500 (0:00:22.330) 0:00:33.142 ****** skipping: [managed-node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 04 January 2025 07:50:08 -0500 (0:00:00.017) 0:00:33.160 ****** ok: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 04 January 2025 07:50:08 -0500 (0:00:00.024) 0:00:33.185 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 04 January 2025 07:50:08 -0500 (0:00:00.020) 0:00:33.206 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 January 2025 07:50:08 -0500 (0:00:00.055) 0:00:33.261 ****** included: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 January 2025 07:50:08 -0500 (0:00:00.026) 0:00:33.288 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 January 2025 07:50:08 -0500 (0:00:00.021) 0:00:33.309 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 January 2025 07:50:08 -0500 (0:00:00.017) 0:00:33.326 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 January 2025 07:50:08 -0500 (0:00:00.018) 0:00:33.345 ****** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 January 2025 07:50:08 -0500 (0:00:00.041) 0:00:33.387 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 04 January 2025 07:50:08 -0500 (0:00:00.017) 0:00:33.404 ****** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 04 January 2025 07:50:09 -0500 (0:00:00.668) 0:00:34.073 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735994986.0229406, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1735994986.0229406, "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": 1735994986.0229406, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744071745388056", "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 04 January 2025 07:50:09 -0500 (0:00:00.272) 0:00:34.346 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 04 January 2025 07:50:09 -0500 (0:00:00.018) 0:00:34.365 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 04 January 2025 07:50:09 -0500 (0:00:00.018) 0:00:34.383 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 04 January 2025 07:50:09 -0500 (0:00:00.251) 0:00:34.635 ****** ok: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 04 January 2025 07:50:09 -0500 (0:00:00.030) 0:00:34.665 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735995009.0034792, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1735994986.0229406, "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": 1735994986.0229406, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744071745388056", "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 04 January 2025 07:50:10 -0500 (0:00:00.288) 0:00:34.954 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735994986.0119405, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1735994985.5649354, "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": 1735994985.5649354, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "18446744071745388050", "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 04 January 2025 07:50:10 -0500 (0:00:00.287) 0:00:35.241 ****** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004378", "end": "2025-01-04 07:50:10.285855", "rc": 0, "start": "2025-01-04 07:50:10.281477" } 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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 04 January 2025 07:50:10 -0500 (0:00:00.270) 0:00:35.512 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 04 January 2025 07:50:10 -0500 (0:00:00.021) 0:00:35.533 ****** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 04 January 2025 07:50:11 -0500 (0:00:00.261) 0:00:35.794 ****** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 04 January 2025 07:50:11 -0500 (0:00:00.256) 0:00:36.050 ****** ok: [managed-node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 04 January 2025 07:50:11 -0500 (0:00:00.252) 0:00:36.302 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 04 January 2025 07:50:11 -0500 (0:00:00.020) 0:00:36.323 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 04 January 2025 07:50:11 -0500 (0:00:00.017) 0:00:36.340 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 04 January 2025 07:50:11 -0500 (0:00:00.018) 0:00:36.359 ****** ok: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 04 January 2025 07:50:11 -0500 (0:00:00.274) 0:00:36.633 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 04 January 2025 07:50:11 -0500 (0:00:00.024) 0:00:36.658 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 January 2025 07:50:12 -0500 (0:00:00.070) 0:00:36.729 ****** included: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 January 2025 07:50:12 -0500 (0:00:00.024) 0:00:36.753 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 January 2025 07:50:12 -0500 (0:00:00.019) 0:00:36.773 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 January 2025 07:50:12 -0500 (0:00:00.022) 0:00:36.795 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 January 2025 07:50:12 -0500 (0:00:00.016) 0:00:36.812 ****** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 January 2025 07:50:12 -0500 (0:00:00.047) 0:00:36.860 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 04 January 2025 07:50:12 -0500 (0:00:00.017) 0:00:36.877 ****** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 04 January 2025 07:50:12 -0500 (0:00:00.540) 0:00:37.417 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735995009.0034792, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1735994986.0229406, "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": 1735994986.0229406, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744071745388056", "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 04 January 2025 07:50:12 -0500 (0:00:00.268) 0:00:37.685 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 04 January 2025 07:50:13 -0500 (0:00:00.019) 0:00:37.704 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 04 January 2025 07:50:13 -0500 (0:00:00.019) 0:00:37.724 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 04 January 2025 07:50:13 -0500 (0:00:00.253) 0:00:37.977 ****** ok: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 04 January 2025 07:50:13 -0500 (0:00:00.030) 0:00:38.008 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735995009.0034792, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1735994986.0229406, "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": 1735994986.0229406, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744071745388056", "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 04 January 2025 07:50:13 -0500 (0:00:00.267) 0:00:38.275 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735994986.0119405, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1735994985.5649354, "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": 1735994985.5649354, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "18446744071745388050", "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 04 January 2025 07:50:13 -0500 (0:00:00.274) 0:00:38.549 ****** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004467", "end": "2025-01-04 07:50:13.862617", "rc": 0, "start": "2025-01-04 07:50:13.858150" } 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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 04 January 2025 07:50:14 -0500 (0:00:00.263) 0:00:38.813 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 04 January 2025 07:50:14 -0500 (0:00:00.022) 0:00:38.835 ****** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 04 January 2025 07:50:14 -0500 (0:00:00.267) 0:00:39.103 ****** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 04 January 2025 07:50:14 -0500 (0:00:00.261) 0:00:39.364 ****** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node3 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node3 changed: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 04 January 2025 07:50:14 -0500 (0:00:00.287) 0:00:39.651 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 04 January 2025 07:50:14 -0500 (0:00:00.020) 0:00:39.672 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 04 January 2025 07:50:14 -0500 (0:00:00.017) 0:00:39.689 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 04 January 2025 07:50:15 -0500 (0:00:00.018) 0:00:39.707 ****** ok: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 04 January 2025 07:50:15 -0500 (0:00:00.267) 0:00:39.975 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 04 January 2025 07:50:15 -0500 (0:00:00.022) 0:00:39.997 ****** included: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node3 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 04 January 2025 07:50:15 -0500 (0:00:00.043) 0:00:40.041 ****** ok: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 04 January 2025 07:50:15 -0500 (0:00:00.020) 0:00:40.062 ****** changed: [managed-node3] => (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-node3] => (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-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 04 January 2025 07:50:16 -0500 (0:00:00.640) 0:00:40.703 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 January 2025 07:50:16 -0500 (0:00:00.033) 0:00:40.736 ****** included: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 January 2025 07:50:16 -0500 (0:00:00.027) 0:00:40.764 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 January 2025 07:50:16 -0500 (0:00:00.018) 0:00:40.782 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 January 2025 07:50:16 -0500 (0:00:00.018) 0:00:40.801 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 January 2025 07:50:16 -0500 (0:00:00.015) 0:00:40.817 ****** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 January 2025 07:50:16 -0500 (0:00:00.043) 0:00:40.860 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 04 January 2025 07:50:16 -0500 (0:00:00.018) 0:00:40.878 ****** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 04 January 2025 07:50:16 -0500 (0:00:00.540) 0:00:41.419 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735995009.0034792, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1735994986.0229406, "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": 1735994986.0229406, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744071745388056", "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 04 January 2025 07:50:16 -0500 (0:00:00.268) 0:00:41.687 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 04 January 2025 07:50:17 -0500 (0:00:00.019) 0:00:41.707 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 04 January 2025 07:50:17 -0500 (0:00:00.017) 0:00:41.725 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 04 January 2025 07:50:17 -0500 (0:00:00.255) 0:00:41.981 ****** ok: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 04 January 2025 07:50:17 -0500 (0:00:00.030) 0:00:42.011 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735995009.0034792, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1735994986.0229406, "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": 1735994986.0229406, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744071745388056", "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 04 January 2025 07:50:17 -0500 (0:00:00.278) 0:00:42.289 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735995015.1081314, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1735995014.771211, "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": 1735995014.771211, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "1660828702", "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 04 January 2025 07:50:17 -0500 (0:00:00.273) 0:00:42.563 ****** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004291", "end": "2025-01-04 07:50:18.085843", "rc": 0, "start": "2025-01-04 07:50:18.081552" } 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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 04 January 2025 07:50:18 -0500 (0:00:00.264) 0:00:42.827 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 04 January 2025 07:50:18 -0500 (0:00:00.021) 0:00:42.849 ****** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 04 January 2025 07:50:18 -0500 (0:00:00.267) 0:00:43.117 ****** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 04 January 2025 07:50:18 -0500 (0:00:00.261) 0:00:43.378 ****** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node3 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node3 changed: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 04 January 2025 07:50:18 -0500 (0:00:00.288) 0:00:43.666 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 04 January 2025 07:50:18 -0500 (0:00:00.019) 0:00:43.686 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 04 January 2025 07:50:19 -0500 (0:00:00.016) 0:00:43.702 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 04 January 2025 07:50:19 -0500 (0:00:00.017) 0:00:43.720 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 04 January 2025 07:50:19 -0500 (0:00:00.012) 0:00:43.732 ****** changed: [managed-node3] => { "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.016610", "end": "2025-01-04 07:50:19.268279", "rc": 0, "start": "2025-01-04 07:50:19.251669" } 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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 04 January 2025 07:50:19 -0500 (0:00:00.275) 0:00:44.008 ****** included: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node3 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 04 January 2025 07:50:19 -0500 (0:00:00.020) 0:00:44.028 ****** changed: [managed-node3] => { "changed": true, "elapsed": 23, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 04 January 2025 07:50:42 -0500 (0:00:23.650) 0:01:07.679 ****** skipping: [managed-node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 04 January 2025 07:50:42 -0500 (0:00:00.018) 0:01:07.698 ****** ok: [managed-node3] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 04 January 2025 07:50:43 -0500 (0:00:00.020) 0:01:07.719 ****** changed: [managed-node3] => { "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.028162", "end": "2025-01-04 07:50:43.293544", "rc": 0, "start": "2025-01-04 07:50:43.265382" } 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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 04 January 2025 07:50:43 -0500 (0:00:00.316) 0:01:08.035 ****** included: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node3 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 04 January 2025 07:50:43 -0500 (0:00:00.020) 0:01:08.056 ****** changed: [managed-node3] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 04 January 2025 07:51:05 -0500 (0:00:22.596) 0:01:30.652 ****** skipping: [managed-node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 04 January 2025 07:51:05 -0500 (0:00:00.017) 0:01:30.670 ****** ok: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 04 January 2025 07:51:05 -0500 (0:00:00.022) 0:01:30.693 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 04 January 2025 07:51:06 -0500 (0:00:00.020) 0:01:30.714 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 January 2025 07:51:06 -0500 (0:00:00.052) 0:01:30.766 ****** included: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 January 2025 07:51:06 -0500 (0:00:00.025) 0:01:30.792 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 January 2025 07:51:06 -0500 (0:00:00.018) 0:01:30.810 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 January 2025 07:51:06 -0500 (0:00:00.015) 0:01:30.826 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 January 2025 07:51:06 -0500 (0:00:00.016) 0:01:30.843 ****** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 January 2025 07:51:06 -0500 (0:00:00.046) 0:01:30.889 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 04 January 2025 07:51:06 -0500 (0:00:00.016) 0:01:30.905 ****** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 04 January 2025 07:51:06 -0500 (0:00:00.710) 0:01:31.616 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735995043.2924342, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1735995043.291434, "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": 1735995043.291434, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "360701001", "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 04 January 2025 07:51:07 -0500 (0:00:00.278) 0:01:31.894 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 04 January 2025 07:51:07 -0500 (0:00:00.021) 0:01:31.915 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 04 January 2025 07:51:07 -0500 (0:00:00.017) 0:01:31.933 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 04 January 2025 07:51:07 -0500 (0:00:00.254) 0:01:32.187 ****** ok: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 04 January 2025 07:51:07 -0500 (0:00:00.029) 0:01:32.216 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735995043.2924342, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1735995043.291434, "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": 1735995043.291434, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "360701001", "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 04 January 2025 07:51:07 -0500 (0:00:00.270) 0:01:32.486 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735995019.255242, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dd4a829b9057a88b4d1c0d9b50cfc16c28a1c3b5", "ctime": 1735995018.9222386, "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": 1735995018.9222386, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5233, "uid": 0, "version": "1660828766", "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 04 January 2025 07:51:08 -0500 (0:00:00.278) 0:01:32.764 ****** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004457", "end": "2025-01-04 07:51:08.103348", "rc": 0, "start": "2025-01-04 07:51:08.098891" } 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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 04 January 2025 07:51:08 -0500 (0:00:00.265) 0:01:33.030 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 04 January 2025 07:51:08 -0500 (0:00:00.022) 0:01:33.053 ****** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 04 January 2025 07:51:08 -0500 (0:00:00.261) 0:01:33.315 ****** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 04 January 2025 07:51:08 -0500 (0:00:00.260) 0:01:33.576 ****** ok: [managed-node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 04 January 2025 07:51:09 -0500 (0:00:00.258) 0:01:33.835 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 04 January 2025 07:51:09 -0500 (0:00:00.020) 0:01:33.855 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 04 January 2025 07:51:09 -0500 (0:00:00.017) 0:01:33.873 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 04 January 2025 07:51:09 -0500 (0:00:00.017) 0:01:33.890 ****** ok: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 04 January 2025 07:51:09 -0500 (0:00:00.276) 0:01:34.166 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 04 January 2025 07:51:09 -0500 (0:00:00.022) 0:01:34.189 ****** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 04 January 2025 07:51:09 -0500 (0:00:00.087) 0:01:34.276 ****** included: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 04 January 2025 07:51:09 -0500 (0:00:00.028) 0:01:34.305 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 04 January 2025 07:51:09 -0500 (0:00:00.018) 0:01:34.323 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 04 January 2025 07:51:09 -0500 (0:00:00.017) 0:01:34.340 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 04 January 2025 07:51:09 -0500 (0:00:00.015) 0:01:34.356 ****** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 04 January 2025 07:51:09 -0500 (0:00:00.042) 0:01:34.398 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 04 January 2025 07:51:09 -0500 (0:00:00.016) 0:01:34.415 ****** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 04 January 2025 07:51:10 -0500 (0:00:00.544) 0:01:34.960 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735995043.2924342, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1735995043.291434, "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": 1735995043.291434, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "360701001", "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 04 January 2025 07:51:10 -0500 (0:00:00.271) 0:01:35.232 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 04 January 2025 07:51:10 -0500 (0:00:00.019) 0:01:35.252 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 04 January 2025 07:51:10 -0500 (0:00:00.017) 0:01:35.269 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 04 January 2025 07:51:10 -0500 (0:00:00.263) 0:01:35.533 ****** ok: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 04 January 2025 07:51:10 -0500 (0:00:00.030) 0:01:35.564 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735995043.2924342, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1735995043.291434, "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": 1735995043.291434, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "360701001", "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 04 January 2025 07:51:11 -0500 (0:00:00.268) 0:01:35.832 ****** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1735995019.255242, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dd4a829b9057a88b4d1c0d9b50cfc16c28a1c3b5", "ctime": 1735995018.9222386, "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": 1735995018.9222386, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5233, "uid": 0, "version": "1660828766", "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 04 January 2025 07:51:11 -0500 (0:00:00.269) 0:01:36.101 ****** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004033", "end": "2025-01-04 07:51:11.618879", "rc": 0, "start": "2025-01-04 07:51:11.614846" } 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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 04 January 2025 07:51:11 -0500 (0:00:00.259) 0:01:36.361 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 04 January 2025 07:51:11 -0500 (0:00:00.022) 0:01:36.383 ****** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 04 January 2025 07:51:11 -0500 (0:00:00.261) 0:01:36.645 ****** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 04 January 2025 07:51:12 -0500 (0:00:00.257) 0:01:36.903 ****** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node3 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node3 changed: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 04 January 2025 07:51:12 -0500 (0:00:00.282) 0:01:37.185 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 04 January 2025 07:51:12 -0500 (0:00:00.019) 0:01:37.204 ****** skipping: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 04 January 2025 07:51:12 -0500 (0:00:00.016) 0:01:37.220 ****** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 04 January 2025 07:51:12 -0500 (0:00:00.016) 0:01:37.237 ****** ok: [managed-node3] => { "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-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 04 January 2025 07:51:12 -0500 (0:00:00.269) 0:01:37.507 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 04 January 2025 07:51:12 -0500 (0:00:00.021) 0:01:37.529 ****** changed: [managed-node3] => (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.012373", "end": "2025-01-04 07:51:13.061387", "failed_when_result": false, "item": 1, "rc": 0, "start": "2025-01-04 07:51:13.049014" } changed: [managed-node3] => (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.012579", "end": "2025-01-04 07:51:13.316376", "failed_when_result": false, "item": 2, "rc": 0, "start": "2025-01-04 07:51:13.303797" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 04 January 2025 07:51:13 -0500 (0:00:00.525) 0:01:38.055 ****** changed: [managed-node3] => { "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.016825", "end": "2025-01-04 07:51:13.592450", "rc": 0, "start": "2025-01-04 07:51:13.575625" } 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-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 04 January 2025 07:51:13 -0500 (0:00:00.277) 0:01:38.332 ****** included: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node3 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 04 January 2025 07:51:13 -0500 (0:00:00.019) 0:01:38.352 ****** changed: [managed-node3] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 04 January 2025 07:51:35 -0500 (0:00:22.291) 0:02:00.643 ****** skipping: [managed-node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 04 January 2025 07:51:35 -0500 (0:00:00.018) 0:02:00.662 ****** ok: [managed-node3] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=115 changed=15 unreachable=0 failed=0 skipped=81 rescued=0 ignored=0 Saturday 04 January 2025 07:51:35 -0500 (0:00:00.020) 0:02:00.683 ****** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.65s /tmp/collections-kPy/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.60s /tmp/collections-kPy/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.33s /tmp/collections-kPy/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.29s /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 0.85s /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Gather architecture facts ----------------------------------------------- 0.83s /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.71s /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 0.64s /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.54s /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.54s /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.54s /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Remove cloned kernels --------------------------------------------------- 0.53s /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.45s /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.32s /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.29s /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.29s /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.28s /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg --- 0.28s /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.28s /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.28s /tmp/collections-kPy/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60