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/tmp.O9dJu5pwJ5/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/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 27 July 2024 09:09:23 -0400 (0:00:00.022) 0:00:00.022 ********* included: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node1 TASK [Gather architecture facts] *********************************************** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 27 July 2024 09:09:23 -0400 (0:00:00.074) 0:00:00.096 ********* ok: [managed_node1] META: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Get bootloader_facts] **************************************************** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 27 July 2024 09:09:24 -0400 (0:00:00.698) 0:00:00.795 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 July 2024 09:09:24 -0400 (0:00:00.053) 0:00:00.848 ********* included: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 09:09:24 -0400 (0:00:00.025) 0:00:00.874 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 July 2024 09:09:24 -0400 (0:00:00.017) 0:00:00.891 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 July 2024 09:09:24 -0400 (0:00:00.392) 0:00:01.283 ********* ok: [managed_node1] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 July 2024 09:09:24 -0400 (0:00:00.021) 0:00:01.305 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 July 2024 09:09:24 -0400 (0:00:00.039) 0:00:01.345 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 27 July 2024 09:09:24 -0400 (0:00:00.017) 0:00:01.363 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 27 July 2024 09:09:25 -0400 (0:00:00.712) 0:00:02.076 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085749.5344696, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1722085746.4130027, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262352, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085746.410836, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "18446744072749240734", "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/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 27 July 2024 09:09:25 -0400 (0:00:00.285) 0:00:02.361 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 27 July 2024 09:09:25 -0400 (0:00:00.018) 0:00:02.380 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 27 July 2024 09:09:25 -0400 (0:00:00.016) 0:00:02.397 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 27 July 2024 09:09:26 -0400 (0:00:00.263) 0:00:02.660 ********* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 27 July 2024 09:09:26 -0400 (0:00:00.025) 0:00:02.686 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085749.5344696, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1722085746.4130027, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262352, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085746.410836, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "18446744072749240734", "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/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 27 July 2024 09:09:26 -0400 (0:00:00.273) 0:00:02.959 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085750.444481, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0d4b26c5f22732d8432971abedb64c79aad6b8c3", "ctime": 1722085746.6928327, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262353, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085746.6918333, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5050, "uid": 0, "version": "18446744072749240741", "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/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 27 July 2024 09:09:26 -0400 (0:00:00.291) 0:00:03.251 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004170", "end": "2024-07-27 09:09:26.935076", "rc": 0, "start": "2024-07-27 09:09:26.930906" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 27 July 2024 09:09:26 -0400 (0:00:00.359) 0:00:03.611 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 27 July 2024 09:09:26 -0400 (0:00:00.019) 0:00:03.630 ********* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 27 July 2024 09:09:27 -0400 (0:00:00.359) 0:00:03.989 ********* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 27 July 2024 09:09:27 -0400 (0:00:00.278) 0:00:04.268 ********* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 27 July 2024 09:09:28 -0400 (0:00:00.396) 0:00:04.664 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 July 2024 09:09:28 -0400 (0:00:00.017) 0:00:04.681 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 27 July 2024 09:09:28 -0400 (0:00:00.016) 0:00:04.698 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 27 July 2024 09:09:28 -0400 (0:00:00.016) 0:00:04.714 ********* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 debug", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } META: end_host conditional evaluated to false, continuing execution for managed_node1 META: ran handlers TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 27 July 2024 09:09:28 -0400 (0:00:00.419) 0:00:05.134 ********* included: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed_node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 27 July 2024 09:09:28 -0400 (0:00:00.032) 0:00:05.166 ********* ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 27 July 2024 09:09:28 -0400 (0:00:00.021) 0:00:05.187 ********* ok: [managed_node1] => (item={u'dest': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1', u'src': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "bcc96d540663b9b1764e12a7ab21389e0b9ceb0e", "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64" }, "md5sum": "8d408037538856fa5672cf3f9da1ff35", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "state": "file", "uid": 0 } ok: [managed_node1] => (item={u'dest': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1', u'src': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img'}) => { "ansible_loop_var": "item", "changed": false, "checksum": "a48b0c90c9b0dce76f2e1f4a861b7f3b00714982", "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img" }, "md5sum": "dd570b9af2ecb0d8f046a071cd868a55", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20160196, "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 27 July 2024 09:09:29 -0400 (0:00:00.811) 0:00:05.998 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 July 2024 09:09:29 -0400 (0:00:00.050) 0:00:06.049 ********* included: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 09:09:29 -0400 (0:00:00.025) 0:00:06.075 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 July 2024 09:09:29 -0400 (0:00:00.021) 0:00:06.096 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 July 2024 09:09:29 -0400 (0:00:00.018) 0:00:06.114 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 July 2024 09:09:29 -0400 (0:00:00.016) 0:00:06.130 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 July 2024 09:09:29 -0400 (0:00:00.042) 0:00:06.173 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 27 July 2024 09:09:29 -0400 (0:00:00.017) 0:00:06.190 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 27 July 2024 09:09:30 -0400 (0:00:00.559) 0:00:06.749 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085749.5344696, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1722085746.4130027, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262352, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085746.410836, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "18446744072749240734", "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/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 27 July 2024 09:09:30 -0400 (0:00:00.285) 0:00:07.035 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 27 July 2024 09:09:30 -0400 (0:00:00.019) 0:00:07.054 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 27 July 2024 09:09:30 -0400 (0:00:00.018) 0:00:07.073 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 27 July 2024 09:09:30 -0400 (0:00:00.269) 0:00:07.343 ********* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 27 July 2024 09:09:30 -0400 (0:00:00.028) 0:00:07.372 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085749.5344696, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1722085746.4130027, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262352, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085746.410836, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "18446744072749240734", "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/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 27 July 2024 09:09:31 -0400 (0:00:00.290) 0:00:07.662 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085750.444481, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0d4b26c5f22732d8432971abedb64c79aad6b8c3", "ctime": 1722085746.6928327, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262353, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085746.6918333, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5050, "uid": 0, "version": "18446744072749240741", "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/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 27 July 2024 09:09:31 -0400 (0:00:00.298) 0:00:07.960 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.005959", "end": "2024-07-27 09:09:31.575324", "rc": 0, "start": "2024-07-27 09:09:31.569365" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 27 July 2024 09:09:31 -0400 (0:00:00.298) 0:00:08.258 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 27 July 2024 09:09:31 -0400 (0:00:00.020) 0:00:08.279 ********* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 27 July 2024 09:09:31 -0400 (0:00:00.279) 0:00:08.559 ********* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 27 July 2024 09:09:32 -0400 (0:00:00.275) 0:00:08.834 ********* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 changed: [managed_node1] => { "actions": [ "grubby --initrd=/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 27 July 2024 09:09:32 -0400 (0:00:00.513) 0:00:09.348 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 July 2024 09:09:32 -0400 (0:00:00.017) 0:00:09.366 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 27 July 2024 09:09:32 -0400 (0:00:00.017) 0:00:09.383 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 27 July 2024 09:09:32 -0400 (0:00:00.017) 0:00:09.401 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 27 July 2024 09:09:32 -0400 (0:00:00.013) 0:00:09.415 ********* changed: [managed_node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.019441", "end": "2024-07-27 09:09:33.034807", "rc": 0, "start": "2024-07-27 09:09:33.015366" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 27 July 2024 09:09:33 -0400 (0:00:00.292) 0:00:09.707 ********* included: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 27 July 2024 09:09:33 -0400 (0:00:00.019) 0:00:09.726 ********* changed: [managed_node1] => { "changed": true, "elapsed": 25, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 27 July 2024 09:09:59 -0400 (0:00:26.496) 0:00:36.223 ********* skipping: [managed_node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 27 July 2024 09:09:59 -0400 (0:00:00.018) 0:00:36.242 ********* ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 27 July 2024 09:09:59 -0400 (0:00:00.025) 0:00:36.267 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 27 July 2024 09:09:59 -0400 (0:00:00.020) 0:00:36.288 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 July 2024 09:09:59 -0400 (0:00:00.054) 0:00:36.342 ********* included: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 09:09:59 -0400 (0:00:00.025) 0:00:36.368 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 July 2024 09:09:59 -0400 (0:00:00.022) 0:00:36.391 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 July 2024 09:09:59 -0400 (0:00:00.018) 0:00:36.409 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 July 2024 09:09:59 -0400 (0:00:00.016) 0:00:36.426 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 July 2024 09:09:59 -0400 (0:00:00.048) 0:00:36.474 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 27 July 2024 09:09:59 -0400 (0:00:00.017) 0:00:36.492 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 27 July 2024 09:10:00 -0400 (0:00:00.902) 0:00:37.394 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085773.0327582, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1722085773.031758, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134824, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085773.029758, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "18446744072749241057", "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/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 27 July 2024 09:10:01 -0400 (0:00:00.326) 0:00:37.721 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 27 July 2024 09:10:01 -0400 (0:00:00.019) 0:00:37.740 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 27 July 2024 09:10:01 -0400 (0:00:00.019) 0:00:37.760 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 27 July 2024 09:10:01 -0400 (0:00:00.284) 0:00:38.045 ********* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 27 July 2024 09:10:01 -0400 (0:00:00.028) 0:00:38.074 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085773.0327582, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1722085773.031758, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134824, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085773.029758, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "18446744072749241057", "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/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 27 July 2024 09:10:01 -0400 (0:00:00.288) 0:00:38.362 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085773.017758, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "d00806977a92df86555e1c2daa978605a79a4e35", "ctime": 1722085772.6707537, "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": 1722085772.6707537, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5869, "uid": 0, "version": "18446744072749241051", "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/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 27 July 2024 09:10:02 -0400 (0:00:00.346) 0:00:38.709 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004222", "end": "2024-07-27 09:10:02.334220", "rc": 0, "start": "2024-07-27 09:10:02.329998" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 27 July 2024 09:10:02 -0400 (0:00:00.308) 0:00:39.018 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 27 July 2024 09:10:02 -0400 (0:00:00.022) 0:00:39.040 ********* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 27 July 2024 09:10:02 -0400 (0:00:00.291) 0:00:39.332 ********* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 27 July 2024 09:10:02 -0400 (0:00:00.284) 0:00:39.616 ********* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 27 July 2024 09:10:03 -0400 (0:00:00.283) 0:00:39.900 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 July 2024 09:10:03 -0400 (0:00:00.017) 0:00:39.918 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 27 July 2024 09:10:03 -0400 (0:00:00.019) 0:00:39.937 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 27 July 2024 09:10:03 -0400 (0:00:00.016) 0:00:39.953 ********* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 debug", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 27 July 2024 09:10:03 -0400 (0:00:00.295) 0:00:40.248 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 27 July 2024 09:10:03 -0400 (0:00:00.023) 0:00:40.272 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 July 2024 09:10:03 -0400 (0:00:00.068) 0:00:40.340 ********* included: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 09:10:03 -0400 (0:00:00.025) 0:00:40.366 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 July 2024 09:10:03 -0400 (0:00:00.019) 0:00:40.386 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 July 2024 09:10:03 -0400 (0:00:00.016) 0:00:40.402 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 July 2024 09:10:03 -0400 (0:00:00.019) 0:00:40.422 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 July 2024 09:10:03 -0400 (0:00:00.046) 0:00:40.468 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 27 July 2024 09:10:03 -0400 (0:00:00.016) 0:00:40.484 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 27 July 2024 09:10:04 -0400 (0:00:00.563) 0:00:41.048 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085773.0327582, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1722085773.031758, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134824, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085773.029758, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "18446744072749241057", "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/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 27 July 2024 09:10:04 -0400 (0:00:00.300) 0:00:41.348 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 27 July 2024 09:10:04 -0400 (0:00:00.020) 0:00:41.369 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 27 July 2024 09:10:04 -0400 (0:00:00.020) 0:00:41.389 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 27 July 2024 09:10:05 -0400 (0:00:00.278) 0:00:41.668 ********* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 27 July 2024 09:10:05 -0400 (0:00:00.030) 0:00:41.699 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085773.0327582, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1722085773.031758, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134824, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085773.029758, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "18446744072749241057", "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/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 27 July 2024 09:10:05 -0400 (0:00:00.296) 0:00:41.995 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085773.017758, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "d00806977a92df86555e1c2daa978605a79a4e35", "ctime": 1722085772.6707537, "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": 1722085772.6707537, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5869, "uid": 0, "version": "18446744072749241051", "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/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 27 July 2024 09:10:05 -0400 (0:00:00.307) 0:00:42.302 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004109", "end": "2024-07-27 09:10:05.921270", "rc": 0, "start": "2024-07-27 09:10:05.917161" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 27 July 2024 09:10:05 -0400 (0:00:00.299) 0:00:42.602 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 27 July 2024 09:10:05 -0400 (0:00:00.022) 0:00:42.624 ********* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 27 July 2024 09:10:06 -0400 (0:00:00.298) 0:00:42.923 ********* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 27 July 2024 09:10:06 -0400 (0:00:00.293) 0:00:43.216 ********* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 changed: [managed_node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 27 July 2024 09:10:06 -0400 (0:00:00.317) 0:00:43.534 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 July 2024 09:10:06 -0400 (0:00:00.020) 0:00:43.554 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 27 July 2024 09:10:06 -0400 (0:00:00.017) 0:00:43.572 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 27 July 2024 09:10:06 -0400 (0:00:00.020) 0:00:43.592 ********* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 debug", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 27 July 2024 09:10:07 -0400 (0:00:00.290) 0:00:43.883 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 27 July 2024 09:10:07 -0400 (0:00:00.022) 0:00:43.905 ********* included: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed_node1 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 27 July 2024 09:10:07 -0400 (0:00:00.045) 0:00:43.951 ********* ok: [managed_node1] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 27 July 2024 09:10:07 -0400 (0:00:00.020) 0:00:43.971 ********* changed: [managed_node1] => (item={u'dest': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2', u'src': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "bcc96d540663b9b1764e12a7ab21389e0b9ceb0e", "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64" }, "md5sum": "8d408037538856fa5672cf3f9da1ff35", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "state": "file", "uid": 0 } changed: [managed_node1] => (item={u'dest': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2', u'src': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a48b0c90c9b0dce76f2e1f4a861b7f3b00714982", "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2", "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img" }, "md5sum": "dd570b9af2ecb0d8f046a071cd868a55", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20160196, "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 27 July 2024 09:10:08 -0400 (0:00:00.684) 0:00:44.656 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 July 2024 09:10:08 -0400 (0:00:00.031) 0:00:44.688 ********* included: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 09:10:08 -0400 (0:00:00.025) 0:00:44.713 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 July 2024 09:10:08 -0400 (0:00:00.020) 0:00:44.733 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 July 2024 09:10:08 -0400 (0:00:00.017) 0:00:44.751 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 July 2024 09:10:08 -0400 (0:00:00.016) 0:00:44.767 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 July 2024 09:10:08 -0400 (0:00:00.044) 0:00:44.812 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 27 July 2024 09:10:08 -0400 (0:00:00.018) 0:00:44.831 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 27 July 2024 09:10:08 -0400 (0:00:00.561) 0:00:45.392 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085773.0327582, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1722085773.031758, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134824, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085773.029758, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "18446744072749241057", "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/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 27 July 2024 09:10:09 -0400 (0:00:00.287) 0:00:45.680 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 27 July 2024 09:10:09 -0400 (0:00:00.017) 0:00:45.698 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 27 July 2024 09:10:09 -0400 (0:00:00.017) 0:00:45.715 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 27 July 2024 09:10:09 -0400 (0:00:00.272) 0:00:45.987 ********* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 27 July 2024 09:10:09 -0400 (0:00:00.028) 0:00:46.015 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085773.0327582, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1722085773.031758, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134824, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085773.029758, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "18446744072749241057", "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/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 27 July 2024 09:10:09 -0400 (0:00:00.286) 0:00:46.302 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085807.188695, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "0d4b26c5f22732d8432971abedb64c79aad6b8c3", "ctime": 1722085806.854691, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134826, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085806.854691, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5050, "uid": 0, "version": "18446744073531529952", "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/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 27 July 2024 09:10:09 -0400 (0:00:00.291) 0:00:46.594 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004170", "end": "2024-07-27 09:10:10.192539", "rc": 0, "start": "2024-07-27 09:10:10.188369" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 27 July 2024 09:10:10 -0400 (0:00:00.280) 0:00:46.874 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 27 July 2024 09:10:10 -0400 (0:00:00.021) 0:00:46.895 ********* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 27 July 2024 09:10:10 -0400 (0:00:00.278) 0:00:47.173 ********* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 27 July 2024 09:10:10 -0400 (0:00:00.288) 0:00:47.462 ********* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 changed: [managed_node1] => { "actions": [ "grubby --initrd=/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 27 July 2024 09:10:11 -0400 (0:00:00.310) 0:00:47.772 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 July 2024 09:10:11 -0400 (0:00:00.018) 0:00:47.791 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 27 July 2024 09:10:11 -0400 (0:00:00.017) 0:00:47.809 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 27 July 2024 09:10:11 -0400 (0:00:00.016) 0:00:47.826 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 27 July 2024 09:10:11 -0400 (0:00:00.013) 0:00:47.840 ********* changed: [managed_node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.017301", "end": "2024-07-27 09:10:11.467535", "rc": 0, "start": "2024-07-27 09:10:11.450234" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 27 July 2024 09:10:11 -0400 (0:00:00.301) 0:00:48.141 ********* included: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 27 July 2024 09:10:11 -0400 (0:00:00.019) 0:00:48.161 ********* changed: [managed_node1] => { "changed": true, "elapsed": 25, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 27 July 2024 09:10:37 -0400 (0:00:26.098) 0:01:14.259 ********* skipping: [managed_node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 27 July 2024 09:10:37 -0400 (0:00:00.018) 0:01:14.278 ********* ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 27 July 2024 09:10:37 -0400 (0:00:00.020) 0:01:14.298 ********* changed: [managed_node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.024358", "end": "2024-07-27 09:10:38.031621", "rc": 0, "start": "2024-07-27 09:10:38.007263" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 27 July 2024 09:10:37 -0400 (0:00:00.323) 0:01:14.622 ********* included: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 27 July 2024 09:10:38 -0400 (0:00:00.020) 0:01:14.642 ********* changed: [managed_node1] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 27 July 2024 09:11:00 -0400 (0:00:22.352) 0:01:36.995 ********* skipping: [managed_node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 27 July 2024 09:11:00 -0400 (0:00:00.017) 0:01:37.012 ********* ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 27 July 2024 09:11:00 -0400 (0:00:00.027) 0:01:37.040 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 27 July 2024 09:11:00 -0400 (0:00:00.021) 0:01:37.062 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 July 2024 09:11:00 -0400 (0:00:00.056) 0:01:37.118 ********* included: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 09:11:00 -0400 (0:00:00.028) 0:01:37.146 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 July 2024 09:11:00 -0400 (0:00:00.023) 0:01:37.170 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 July 2024 09:11:00 -0400 (0:00:00.017) 0:01:37.187 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 July 2024 09:11:00 -0400 (0:00:00.018) 0:01:37.206 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 July 2024 09:11:00 -0400 (0:00:00.048) 0:01:37.255 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 27 July 2024 09:11:00 -0400 (0:00:00.017) 0:01:37.273 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 27 July 2024 09:11:01 -0400 (0:00:00.926) 0:01:38.199 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085838.030904, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1722085838.0299873, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134824, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085838.0299873, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "32965213", "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/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 27 July 2024 09:11:01 -0400 (0:00:00.336) 0:01:38.536 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 27 July 2024 09:11:01 -0400 (0:00:00.020) 0:01:38.556 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 27 July 2024 09:11:01 -0400 (0:00:00.018) 0:01:38.574 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 27 July 2024 09:11:02 -0400 (0:00:00.311) 0:01:38.886 ********* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 27 July 2024 09:11:02 -0400 (0:00:00.030) 0:01:38.916 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085838.030904, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1722085838.0299873, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134824, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085838.0299873, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "32965213", "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/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 27 July 2024 09:11:02 -0400 (0:00:00.304) 0:01:39.221 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085811.4537475, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "133b444de9b5d4411d4acb0d15772236245efe2b", "ctime": 1722085811.095743, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135113, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085811.095743, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5251, "uid": 0, "version": "18446744073531530016", "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/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 27 July 2024 09:11:02 -0400 (0:00:00.317) 0:01:39.539 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004305", "end": "2024-07-27 09:11:02.240055", "rc": 0, "start": "2024-07-27 09:11:02.235750" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 27 July 2024 09:11:03 -0400 (0:00:00.293) 0:01:39.832 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 27 July 2024 09:11:03 -0400 (0:00:00.021) 0:01:39.853 ********* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 27 July 2024 09:11:03 -0400 (0:00:00.295) 0:01:40.149 ********* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 27 July 2024 09:11:03 -0400 (0:00:00.335) 0:01:40.485 ********* ok: [managed_node1] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 27 July 2024 09:11:04 -0400 (0:00:00.289) 0:01:40.775 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 July 2024 09:11:04 -0400 (0:00:00.018) 0:01:40.793 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 27 July 2024 09:11:04 -0400 (0:00:00.019) 0:01:40.813 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 27 July 2024 09:11:04 -0400 (0:00:00.017) 0:01:40.831 ********* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 debug", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 27 July 2024 09:11:04 -0400 (0:00:00.301) 0:01:41.132 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 27 July 2024 09:11:04 -0400 (0:00:00.022) 0:01:41.155 ********* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 27 July 2024 09:11:04 -0400 (0:00:00.089) 0:01:41.244 ********* included: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 27 July 2024 09:11:04 -0400 (0:00:00.027) 0:01:41.272 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 27 July 2024 09:11:04 -0400 (0:00:00.019) 0:01:41.292 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 27 July 2024 09:11:04 -0400 (0:00:00.021) 0:01:41.314 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 27 July 2024 09:11:04 -0400 (0:00:00.018) 0:01:41.332 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 27 July 2024 09:11:04 -0400 (0:00:00.046) 0:01:41.379 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 27 July 2024 09:11:04 -0400 (0:00:00.018) 0:01:41.397 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 27 July 2024 09:11:05 -0400 (0:00:00.569) 0:01:41.966 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085838.030904, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1722085838.0299873, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134824, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085838.0299873, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "32965213", "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/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 27 July 2024 09:11:05 -0400 (0:00:00.292) 0:01:42.259 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 27 July 2024 09:11:05 -0400 (0:00:00.021) 0:01:42.281 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 27 July 2024 09:11:05 -0400 (0:00:00.019) 0:01:42.300 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 27 July 2024 09:11:05 -0400 (0:00:00.273) 0:01:42.574 ********* ok: [managed_node1] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 27 July 2024 09:11:05 -0400 (0:00:00.032) 0:01:42.606 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085838.030904, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7c7144c4074a9a36f8f3f0f8e5e2c4dfc0b723b3", "ctime": 1722085838.0299873, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134824, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085838.0299873, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "32965213", "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/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 27 July 2024 09:11:06 -0400 (0:00:00.303) 0:01:42.910 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722085811.4537475, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "133b444de9b5d4411d4acb0d15772236245efe2b", "ctime": 1722085811.095743, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135113, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722085811.095743, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5251, "uid": 0, "version": "18446744073531530016", "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/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 27 July 2024 09:11:06 -0400 (0:00:00.302) 0:01:43.212 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004583", "end": "2024-07-27 09:11:06.159264", "rc": 0, "start": "2024-07-27 09:11:06.154681" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 27 July 2024 09:11:06 -0400 (0:00:00.286) 0:01:43.498 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 27 July 2024 09:11:06 -0400 (0:00:00.022) 0:01:43.521 ********* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 27 July 2024 09:11:07 -0400 (0:00:00.286) 0:01:43.808 ********* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 27 July 2024 09:11:07 -0400 (0:00:00.284) 0:01:44.092 ********* NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed_node1 changed: [managed_node1] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 27 July 2024 09:11:07 -0400 (0:00:00.309) 0:01:44.401 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 27 July 2024 09:11:07 -0400 (0:00:00.017) 0:01:44.419 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 27 July 2024 09:11:07 -0400 (0:00:00.055) 0:01:44.474 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 27 July 2024 09:11:07 -0400 (0:00:00.020) 0:01:44.495 ********* ok: [managed_node1] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 debug", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 27 July 2024 09:11:08 -0400 (0:00:00.297) 0:01:44.792 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 27 July 2024 09:11:08 -0400 (0:00:00.022) 0:01:44.815 ********* changed: [managed_node1] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" ], "delta": "0:00:00.015615", "end": "2024-07-27 09:11:07.914383", "failed_when_result": false, "item": 1, "rc": 0, "start": "2024-07-27 09:11:07.898768" } changed: [managed_node1] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2" ], "delta": "0:00:00.019003", "end": "2024-07-27 09:11:08.213735", "failed_when_result": false, "item": 2, "rc": 0, "start": "2024-07-27 09:11:08.194732" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 27 July 2024 09:11:08 -0400 (0:00:00.574) 0:01:45.390 ********* changed: [managed_node1] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.021836", "end": "2024-07-27 09:11:08.533987", "rc": 0, "start": "2024-07-27 09:11:08.512151" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 27 July 2024 09:11:09 -0400 (0:00:00.294) 0:01:45.685 ********* included: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 27 July 2024 09:11:09 -0400 (0:00:00.020) 0:01:45.705 ********* changed: [managed_node1] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 27 July 2024 09:11:32 -0400 (0:00:22.964) 0:02:08.670 ********* skipping: [managed_node1] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 27 July 2024 09:11:32 -0400 (0:00:00.016) 0:02:08.687 ********* ok: [managed_node1] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=115 changed=14 unreachable=0 failed=0 skipped=81 rescued=0 ignored=0 Saturday 27 July 2024 09:11:32 -0400 (0:00:00.019) 0:02:08.707 ********* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 26.50s /tmp/tmp.O9dJu5pwJ5/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 -- 26.10s /tmp/tmp.O9dJu5pwJ5/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.96s /tmp/tmp.O9dJu5pwJ5/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.35s /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.93s /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 0.81s /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Gather architecture facts ----------------------------------------------- 0.70s /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 0.68s /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Remove cloned kernels --------------------------------------------------- 0.57s /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.57s /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.56s /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.56s /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.39s /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.34s /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.34s /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.32s /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.32s /tmp/tmp.O9dJu5pwJ5/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.32s /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 fedora.linux_system_roles.bootloader : Determine platform type ---------- 0.31s /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.31s /tmp/tmp.O9dJu5pwJ5/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102