ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_add_rm.yml ***************************************************** 1 plays in /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** META: ran handlers TASK [Skip on s390x architecture] ********************************************** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 07 December 2024 07:56:12 -0500 (0:00:00.031) 0:00:00.031 ***** included: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node3 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 07 December 2024 07:56:12 -0500 (0:00:00.124) 0:00:00.155 ***** ok: [managed-node3] META: end_host conditional evaluated to false, continuing execution for managed-node3 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 07 December 2024 07:56:13 -0500 (0:00:00.919) 0:00:01.075 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 07:56:13 -0500 (0:00:00.075) 0:00:01.151 ***** included: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 07:56:13 -0500 (0:00:00.032) 0:00:01.183 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 07:56:13 -0500 (0:00:00.020) 0:00:01.204 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 07:56:13 -0500 (0:00:00.456) 0:00:01.660 ***** ok: [managed-node3] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 07:56:13 -0500 (0:00:00.027) 0:00:01.688 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 07:56:13 -0500 (0:00:00.061) 0:00:01.749 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 07:56:13 -0500 (0:00:00.019) 0:00:01.769 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 07:56:14 -0500 (0:00:00.797) 0:00:02.566 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576167.2912781, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 07:56:15 -0500 (0:00:00.336) 0:00:02.903 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 07:56:15 -0500 (0:00:00.030) 0:00:02.933 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 07:56:15 -0500 (0:00:00.030) 0:00:02.964 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 07:56:15 -0500 (0:00:00.286) 0:00:03.250 ***** ok: [managed-node3] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 07:56:15 -0500 (0:00:00.046) 0:00:03.297 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576167.2912781, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 07:56:15 -0500 (0:00:00.379) 0:00:03.677 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576168.46628, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1718881171.2176502, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718880548.6706502, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "22411319", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 07:56:16 -0500 (0:00:00.321) 0:00:03.998 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004031", "end": "2024-12-07 07:56:16.475181", "rc": 0, "start": "2024-12-07 07:56:16.471150" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 07:56:16 -0500 (0:00:00.404) 0:00:04.403 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 07:56:16 -0500 (0:00:00.022) 0:00:04.426 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 07:56:16 -0500 (0:00:00.414) 0:00:04.840 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 07:56:17 -0500 (0:00:00.303) 0:00:05.144 ***** ok: [managed-node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 07:56:17 -0500 (0:00:00.412) 0:00:05.556 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 07:56:17 -0500 (0:00:00.025) 0:00:05.582 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 07:56:17 -0500 (0:00:00.021) 0:00:05.603 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 07:56:17 -0500 (0:00:00.029) 0:00:05.632 ***** ok: [managed-node3] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } META: end_host conditional evaluated to false, continuing execution for managed-node3 META: ran handlers TASK [Clone kernel to Clone1] ************************************************** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 07 December 2024 07:56:18 -0500 (0:00:00.484) 0:00:06.117 ***** included: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node3 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 07 December 2024 07:56:18 -0500 (0:00:00.041) 0:00:06.159 ***** ok: [managed-node3] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 07 December 2024 07:56:18 -0500 (0:00:00.023) 0:00:06.182 ***** changed: [managed-node3] => (item={u'dest': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1', u'src': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "bcc96d540663b9b1764e12a7ab21389e0b9ceb0e", "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64" }, "md5sum": "8d408037538856fa5672cf3f9da1ff35", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "state": "file", "uid": 0 } changed: [managed-node3] => (item={u'dest': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1', u'src': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a48b0c90c9b0dce76f2e1f4a861b7f3b00714982", "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img" }, "md5sum": "dd570b9af2ecb0d8f046a071cd868a55", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20160196, "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.905) 0:00:07.088 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.069) 0:00:07.157 ***** included: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.030) 0:00:07.187 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.021) 0:00:07.209 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.019) 0:00:07.229 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.019) 0:00:07.248 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.050) 0:00:07.298 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.026) 0:00:07.325 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 07:56:20 -0500 (0:00:00.682) 0:00:08.008 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576167.2912781, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 07:56:20 -0500 (0:00:00.381) 0:00:08.389 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 07:56:20 -0500 (0:00:00.031) 0:00:08.421 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 07:56:20 -0500 (0:00:00.032) 0:00:08.453 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 07:56:20 -0500 (0:00:00.314) 0:00:08.767 ***** ok: [managed-node3] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 07:56:20 -0500 (0:00:00.032) 0:00:08.800 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576167.2912781, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 07:56:21 -0500 (0:00:00.316) 0:00:09.116 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576168.46628, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1718881171.2176502, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1718880548.6706502, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "22411319", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 07:56:21 -0500 (0:00:00.363) 0:00:09.480 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004702", "end": "2024-12-07 07:56:21.903076", "rc": 0, "start": "2024-12-07 07:56:21.898374" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 07:56:21 -0500 (0:00:00.367) 0:00:09.848 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 07:56:22 -0500 (0:00:00.039) 0:00:09.887 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 07:56:22 -0500 (0:00:00.346) 0:00:10.234 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 07:56:22 -0500 (0:00:00.379) 0:00:10.613 ***** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node3 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node3 changed: [managed-node3] => { "actions": [ "grubby --initrd=/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 07:56:23 -0500 (0:00:00.467) 0:00:11.081 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 07:56:23 -0500 (0:00:00.036) 0:00:11.118 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 07:56:23 -0500 (0:00:00.034) 0:00:11.152 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 07:56:23 -0500 (0:00:00.030) 0:00:11.182 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 07 December 2024 07:56:23 -0500 (0:00:00.025) 0:00:11.207 ***** changed: [managed-node3] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.015765", "end": "2024-12-07 07:56:23.634438", "rc": 0, "start": "2024-12-07 07:56:23.618673" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 07 December 2024 07:56:23 -0500 (0:00:00.351) 0:00:11.559 ***** included: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node3 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 07 December 2024 07:56:23 -0500 (0:00:00.035) 0:00:11.595 ***** changed: [managed-node3] => { "changed": true, "elapsed": 20, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 07 December 2024 07:56:45 -0500 (0:00:21.755) 0:00:33.350 ***** skipping: [managed-node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.020) 0:00:33.371 ***** ok: [managed-node3] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.026) 0:00:33.398 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.024) 0:00:33.422 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.058) 0:00:33.480 ***** included: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.029) 0:00:33.510 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.021) 0:00:33.532 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.020) 0:00:33.552 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.018) 0:00:33.571 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.053) 0:00:33.625 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.023) 0:00:33.649 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.710) 0:00:34.359 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576183.6323016, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1733576183.6323016, "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": 1733576183.6323016, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1608596831", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.299) 0:00:34.659 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.022) 0:00:34.681 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.021) 0:00:34.702 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 07:56:47 -0500 (0:00:00.275) 0:00:34.978 ***** ok: [managed-node3] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 07:56:47 -0500 (0:00:00.031) 0:00:35.010 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576206.069081, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1733576183.6323016, "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": 1733576183.6323016, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1608596831", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 07:56:47 -0500 (0:00:00.305) 0:00:35.316 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576183.6213017, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1733576183.1433008, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576183.1433008, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "1608596825", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 07:56:47 -0500 (0:00:00.301) 0:00:35.617 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004343", "end": "2024-12-07 07:56:47.372447", "rc": 0, "start": "2024-12-07 07:56:47.368104" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 07:56:48 -0500 (0:00:00.295) 0:00:35.913 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 07:56:48 -0500 (0:00:00.025) 0:00:35.938 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 07:56:48 -0500 (0:00:00.283) 0:00:36.222 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 07:56:48 -0500 (0:00:00.288) 0:00:36.511 ***** ok: [managed-node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 07:56:48 -0500 (0:00:00.282) 0:00:36.794 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 07:56:48 -0500 (0:00:00.021) 0:00:36.815 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 07:56:48 -0500 (0:00:00.019) 0:00:36.835 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 07:56:48 -0500 (0:00:00.019) 0:00:36.854 ***** ok: [managed-node3] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 07 December 2024 07:56:49 -0500 (0:00:00.305) 0:00:37.160 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 07 December 2024 07:56:49 -0500 (0:00:00.025) 0:00:37.186 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 07:56:49 -0500 (0:00:00.076) 0:00:37.262 ***** included: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 07:56:49 -0500 (0:00:00.027) 0:00:37.290 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 07:56:49 -0500 (0:00:00.020) 0:00:37.311 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 07:56:49 -0500 (0:00:00.019) 0:00:37.331 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 07:56:49 -0500 (0:00:00.019) 0:00:37.350 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 07:56:49 -0500 (0:00:00.045) 0:00:37.395 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 07:56:49 -0500 (0:00:00.018) 0:00:37.414 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.567) 0:00:37.981 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576206.069081, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1733576183.6323016, "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": 1733576183.6323016, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1608596831", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.292) 0:00:38.274 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.021) 0:00:38.295 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.019) 0:00:38.315 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.276) 0:00:38.591 ***** ok: [managed-node3] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.032) 0:00:38.624 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576206.069081, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1733576183.6323016, "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": 1733576183.6323016, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1608596831", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 07:56:51 -0500 (0:00:00.292) 0:00:38.916 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576183.6213017, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1733576183.1433008, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137475, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576183.1433008, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "1608596825", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 07:56:51 -0500 (0:00:00.298) 0:00:39.215 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004335", "end": "2024-12-07 07:56:51.260761", "rc": 0, "start": "2024-12-07 07:56:51.256426" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 07:56:51 -0500 (0:00:00.286) 0:00:39.501 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 07:56:51 -0500 (0:00:00.025) 0:00:39.527 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 07:56:51 -0500 (0:00:00.285) 0:00:39.812 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 07:56:52 -0500 (0:00:00.285) 0:00:40.098 ***** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node3 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node3 changed: [managed-node3] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 07:56:52 -0500 (0:00:00.309) 0:00:40.408 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 07:56:52 -0500 (0:00:00.022) 0:00:40.430 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 07:56:52 -0500 (0:00:00.019) 0:00:40.450 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 07:56:52 -0500 (0:00:00.021) 0:00:40.472 ***** ok: [managed-node3] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 07 December 2024 07:56:52 -0500 (0:00:00.293) 0:00:40.765 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 07 December 2024 07:56:52 -0500 (0:00:00.024) 0:00:40.790 ***** included: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml for managed-node3 TASK [Set fact with the default kernel to use for clones] ********************** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 07 December 2024 07:56:52 -0500 (0:00:00.048) 0:00:40.839 ***** ok: [managed-node3] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 07 December 2024 07:56:52 -0500 (0:00:00.024) 0:00:40.863 ***** changed: [managed-node3] => (item={u'dest': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2', u'src': u'/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "bcc96d540663b9b1764e12a7ab21389e0b9ceb0e", "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64" }, "md5sum": "8d408037538856fa5672cf3f9da1ff35", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "state": "file", "uid": 0 } changed: [managed-node3] => (item={u'dest': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2', u'src': u'/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a48b0c90c9b0dce76f2e1f4a861b7f3b00714982", "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2", "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img" }, "md5sum": "dd570b9af2ecb0d8f046a071cd868a55", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20160196, "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 07 December 2024 07:56:53 -0500 (0:00:00.691) 0:00:41.554 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 07:56:53 -0500 (0:00:00.034) 0:00:41.589 ***** included: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 07:56:53 -0500 (0:00:00.030) 0:00:41.619 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 07:56:53 -0500 (0:00:00.023) 0:00:41.642 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 07:56:53 -0500 (0:00:00.019) 0:00:41.661 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 07:56:53 -0500 (0:00:00.019) 0:00:41.681 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 07:56:53 -0500 (0:00:00.045) 0:00:41.726 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 07:56:53 -0500 (0:00:00.018) 0:00:41.745 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 07:56:54 -0500 (0:00:00.569) 0:00:42.315 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576206.069081, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1733576183.6323016, "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": 1733576183.6323016, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1608596831", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 07:56:54 -0500 (0:00:00.295) 0:00:42.610 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 07:56:54 -0500 (0:00:00.023) 0:00:42.634 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 07:56:54 -0500 (0:00:00.019) 0:00:42.653 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 07:56:55 -0500 (0:00:00.277) 0:00:42.930 ***** ok: [managed-node3] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 07:56:55 -0500 (0:00:00.032) 0:00:42.963 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576206.069081, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1733576183.6323016, "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": 1733576183.6323016, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1608596831", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 07:56:55 -0500 (0:00:00.294) 0:00:43.257 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576212.6157842, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1733576212.2420337, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576212.2420337, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "18446744072953965627", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 07:56:55 -0500 (0:00:00.298) 0:00:43.556 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003922", "end": "2024-12-07 07:56:55.924667", "rc": 0, "start": "2024-12-07 07:56:55.920745" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 07:56:55 -0500 (0:00:00.294) 0:00:43.850 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 07:56:55 -0500 (0:00:00.025) 0:00:43.876 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 07:56:56 -0500 (0:00:00.285) 0:00:44.161 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 07:56:56 -0500 (0:00:00.285) 0:00:44.446 ***** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node3 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node3 changed: [managed-node3] => { "actions": [ "grubby --initrd=/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2 --add-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 07:56:56 -0500 (0:00:00.314) 0:00:44.761 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 07:56:56 -0500 (0:00:00.021) 0:00:44.782 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 07:56:56 -0500 (0:00:00.018) 0:00:44.801 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 07:56:56 -0500 (0:00:00.020) 0:00:44.821 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 07 December 2024 07:56:56 -0500 (0:00:00.014) 0:00:44.835 ***** changed: [managed-node3] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.016895", "end": "2024-12-07 07:56:57.221332", "rc": 0, "start": "2024-12-07 07:56:57.204437" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 07 December 2024 07:56:57 -0500 (0:00:00.303) 0:00:45.139 ***** included: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node3 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 07 December 2024 07:56:57 -0500 (0:00:00.021) 0:00:45.160 ***** changed: [managed-node3] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 07 December 2024 07:57:19 -0500 (0:00:22.382) 0:01:07.543 ***** skipping: [managed-node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 07 December 2024 07:57:19 -0500 (0:00:00.020) 0:01:07.564 ***** ok: [managed-node3] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 07 December 2024 07:57:19 -0500 (0:00:00.023) 0:01:07.588 ***** changed: [managed-node3] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.027905", "end": "2024-12-07 07:57:18.686466", "rc": 0, "start": "2024-12-07 07:57:18.658561" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 07 December 2024 07:57:20 -0500 (0:00:00.325) 0:01:07.913 ***** included: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node3 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 07 December 2024 07:57:20 -0500 (0:00:00.024) 0:01:07.937 ***** changed: [managed-node3] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 07 December 2024 07:57:43 -0500 (0:00:23.453) 0:01:31.390 ***** skipping: [managed-node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 07 December 2024 07:57:43 -0500 (0:00:00.018) 0:01:31.409 ***** ok: [managed-node3] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 07 December 2024 07:57:43 -0500 (0:00:00.027) 0:01:31.436 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 07 December 2024 07:57:43 -0500 (0:00:00.021) 0:01:31.458 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 07:57:43 -0500 (0:00:00.056) 0:01:31.515 ***** included: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 07:57:43 -0500 (0:00:00.028) 0:01:31.543 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 07:57:43 -0500 (0:00:00.021) 0:01:31.565 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 07:57:43 -0500 (0:00:00.020) 0:01:31.585 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 07:57:43 -0500 (0:00:00.017) 0:01:31.603 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 07:57:43 -0500 (0:00:00.045) 0:01:31.649 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 07:57:43 -0500 (0:00:00.018) 0:01:31.668 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 07:57:44 -0500 (0:00:00.682) 0:01:32.350 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576238.6855423, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1733576238.6845422, "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": 1733576238.6845422, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "905843825", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 07:57:44 -0500 (0:00:00.296) 0:01:32.646 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 07:57:44 -0500 (0:00:00.021) 0:01:32.667 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 07:57:44 -0500 (0:00:00.020) 0:01:32.688 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 07:57:45 -0500 (0:00:00.272) 0:01:32.960 ***** ok: [managed-node3] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 07:57:45 -0500 (0:00:00.031) 0:01:32.992 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576238.6855423, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1733576238.6845422, "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": 1733576238.6845422, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "905843825", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 07:57:45 -0500 (0:00:00.293) 0:01:33.285 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576217.20809, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dd4a829b9057a88b4d1c0d9b50cfc16c28a1c3b5", "ctime": 1733576216.8370895, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137496, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576216.8370895, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5233, "uid": 0, "version": "18446744072953965691", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 07:57:45 -0500 (0:00:00.299) 0:01:33.585 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004108", "end": "2024-12-07 07:57:45.954089", "rc": 0, "start": "2024-12-07 07:57:45.949981" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 07:57:45 -0500 (0:00:00.291) 0:01:33.876 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 07:57:46 -0500 (0:00:00.024) 0:01:33.901 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 07:57:46 -0500 (0:00:00.290) 0:01:34.191 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 07:57:46 -0500 (0:00:00.283) 0:01:34.475 ***** ok: [managed-node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 07:57:46 -0500 (0:00:00.279) 0:01:34.754 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 07:57:46 -0500 (0:00:00.020) 0:01:34.774 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 07:57:46 -0500 (0:00:00.020) 0:01:34.795 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 07:57:46 -0500 (0:00:00.018) 0:01:34.814 ***** ok: [managed-node3] => { "ansible_facts": { "bootloader_facts": [ { "args": "test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone2", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2", "title": "Clone2" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 07 December 2024 07:57:47 -0500 (0:00:00.306) 0:01:35.120 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 07 December 2024 07:57:47 -0500 (0:00:00.024) 0:01:35.145 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 07 December 2024 07:57:47 -0500 (0:00:00.091) 0:01:35.236 ***** included: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 07 December 2024 07:57:47 -0500 (0:00:00.032) 0:01:35.268 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 07 December 2024 07:57:47 -0500 (0:00:00.021) 0:01:35.290 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 07 December 2024 07:57:47 -0500 (0:00:00.018) 0:01:35.309 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 07 December 2024 07:57:47 -0500 (0:00:00.019) 0:01:35.328 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 07 December 2024 07:57:47 -0500 (0:00:00.043) 0:01:35.372 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 07 December 2024 07:57:47 -0500 (0:00:00.018) 0:01:35.391 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 07 December 2024 07:57:48 -0500 (0:00:00.573) 0:01:35.965 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576238.6855423, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1733576238.6845422, "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": 1733576238.6845422, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "905843825", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get bootloader args of the default kernel] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 07 December 2024 07:57:48 -0500 (0:00:00.294) 0:01:36.259 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Generate /etc/default/grub] ******* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 07 December 2024 07:57:48 -0500 (0:00:00.021) 0:01:36.280 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 07 December 2024 07:57:48 -0500 (0:00:00.019) 0:01:36.300 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 07 December 2024 07:57:48 -0500 (0:00:00.274) 0:01:36.574 ***** ok: [managed-node3] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub] **** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 07 December 2024 07:57:48 -0500 (0:00:00.031) 0:01:36.605 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576238.6855423, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1733576238.6845422, "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": 1733576238.6845422, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "905843825", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Get stat of /boot/grub2/grub.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 07 December 2024 07:57:49 -0500 (0:00:00.292) 0:01:36.898 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576217.20809, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dd4a829b9057a88b4d1c0d9b50cfc16c28a1c3b5", "ctime": 1733576216.8370895, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 137496, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1733576216.8370895, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5233, "uid": 0, "version": "18446744072953965691", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 07 December 2024 07:57:49 -0500 (0:00:00.297) 0:01:37.196 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004526", "end": "2024-12-07 07:57:49.561803", "rc": 0, "start": "2024-12-07 07:57:49.557277" } TASK [fedora.linux_system_roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 07 December 2024 07:57:49 -0500 (0:00:00.288) 0:01:37.484 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 07 December 2024 07:57:49 -0500 (0:00:00.023) 0:01:37.507 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 07 December 2024 07:57:49 -0500 (0:00:00.284) 0:01:37.792 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 07 December 2024 07:57:50 -0500 (0:00:00.285) 0:01:38.077 ***** NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Fix default kernel boot parameters for managed-node3 NOTIFIED HANDLER fedora.linux_system_roles.bootloader : Reboot system for managed-node3 changed: [managed-node3] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2" ], "changed": true } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 07 December 2024 07:57:50 -0500 (0:00:00.305) 0:01:38.383 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 07 December 2024 07:57:50 -0500 (0:00:00.020) 0:01:38.404 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 07 December 2024 07:57:50 -0500 (0:00:00.017) 0:01:38.421 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 07 December 2024 07:57:50 -0500 (0:00:00.019) 0:01:38.441 ***** ok: [managed-node3] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 07 December 2024 07:57:50 -0500 (0:00:00.291) 0:01:38.733 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 07 December 2024 07:57:50 -0500 (0:00:00.025) 0:01:38.759 ***** changed: [managed-node3] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" ], "delta": "0:00:00.011591", "end": "2024-12-07 07:57:51.130594", "failed_when_result": false, "item": 1, "rc": 0, "start": "2024-12-07 07:57:51.119003" } changed: [managed-node3] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone2" ], "delta": "0:00:00.011118", "end": "2024-12-07 07:57:51.407417", "failed_when_result": false, "item": 2, "rc": 0, "start": "2024-12-07 07:57:51.396299" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 07 December 2024 07:57:51 -0500 (0:00:00.569) 0:01:39.328 ***** changed: [managed-node3] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.016319", "end": "2024-12-07 07:57:51.708826", "rc": 0, "start": "2024-12-07 07:57:51.692507" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system] ********* task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 07 December 2024 07:57:51 -0500 (0:00:00.303) 0:01:39.631 ***** included: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml for managed-node3 RUNNING HANDLER [fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 07 December 2024 07:57:51 -0500 (0:00:00.020) 0:01:39.651 ***** changed: [managed-node3] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 07 December 2024 07:58:14 -0500 (0:00:23.000) 0:02:02.651 ***** skipping: [managed-node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 07 December 2024 07:58:14 -0500 (0:00:00.020) 0:02:02.672 ***** ok: [managed-node3] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=115 changed=15 unreachable=0 failed=0 skipped=81 rescued=0 ignored=0 Saturday 07 December 2024 07:58:14 -0500 (0:00:00.023) 0:02:02.696 ***** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.45s /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.00s /tmp/collections-G7T/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.38s /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 21.76s /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Gather architecture facts ----------------------------------------------- 0.92s /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 0.91s /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Clone test_kernel kernel and initrd for test purposes ------------------- 0.69s /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.68s /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.57s /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.57s /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Remove cloned kernels --------------------------------------------------- 0.57s /tmp/collections-G7T/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/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.46s /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.33s /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.31s /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.31s /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.31s /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.31s /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.30s /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.30s /tmp/collections-G7T/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4