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-A11/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-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 21 December 2024 07:50:53 -0500 (0:00:00.026) 0:00:00.026 ***** included: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed-node3 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 21 December 2024 07:50:53 -0500 (0:00:00.090) 0:00:00.116 ***** ok: [managed-node3] META: end_host conditional evaluated to false, continuing execution for managed-node3 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 21 December 2024 07:50:54 -0500 (0:00:00.914) 0:00:01.030 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 December 2024 07:50:54 -0500 (0:00:00.077) 0:00:01.107 ***** included: /tmp/collections-A11/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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 December 2024 07:50:54 -0500 (0:00:00.033) 0:00:01.141 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 December 2024 07:50:54 -0500 (0:00:00.026) 0:00:01.167 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 December 2024 07:50:55 -0500 (0:00:00.482) 0:00:01.650 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 December 2024 07:50:55 -0500 (0:00:00.041) 0:00:01.691 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 December 2024 07:50:55 -0500 (0:00:00.092) 0:00:01.784 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 December 2024 07:50:55 -0500 (0:00:00.031) 0:00:01.815 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 December 2024 07:50:56 -0500 (0:00:00.840) 0:00:02.656 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785448.756049, "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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 December 2024 07:50:56 -0500 (0:00:00.335) 0:00:02.991 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 December 2024 07:50:56 -0500 (0:00:00.025) 0:00:03.017 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 December 2024 07:50:56 -0500 (0:00:00.024) 0:00:03.041 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 December 2024 07:50:56 -0500 (0:00:00.278) 0:00:03.320 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 December 2024 07:50:56 -0500 (0:00:00.043) 0:00:03.364 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785448.756049, "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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 December 2024 07:50:57 -0500 (0:00:00.312) 0:00:03.676 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785449.9050462, "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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 December 2024 07:50:57 -0500 (0:00:00.333) 0:00:04.010 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004049", "end": "2024-12-21 07:50:57.899332", "rc": 0, "start": "2024-12-21 07:50:57.895283" } 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 December 2024 07:50:57 -0500 (0:00:00.436) 0:00:04.446 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 December 2024 07:50:57 -0500 (0:00:00.033) 0:00:04.480 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 December 2024 07:50:58 -0500 (0:00:00.411) 0:00:04.892 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 December 2024 07:50:58 -0500 (0:00:00.306) 0:00:05.199 ***** ok: [managed-node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 December 2024 07:50:59 -0500 (0:00:00.451) 0:00:05.651 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 December 2024 07:50:59 -0500 (0:00:00.025) 0:00:05.677 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 December 2024 07:50:59 -0500 (0:00:00.024) 0:00:05.701 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 December 2024 07:50:59 -0500 (0:00:00.023) 0:00:05.725 ***** 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-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 21 December 2024 07:50:59 -0500 (0:00:00.491) 0:00:06.216 ***** included: /tmp/collections-A11/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-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 21 December 2024 07:50:59 -0500 (0:00:00.041) 0:00:06.257 ***** 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-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 21 December 2024 07:50:59 -0500 (0:00:00.028) 0:00:06.286 ***** 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-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 21 December 2024 07:51:00 -0500 (0:00:01.082) 0:00:07.368 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 December 2024 07:51:00 -0500 (0:00:00.095) 0:00:07.463 ***** included: /tmp/collections-A11/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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 December 2024 07:51:01 -0500 (0:00:00.047) 0:00:07.511 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 December 2024 07:51:01 -0500 (0:00:00.035) 0:00:07.547 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 December 2024 07:51:01 -0500 (0:00:00.031) 0:00:07.579 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 December 2024 07:51:01 -0500 (0:00:00.034) 0:00:07.613 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 December 2024 07:51:01 -0500 (0:00:00.072) 0:00:07.686 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 December 2024 07:51:01 -0500 (0:00:00.034) 0:00:07.720 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 December 2024 07:51:01 -0500 (0:00:00.642) 0:00:08.363 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785448.756049, "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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 December 2024 07:51:02 -0500 (0:00:00.360) 0:00:08.723 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 December 2024 07:51:02 -0500 (0:00:00.037) 0:00:08.761 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 December 2024 07:51:02 -0500 (0:00:00.039) 0:00:08.800 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 December 2024 07:51:02 -0500 (0:00:00.337) 0:00:09.138 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 December 2024 07:51:02 -0500 (0:00:00.045) 0:00:09.184 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785448.756049, "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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 December 2024 07:51:03 -0500 (0:00:00.369) 0:00:09.553 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785449.9050462, "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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 December 2024 07:51:03 -0500 (0:00:00.358) 0:00:09.911 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004246", "end": "2024-12-21 07:51:03.709109", "rc": 0, "start": "2024-12-21 07:51:03.704863" } 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 December 2024 07:51:03 -0500 (0:00:00.351) 0:00:10.263 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 December 2024 07:51:03 -0500 (0:00:00.034) 0:00:10.297 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 December 2024 07:51:04 -0500 (0:00:00.339) 0:00:10.636 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 December 2024 07:51:04 -0500 (0:00:00.338) 0:00:10.974 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 December 2024 07:51:04 -0500 (0:00:00.468) 0:00:11.443 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 December 2024 07:51:04 -0500 (0:00:00.024) 0:00:11.467 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 December 2024 07:51:04 -0500 (0:00:00.024) 0:00:11.492 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 December 2024 07:51:05 -0500 (0:00:00.026) 0:00:11.519 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 21 December 2024 07:51:05 -0500 (0:00:00.023) 0:00:11.542 ***** 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.016135", "end": "2024-12-21 07:51:05.356963", "rc": 0, "start": "2024-12-21 07:51:05.340828" } 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 21 December 2024 07:51:05 -0500 (0:00:00.349) 0:00:11.891 ***** included: /tmp/collections-A11/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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 21 December 2024 07:51:05 -0500 (0:00:00.022) 0:00:11.914 ***** changed: [managed-node3] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 21 December 2024 07:51:28 -0500 (0:00:23.216) 0:00:35.130 ***** skipping: [managed-node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.019) 0:00:35.150 ***** 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-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.027) 0:00:35.177 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.022) 0:00:35.200 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.060) 0:00:35.260 ***** included: /tmp/collections-A11/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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.029) 0:00:35.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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.021) 0:00:35.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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.020) 0:00:35.332 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.019) 0:00:35.352 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.047) 0:00:35.399 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.020) 0:00:35.419 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.697) 0:00:36.117 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785465.3550107, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1734785465.3550107, "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": 1734785465.3550107, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "2013306409", "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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.300) 0:00:36.418 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.023) 0:00:36.441 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 December 2024 07:51:29 -0500 (0:00:00.021) 0:00:36.462 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.294) 0:00:36.757 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.034) 0:00:36.791 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785489.8624039, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1734785465.3550107, "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": 1734785465.3550107, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "2013306409", "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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.302) 0:00:37.094 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785465.3440108, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1734785464.8830118, "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": 1734785464.8830118, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "2013306403", "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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.308) 0:00:37.403 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003824", "end": "2024-12-21 07:51:31.156206", "rc": 0, "start": "2024-12-21 07:51:31.152382" } 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 December 2024 07:51:31 -0500 (0:00:00.289) 0:00:37.693 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 December 2024 07:51:31 -0500 (0:00:00.025) 0:00:37.719 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 December 2024 07:51:31 -0500 (0:00:00.286) 0:00:38.005 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 December 2024 07:51:31 -0500 (0:00:00.289) 0:00:38.294 ***** ok: [managed-node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.283) 0:00:38.578 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.022) 0:00:38.601 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.019) 0:00:38.621 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.021) 0:00:38.642 ***** 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-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.308) 0:00:38.951 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.027) 0:00:38.978 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.079) 0:00:39.057 ***** included: /tmp/collections-A11/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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.028) 0:00:39.086 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.022) 0:00:39.109 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.020) 0:00:39.130 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.019) 0:00:39.150 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.053) 0:00:39.204 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.018) 0:00:39.223 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 December 2024 07:51:33 -0500 (0:00:00.586) 0:00:39.809 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785489.8624039, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1734785465.3550107, "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": 1734785465.3550107, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "2013306409", "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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 December 2024 07:51:33 -0500 (0:00:00.310) 0:00:40.120 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 December 2024 07:51:33 -0500 (0:00:00.021) 0:00:40.141 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 December 2024 07:51:33 -0500 (0:00:00.021) 0:00:40.162 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 December 2024 07:51:33 -0500 (0:00:00.286) 0:00:40.449 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 December 2024 07:51:33 -0500 (0:00:00.032) 0:00:40.482 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785489.8624039, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1734785465.3550107, "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": 1734785465.3550107, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "2013306409", "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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 December 2024 07:51:34 -0500 (0:00:00.295) 0:00:40.777 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785465.3440108, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1734785464.8830118, "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": 1734785464.8830118, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "2013306403", "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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 December 2024 07:51:34 -0500 (0:00:00.300) 0:00:41.078 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004299", "end": "2024-12-21 07:51:34.835432", "rc": 0, "start": "2024-12-21 07:51:34.831133" } 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 December 2024 07:51:34 -0500 (0:00:00.294) 0:00:41.372 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 December 2024 07:51:34 -0500 (0:00:00.027) 0:00:41.400 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 December 2024 07:51:35 -0500 (0:00:00.293) 0:00:41.694 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 December 2024 07:51:35 -0500 (0:00:00.301) 0:00:41.995 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 December 2024 07:51:35 -0500 (0:00:00.321) 0:00:42.316 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 December 2024 07:51:35 -0500 (0:00:00.023) 0:00:42.339 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 December 2024 07:51:35 -0500 (0:00:00.020) 0:00:42.360 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 December 2024 07:51:35 -0500 (0:00:00.019) 0:00:42.380 ***** 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-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 21 December 2024 07:51:36 -0500 (0:00:00.303) 0:00:42.683 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 21 December 2024 07:51:36 -0500 (0:00:00.026) 0:00:42.710 ***** included: /tmp/collections-A11/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-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 21 December 2024 07:51:36 -0500 (0:00:00.047) 0:00:42.757 ***** 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-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 21 December 2024 07:51:36 -0500 (0:00:00.023) 0:00:42.781 ***** 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-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 21 December 2024 07:51:36 -0500 (0:00:00.701) 0:00:43.482 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 December 2024 07:51:37 -0500 (0:00:00.035) 0:00:43.518 ***** included: /tmp/collections-A11/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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 December 2024 07:51:37 -0500 (0:00:00.029) 0:00:43.548 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 December 2024 07:51:37 -0500 (0:00:00.021) 0:00:43.569 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 December 2024 07:51:37 -0500 (0:00:00.020) 0:00:43.590 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 December 2024 07:51:37 -0500 (0:00:00.019) 0:00:43.609 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 December 2024 07:51:37 -0500 (0:00:00.050) 0:00:43.660 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 December 2024 07:51:37 -0500 (0:00:00.020) 0:00:43.681 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 December 2024 07:51:37 -0500 (0:00:00.573) 0:00:44.255 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785489.8624039, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1734785465.3550107, "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": 1734785465.3550107, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "2013306409", "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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.287) 0:00:44.542 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.022) 0:00:44.564 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.019) 0:00:44.584 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.275) 0:00:44.859 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.037) 0:00:44.897 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785489.8624039, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1734785465.3550107, "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": 1734785465.3550107, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "2013306409", "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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 December 2024 07:51:38 -0500 (0:00:00.292) 0:00:45.189 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785496.1333914, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1734785495.7733922, "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": 1734785495.7733922, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "18446744072708109299", "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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 December 2024 07:51:39 -0500 (0:00:00.303) 0:00:45.493 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003861", "end": "2024-12-21 07:51:39.242138", "rc": 0, "start": "2024-12-21 07:51:39.238277" } 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 December 2024 07:51:39 -0500 (0:00:00.285) 0:00:45.778 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 December 2024 07:51:39 -0500 (0:00:00.024) 0:00:45.803 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 December 2024 07:51:39 -0500 (0:00:00.289) 0:00:46.092 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 December 2024 07:51:39 -0500 (0:00:00.283) 0:00:46.376 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.310) 0:00:46.687 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.021) 0:00:46.708 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.021) 0:00:46.729 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.018) 0:00:46.748 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.016) 0:00:46.765 ***** 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.017214", "end": "2024-12-21 07:51:40.527861", "rc": 0, "start": "2024-12-21 07:51:40.510647" } 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.294) 0:00:47.060 ***** included: /tmp/collections-A11/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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.023) 0:00:47.083 ***** changed: [managed-node3] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 21 December 2024 07:52:02 -0500 (0:00:22.064) 0:01:09.147 ***** skipping: [managed-node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 21 December 2024 07:52:02 -0500 (0:00:00.018) 0:01:09.166 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 21 December 2024 07:52:02 -0500 (0:00:00.024) 0:01:09.191 ***** 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.025564", "end": "2024-12-21 07:52:03.057992", "rc": 0, "start": "2024-12-21 07:52:03.032428" } 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 21 December 2024 07:52:03 -0500 (0:00:00.328) 0:01:09.519 ***** included: /tmp/collections-A11/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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 21 December 2024 07:52:03 -0500 (0:00:00.022) 0:01:09.542 ***** changed: [managed-node3] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 21 December 2024 07:52:25 -0500 (0:00:22.399) 0:01:31.941 ***** skipping: [managed-node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 21 December 2024 07:52:25 -0500 (0:00:00.022) 0:01:31.964 ***** 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-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 21 December 2024 07:52:25 -0500 (0:00:00.029) 0:01:31.993 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 21 December 2024 07:52:25 -0500 (0:00:00.023) 0:01:32.017 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 December 2024 07:52:25 -0500 (0:00:00.059) 0:01:32.076 ***** included: /tmp/collections-A11/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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 December 2024 07:52:25 -0500 (0:00:00.030) 0:01:32.107 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 December 2024 07:52:25 -0500 (0:00:00.023) 0:01:32.130 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 December 2024 07:52:25 -0500 (0:00:00.020) 0:01:32.150 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 December 2024 07:52:25 -0500 (0:00:00.021) 0:01:32.172 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 December 2024 07:52:25 -0500 (0:00:00.049) 0:01:32.221 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 December 2024 07:52:25 -0500 (0:00:00.021) 0:01:32.243 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 December 2024 07:52:26 -0500 (0:00:00.720) 0:01:32.964 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785523.0570676, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1734785523.0570676, "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": 1734785523.0570676, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1011091827", "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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 December 2024 07:52:26 -0500 (0:00:00.308) 0:01:33.272 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 December 2024 07:52:26 -0500 (0:00:00.026) 0:01:33.299 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 December 2024 07:52:26 -0500 (0:00:00.022) 0:01:33.321 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 December 2024 07:52:27 -0500 (0:00:00.285) 0:01:33.607 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 December 2024 07:52:27 -0500 (0:00:00.035) 0:01:33.642 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785545.868769, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1734785523.0570676, "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": 1734785523.0570676, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1011091827", "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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 December 2024 07:52:27 -0500 (0:00:00.308) 0:01:33.951 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785500.513383, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dd4a829b9057a88b4d1c0d9b50cfc16c28a1c3b5", "ctime": 1734785500.1473837, "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": 1734785500.1473837, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5233, "uid": 0, "version": "18446744072708109364", "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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 December 2024 07:52:27 -0500 (0:00:00.309) 0:01:34.261 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004297", "end": "2024-12-21 07:52:27.222868", "rc": 0, "start": "2024-12-21 07:52:27.218571" } 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.300) 0:01:34.561 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.025) 0:01:34.587 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.289) 0:01:34.877 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.291) 0:01:35.168 ***** ok: [managed-node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.291) 0:01:35.460 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 December 2024 07:52:28 -0500 (0:00:00.025) 0:01:35.485 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.019) 0:01:35.504 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.022) 0:01:35.527 ***** 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-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.322) 0:01:35.849 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.034) 0:01:35.883 ***** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.145) 0:01:36.029 ***** included: /tmp/collections-A11/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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.039) 0:01:36.068 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.024) 0:01:36.093 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.028) 0:01:36.122 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.024) 0:01:36.146 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.049) 0:01:36.195 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 21 December 2024 07:52:29 -0500 (0:00:00.020) 0:01:36.216 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.667) 0:01:36.884 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785545.868769, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1734785523.0570676, "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": 1734785523.0570676, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1011091827", "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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.318) 0:01:37.202 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.023) 0:01:37.226 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.020) 0:01:37.246 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 21 December 2024 07:52:31 -0500 (0:00:00.293) 0:01:37.539 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 21 December 2024 07:52:31 -0500 (0:00:00.043) 0:01:37.583 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785545.868769, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1734785523.0570676, "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": 1734785523.0570676, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "1011091827", "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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 21 December 2024 07:52:31 -0500 (0:00:00.318) 0:01:37.902 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785500.513383, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dd4a829b9057a88b4d1c0d9b50cfc16c28a1c3b5", "ctime": 1734785500.1473837, "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": 1734785500.1473837, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5233, "uid": 0, "version": "18446744072708109364", "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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 21 December 2024 07:52:31 -0500 (0:00:00.319) 0:01:38.222 ***** ok: [managed-node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004860", "end": "2024-12-21 07:52:31.537208", "rc": 0, "start": "2024-12-21 07:52:31.532348" } 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 21 December 2024 07:52:32 -0500 (0:00:00.326) 0:01:38.548 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 21 December 2024 07:52:32 -0500 (0:00:00.032) 0:01:38.581 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 21 December 2024 07:52:32 -0500 (0:00:00.304) 0:01:38.885 ***** ok: [managed-node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 21 December 2024 07:52:32 -0500 (0:00:00.322) 0:01:39.208 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 21 December 2024 07:52:33 -0500 (0:00:00.332) 0:01:39.540 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 21 December 2024 07:52:33 -0500 (0:00:00.026) 0:01:39.567 ***** 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 21 December 2024 07:52:33 -0500 (0:00:00.029) 0:01:39.597 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 21 December 2024 07:52:33 -0500 (0:00:00.022) 0:01:39.619 ***** 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-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 21 December 2024 07:52:33 -0500 (0:00:00.326) 0:01:39.945 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 21 December 2024 07:52:33 -0500 (0:00:00.027) 0:01:39.973 ***** 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.012318", "end": "2024-12-21 07:52:33.425736", "failed_when_result": false, "item": 1, "rc": 0, "start": "2024-12-21 07:52:33.413418" } 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.012315", "end": "2024-12-21 07:52:33.748782", "failed_when_result": false, "item": 2, "rc": 0, "start": "2024-12-21 07:52:33.736467" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.614) 0:01:40.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.018168", "end": "2024-12-21 07:52:34.103495", "rc": 0, "start": "2024-12-21 07:52:34.085327" } 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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.326) 0:01:40.914 ***** included: /tmp/collections-A11/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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.032) 0:01:40.947 ***** changed: [managed-node3] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 21 December 2024 07:52:56 -0500 (0:00:22.011) 0:02:02.959 ***** skipping: [managed-node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 21 December 2024 07:52:56 -0500 (0:00:00.019) 0:02:02.978 ***** 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 21 December 2024 07:52:56 -0500 (0:00:00.025) 0:02:03.004 ***** =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.22s /tmp/collections-A11/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.40s /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 22.06s /tmp/collections-A11/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.01s /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 1.08s /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Gather architecture facts ----------------------------------------------- 0.91s /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.72s /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 0.70s /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.67s /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Remove cloned kernels --------------------------------------------------- 0.61s /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.59s /tmp/collections-A11/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-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.48s /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.33s /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.33s /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.33s /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.33s /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.33s /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.32s /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.32s /tmp/collections-A11/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139