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-EyC/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-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:13 Saturday 31 August 2024 08:45:18 -0400 (0:00:00.037) 0:00:00.037 ******* included: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml for managed_node3 TASK [Gather architecture facts] *********************************************** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Saturday 31 August 2024 08:45:19 -0400 (0:00:00.118) 0:00:00.156 ******* ok: [managed_node3] META: end_host conditional evaluated to false, continuing execution for managed_node3 TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:16 Saturday 31 August 2024 08:45:19 -0400 (0:00:00.848) 0:00:01.004 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 August 2024 08:45:19 -0400 (0:00:00.067) 0:00:01.072 ******* included: /tmp/collections-EyC/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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 August 2024 08:45:19 -0400 (0:00:00.048) 0:00:01.121 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 August 2024 08:45:20 -0400 (0:00:00.029) 0:00:01.150 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 August 2024 08:45:20 -0400 (0:00:00.438) 0:00:01.589 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 August 2024 08:45:20 -0400 (0:00:00.023) 0:00:01.612 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 August 2024 08:45:20 -0400 (0:00:00.043) 0:00:01.655 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 August 2024 08:45:20 -0400 (0:00:00.021) 0:00:01.677 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 August 2024 08:45:21 -0400 (0:00:00.811) 0:00:02.489 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725108314.211883, "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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 August 2024 08:45:21 -0400 (0:00:00.320) 0:00:02.810 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 August 2024 08:45:21 -0400 (0:00:00.019) 0:00:02.829 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 August 2024 08:45:21 -0400 (0:00:00.020) 0:00:02.849 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 August 2024 08:45:22 -0400 (0:00:00.319) 0:00:03.168 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 August 2024 08:45:22 -0400 (0:00:00.047) 0:00:03.217 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725108314.211883, "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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 August 2024 08:45:22 -0400 (0:00:00.469) 0:00:03.686 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725108315.4118962, "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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 August 2024 08:45:22 -0400 (0:00:00.295) 0:00:03.981 ******* ok: [managed_node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004170", "end": "2024-08-31 08:45:23.217893", "rc": 0, "start": "2024-08-31 08:45:23.213723" } 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 August 2024 08:45:23 -0400 (0:00:00.432) 0:00:04.414 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 August 2024 08:45:23 -0400 (0:00:00.034) 0:00:04.448 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 August 2024 08:45:23 -0400 (0:00:00.396) 0:00:04.845 ******* ok: [managed_node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 August 2024 08:45:23 -0400 (0:00:00.283) 0:00:05.128 ******* ok: [managed_node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 August 2024 08:45:24 -0400 (0:00:00.508) 0:00:05.637 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 August 2024 08:45:24 -0400 (0:00:00.020) 0:00:05.657 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 August 2024 08:45:24 -0400 (0:00:00.015) 0:00:05.673 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 August 2024 08:45:24 -0400 (0:00:00.019) 0:00:05.692 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:32 Saturday 31 August 2024 08:45:25 -0400 (0:00:00.720) 0:00:06.413 ******* included: /tmp/collections-EyC/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-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 31 August 2024 08:45:25 -0400 (0:00:00.044) 0:00:06.457 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 31 August 2024 08:45:25 -0400 (0:00:00.029) 0:00:06.487 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 31 August 2024 08:45:26 -0400 (0:00:00.886) 0:00:07.373 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 August 2024 08:45:26 -0400 (0:00:00.065) 0:00:07.439 ******* included: /tmp/collections-EyC/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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 August 2024 08:45:26 -0400 (0:00:00.043) 0:00:07.482 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 August 2024 08:45:26 -0400 (0:00:00.029) 0:00:07.512 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 August 2024 08:45:26 -0400 (0:00:00.026) 0:00:07.539 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 August 2024 08:45:26 -0400 (0:00:00.027) 0:00:07.566 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 August 2024 08:45:26 -0400 (0:00:00.061) 0:00:07.628 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 August 2024 08:45:26 -0400 (0:00:00.024) 0:00:07.652 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 August 2024 08:45:27 -0400 (0:00:00.674) 0:00:08.327 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725108314.211883, "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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 August 2024 08:45:27 -0400 (0:00:00.345) 0:00:08.672 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 August 2024 08:45:27 -0400 (0:00:00.020) 0:00:08.693 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 August 2024 08:45:27 -0400 (0:00:00.019) 0:00:08.713 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 August 2024 08:45:27 -0400 (0:00:00.275) 0:00:08.989 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 August 2024 08:45:27 -0400 (0:00:00.030) 0:00:09.019 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725108314.211883, "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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 August 2024 08:45:28 -0400 (0:00:00.437) 0:00:09.457 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725108315.4118962, "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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 August 2024 08:45:28 -0400 (0:00:00.337) 0:00:09.794 ******* ok: [managed_node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004218", "end": "2024-08-31 08:45:28.930575", "rc": 0, "start": "2024-08-31 08:45:28.926357" } 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 August 2024 08:45:28 -0400 (0:00:00.333) 0:00:10.128 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 August 2024 08:45:29 -0400 (0:00:00.038) 0:00:10.166 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 August 2024 08:45:29 -0400 (0:00:00.347) 0:00:10.514 ******* ok: [managed_node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 August 2024 08:45:29 -0400 (0:00:00.329) 0:00:10.843 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 August 2024 08:45:30 -0400 (0:00:00.758) 0:00:11.602 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 August 2024 08:45:30 -0400 (0:00:00.023) 0:00:11.625 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 August 2024 08:45:30 -0400 (0:00:00.023) 0:00:11.649 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 August 2024 08:45:30 -0400 (0:00:00.023) 0:00:11.672 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 31 August 2024 08:45:30 -0400 (0:00:00.013) 0:00:11.686 ******* 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.016746", "end": "2024-08-31 08:45:30.810428", "rc": 0, "start": "2024-08-31 08:45:30.793682" } 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 31 August 2024 08:45:30 -0400 (0:00:00.312) 0:00:11.998 ******* included: /tmp/collections-EyC/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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 31 August 2024 08:45:30 -0400 (0:00:00.033) 0:00:12.031 ******* changed: [managed_node3] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 31 August 2024 08:45:54 -0400 (0:00:23.311) 0:00:35.342 ******* skipping: [managed_node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 31 August 2024 08:45:54 -0400 (0:00:00.018) 0:00:35.361 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 31 August 2024 08:45:54 -0400 (0:00:00.025) 0:00:35.386 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 31 August 2024 08:45:54 -0400 (0:00:00.020) 0:00:35.407 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 August 2024 08:45:54 -0400 (0:00:00.054) 0:00:35.461 ******* included: /tmp/collections-EyC/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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 August 2024 08:45:54 -0400 (0:00:00.026) 0:00:35.487 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 August 2024 08:45:54 -0400 (0:00:00.028) 0:00:35.516 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 August 2024 08:45:54 -0400 (0:00:00.017) 0:00:35.534 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 August 2024 08:45:54 -0400 (0:00:00.018) 0:00:35.552 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 August 2024 08:45:54 -0400 (0:00:00.042) 0:00:35.595 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 August 2024 08:45:54 -0400 (0:00:00.016) 0:00:35.612 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 August 2024 08:45:55 -0400 (0:00:00.761) 0:00:36.373 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725108330.809064, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1725108330.809064, "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": 1725108330.809064, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "2074252442", "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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 August 2024 08:45:55 -0400 (0:00:00.288) 0:00:36.662 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 August 2024 08:45:55 -0400 (0:00:00.019) 0:00:36.681 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 August 2024 08:45:55 -0400 (0:00:00.017) 0:00:36.699 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 August 2024 08:45:55 -0400 (0:00:00.262) 0:00:36.961 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 August 2024 08:45:55 -0400 (0:00:00.028) 0:00:36.990 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725108355.3182333, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1725108330.809064, "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": 1725108330.809064, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "2074252442", "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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 August 2024 08:45:56 -0400 (0:00:00.295) 0:00:37.286 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725108330.7970638, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1725108330.4110596, "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": 1725108330.4110596, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "2074252436", "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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 August 2024 08:45:56 -0400 (0:00:00.307) 0:00:37.593 ******* ok: [managed_node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004774", "end": "2024-08-31 08:45:56.666191", "rc": 0, "start": "2024-08-31 08:45:56.661417" } 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 August 2024 08:45:56 -0400 (0:00:00.299) 0:00:37.893 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 August 2024 08:45:56 -0400 (0:00:00.020) 0:00:37.914 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 August 2024 08:45:57 -0400 (0:00:00.276) 0:00:38.191 ******* ok: [managed_node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 August 2024 08:45:57 -0400 (0:00:00.275) 0:00:38.466 ******* ok: [managed_node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 August 2024 08:45:57 -0400 (0:00:00.289) 0:00:38.756 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 August 2024 08:45:57 -0400 (0:00:00.018) 0:00:38.774 ******* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Remove boot loader password configuration] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 August 2024 08:45:57 -0400 (0:00:00.017) 0:00:38.791 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 August 2024 08:45:57 -0400 (0:00:00.016) 0:00:38.807 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:38 Saturday 31 August 2024 08:45:57 -0400 (0:00:00.309) 0:00:39.117 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:47 Saturday 31 August 2024 08:45:58 -0400 (0:00:00.023) 0:00:39.140 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 August 2024 08:45:58 -0400 (0:00:00.071) 0:00:39.211 ******* included: /tmp/collections-EyC/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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 August 2024 08:45:58 -0400 (0:00:00.024) 0:00:39.236 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 August 2024 08:45:58 -0400 (0:00:00.019) 0:00:39.256 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 August 2024 08:45:58 -0400 (0:00:00.017) 0:00:39.273 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 August 2024 08:45:58 -0400 (0:00:00.016) 0:00:39.290 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 August 2024 08:45:58 -0400 (0:00:00.041) 0:00:39.331 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 August 2024 08:45:58 -0400 (0:00:00.015) 0:00:39.347 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 August 2024 08:45:58 -0400 (0:00:00.576) 0:00:39.923 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725108355.3182333, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1725108330.809064, "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": 1725108330.809064, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "2074252442", "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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 August 2024 08:45:59 -0400 (0:00:00.282) 0:00:40.206 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 August 2024 08:45:59 -0400 (0:00:00.018) 0:00:40.225 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 August 2024 08:45:59 -0400 (0:00:00.018) 0:00:40.243 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 August 2024 08:45:59 -0400 (0:00:00.265) 0:00:40.509 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 August 2024 08:45:59 -0400 (0:00:00.028) 0:00:40.538 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725108355.3182333, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1725108330.809064, "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": 1725108330.809064, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "2074252442", "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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 August 2024 08:45:59 -0400 (0:00:00.278) 0:00:40.816 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725108330.7970638, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1725108330.4110596, "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": 1725108330.4110596, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "2074252436", "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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 August 2024 08:45:59 -0400 (0:00:00.284) 0:00:41.101 ******* ok: [managed_node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004431", "end": "2024-08-31 08:46:00.230058", "rc": 0, "start": "2024-08-31 08:46:00.225627" } 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 August 2024 08:46:00 -0400 (0:00:00.307) 0:00:41.408 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 August 2024 08:46:00 -0400 (0:00:00.021) 0:00:41.430 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 August 2024 08:46:00 -0400 (0:00:00.274) 0:00:41.704 ******* ok: [managed_node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 August 2024 08:46:00 -0400 (0:00:00.272) 0:00:41.977 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 August 2024 08:46:01 -0400 (0:00:00.313) 0:00:42.291 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 August 2024 08:46:01 -0400 (0:00:00.018) 0:00:42.309 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 August 2024 08:46:01 -0400 (0:00:00.018) 0:00:42.328 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 August 2024 08:46:01 -0400 (0:00:00.017) 0:00:42.346 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:64 Saturday 31 August 2024 08:46:01 -0400 (0:00:00.302) 0:00:42.648 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:68 Saturday 31 August 2024 08:46:01 -0400 (0:00:00.022) 0:00:42.671 ******* included: /tmp/collections-EyC/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-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:3 Saturday 31 August 2024 08:46:01 -0400 (0:00:00.042) 0:00:42.713 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Saturday 31 August 2024 08:46:01 -0400 (0:00:00.021) 0:00:42.735 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:21 Saturday 31 August 2024 08:46:02 -0400 (0:00:00.769) 0:00:43.504 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 August 2024 08:46:02 -0400 (0:00:00.031) 0:00:43.535 ******* included: /tmp/collections-EyC/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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 August 2024 08:46:02 -0400 (0:00:00.025) 0:00:43.561 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 August 2024 08:46:02 -0400 (0:00:00.018) 0:00:43.579 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 August 2024 08:46:02 -0400 (0:00:00.017) 0:00:43.596 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 August 2024 08:46:02 -0400 (0:00:00.017) 0:00:43.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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 August 2024 08:46:02 -0400 (0:00:00.042) 0:00:43.656 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 August 2024 08:46:02 -0400 (0:00:00.017) 0:00:43.674 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 August 2024 08:46:03 -0400 (0:00:00.563) 0:00:44.237 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725108355.3182333, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1725108330.809064, "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": 1725108330.809064, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "2074252442", "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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 August 2024 08:46:03 -0400 (0:00:00.289) 0:00:44.526 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 August 2024 08:46:03 -0400 (0:00:00.020) 0:00:44.547 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 August 2024 08:46:03 -0400 (0:00:00.018) 0:00:44.566 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 August 2024 08:46:03 -0400 (0:00:00.270) 0:00:44.836 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 August 2024 08:46:03 -0400 (0:00:00.030) 0:00:44.867 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725108355.3182333, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1725108330.809064, "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": 1725108330.809064, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "2074252442", "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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 August 2024 08:46:04 -0400 (0:00:00.292) 0:00:45.159 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725108361.4529433, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1725108361.1079378, "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": 1725108361.1079378, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "370677802", "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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 August 2024 08:46:04 -0400 (0:00:00.290) 0:00:45.449 ******* ok: [managed_node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004205", "end": "2024-08-31 08:46:04.548119", "rc": 0, "start": "2024-08-31 08:46:04.543914" } 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 August 2024 08:46:04 -0400 (0:00:00.277) 0:00:45.727 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 August 2024 08:46:04 -0400 (0:00:00.022) 0:00:45.749 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 August 2024 08:46:04 -0400 (0:00:00.286) 0:00:46.035 ******* ok: [managed_node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 August 2024 08:46:05 -0400 (0:00:00.271) 0:00:46.307 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 August 2024 08:46:05 -0400 (0:00:00.302) 0:00:46.609 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 August 2024 08:46:05 -0400 (0:00:00.018) 0:00:46.627 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 August 2024 08:46:05 -0400 (0:00:00.019) 0:00:46.647 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 August 2024 08:46:05 -0400 (0:00:00.017) 0:00:46.664 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 31 August 2024 08:46:05 -0400 (0:00:00.014) 0:00:46.679 ******* 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.016344", "end": "2024-08-31 08:46:05.785267", "rc": 0, "start": "2024-08-31 08:46:05.768923" } 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 31 August 2024 08:46:05 -0400 (0:00:00.281) 0:00:46.960 ******* included: /tmp/collections-EyC/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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 31 August 2024 08:46:05 -0400 (0:00:00.019) 0:00:46.979 ******* changed: [managed_node3] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 31 August 2024 08:46:29 -0400 (0:00:23.249) 0:01:10.229 ******* skipping: [managed_node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 31 August 2024 08:46:29 -0400 (0:00:00.019) 0:01:10.249 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 31 August 2024 08:46:29 -0400 (0:00:00.024) 0:01:10.273 ******* 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.029050", "end": "2024-08-31 08:46:29.598269", "rc": 0, "start": "2024-08-31 08:46:29.569219" } 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 31 August 2024 08:46:29 -0400 (0:00:00.322) 0:01:10.595 ******* included: /tmp/collections-EyC/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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 31 August 2024 08:46:29 -0400 (0:00:00.021) 0:01:10.617 ******* changed: [managed_node3] => { "changed": true, "elapsed": 22, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 31 August 2024 08:46:52 -0400 (0:00:23.177) 0:01:33.794 ******* skipping: [managed_node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 31 August 2024 08:46:52 -0400 (0:00:00.017) 0:01:33.812 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:39 Saturday 31 August 2024 08:46:52 -0400 (0:00:00.024) 0:01:33.837 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:43 Saturday 31 August 2024 08:46:52 -0400 (0:00:00.022) 0:01:33.859 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 August 2024 08:46:52 -0400 (0:00:00.053) 0:01:33.913 ******* included: /tmp/collections-EyC/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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 August 2024 08:46:52 -0400 (0:00:00.026) 0:01:33.939 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 August 2024 08:46:52 -0400 (0:00:00.020) 0:01:33.960 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 August 2024 08:46:52 -0400 (0:00:00.017) 0:01:33.978 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 August 2024 08:46:52 -0400 (0:00:00.025) 0:01:34.004 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 August 2024 08:46:52 -0400 (0:00:00.045) 0:01:34.049 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 August 2024 08:46:52 -0400 (0:00:00.018) 0:01:34.067 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 August 2024 08:46:53 -0400 (0:00:00.750) 0:01:34.818 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725108389.5974264, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1725108389.5964265, "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": 1725108389.5964265, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072412074260", "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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 August 2024 08:46:53 -0400 (0:00:00.300) 0:01:35.119 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 August 2024 08:46:54 -0400 (0:00:00.019) 0:01:35.138 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 August 2024 08:46:54 -0400 (0:00:00.020) 0:01:35.158 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 August 2024 08:46:54 -0400 (0:00:00.281) 0:01:35.440 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 August 2024 08:46:54 -0400 (0:00:00.030) 0:01:35.471 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725108389.5974264, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1725108389.5964265, "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": 1725108389.5964265, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072412074260", "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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 August 2024 08:46:54 -0400 (0:00:00.289) 0:01:35.761 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725108365.7720125, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dd4a829b9057a88b4d1c0d9b50cfc16c28a1c3b5", "ctime": 1725108365.4290068, "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": 1725108365.4290068, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5233, "uid": 0, "version": "370677866", "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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 August 2024 08:46:54 -0400 (0:00:00.303) 0:01:36.064 ******* ok: [managed_node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.003912", "end": "2024-08-31 08:46:55.312735", "rc": 0, "start": "2024-08-31 08:46:55.308823" } 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 August 2024 08:46:55 -0400 (0:00:00.293) 0:01:36.357 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 August 2024 08:46:55 -0400 (0:00:00.023) 0:01:36.381 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 August 2024 08:46:55 -0400 (0:00:00.281) 0:01:36.662 ******* ok: [managed_node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 August 2024 08:46:55 -0400 (0:00:00.285) 0:01:36.948 ******* ok: [managed_node3] => { "actions": [], "changed": false } TASK [fedora.linux_system_roles.bootloader : Generate boot loader password] **** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 August 2024 08:46:56 -0400 (0:00:00.283) 0:01:37.231 ******* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 August 2024 08:46:56 -0400 (0:00:00.019) 0:01:37.251 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 August 2024 08:46:56 -0400 (0:00:00.017) 0:01:37.268 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 August 2024 08:46:56 -0400 (0:00:00.019) 0:01:37.288 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:74 Saturday 31 August 2024 08:46:56 -0400 (0:00:00.310) 0:01:37.598 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:81 Saturday 31 August 2024 08:46:56 -0400 (0:00:00.022) 0:01:37.621 ******* TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Saturday 31 August 2024 08:46:56 -0400 (0:00:00.086) 0:01:37.707 ******* included: /tmp/collections-EyC/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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Saturday 31 August 2024 08:46:56 -0400 (0:00:00.024) 0:01:37.732 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Saturday 31 August 2024 08:46:56 -0400 (0:00:00.019) 0:01:37.751 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Saturday 31 August 2024 08:46:56 -0400 (0:00:00.019) 0:01:37.771 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Saturday 31 August 2024 08:46:56 -0400 (0:00:00.017) 0:01:37.788 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Saturday 31 August 2024 08:46:56 -0400 (0:00:00.041) 0:01:37.830 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Saturday 31 August 2024 08:46:56 -0400 (0:00:00.017) 0:01:37.848 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19 Saturday 31 August 2024 08:46:57 -0400 (0:00:00.555) 0:01:38.403 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725108389.5974264, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1725108389.5964265, "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": 1725108389.5964265, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072412074260", "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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:27 Saturday 31 August 2024 08:46:57 -0400 (0:00:00.306) 0:01:38.709 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:34 Saturday 31 August 2024 08:46:57 -0400 (0:00:00.020) 0:01:38.730 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Determine platform type] ********** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:44 Saturday 31 August 2024 08:46:57 -0400 (0:00:00.019) 0:01:38.749 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set boot loader configuration files] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:49 Saturday 31 August 2024 08:46:57 -0400 (0:00:00.283) 0:01:39.033 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:60 Saturday 31 August 2024 08:46:57 -0400 (0:00:00.030) 0:01:39.063 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725108389.5974264, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1725108389.5964265, "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": 1725108389.5964265, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744072412074260", "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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:65 Saturday 31 August 2024 08:46:58 -0400 (0:00:00.302) 0:01:39.366 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725108365.7720125, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "dd4a829b9057a88b4d1c0d9b50cfc16c28a1c3b5", "ctime": 1725108365.4290068, "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": 1725108365.4290068, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5233, "uid": 0, "version": "370677866", "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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 Saturday 31 August 2024 08:46:58 -0400 (0:00:00.306) 0:01:39.672 ******* ok: [managed_node3] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004539", "end": "2024-08-31 08:46:58.775737", "rc": 0, "start": "2024-08-31 08:46:58.771198" } 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:79 Saturday 31 August 2024 08:46:58 -0400 (0:00:00.286) 0:01:39.959 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:87 Saturday 31 August 2024 08:46:58 -0400 (0:00:00.022) 0:01:39.981 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:95 Saturday 31 August 2024 08:46:59 -0400 (0:00:00.280) 0:01:40.261 ******* ok: [managed_node3] => { "changed": false } TASK [fedora.linux_system_roles.bootloader : Ensure boot loader settings] ****** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 Saturday 31 August 2024 08:46:59 -0400 (0:00:00.277) 0:01:40.539 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:112 Saturday 31 August 2024 08:46:59 -0400 (0:00:00.311) 0:01:40.850 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:124 Saturday 31 August 2024 08:46:59 -0400 (0:00:00.019) 0:01:40.870 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:132 Saturday 31 August 2024 08:46:59 -0400 (0:00:00.017) 0:01:40.887 ******* skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Collect bootloader facts] ********* task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 Saturday 31 August 2024 08:46:59 -0400 (0:00:00.017) 0:01:40.905 ******* 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-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:91 Saturday 31 August 2024 08:47:00 -0400 (0:00:00.285) 0:01:41.190 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 Saturday 31 August 2024 08:47:00 -0400 (0:00:00.023) 0:01:41.214 ******* 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.014739", "end": "2024-08-31 08:47:00.331992", "failed_when_result": false, "item": 1, "rc": 0, "start": "2024-08-31 08:47:00.317253" } 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.013144", "end": "2024-08-31 08:47:00.609192", "failed_when_result": false, "item": 2, "rc": 0, "start": "2024-08-31 08:47:00.596048" } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Fix default kernel boot parameters] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 Saturday 31 August 2024 08:47:00 -0400 (0:00:00.575) 0:01:41.789 ******* 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.016408", "end": "2024-08-31 08:47:00.920210", "rc": 0, "start": "2024-08-31 08:47:00.903802" } 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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:15 Saturday 31 August 2024 08:47:00 -0400 (0:00:00.310) 0:01:42.100 ******* included: /tmp/collections-EyC/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-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Saturday 31 August 2024 08:47:00 -0400 (0:00:00.020) 0:01:42.121 ******* changed: [managed_node3] => { "changed": true, "elapsed": 21, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.bootloader : Notify about reboot] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:7 Saturday 31 August 2024 08:47:23 -0400 (0:00:22.463) 0:02:04.584 ******* skipping: [managed_node3] => {} RUNNING HANDLER [fedora.linux_system_roles.bootloader : Set bootloader_reboot_required] *** task path: /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:14 Saturday 31 August 2024 08:47:23 -0400 (0:00:00.018) 0:02:04.602 ******* 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 31 August 2024 08:47:23 -0400 (0:00:00.021) 0:02:04.624 ******* =============================================================================== fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.31s /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.25s /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 fedora.linux_system_roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 23.18s /tmp/collections-EyC/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.46s /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/reboot.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 0.89s /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 Gather architecture facts ----------------------------------------------- 0.85s /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/skip_on_s390x.yml:3 Clone test_kernel kernel and initrd for test purposes ------------------- 0.77s /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tasks/clone_kernel.yml:7 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.75s /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.58s /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Remove cloned kernels --------------------------------------------------- 0.58s /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/tests/bootloader/tests_add_rm.yml:95 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.56s /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.56s /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.44s /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.32s /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.31s /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Ensure boot loader settings ------ 0.31s /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:102 fedora.linux_system_roles.bootloader : Fix default kernel boot parameters --- 0.31s /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/handlers/main.yml:4 fedora.linux_system_roles.bootloader : Collect bootloader facts --------- 0.31s /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:139 fedora.linux_system_roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.31s /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:73 fedora.linux_system_roles.bootloader : Get stat of /etc/default/grub ---- 0.31s /tmp/collections-EyC/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:19